public class VisualStudioCodeCredentialBuilder extends CredentialBuilderBase<VisualStudioCodeCredentialBuilder>
VisualStudioCodeCredential
.VisualStudioCodeCredential
Constructor and Description |
---|
VisualStudioCodeCredentialBuilder() |
Modifier and Type | Method and Description |
---|---|
VisualStudioCodeCredential |
build()
Creates a new
VisualStudioCodeCredential with the current configurations. |
VisualStudioCodeCredentialBuilder |
tenantId(String tenantId)
Sets the tenant id of the user to authenticate through the
VisualStudioCodeCredential . |
allowMultiTenantAuthentication, httpClient, httpPipeline, maxRetry, proxyOptions, retryTimeout
public VisualStudioCodeCredentialBuilder tenantId(String tenantId)
VisualStudioCodeCredential
. The default is
the tenant the user originally authenticated to via via the Visual Studio Code Azure Account plugin.tenantId
- the tenant ID to set.public VisualStudioCodeCredential build()
VisualStudioCodeCredential
with the current configurations.VisualStudioCodeCredential
with the current configurations.Copyright © 2021 Microsoft Corporation. All rights reserved.