public class IntelliJCredentialBuilder extends CredentialBuilderBase<VisualStudioCodeCredentialBuilder>
IntelliJCredential
.IntelliJCredential
Constructor and Description |
---|
IntelliJCredentialBuilder() |
Modifier and Type | Method and Description |
---|---|
IntelliJCredential |
build()
Creates a new
IntelliJCredential with the current configurations. |
IntelliJCredentialBuilder |
keePassDatabasePath(String databasePath)
Specifies the KeePass database path to read the cached credentials of Azure toolkit for IntelliJ plugin.
|
IntelliJCredentialBuilder |
tenantId(String tenantId)
Sets the tenant id of the user to authenticate through the
IntelliJCredential . |
allowMultiTenantAuthentication, httpClient, httpPipeline, maxRetry, proxyOptions, retryTimeout
public IntelliJCredentialBuilder tenantId(String tenantId)
IntelliJCredential
. The default is
the tenant the user originally authenticated to via the Azure Toolkit for IntelliJ plugin.tenantId
- the tenant ID to set.public IntelliJCredentialBuilder keePassDatabasePath(String databasePath)
databasePath
is required on Windows platform. For macOS and Linux platform native key chain /
key ring will be accessed respectively to retrieve the cached credentials.
This path can be located in the IntelliJ IDE. Windows: File -> Settings -> Appearance & Behavior -> System Settings -> Passwords.
databasePath
- the path to the KeePass database.IllegalArgumentException
- if databasePath
is either not specified or is empty.public IntelliJCredential build()
IntelliJCredential
with the current configurations.IntelliJCredential
with the current configurations.Copyright © 2021 Microsoft Corporation. All rights reserved.