UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

14 lines (10 loc) 638 B
// Type definitions for aspnet-identity-pw 1.0.0 // Project: https://github.com/Syncbak-Git/aspnet-identity-pw // Definitions by: jt000 <https://github.com/jt000> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module "aspnet-identity-pw" { export function hashPassword(password: string): string; export function hashPassword(password: string, callback: (err: any, result: string)=>void): void; export function validatePassword(password: string, hashedPass: string): boolean; export function validatePassword(password: string, hashedPass: string, callback: (err: any, result: boolean) => void): void; }