Class DefaultAwsV4aAuthScheme
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.scheme.DefaultAwsV4aAuthScheme
-
- All Implemented Interfaces:
AwsV4aAuthScheme,AuthScheme<AwsCredentialsIdentity>
public final class DefaultAwsV4aAuthScheme extends Object implements AwsV4aAuthScheme
A default implementation ofAwsV4aAuthScheme.
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.http.auth.aws.scheme.AwsV4aAuthScheme
SCHEME_ID
-
-
Constructor Summary
Constructors Constructor Description DefaultAwsV4aAuthScheme()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultAwsV4aAuthSchemecreate()Returns an instance of theDefaultAwsV4aAuthScheme.IdentityProvider<AwsCredentialsIdentity>identityProvider(IdentityProviders providers)Retrieve theAwsCredentialsIdentitybasedIdentityProviderassociated with this authentication scheme.StringschemeId()AwsV4aHttpSignersigner()AwsV4aHttpSigner.create() returns the CRT implementation and requires the optional dependency http-auth-aws-crt to be added.
-
-
-
Method Detail
-
create
public static DefaultAwsV4aAuthScheme create()
Returns an instance of theDefaultAwsV4aAuthScheme.
-
schemeId
public String schemeId()
- Specified by:
schemeIdin interfaceAuthScheme<AwsCredentialsIdentity>
-
identityProvider
public IdentityProvider<AwsCredentialsIdentity> identityProvider(IdentityProviders providers)
Description copied from interface:AwsV4aAuthSchemeRetrieve theAwsCredentialsIdentitybasedIdentityProviderassociated with this authentication scheme.- Specified by:
identityProviderin interfaceAuthScheme<AwsCredentialsIdentity>- Specified by:
identityProviderin interfaceAwsV4aAuthScheme
-
signer
public AwsV4aHttpSigner 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:
signerin interfaceAuthScheme<AwsCredentialsIdentity>- Specified by:
signerin interfaceAwsV4aAuthScheme
-
-