@Singleton
@Requires(classes=io.micronaut.security.filters.AuthenticationFetcher.class)
public class MicronautLambdaAuthenticationFetcher
extends java.lang.Object
implements io.micronaut.security.filters.AuthenticationFetcher
CognitoAuthorizerClaims
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HEADER_OIDC_IDENTITY |
Constructor and Description |
---|
MicronautLambdaAuthenticationFetcher() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
attributesOfClaims(com.amazonaws.serverless.proxy.model.CognitoAuthorizerClaims claims) |
org.reactivestreams.Publisher<io.micronaut.security.authentication.Authentication> |
fetchAuthentication(io.micronaut.http.HttpRequest<?> request) |
public static final java.lang.String HEADER_OIDC_IDENTITY
public MicronautLambdaAuthenticationFetcher()
public org.reactivestreams.Publisher<io.micronaut.security.authentication.Authentication> fetchAuthentication(io.micronaut.http.HttpRequest<?> request)
fetchAuthentication
in interface io.micronaut.security.filters.AuthenticationFetcher
protected java.util.Map<java.lang.String,java.lang.Object> attributesOfClaims(com.amazonaws.serverless.proxy.model.CognitoAuthorizerClaims claims)
claims
- Cognito Claims