Package io.quarkus.security.webauthn
Class WebAuthnAuthenticationMechanism
- java.lang.Object
-
- io.quarkus.security.webauthn.WebAuthnAuthenticationMechanism
-
- All Implemented Interfaces:
HttpAuthenticationMechanism
public class WebAuthnAuthenticationMechanism extends Object implements HttpAuthenticationMechanism
An AuthenticationMechanism for WebAuthn which mostly delegates to @{link PersistentLoginManager} and @{TrustedAuthenticationRequest}, since authentication is handled byWebAuthnControlleror @{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
Constructors Constructor Description WebAuthnAuthenticationMechanism(PersistentLoginManager loginManager, String loginPage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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)io.smallrye.mutiny.Uni<HttpCredentialTransport>getCredentialTransport(io.vertx.ext.web.RoutingContext context)Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>>getCredentialTypes()PersistentLoginManagergetLoginManager()(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, wait
-
Methods inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
getCredentialTransport, getPriority, sendChallenge
-
-
-
-
Constructor Detail
-
WebAuthnAuthenticationMechanism
WebAuthnAuthenticationMechanism(PersistentLoginManager loginManager, String loginPage)
-
-
Method Detail
-
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
public io.smallrye.mutiny.Uni<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context)
- 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
public PersistentLoginManager getLoginManager()
-
-