Interface IOAuth2Token
The credentials which should be stored. This can be used to extend your Dapplo.Config.IIniSection extending interface.
Namespace:Dapplo.HttpExtensions.OAuth
Assembly:Dapplo.HttpExtensions.dll
Syntax
public interface IOAuth2Token
Properties
| Improve this Doc View SourceOAuth2AccessToken
Bearer token for accessing OAuth 2 services
Declaration
string OAuth2AccessToken { get; set; }
Returns
Type | Description |
---|---|
System.String |
OAuth2AccessTokenExpires
Expire time for the AccessToken, this time (-HttpExtensionsGlobals.OAuth2ExpireOffset) is check to know if a new AccessToken needs to be generated with the RefreshToken
Declaration
DateTimeOffset OAuth2AccessTokenExpires { get; set; }
Returns
Type | Description |
---|---|
System.DateTimeOffset |
OAuth2RefreshToken
Token used to get a new Access Token
Declaration
string OAuth2RefreshToken { get; set; }
Returns
Type | Description |
---|---|
System.String |