UNPKG

@perfood/couch-auth

Version:

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

5 lines (4 loc) 208 B
import { Authenticator } from 'passport'; import { Config } from './types/config'; import { User } from './user'; export default function (config: Partial<Config>, passport: Authenticator, user: User): void;