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
FieldsModifier and TypeFieldDescription(package private) static final Set<Class<? extends io.quarkus.security.identity.request.AuthenticationRequest>>
(package private) jakarta.enterprise.inject.Instance<io.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>>
(package private) boolean
Fields inherited from interface io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism
DEFAULT_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.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) void
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
getCredentialTransport, getPriority
-
Field Details
-
identityProviders
@Inject jakarta.enterprise.inject.Instance<io.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>> identityProviders -
useDefault
boolean useDefault -
credentialTypes
-
-
Constructor Details
-
LambdaHttpAuthenticationMechanism
public LambdaHttpAuthenticationMechanism()
-
-
Method Details
-
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
- Specified by:
sendChallenge
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
- Specified by:
getCredentialTransport
in interfaceHttpAuthenticationMechanism
-