Class ApiGatewayAuthorizerContext
java.lang.Object
io.quarkus.amazon.lambda.http.model.ApiGatewayAuthorizerContext
Context object used for custom authorizers and Cognito User Pool authorizers.
Custom authorizers populate the
principalId
field. All other custom values
returned by the authorizer are accessible via the getContextValue
method.
Cognito User Pool authorizers populate the claims
object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContextValue
(String key) void
setClaims
(CognitoAuthorizerClaims claims) void
setContextValue
(String key, String value) void
setPrincipalId
(String principalId)
-
Constructor Details
-
ApiGatewayAuthorizerContext
public ApiGatewayAuthorizerContext()
-
-
Method Details
-
getContextProperties
-
getContextValue
-
setContextValue
-
getPrincipalId
-
setPrincipalId
-
getClaims
-
setClaims
-