authorization
authorization: (
options?) => (__namedParameters) =>Promise<any>
Defined in: http/authorization.js:52
Creates an authorization middleware that parses the Authorization header and dispatches to the matching strategy handler.
Parameters
Section titled “Parameters”options?
Section titled “options?”Authorization configuration
strategies?
Section titled “strategies?”object[]
Authentication strategy definitions
Returns
Section titled “Returns”(__namedParameters) => Promise<any>