Class AwsExternalAccountCredential (1.73.0)

public sealed class AwsExternalAccountCredential : ExternalAccountCredential, IHttpUnsuccessfulResponseHandler, ICredential, IConfigurableHttpClientInitializer, ITokenAccessWithHeaders, ITokenAccess, IHttpExecuteInterceptor

Inheritance

object > ServiceCredential > ExternalAccountCredential > AwsExternalAccountCredential

Namespace

Google.Apis.Auth.OAuth2

Assembly

Google.Apis.Auth.dll

Remarks

This credential type does not validate the credential configuration. A security risk occurs when a credential configuration configured with malicious urls is used. You should validate credential configurations provided by untrusted sources. See Security requirements when using credential configurations from an external source for more details.

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
Overrides

ToGoogleCredential()

public GoogleCredential ToGoogleCredential()

Creates a GoogleCredential from this credential.

Returns
Type Description
GoogleCredential

Extension Method