fix(aws-lambda): AuthResponseContext children may be objects (#23192)

If used with a custom authorizer, there will be a claims object
with the parsed JSON web token.
See https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html
This commit is contained in:
Markus Tacker
2018-01-30 11:04:01 -08:00
committed by Sheetal Nandi
parent a0b24ba3d7
commit 73518ca44a
+1 -1
View File
@@ -457,7 +457,7 @@ export interface Statement {
* http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html#api-gateway-custom-authorizer-output
*/
export interface AuthResponseContext {
[name: string]: string | number | boolean;
[name: string]: any;
}
/**