Class DefaultAwsV4AuthScheme
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.scheme.DefaultAwsV4AuthScheme
-
- All Implemented Interfaces:
AwsV4AuthScheme,AuthScheme<AwsCredentialsIdentity>
public final class DefaultAwsV4AuthScheme extends Object implements AwsV4AuthScheme
A default implementation ofAwsV4AuthScheme.
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.http.auth.aws.scheme.AwsV4AuthScheme
SCHEME_ID
-
-
Constructor Summary
Constructors Constructor Description DefaultAwsV4AuthScheme()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultAwsV4AuthSchemecreate()Returns an instance of theDefaultAwsV4AuthScheme.IdentityProvider<AwsCredentialsIdentity>identityProvider(IdentityProviders providers)Retrieve theAwsCredentialsIdentitybasedIdentityProviderassociated with this authentication scheme.StringschemeId()AwsV4HttpSignersigner()Retrieve theAwsV4HttpSignerassociated with this authentication scheme.
-
-
-
Method Detail
-
create
public static DefaultAwsV4AuthScheme create()
Returns an instance of theDefaultAwsV4AuthScheme.
-
schemeId
public String schemeId()
- Specified by:
schemeIdin interfaceAuthScheme<AwsCredentialsIdentity>
-
identityProvider
public IdentityProvider<AwsCredentialsIdentity> identityProvider(IdentityProviders providers)
Description copied from interface:AwsV4AuthSchemeRetrieve theAwsCredentialsIdentitybasedIdentityProviderassociated with this authentication scheme.- Specified by:
identityProviderin interfaceAuthScheme<AwsCredentialsIdentity>- Specified by:
identityProviderin interfaceAwsV4AuthScheme
-
signer
public AwsV4HttpSigner signer()
Description copied from interface:AwsV4AuthSchemeRetrieve theAwsV4HttpSignerassociated with this authentication scheme.- Specified by:
signerin interfaceAuthScheme<AwsCredentialsIdentity>- Specified by:
signerin interfaceAwsV4AuthScheme
-
-