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