Skip to main content
Version: 7.0.X

createNewSession(res, userId, jwtPayload, sessionData)

Parameters#

  • res
    • type: Express.Response
  • userId
    • type: string
  • jwtPayload
    • type: object
  • sessonData
    • type: object

Returns#

  • Promise<Session> on successful creation of a session.
Which UI do you use?
Custom UI
Pre built UI