UNPKG

@mercury-labs/nest-auth

Version:

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

6 lines (5 loc) 242 B
export declare const AUTH_PASSWORD_HASHER: symbol; export declare abstract class PasswordHasherService<T = any> { abstract hash(password: string): Promise<T>; abstract compare(password: string, hashedPassword: T): Promise<boolean>; }