public sealed class AwsExternalAccountCredential : ExternalAccountCredential, IHttpExecuteInterceptor, IHttpUnsuccessfulResponseHandler, ICredential, IConfigurableHttpClientInitializer, ITokenAccessWithHeaders, ITokenAccess
AWS credentials as described in https://google.aip.dev/auth/4117#determining-the-subject-token-in-aws.
Implements
IHttpExecuteInterceptor, IHttpUnsuccessfulResponseHandler, ICredential, IConfigurableHttpClientInitializer, ITokenAccessWithHeaders, ITokenAccessNamespace
Google.Apis.Auth.OAuth2Assembly
Google.Apis.Auth.dll
Methods
GetSubjectTokenAsyncImpl(CancellationToken)
protected override async Task<string> GetSubjectTokenAsyncImpl(CancellationToken taskCancellationToken)
Gets the subject token to be exchanged for the access token.
Parameter | |
---|---|
Name | Description |
taskCancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
Task<String> |