MCPcopy Create free account

hub / github.com/aws-samples/lambdaedge-openidconnect-samples / functions

Functions49 in github.com/aws-samples/lambdaedge-openidconnect-samples

↓ 9 callersFunctiongetUnauthorizedPayload
(error, errorDescription, errorUri)
src/js/auth.js:418
↓ 8 callersFunctionvalidateRedirectState
(state)
src/js/auth.test.js:9
↓ 7 callersMethodwarn
* warn logs a warn message * * @param message message to log * @param attributes additional attributes to log * @param error error to log
src/js/lib/log/index.d.ts:69
↓ 6 callersFunctionwrite
(value)
src/js/lib/log/index.js:54
↓ 4 callersMethoderror
* error logs an error messages * * @param message message to log * @param attributes additional attributes to log * @param error error to log
src/js/lib/log/index.d.ts:87
↓ 4 callersFunctiongeneratePkceCodeVerifier
(size = 43)
src/js/auth.test.js:15
↓ 4 callersFunctiongetNonceAndHash
()
src/js/auth.test.js:25
↓ 4 callersFunctionisNil
(value)
src/js/lib/log/index.js:157
↓ 4 callersFunctionlogMessage
(possibleLevel, message, attributes, error)
src/js/lib/log/index.js:52
↓ 3 callersFunctiongetOidcRedirectPayload
(request)
src/js/auth.js:365
↓ 3 callersMethodinfo
* info logs an info message * * @param message message to log * @param attributes additional attributes to log * @param error error to log
src/js/lib/log/index.d.ts:60
↓ 2 callersFunctioncustomStringify
(value, replacer, space)
src/js/lib/log/index.js:181
↓ 2 callersFunctiongeneratePkceCodeVerifier
(size = 43)
src/js/auth.js:277
↓ 2 callersFunctiongetInternalServerErrorPayload
()
src/js/auth.js:460
↓ 2 callersFunctiongetLogLevel
(potentialLogLevel)
src/js/lib/log/index.js:121
↓ 2 callersFunctionvalidateNonce
(nonce, hash)
src/js/auth.test.js:31
↓ 2 callersFunctionverifyJwt
(token, pem, algorithms)
src/js/auth.js:173
↓ 1 callersFunctionauthenticate
(evt)
src/js/auth.js:62
↓ 1 callersFunctionfetchConfigFromSecretsManager
(evt)
src/js/auth.js:236
↓ 1 callersFunctiongeneratePkceCodeChallenge
(codeVerifier)
src/js/auth.js:284
↓ 1 callersFunctiongeneratePkceCodeChallenge
(codeVerifier)
src/js/auth.test.js:19
↓ 1 callersFunctiongenerate_configuration
( client_id: str, client_secret: str, cloudfront_host: str, idp_domain_name: str, idp_name
cli/cli.py:23
↓ 1 callersFunctiongetFileNameSansPathAndExtension
(value)
src/js/lib/log/index.js:169
↓ 1 callersFunctiongetId
(event, context)
src/js/lib/log/index.js:105
↓ 1 callersFunctiongetIdAndDecodedToken
(tokenRequestParams)
src/js/auth.js:163
↓ 1 callersFunctiongetLambdaName
()
src/js/lib/log/index.js:175
↓ 1 callersFunctiongetNewJwtResponse
({ evt, request, queryString, headers })
src/js/auth.js:111
↓ 1 callersFunctiongetNonceAndHash
()
src/js/auth.js:223
↓ 1 callersFunctiongetRedirectPayload
({ evt, queryString, decodedToken, headers })
src/js/auth.js:311
↓ 1 callersFunctiongetVerifyJwtResponse
(request, headers)
src/js/auth.js:89
↓ 1 callersFunctionhandleInvalidQueryString
(queryString)
src/js/auth.js:187
↓ 1 callersFunctionprepareConfigGlobals
(event)
src/js/auth.js:290
↓ 1 callersFunctionremoveExtension
(value)
src/js/lib/log/index.js:162
↓ 1 callersFunctionsetConfig
(event)
src/js/auth.js:251
↓ 1 callersFunctionsetDiscoveryDocument
()
src/js/auth.js:258
↓ 1 callersFunctionsetJwks
()
src/js/auth.js:265
↓ 1 callersFunctionvalidateNonce
(nonce, hash)
src/js/auth.js:230
↓ 1 callersFunctionvalidateRedirectState
(state)
src/js/auth.js:298
MethodaddProp
* addProp adds a property to all of the log messages * * @param key is the key of the property to add * @param property is the value to add
src/js/lib/log/index.d.ts:44
Functionbase_64_encode_config
( config_file )
cli/utils/generator.py:92
Methoddebug
* debug logs a debug message * * @param message message to log * @param attributes additional attributes to log * @param error error to log
src/js/lib/log/index.d.ts:78
Methodfatal
* fatal logs a fatal message * * @param message message to log * @param attributes additional attributes to log * @param error error to log
src/js/lib/log/index.d.ts:96
Functiongenerate_keys
Generates openssl public and private key pairs. Returns: key_pair_map (dict) = a dict with both the public and private keys.
cli/utils/keys.py:6
Functiongenerate_rendered_config_file
Generates full configuration file with real values. Returns: config (file) = rendered configuration file.
cli/utils/generator.py:44
MethodinstanceId
instanceId returns the instance id of the logger.
src/js/lib/log/index.d.ts:36
Functionlog
* Log is a JSON logger for facilitating structured logging that can be correlated * between multiple lambda functions via CloudWatch logs. * * To u
src/js/lib/log/index.js:44
MethodrmProp
* rmProp removes a property from all of the log messages * * @param key is the key of the property to remove
src/js/lib/log/index.d.ts:51
Functionscaffold_base_config_file
Scaffolds out config file. Returns: config (file) = a base config file written to disk.
cli/utils/generator.py:28
FunctionsetDependencies
(dependencies)
src/js/auth.js:51