public class ClientSecretCredentialBuilder extends AadCredentialBuilderBase<ClientSecretCredentialBuilder>
ClientSecretCredential.ClientSecretCredential| Constructor and Description |
|---|
ClientSecretCredentialBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ClientSecretCredential |
build()
Creates a new
ClientCertificateCredential with the current configurations. |
ClientSecretCredentialBuilder |
clientSecret(String clientSecret)
Sets the client secret for the authentication.
|
authorityHost, clientId, executorService, tenantIdhttpClient, httpPipeline, maxRetry, proxyOptions, retryTimeoutpublic ClientSecretCredentialBuilder clientSecret(String clientSecret)
clientSecret - the secret value of the AAD application.public ClientSecretCredential build()
ClientCertificateCredential with the current configurations.ClientSecretCredentialBuilder with the current configurations.Copyright © 2020 Microsoft Corporation. All rights reserved.