Class AwsExternalAccountCredential
AWS credentials as described in https://google.aip.dev/auth/4117#determining-the-subject-token-in-aws.
Implements
IHttpUnsuccessfulResponseHandler
IConfigurableHttpClientInitializer
IHttpExecuteInterceptor
Inherited Members
Namespace: Google.Apis.Auth.OAuth2
Assembly: Google.Apis.Auth.dll
Syntax
public sealed class AwsExternalAccountCredential : ExternalAccountCredential, IHttpUnsuccessfulResponseHandler, ICredential, IConfigurableHttpClientInitializer, ITokenAccessWithHeaders, ITokenAccess, IHttpExecuteInterceptor
Methods
GetSubjectTokenAsyncImpl(CancellationToken)
Gets the subject token to be exchanged for the access token.
Declaration
protected override Task<string> GetSubjectTokenAsyncImpl(CancellationToken taskCancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | taskCancellationToken |
Returns
Type | Description |
---|---|
Task<string> |
Overrides
Implements
Google.Apis.Http.IHttpUnsuccessfulResponseHandler
Google.Apis.Http.IConfigurableHttpClientInitializer
Google.Apis.Http.IHttpExecuteInterceptor