/// <summary>Resets the auth state.</summary> /// <remarks>Resets the auth state.</remarks> /// <since>4.2</since> public virtual void Reset() { this.state = AuthProtocolState.Unchallenged; this.authOptions = null; this.authScheme = null; this.authScope = null; this.credentials = null; }
/// <since>4.2</since> public virtual void SetState(AuthProtocolState state) { this.state = state != null ? state : AuthProtocolState.Unchallenged; }
public AuthState() : base() { this.state = AuthProtocolState.Unchallenged; }