serverless-basic-authentication
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -83,2 +83,3 @@ 'use strict' | ||
if( | ||
serverless.service.functions[function_name].events[fnctn_event].http != null && | ||
serverless.service.functions[function_name].events[fnctn_event].http.private == true && | ||
@@ -85,0 +86,0 @@ serverless.service.functions[function_name].events[fnctn_event].http.authorizer == null |
{ | ||
"name": "serverless-basic-authentication", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "jest": "^22.4.3" |
@@ -48,3 +48,3 @@ Serverless Basic Authentication (http basic auth) | ||
For each function which is marked as `private: true`, the custom authenticator will be inserted, like so: | ||
For each function that responds to `http` events and is marked as `private: true`, the custom authenticator will be inserted, like so: | ||
@@ -51,0 +51,0 @@ ``` |
8579
140