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