public final class DefaultNoAuthAuthScheme extends Object implements NoAuthAuthScheme
NoAuthAuthScheme. This implementation always:
IdentityProvider that always returns the same static instance that implements the
AnonymousIdentity interfaceHttpSigner that returns the same request given in the signing request.NoAuthAuthScheme.AnonymousIdentitySCHEME_ID| Constructor and Description |
|---|
DefaultNoAuthAuthScheme() |
| Modifier and Type | Method and Description |
|---|---|
static NoAuthAuthScheme |
create()
Returns an instance of the
NoAuthAuthScheme. |
IdentityProvider<NoAuthAuthScheme.AnonymousIdentity> |
identityProvider(IdentityProviders providers)
Retrieve the
NoAuthAuthScheme.AnonymousIdentity based IdentityProvider associated with this authentication scheme. |
String |
schemeId() |
HttpSigner<NoAuthAuthScheme.AnonymousIdentity> |
signer()
Retrieve the
HttpSigner associated with this authentication scheme. |
public static NoAuthAuthScheme create()
NoAuthAuthScheme.create in interface NoAuthAuthSchemepublic String schemeId()
schemeId in interface AuthScheme<NoAuthAuthScheme.AnonymousIdentity>public IdentityProvider<NoAuthAuthScheme.AnonymousIdentity> identityProvider(IdentityProviders providers)
NoAuthAuthSchemeNoAuthAuthScheme.AnonymousIdentity based IdentityProvider associated with this authentication scheme.identityProvider in interface NoAuthAuthSchemeidentityProvider in interface AuthScheme<NoAuthAuthScheme.AnonymousIdentity>public HttpSigner<NoAuthAuthScheme.AnonymousIdentity> signer()
NoAuthAuthSchemeHttpSigner associated with this authentication scheme.signer in interface NoAuthAuthSchemesigner in interface AuthScheme<NoAuthAuthScheme.AnonymousIdentity>Copyright © 2023. All rights reserved.