AuthenticationToken Class

Definition

Represents an authentication token for a resource.

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

Constructors

Name Description
AuthenticationToken(String, DateTimeOffset)

Initializes a new instance of the AuthenticationToken class.

Properties

Name Description
ExpiryBuffer

Gets or sets the amount of time to deduct from the actual expiry time. This is used to ensure that the token does not expire while processing is still in progress.

ExpiryTime

Gets the token expiry time.

Token

Gets the token.

Methods

Name Description
IsExpired()

Indicates whether the token has expired or not.

Applies to