AccessToken Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an Azure service bearer access token with expiry information.
public struct AccessToken
type AccessToken = struct
Public Structure AccessToken
- Inheritance
-
AccessToken
Constructors
AccessToken(String, DateTimeOffset) |
Creates a new instance of AccessToken using the provided |
AccessToken(String, DateTimeOffset, Nullable<DateTimeOffset>) |
Creates a new instance of AccessToken using the provided |
AccessToken(String, DateTimeOffset, Nullable<DateTimeOffset>, String) |
Creates a new instance of AccessToken using the provided |
Properties
ExpiresOn |
Gets the time when the provided token expires. |
RefreshOn |
Gets the time when the token should be refreshed. |
Token |
Get the access token value. |
TokenType |
Identifies the type of access token. |
Methods
Equals(Object) |
Indicates whether this instance and a specified object are equal. |
GetHashCode() |
Returns the hash code for this instance. |