HttpAgentIdentityCredentialsClient class
Default HTTP/configurable implementation of AgentIdentityCredentialsClient.
final client = HttpAgentIdentityCredentialsClient();
- Implemented types
Constructors
-
HttpAgentIdentityCredentialsClient({String? endpoint, String? accessToken, Object httpClientFactory()?, Future<
AgentIdentityCredentialsResponse> handler({required GcpAuthProviderScheme authScheme, required String userId})?}) - Creates an HttpAgentIdentityCredentialsClient.
Properties
- accessToken → String?
-
Optional OAuth2 bearer access token used to call the service.
final
- endpoint → String
-
Base URL of the Agent Identity Credentials service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCredentials(
{required String userId, required GcpAuthProviderScheme authScheme}) → Future< AgentIdentityCredentialsResponse> -
Requests credentials for
userIdandauthScheme.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