Class OAuth2Settings
Settings for the OAuth 2 protocol
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.HttpExtensions.OAuth
Assembly: Dapplo.HttpExtensions.OAuth.dll
Syntax
public class OAuth2Settings : BaseOAuthSettings, ICodeReceiverSettings
Properties
| Improve this Doc View SourceIsAccessTokenExpired
Return true if the access token is expired. Important "side-effect": if true is returned the AccessToken will be set to null!
Declaration
public bool IsAccessTokenExpired { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Token
The actualy token information, placed in an interface for usage with the Dapplo.Config project the OAuth2Token, a default implementation is assigned when the settings are created. When using a Dapplo.Config IIniSection for your settings, this can/should be overwritten with your interface, and make it extend IOAuth2Token
Declaration
public IOAuth2Token Token { get; set; }
Property Value
Type | Description |
---|---|
IOAuth2Token |