Share via


AccessToken(String, DateTimeOffset, Object) Constructor

Definition

Constructor for AccessToken

public AccessToken (string token, DateTimeOffset expirationTime, object userContext = default);
new Microsoft.AnalysisServices.AdomdClient.AccessToken : string * DateTimeOffset * obj -> Microsoft.AnalysisServices.AdomdClient.AccessToken
Public Sub New (token As String, expirationTime As DateTimeOffset, Optional userContext As Object = Nothing)

Parameters

token
String

Access token

expirationTime
DateTimeOffset

Expiration time

userContext
Object

Context for token management. For example token type.

Applies to