Skip to main content
Skip to main content

TokenService

constructor

Parameters

__namedParametersInjectedDependenciesRequired

Properties

configModule_ConfigModuleRequired
RESOLUTION_KEYstringRequired

Methods

signToken

Parameters

datastring | object | BufferRequired
optionsSignOptions

Returns

stringstring

verifyToken

Parameters

tokenstringRequired
optionsVerifyOptions

Returns

string \| Jwt \| JwtPayloadstring | Jwt | JwtPayload
Was this section helpful?