Skip to main content
Version: 6.1.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.
What type of UI do you want to use?
Custom UI
Pre built UI