Extends
- AbstractModule
Methods
(async) clearSession(req) → {Promise}
- Description:
- Handles clearing of the current request session
- Source:
Parameters:
Name | Type | Description |
---|---|---|
req |
external:ExpressRequest |
Returns:
Resolves when the session has been cleared
- Type
- Promise
(async) init()
storeAuthHeader(req, res, next)
- Description:
- Stores the session token as an auth header if none present
- Source:
Parameters:
Name | Type | Description |
---|---|---|
req |
external:ExpressRequest | |
res |
external:ExpressResponse | |
next |
function |