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

Constructors

ProxiedAzureCliCredential({dynamic logger(String)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → dynamic Function(String)?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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