UNPKG

@mercury-labs/auth

Version:

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

7 lines (6 loc) 258 B
export declare type IAuthUserEntity<HashedPasswordType = string, T = Record<string, any>> = T & { id: string; username: string; password?: HashedPasswordType; }; export declare type IAuthUserEntityForResponse = Omit<IAuthUserEntity, 'password'>;