Class DefaultAwsV4aAuthScheme
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.scheme.DefaultAwsV4aAuthScheme
- All Implemented Interfaces:
AwsV4aAuthScheme
,AuthScheme<AwsCredentialsIdentity>
A default implementation of
AwsV4aAuthScheme
.-
Field Summary
Fields inherited from interface software.amazon.awssdk.http.auth.aws.scheme.AwsV4aAuthScheme
SCHEME_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultAwsV4aAuthScheme
create()
Returns an instance of theDefaultAwsV4aAuthScheme
.identityProvider
(IdentityProviders providers) Retrieve theAwsCredentialsIdentity
basedIdentityProvider
associated with this authentication scheme.schemeId()
Retrieve the scheme ID, a unique identifier for the authentication scheme.signer()
AwsV4aHttpSigner.create() returns the CRT implementation and requires the optional dependency http-auth-aws-crt to be added.
-
Constructor Details
-
DefaultAwsV4aAuthScheme
public DefaultAwsV4aAuthScheme()
-
-
Method Details
-
create
Returns an instance of theDefaultAwsV4aAuthScheme
. -
schemeId
Description copied from interface:AuthScheme
Retrieve the scheme ID, a unique identifier for the authentication scheme.- Specified by:
schemeId
in interfaceAuthScheme<AwsCredentialsIdentity>
-
identityProvider
Description copied from interface:AwsV4aAuthScheme
Retrieve theAwsCredentialsIdentity
basedIdentityProvider
associated with this authentication scheme.- Specified by:
identityProvider
in interfaceAuthScheme<AwsCredentialsIdentity>
- Specified by:
identityProvider
in interfaceAwsV4aAuthScheme
-
signer
AwsV4aHttpSigner.create() returns the CRT implementation and requires the optional dependency http-auth-aws-crt to be added. So lazily creating the instance only when this method is called.- Specified by:
signer
in interfaceAuthScheme<AwsCredentialsIdentity>
- Specified by:
signer
in interfaceAwsV4aAuthScheme
-