Currently the JWT struct on the Context's Authorizer is public, but the jwt instance is not. Is this a design decision?
Is there a better approach? Currently I am getting the token from the request authorization header and decoding manually to get claims.
I have several lambdas on an HTTP APIGateway API.
SwiftAWSLambdaRuntime version/commit hash
0.2.0
Swift & OS version (output of swift --version && uname -a)
Currently the JWT struct on the Context's Authorizer is public, but the jwt instance is not. Is this a design decision? Is there a better approach? Currently I am getting the token from the request
authorization
header and decoding manually to get claims.I have several lambdas on an HTTP APIGateway API.
SwiftAWSLambdaRuntime version/commit hash
0.2.0
Swift & OS version (output of
swift --version && uname -a
)Swift 5.2.4@MacOS 10.5/Swift 5.2.5@Amazonlinux2