Edit

Share via


ClientAccessTokenRequest Constructors

Definition

Overloads

ClientAccessTokenRequest(String, ClientAccessTokenType)

Initializes a new instance of the ClientAccessTokenRequest class with an app identifier and a token type.

ClientAccessTokenRequest(String, ClientAccessTokenType, String)

Initializes a new instance of the ClientAccessTokenRequest class with an app identifier, a token type, and a scope.

ClientAccessTokenRequest(String, ClientAccessTokenType)

Initializes a new instance of the ClientAccessTokenRequest class with an app identifier and a token type.

public:
 ClientAccessTokenRequest(System::String ^ id, Microsoft::Exchange::WebServices::Data::ClientAccessTokenType tokenType);
public ClientAccessTokenRequest (string id, Microsoft.Exchange.WebServices.Data.ClientAccessTokenType tokenType);
Public Sub New (id As String, tokenType As ClientAccessTokenType)

Parameters

id
String

The app identifier for the app requesting a client access token.

tokenType
ClientAccessTokenType

The requested token type.

Applies to

ClientAccessTokenRequest(String, ClientAccessTokenType, String)

Initializes a new instance of the ClientAccessTokenRequest class with an app identifier, a token type, and a scope.

public:
 ClientAccessTokenRequest(System::String ^ id, Microsoft::Exchange::WebServices::Data::ClientAccessTokenType tokenType, System::String ^ scope);
public ClientAccessTokenRequest (string id, Microsoft.Exchange.WebServices.Data.ClientAccessTokenType tokenType, string scope);
Public Sub New (id As String, tokenType As ClientAccessTokenType, scope As String)

Parameters

id
String

The app identifier for the app requesting a client access token.

tokenType
ClientAccessTokenType

The requested token type.

scope
String

The scope of the requested client access token. This parameter is only applicable if the value of the tokenType parameter is ClientAccessTokenType.ScopedToken.

Applies to