Search
Preparing search index...
The search index is not available
sengsara-crm
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
"node_modules/@feathersjs/authentication/lib/jwt.d"
JWTStrategy
Class JWTStrategy
Hierarchy
AuthenticationBaseStrategy
JWTStrategy
Implements
AuthenticationStrategy
Index
Properties
app
authentication
expiration
Timers
name
Accessors
configuration
entity
Service
Methods
authenticate
get
Entity
get
Entity
Id
handle
Connection
parse
set
Application
set
Authentication
set
Name
verify
Configuration
Properties
Optional
app
app
:
Application
Optional
authentication
authentication
:
AuthenticationBase
expiration
Timers
expiration
Timers
:
WeakMap
<
object
,
any
>
Optional
name
name
:
string
Accessors
configuration
get
configuration
(
)
:
any
Returns
any
entity
Service
get
entityService
(
)
:
Service
<
any
>
Returns
Service
<
any
>
Methods
authenticate
authenticate
(
authentication
:
AuthenticationRequest
, params
:
Params
)
:
Promise
<
{
accessToken
:
any
;
authentication
:
{
accessToken
:
any
;
payload
:
any
;
strategy
:
string
}
}
>
Parameters
authentication:
AuthenticationRequest
params:
Params
Returns
Promise
<
{
accessToken
:
any
;
authentication
:
{
accessToken
:
any
;
payload
:
any
;
strategy
:
string
}
}
>
get
Entity
get
Entity
(
id
:
string
, params
:
Params
)
:
Promise
<
any
>
Return the entity for a given id
Parameters
id:
string
The id to use
params:
Params
Service call parameters
Returns
Promise
<
any
>
get
Entity
Id
get
Entity
Id
(
authResult
:
AuthenticationResult
, _params
:
Params
)
:
Promise
<
any
>
Parameters
authResult:
AuthenticationResult
_params:
Params
Returns
Promise
<
any
>
handle
Connection
handle
Connection
(
event
:
ConnectionEvent
, connection
:
any
, authResult
?:
AuthenticationResult
)
:
Promise
<
void
>
Parameters
event:
ConnectionEvent
connection:
any
Optional
authResult:
AuthenticationResult
Returns
Promise
<
void
>
parse
parse
(
req
:
IncomingMessage
)
:
Promise
<
{
accessToken
:
string
;
strategy
:
string
}
>
Parameters
req:
IncomingMessage
Returns
Promise
<
{
accessToken
:
string
;
strategy
:
string
}
>
set
Application
set
Application
(
app
:
Application
)
:
void
Parameters
app:
Application
Returns
void
set
Authentication
set
Authentication
(
auth
:
AuthenticationBase
)
:
void
Parameters
auth:
AuthenticationBase
Returns
void
set
Name
set
Name
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
verify
Configuration
verify
Configuration
(
)
:
void
Returns
void
Globals
"node_
modules/@feathersjs/authentication/lib/jwt.d"
JWTStrategy
app
authentication
expiration
Timers
name
configuration
entity
Service
authenticate
get
Entity
get
Entity
Id
handle
Connection
parse
set
Application
set
Authentication
set
Name
verify
Configuration
Generated using
TypeDoc
Return the entity for a given id