Package io.quarkus.amazon.lambda.http
Interface LambdaIdentityProvider
-
- All Superinterfaces:
io.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>
public interface LambdaIdentityProvider extends io.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>
Helper interface that removes some boilerplate for creating an IdentityProvider that processes APIGatewayV2HTTPEvent
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default io.quarkus.security.identity.SecurityIdentity
authenticate(com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent event)
You must override this method unless you directly override IdentityProvider.authenticatedefault io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity>
authenticate(LambdaAuthenticationRequest request, io.quarkus.security.identity.AuthenticationRequestContext context)
default Class<LambdaAuthenticationRequest>
getRequestType()
-
-
-
Method Detail
-
getRequestType
default Class<LambdaAuthenticationRequest> getRequestType()
- Specified by:
getRequestType
in interfaceio.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>
-
authenticate
default io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> authenticate(LambdaAuthenticationRequest request, io.quarkus.security.identity.AuthenticationRequestContext context)
- Specified by:
authenticate
in interfaceio.quarkus.security.identity.IdentityProvider<LambdaAuthenticationRequest>
-
authenticate
default io.quarkus.security.identity.SecurityIdentity authenticate(com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent event)
You must override this method unless you directly override IdentityProvider.authenticate- Parameters:
event
-- Returns:
-
-