Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Session

Hierarchy

  • Session

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

properties

properties: SessionProperties

sessionId

sessionId: string

Methods

generateToken

  • generateToken(tokenOptions?: TokenOptions): Promise<string>
  • Gets a new token associated to Session object

    Parameters

    Returns Promise<string>

    A Promise that is resolved to the token if success and rejected with an Error object if not

getSessionId

  • getSessionId(): string
  • Gets the unique identifier of the Session

    Returns string

Generated using TypeDoc