Interface HttpAuthenticationMechanism
-
- All Known Implementing Classes:
BasicAuthenticationMechanism,FormAuthenticationMechanism,HttpAuthenticator.NoAuthenticationMechanism,MtlsAuthenticationMechanism
public interface HttpAuthenticationMechanismAn interface that performs HTTP based authentication
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHttpAuthenticationMechanism.ChallengeSender
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity>authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager)io.smallrye.mutiny.Uni<ChallengeData>getChallenge(io.vertx.ext.web.RoutingContext context)HttpCredentialTransportgetCredentialTransport()The credential transport, used to make sure multiple incompatible mechanisms are not installed May be null if this mechanism cannot interfere with other mechanismsSet<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>>getCredentialTypes()Returns the required credential types.default io.smallrye.mutiny.Uni<Boolean>sendChallenge(io.vertx.ext.web.RoutingContext context)
-
-
-
Method Detail
-
authenticate
io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager)
-
getChallenge
io.smallrye.mutiny.Uni<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context)
-
getCredentialTypes
Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()
Returns the required credential types. If there are no identity managers installed that support the listed types then this mechanism will not be enabled.
-
sendChallenge
default io.smallrye.mutiny.Uni<Boolean> sendChallenge(io.vertx.ext.web.RoutingContext context)
-
getCredentialTransport
HttpCredentialTransport getCredentialTransport()
The credential transport, used to make sure multiple incompatible mechanisms are not installed May be null if this mechanism cannot interfere with other mechanisms
-
-