public class SharedTokenCacheCredentialBuilder extends CredentialBuilderBase<ManagedIdentityCredentialBuilder>
SharedTokenCacheCredential.SharedTokenCacheCredential| Constructor and Description |
|---|
SharedTokenCacheCredentialBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SharedTokenCacheCredential |
build()
Creates a new
SharedTokenCacheCredentialBuilder with the current configurations. |
SharedTokenCacheCredentialBuilder |
clientId(String clientId)
Sets the client ID for the application.
|
SharedTokenCacheCredentialBuilder |
username(String username)
Sets the username for the account.
|
maxRetry, proxyOptions, retryTimeoutpublic SharedTokenCacheCredentialBuilder clientId(String clientId)
clientId - The client ID for the application.public SharedTokenCacheCredentialBuilder username(String username)
username - The username for the account.public SharedTokenCacheCredential build()
SharedTokenCacheCredentialBuilder with the current configurations.SharedTokenCacheCredentialBuilder with the current configurations.Copyright © 2020 Microsoft Corporation. All rights reserved.