Class DefaultNoAuthAuthScheme
java.lang.Object
software.amazon.awssdk.http.auth.internal.scheme.DefaultNoAuthAuthScheme
- All Implemented Interfaces:
NoAuthAuthScheme,AuthScheme<NoAuthAuthScheme.AnonymousIdentity>
A default implementation of
NoAuthAuthScheme. This implementation always:
- Returns an
IdentityProviderthat always returns the same static instance that implements theNoAuthAuthScheme.AnonymousIdentityinterface - Returns an
HttpSignerthat returns the same request given in the signing request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.auth.scheme.NoAuthAuthScheme
NoAuthAuthScheme.AnonymousIdentity -
Field Summary
Fields inherited from interface software.amazon.awssdk.http.auth.scheme.NoAuthAuthScheme
SCHEME_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NoAuthAuthSchemecreate()Returns an instance of theNoAuthAuthScheme.identityProvider(IdentityProviders providers) Retrieve theNoAuthAuthScheme.AnonymousIdentitybasedIdentityProviderassociated with this authentication scheme.schemeId()Retrieve the scheme ID, a unique identifier for the authentication scheme.signer()Retrieve theHttpSignerassociated with this authentication scheme.
-
Constructor Details
-
DefaultNoAuthAuthScheme
public DefaultNoAuthAuthScheme()
-
-
Method Details
-
create
Returns an instance of theNoAuthAuthScheme. -
schemeId
Description copied from interface:AuthSchemeRetrieve the scheme ID, a unique identifier for the authentication scheme.- Specified by:
schemeIdin interfaceAuthScheme<NoAuthAuthScheme.AnonymousIdentity>
-
identityProvider
public IdentityProvider<NoAuthAuthScheme.AnonymousIdentity> identityProvider(IdentityProviders providers) Description copied from interface:NoAuthAuthSchemeRetrieve theNoAuthAuthScheme.AnonymousIdentitybasedIdentityProviderassociated with this authentication scheme.- Specified by:
identityProviderin interfaceAuthScheme<NoAuthAuthScheme.AnonymousIdentity>- Specified by:
identityProviderin interfaceNoAuthAuthScheme
-
signer
Description copied from interface:NoAuthAuthSchemeRetrieve theHttpSignerassociated with this authentication scheme.- Specified by:
signerin interfaceAuthScheme<NoAuthAuthScheme.AnonymousIdentity>- Specified by:
signerin interfaceNoAuthAuthScheme
-