UNPKG

@mercury-labs/nest-auth

Version:

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

10 lines (9 loc) 363 B
import { PasswordHasherService } from './password-hasher.service'; export interface IPbkdf2Hash { hash: string; salt: string; } export declare class Pbkdf2PasswordHasherService implements PasswordHasherService<IPbkdf2Hash> { hash(password: string): Promise<IPbkdf2Hash>; compare(password: string, hashedPassword: IPbkdf2Hash): Promise<boolean>; }