UNPKG

@mercury-labs/auth

Version:

Mercury framework auth library. It supports local auth, jwt with both bearer token and cookie, basic auth.

5 lines (4 loc) 178 B
import { IAuthUserEntityForResponse } from '..'; export declare type IRequestWithUser<HttpAdaptorRequest = any> = HttpAdaptorRequest & { user: IAuthUserEntityForResponse; };