Class AzureCliTokenCredentialManager.AzureCliTokenCredential
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.auth.core.azurecli.AzureCliTokenCredentialManager.AzureCliTokenCredential
-
- All Implemented Interfaces:
com.azure.core.credential.TokenCredential
- Enclosing class:
- AzureCliTokenCredentialManager
static class AzureCliTokenCredentialManager.AzureCliTokenCredential extends Object implements com.azure.core.credential.TokenCredential
-
-
Field Summary
Fields Modifier and Type Field Description private static StringCLI_GET_ACCESS_TOKEN_CMDprivate static StringCLOUD_SHELL_ENV_KEYprivate StringtenantId
-
Constructor Summary
Constructors Constructor Description AzureCliTokenCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<com.azure.core.credential.AccessToken>getToken(com.azure.core.credential.TokenRequestContext request)(package private) booleanisInCloudShell()
-
-
-
Field Detail
-
CLI_GET_ACCESS_TOKEN_CMD
private static final String CLI_GET_ACCESS_TOKEN_CMD
- See Also:
- Constant Field Values
-
CLOUD_SHELL_ENV_KEY
private static final String CLOUD_SHELL_ENV_KEY
- See Also:
- Constant Field Values
-
tenantId
private final String tenantId
-
-