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, tenantId
maxRetry, proxyOptions, retryTimeout
public 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 © 2019 Microsoft Corporation. All rights reserved.