Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

constructor

Properties

Static Error

Error: typeof default = ...

Static init

init: (config?: TypeInput) => RecipeListFunction = ...

Type declaration

    • (config?: TypeInput): RecipeListFunction
    • Parameters

      • Optional config: TypeInput

      Returns RecipeListFunction

Methods

Static createNewSession

  • createNewSession(res: any, userId: string, jwtPayload?: any, sessionData?: any): Promise<SessionContainer>

Static getAllSessionHandlesForUser

  • getAllSessionHandlesForUser(userId: string): Promise<string[]>

Static getJWTPayload

  • getJWTPayload(sessionHandle: string): Promise<any>
  • deprecated

    Use getSessionInformation instead IF using core version >= 3.5

    Parameters

    • sessionHandle: string

    Returns Promise<any>

Static getSession

Static getSessionData

  • getSessionData(sessionHandle: string): Promise<any>
  • deprecated

    Use getSessionInformation instead IF using core version >= 3.5

    Parameters

    • sessionHandle: string

    Returns Promise<any>

Static getSessionInformation

Static refreshSession

Static revokeAllSessionsForUser

  • revokeAllSessionsForUser(userId: string): Promise<string[]>

Static revokeMultipleSessions

  • revokeMultipleSessions(sessionHandles: string[]): Promise<string[]>

Static revokeSession

  • revokeSession(sessionHandle: string): Promise<boolean>

Static updateJWTPayload

  • updateJWTPayload(sessionHandle: string, newJWTPayload: any): Promise<void>

Static updateSessionData

  • updateSessionData(sessionHandle: string, newSessionData: any): Promise<void>

Generated using TypeDoc