Skip to content

Commit 6527a9d

Browse files
committed
add documentation for new auth value
1 parent a35e3d8 commit 6527a9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ The `REQUEST` object contains a parsed and normalized request from API Gateway.
178178
- `rawBody`: If the `isBase64Encoded` flag is `true`, this is a copy of the original, base64 encoded body
179179
- `route`: The matched route of the request
180180
- `requestContext`: The `requestContext` passed from the API Gateway
181+
- `auth`: An object containing the `type` and `value` of an authorization header. Currently supports `Bearer`, `Basic`, `Oauth`, and `Digest` schemas. For the `Basic` schema, the object is extended with additional fields for username/password. For the `OAuth` schema, the object is extended with key/value pairs of the supplied OAuth 1.0 values.
181182
- `namespace` or `ns`: A reference to modules added to the app's namespace (see [namespaces](#namespaces))
182183
- `cookies`: An object containing cookies sent from the browser (see the [cookie](#cookiename-value-options) `RESPONSE` method)
183184

0 commit comments

Comments
 (0)