public class ApiGatewayAuthorizerContext
extends java.lang.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() |
java.lang.String |
getContextValue(java.lang.String key) |
java.lang.String |
getPrincipalId() |
void |
setClaims(CognitoAuthorizerClaims claims) |
void |
setContextValue(java.lang.String key,
java.lang.String value) |
void |
setPrincipalId(java.lang.String principalId) |
public java.lang.String getContextValue(java.lang.String key)
public void setContextValue(java.lang.String key,
java.lang.String value)
public java.lang.String getPrincipalId()
public void setPrincipalId(java.lang.String principalId)
public CognitoAuthorizerClaims getClaims()
public void setClaims(CognitoAuthorizerClaims claims)
Copyright © 2018. All Rights Reserved.