Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 /// <since>4.2</since>
 public virtual void SetState(AuthProtocolState state)
 {
     this.state = state != null ? state : AuthProtocolState.Unchallenged;
 }
Beispiel #3
0
 public AuthState() : base()
 {
     this.state = AuthProtocolState.Unchallenged;
 }