UNPKG

@perfood/couch-auth

Version:

Easy and secure authentication for CouchDB/Cloudant. Based on SuperLogin, updated and rewritten in Typescript.

4 lines (3 loc) 224 B
import { HashResult } from './types/typings'; export declare function hashCouchPassword(password: string): Promise<HashResult>; export declare function verifyCouchPassword(hashObj: HashResult, pw: string): Promise<boolean>;