AltitudeAngelWings.ApiClient.Client.AltitudeAngelHttpHandlerFactory.ClearAuthState C# (CSharp) Method

ClearAuthState() public method

Clear any pre-existing auth state. Will force log on the next time this handler is used for a request.
public ClearAuthState ( ) : void
return void
        public void ClearAuthState()
        {
            _existingState = null;
        }

Usage Example

示例#1
0
 /// <summary>
 ///     Disconnect the client from AA. Will force logon on the next request if required.
 /// </summary>
 public void Disconnect()
 {
     _client.Dispose();
     _handlerFactory.ClearAuthState();
 }