public class ApiGatewayAuthorizerContext extends Object
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 and Description |
|---|
ApiGatewayAuthorizerContext() |
| Modifier and Type | Method and Description |
|---|---|
CognitoAuthorizerClaims |
getClaims() |
String |
getContextValue(String key) |
String |
getPrincipalId() |
void |
setClaims(CognitoAuthorizerClaims claims) |
void |
setContextValue(String key,
String value) |
void |
setPrincipalId(String principalId) |
public String getPrincipalId()
public void setPrincipalId(String principalId)
public CognitoAuthorizerClaims getClaims()
public void setClaims(CognitoAuthorizerClaims claims)
Copyright © 2022. All rights reserved.