Class: TokenFactory

classes~TokenFactory()

Class representing a token factory.

Constructor

new TokenFactory()

Source:

Methods

(async) create()

Create the token object.
Source:

load()

Load a token from a database object.
Source:

setCreatedAt()

Set the created at of the token.
Source:

setId()

Set the id of the token.
Source:

setToken()

Set the token of the token.
Source:

setUserId()

Set the userId of the token.
Source: