UNPKG

@mercury-labs/nest-auth

Version:

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

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