Package io.quarkus.oidc.runtime
Class OidcAuthenticationMechanism
java.lang.Object
io.quarkus.oidc.runtime.OidcAuthenticationMechanism
- All Implemented Interfaces:
HttpAuthenticationMechanism
@ApplicationScoped
public class OidcAuthenticationMechanism
extends Object
implements HttpAuthenticationMechanism
-
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
ConstructorDescriptionOidcAuthenticationMechanism
(DefaultTenantConfigResolver resolver, io.quarkus.security.spi.runtime.BlockingSecurityExecutor blockingExecutor) -
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) int
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, sendChallenge
-
Constructor Details
-
OidcAuthenticationMechanism
public OidcAuthenticationMechanism(DefaultTenantConfigResolver resolver, io.quarkus.security.spi.runtime.BlockingSecurityExecutor blockingExecutor)
-
-
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:
authenticate
in interfaceHttpAuthenticationMechanism
-
getChallenge
- Specified by:
getChallenge
in interfaceHttpAuthenticationMechanism
-
getCredentialTypes
public Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()- Specified by:
getCredentialTypes
in interfaceHttpAuthenticationMechanism
-
getCredentialTransport
public io.smallrye.mutiny.Uni<HttpCredentialTransport> getCredentialTransport(io.vertx.ext.web.RoutingContext context) - Specified by:
getCredentialTransport
in interfaceHttpAuthenticationMechanism
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceHttpAuthenticationMechanism
-