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

AuthenticationToken Class

Definition

Represents an OAuth token and its metadata.

public class AuthenticationToken
type AuthenticationToken = class
Public Class AuthenticationToken
Inheritance
AuthenticationToken

Constructors

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

Initializes a new instance of the AuthenticationToken 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