Skip to main content
Skip to main content

TokenService

constructor

Parameters

__namedParametersInjectedDependenciesRequired

Properties

RESOLUTION_KEYstringRequired
configModule_ConfigModuleRequired

Methods

verifyToken

Parameters

tokenstringRequired
optionsVerifyOptions

Returns

string | Jwt | JwtPayloadstring | Jwt | JwtPayloadRequired

signToken

Parameters

datastring | object | BufferRequired
optionsSignOptions

Returns

stringstringRequired
Was this section helpful?