Class AwsProxySecurityContext.CognitoUserPoolPrincipal

java.lang.Object
com.amazonaws.serverless.proxy.internal.jaxrs.AwsProxySecurityContext.CognitoUserPoolPrincipal
All Implemented Interfaces:
Principal
Enclosing class:
AwsProxySecurityContext

public static class AwsProxySecurityContext.CognitoUserPoolPrincipal extends Object implements Principal
Custom object for request authorized with a Cognito User Pool authorizer. By casting the Principal object to this you can extract the Claims object included in the token.