你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AccessToken Class

Definition

Represents an OAuth token and its metadata.

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

Constructors

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

Initializes a new instance of the AccessToken class.

Properties

Name Description
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