Methods
(static) getCredentials(req) → {object|null}
- Source:
Returns credentials from request object.
Handles 'basic'
and 'token'
authentication types.
Parameters:
Name | Type | Description |
---|---|---|
req |
module:api-controller~ExpressRequest | HTTP request |
Returns:
Credentials
- Type
- object | null