Preparing search index...
The search index is not available
Palico App
Palico App
@palico-ai/common
JWTAuthenticator
Class JWTAuthenticator
Index
Constructors
constructor
Methods
decodeJWTToken
generateAPIJWT
Constructors
constructor
new JWTAuthenticator
(
)
:
JWTAuthenticator
Returns
JWTAuthenticator
Methods
Static
decodeJWTToken
decodeJWTToken
<
JWTPayload
>
(
token
,
secret
)
:
Promise
<
JWTPayload
>
Type Parameters
JWTPayload
Parameters
token
:
string
secret
:
string
Returns
Promise
<
JWTPayload
>
Static
generateAPIJWT
generateAPIJWT
(
payload
,
secret
)
:
Promise
<
string
>
Parameters
payload
:
JWTPayload
secret
:
string
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
decodeJWTToken
generateAPIJWT
Palico App
Loading...