AuthenticateFn
type AuthenticateFn = (request) => | AuthContext| Promise<AuthContext>;Defined in: src/http/auth.ts:7
Async function that authenticates an incoming HTTP request.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request | Request |
Returns
Section titled “Returns”| AuthContext
| Promise<AuthContext>