ServiceAccountCredentialExchanger class

Exchanges service-account credentials into HTTP bearer credentials.

Inheritance

Constructors

ServiceAccountCredentialExchanger({ServiceAccountTokenResolver? tokenResolver})
Creates a service-account exchanger with optional tokenResolver.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokenResolver → ServiceAccountTokenResolver?
Resolver used to mint or fetch an access token.
final

Methods

exchangeCredential(Object authScheme, [AuthCredential? authCredential]) → Future<AuthCredential?>
Exchanges authCredential for authScheme using tokenResolver.
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