CertificateServiceClientCredentialsFactory.CreateCredentialsAsync Method
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.
A factory method for creating ServiceClientCredentials.
public override System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials> CreateCredentialsAsync (string appId, string audience, string loginEndpoint, bool validateAuthority, System.Threading.CancellationToken cancellationToken);
override this.CreateCredentialsAsync : string * string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials>
Public Overrides Function CreateCredentialsAsync (appId As String, audience As String, loginEndpoint As String, validateAuthority As Boolean, cancellationToken As CancellationToken) As Task(Of ServiceClientCredentials)
Parameters
- appId
- String
The appId.
- audience
- String
The audience.
- loginEndpoint
- String
The login url.
- validateAuthority
- Boolean
The validate authority vale to use.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
Task<Microsoft.Rest.ServiceClientCredentials>
A Task<TResult> representing the result of the asynchronous operation.