Package io.quarkus.amazon.lambda.http
Class LambdaHttpAuthenticationMechanism
- java.lang.Object
-
- io.quarkus.amazon.lambda.http.LambdaHttpAuthenticationMechanism
-
- All Implemented Interfaces:
HttpAuthenticationMechanism
@ApplicationScoped public class LambdaHttpAuthenticationMechanism 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 Modifier and Type Field Description (package private) static Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>>
credentialTypes
(package private) javax.enterprise.inject.Instance<io.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>>
identityProviders
(package private) boolean
useDefault
-
Fields inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
DEFAULT_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description LambdaHttpAuthenticationMechanism()
-
Method Summary
All 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 routingContext, io.quarkus.security.identity.IdentityProviderManager identityProviderManager)
io.smallrye.mutiny.Uni<ChallengeData>
getChallenge(io.vertx.ext.web.RoutingContext context)
HttpCredentialTransport
getCredentialTransport()
Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>>
getCredentialTypes()
void
initialize()
io.smallrye.mutiny.Uni<Boolean>
sendChallenge(io.vertx.ext.web.RoutingContext context)
-
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
getPriority
-
-
-
-
Field Detail
-
identityProviders
@Inject javax.enterprise.inject.Instance<io.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>> identityProviders
-
useDefault
boolean useDefault
-
-
Method Detail
-
initialize
@PostConstruct public void initialize()
-
authenticate
public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(io.vertx.ext.web.RoutingContext routingContext, io.quarkus.security.identity.IdentityProviderManager identityProviderManager)
- Specified by:
authenticate
in interfaceHttpAuthenticationMechanism
-
sendChallenge
public io.smallrye.mutiny.Uni<Boolean> sendChallenge(io.vertx.ext.web.RoutingContext context)
- Specified by:
sendChallenge
in interfaceHttpAuthenticationMechanism
-
getChallenge
public io.smallrye.mutiny.Uni<ChallengeData> getChallenge(io.vertx.ext.web.RoutingContext context)
- Specified by:
getChallenge
in interfaceHttpAuthenticationMechanism
-
getCredentialTypes
public Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>> getCredentialTypes()
- Specified by:
getCredentialTypes
in interfaceHttpAuthenticationMechanism
-
getCredentialTransport
public HttpCredentialTransport getCredentialTransport()
- Specified by:
getCredentialTransport
in interfaceHttpAuthenticationMechanism
-
-