UNPKG

@mercury-labs/nest-auth

Version:

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

3 lines (2 loc) 198 B
import { IAuthUserEntity, IAuthUserEntityForResponse } from '../index'; export declare function hideRedactedFields(redactedFields?: string[]): (user: IAuthUserEntity) => IAuthUserEntityForResponse;