Share via


AccessToken Class

Definition

Represents an OAuth token and its metadata.

public class AccessToken
type AccessToken = class
Public Class AccessToken
Inheritance
AccessToken

Constructors

AccessToken(String, String, DateTimeOffset, Nullable<DateTimeOffset>)

Initializes a new instance of the AccessToken class.

Properties

ExpiresOn

Gets the time when the provided token expires.

RefreshOn

Gets the time when the token should be refreshed.

TokenType

Gets the type of the token.

TokenValue

Get the token value.

Applies to