UNPKG

@krypton-org/krypton-auth

Version:

Express authentication middleware, using GraphQL and JSON Web Tokens.

12 lines (11 loc) 325 B
/** * Module defining functions for Mongoose connection and disconnection. * @module db/db */ declare function init(cb?: () => any): Promise<void | never>; declare function close(cb?: () => void): Promise<void | never>; declare const _default: { init: typeof init; close: typeof close; }; export default _default;