TokenCredentials Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET