ProxiedAzureCliCredential class
Attempts to acquire a token through a proxied instance of Azure CLI. The output of Azure CLI is expected at http://host.docker.internal:8181 by default and can be overridden by setting the environment variable AZURE_CLI_PROXY_HOST. This token is intended to be used in development settings where the application is running locally inside a Docker container but does not have access to Azure CLI inside the container.
- Inheritance
-
- Object
- TokenCredential
- ProxiedAzureCliCredential
Constructors
- ProxiedAzureCliCredential({dynamic logger(String)?})
Properties
Methods
-
getToken(
{GetTokenOptions? options}) → Future< AccessToken?> -
Gets the token provided by this credential.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited