@types/passport-local
- Version 1.0.38
- Published
- 5.41 kB
- 3 dependencies
- MIT license
Install
npm i @types/passport-local
yarn add @types/passport-local
pnpm add @types/passport-local
Overview
TypeScript definitions for passport-local
Index
Classes
class Strategy
class Strategy extends PassportStrategy {}
constructor
constructor( options: IStrategyOptionsWithRequest, verify: VerifyFunctionWithRequest);
constructor
constructor(options: IStrategyOptions, verify: VerifyFunction);
constructor
constructor(verify: VerifyFunction);
property name
name: string;
Interfaces
interface IStrategyOptions
interface IStrategyOptions {}
property passReqToCallback
passReqToCallback?: false | undefined;
property passwordField
passwordField?: string | undefined;
property session
session?: boolean | undefined;
property usernameField
usernameField?: string | undefined;
interface IStrategyOptionsWithRequest
interface IStrategyOptionsWithRequest {}
property passReqToCallback
passReqToCallback: true;
property passwordField
passwordField?: string | undefined;
property session
session?: boolean | undefined;
property usernameField
usernameField?: string | undefined;
interface IVerifyOptions
interface IVerifyOptions {}
property message
message: string;
interface VerifyFunction
interface VerifyFunction {}
call signature
( username: string, password: string, done: ( error: any, user?: Express.User | false, options?: IVerifyOptions ) => void): void;
interface VerifyFunctionWithRequest
interface VerifyFunctionWithRequest {}
call signature
( req: express.Request, username: string, password: string, done: ( error: any, user?: Express.User | false, options?: IVerifyOptions ) => void): void;
Package Files (1)
Dependencies (3)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/passport-local
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/passport-local)
- HTML<a href="https://www.jsdocs.io/package/@types/passport-local"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2271 ms. - Missing or incorrect documentation? Open an issue for this package.