Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
passport
Passport
Interface Passport
Index
Methods
authenticate
authorize
deserializeUser
framework
initialize
serializeUser
session
transformAuthInfo
unuse
use
Methods
public
authenticate
(
strategy
:
string
, callback2
:
(err: any, user: any, info: any) => void
)
:
Handler
Parameters
strategy:
string
callback2:
(err: any, user: any, info: any) => void
Returns
Handler
public
authenticate
(
strategy
:
string
, options
:
Object
, callback
?:
Handler
)
:
Handler
Parameters
strategy:
string
options:
Object
callback?:
Handler
optional
Returns
Handler
public
authorize
(
strategy
:
string
, options
:
Object
, callback
?:
Handler
)
:
Handler
Parameters
strategy:
string
options:
Object
callback?:
Handler
optional
Returns
Handler
public
deserializeUser
(
fn
:
(id: any, done: (err: any, user: any) => void) => void
)
Parameters
fn:
(id: any, done: (err: any, user: any) => void) => void
public
framework
(
fw
:
string
)
:
Passport
Parameters
fw:
string
Returns
Passport
public
initialize
(
options
?:
{ userProperty: string; }
)
:
Handler
Parameters
options?:
{ userProperty: string; }
optional
Returns
Handler
public
serializeUser
(
fn
:
(user: any, done: (err: any, id: any) => void) => void
)
Parameters
fn:
(user: any, done: (err: any, id: any) => void) => void
public
session
(
options
?:
{ pauseStream: boolean; }
)
:
Handler
Parameters
options?:
{ pauseStream: boolean; }
optional
Returns
Handler
public
transformAuthInfo
(
fn
:
(info: any, done: (err: any, info: any) => void) => void
)
Parameters
fn:
(info: any, done: (err: any, info: any) => void) => void
public
unuse
(
name
:
string
)
:
Passport
Parameters
name:
string
Returns
Passport
public
use
(
strategy
:
Strategy
)
:
Passport
Parameters
strategy:
Strategy
Returns
Passport
public
use
(
name
:
string
, strategy
:
Strategy
)
:
Passport
Parameters
name:
string
strategy:
Strategy
Returns
Passport
Globals
Express
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
express
fs
http
https
net
os
passport
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
Passport
authenticate
authorize
deserializeUser
framework
initialize
serializeUser
session
transformAuthInfo
unuse
use
Strategy
authenticate
authorize
deserializeUser
framework
initialize
serializeUser
session
transformAuthInfo
unuse
use