Support for custom authorizers

With the joint release of claudia-api-builder 1.6.0 and claudia 1.7.1, you can now deploy REST APIs with custom authorizers.

api.registerAuthorizer('myAuth', {lambdaName: 'some-lambda-name'});

then you can just specify it as an authorizer in a method:

api.get('/', function (r) {/* some processing */ }, { customAuthorizer: 'myAuth' })

Check out the docs for all the available options, and the custom authorizers example for a working example.

For more information on how custom authorizers work, see the Use Amazon API Gateway Custom Authorizers guide from the AWS Developer Guide.

Interested in Claudia.js? Get notified when we release a new version.

Low-volume, high value mailing list, no ads or spam.