We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 618e584 commit 41dcdabCopy full SHA for 41dcdab
examples/apps/api-gateway-authorizer-nodejs/index.js
@@ -312,7 +312,8 @@ AuthPolicy.prototype = (function AuthPolicyClass() {
312
313
314
exports.handler = (event, context, callback) => {
315
- console.log('Client token:', event.authorizationToken);
+ // incoming token value
316
+ var token = event.authorizationToken;
317
console.log('Method ARN:', event.methodArn);
318
319
// validate the incoming token
examples/apps/api-gateway-authorizer-python/lambda_function.py
@@ -4,7 +4,8 @@
4
5
6
def lambda_handler(event, context):
7
- print("Client token: " + event['authorizationToken'])
+ # incoming token value
8
+ token = event['authorizationToken']
9
print("Method ARN: " + event['methodArn'])
10
11
'''
0 commit comments