Package io.quarkus.security.webauthn
Class WebAuthnAuthenticationMechanism
java.lang.Object
io.quarkus.security.webauthn.WebAuthnAuthenticationMechanism
- All Implemented Interfaces:
HttpAuthenticationMechanism
An AuthenticationMechanism for WebAuthn which mostly delegates to @{link PersistentLoginManager}
and @{TrustedAuthenticationRequest}, since authentication is handled by
WebAuthnController
or @{link WebAuthnSecurity}.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
HttpAuthenticationMechanism.ChallengeSender -
Field Summary
Fields inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
DEFAULT_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionWebAuthnAuthenticationMechanism(PersistentLoginManager loginManager, String loginPage) -
Method Summary
Modifier and TypeMethodDescriptionio.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) io.smallrye.mutiny.Uni<HttpCredentialTransport>getCredentialTransport(io.vertx.ext.web.RoutingContext context) (package private) static io.smallrye.mutiny.Uni<ChallengeData>getRedirect(io.vertx.ext.web.RoutingContext exchange, String location) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
getCredentialTransport, getPriority, sendChallenge
-
Constructor Details
-
WebAuthnAuthenticationMechanism
WebAuthnAuthenticationMechanism(PersistentLoginManager loginManager, String loginPage)
-
-
Method Details
-
authenticate
public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext context, io.quarkus.security.identity.IdentityProviderManager identityProviderManager) - Specified by:
authenticatein interfaceHttpAuthenticationMechanism
-
getChallenge
- Specified by:
getChallengein interfaceHttpAuthenticationMechanism
-
getRedirect
static io.smallrye.mutiny.Uni<ChallengeData> getRedirect(io.vertx.ext.web.RoutingContext exchange, String location) -
getCredentialTypes
public Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()- Specified by:
getCredentialTypesin interfaceHttpAuthenticationMechanism
-
getCredentialTransport
public io.smallrye.mutiny.Uni<HttpCredentialTransport> getCredentialTransport(io.vertx.ext.web.RoutingContext context) - Specified by:
getCredentialTransportin interfaceHttpAuthenticationMechanism
-
getLoginManager
-