共用方式為


TokenCredentials Constructors

Definition

Overloads

TokenCredentials(ITokenProvider)
TokenCredentials(String)
TokenCredentials(String, String)
TokenCredentials(ITokenProvider, String, String)

TokenCredentials(ITokenProvider)

public TokenCredentials (Microsoft.Rest.ITokenProvider tokenProvider);
new Microsoft.Rest.TokenCredentials : Microsoft.Rest.ITokenProvider -> Microsoft.Rest.TokenCredentials
Public Sub New (tokenProvider As ITokenProvider)

Parameters

tokenProvider
ITokenProvider

Applies to

TokenCredentials(String)

public TokenCredentials (string token);
new Microsoft.Rest.TokenCredentials : string -> Microsoft.Rest.TokenCredentials
Public Sub New (token As String)

Parameters

token
String

Applies to

TokenCredentials(String, String)

public TokenCredentials (string token, string tokenType);
new Microsoft.Rest.TokenCredentials : string * string -> Microsoft.Rest.TokenCredentials
Public Sub New (token As String, tokenType As String)

Parameters

token
String
tokenType
String

Applies to

TokenCredentials(ITokenProvider, String, String)

public TokenCredentials (Microsoft.Rest.ITokenProvider tokenProvider, string tenantId, string callerId);
new Microsoft.Rest.TokenCredentials : Microsoft.Rest.ITokenProvider * string * string -> Microsoft.Rest.TokenCredentials
Public Sub New (tokenProvider As ITokenProvider, tenantId As String, callerId As String)

Parameters

tokenProvider
ITokenProvider
tenantId
String
callerId
String

Applies to