TokenService
Constructors
constructor
**new TokenService**(«destructured»)
Parameters
Properties
RESOLUTION_KEY
stringRequiredMethods
signToken
**signToken**(data, options?): string
Parameters
options
SignOptionsReturns
string
string
stringverifyToken
**verifyToken**(token, options?): string \| Jwt \| JwtPayload
Parameters
token
stringRequiredoptions
VerifyOptionsReturns
string
| Jwt
| JwtPayload
string \| Jwt \| JwtPayload
string | Jwt | JwtPayloadWas this section helpful?