AccessToken Struct

Definition

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 and expiresOn.

Properties

ExpiresOn

Gets the time when the provided token expires.

Token

Get the access token value.

Methods

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Applies to