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
GoogleApisAuthOAuth2Assembly
Google.Apis.Auth.dll
Methods
GetSubjectTokenAsyncImpl(CancellationToken)
protected override Task<string> GetSubjectTokenAsyncImpl(CancellationToken taskCancellationToken)
Gets the subject token to be exchanged for the access token.
Parameter | |
---|---|
Name | Description |
taskCancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
Taskstring |