unauthenticate method

dynamic unauthenticate()

Use authenticate methode to go from Logged in session to logged out session

Implementation

unauthenticate() {
  // Update flagSyncStatus
  this._flagSyncStatus = FlagSyncStatus.UNAUTHENTICATED;
  this.flagStatus = FlagStatus.FETCH_REQUIRED;
  this._fetchReasons = FetchFlagsRequiredStatusReason.VISITOR_UNAUTHENTICATED;

  _isAuthenticated = false;
  _visitorDelegate.getStrategy().unAuthenticateVisitor();
}