serverless-basic-authentication
serverless-basic-authentication copied to clipboard
Add per-event basicAuth config
This PR adds a basicAuth config attribute for more fine-grained configuration.
See new entry in the README:
For more fine-grained control over which functions are enabled for basic auth, use the
basicAuthattribute on events. If any of the functions' events is marked with the flagbasicAuth, then only the events withbasicAuth=trueare configured with basic auth.
@svdgraaf