Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
passport
Dynamic module passport
Index
Interfaces
Passport
Strategy
Functions
authenticate
authorize
deserializeUser
framework
initialize
serializeUser
session
transformAuthInfo
unuse
use
Functions
authenticate
(
strategy
:
string
, options
:
Object
, callback
?:
Handler
)
:
Handler
Parameters
strategy:
string
options:
Object
callback?:
Handler
optional
Returns
Handler
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
authorize
(
strategy
:
string
, options
:
Object
, callback
?:
Handler
)
:
Handler
Parameters
strategy:
string
options:
Object
callback?:
Handler
optional
Returns
Handler
deserializeUser
(
fn
:
(id: any, done: (err: any, user: any) => void) => void
)
Parameters
fn:
(id: any, done: (err: any, user: any) => void) => void
framework
(
fw
:
string
)
:
Passport
Parameters
fw:
string
Returns
Passport
initialize
(
options
?:
{ userProperty: string; }
)
:
Handler
Parameters
options?:
{ userProperty: string; }
optional
Returns
Handler
serializeUser
(
fn
:
(user: any, done: (err: any, id: any) => void) => void
)
Parameters
fn:
(user: any, done: (err: any, id: any) => void) => void
session
(
options
?:
{ pauseStream: boolean; }
)
:
Handler
Parameters
options?:
{ pauseStream: boolean; }
optional
Returns
Handler
transformAuthInfo
(
fn
:
(info: any, done: (err: any, info: any) => void) => void
)
Parameters
fn:
(info: any, done: (err: any, info: any) => void) => void
unuse
(
name
:
string
)
:
Passport
Parameters
name:
string
Returns
Passport
use
(
strategy
:
Strategy
)
:
Passport
Parameters
strategy:
Strategy
Returns
Passport
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
passport-facebook
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
Passport
Strategy
authenticate
authorize
deserializeUser
framework
initialize
serializeUser
session
transformAuthInfo
unuse
use