Skip to main content

AccountsSession

Index

Constructors

constructor

Methods

publicclear

  • clear(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): void
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns void

publicdestroy

  • destroy(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<void>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<void>

publicget

  • get(req?: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): any
  • Parameters

    • optionalreq: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns any

publicmiddleware

  • middleware(): (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => Promise<void>
  • Returns (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => Promise<void>

      • (req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction): Promise<void>
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>
        • next: NextFunction

        Returns Promise<void>

publicrenew

  • renew(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>): Promise<any>
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Returns Promise<any>

publicset

  • set(req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, tokens: Tokens): void
  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • tokens: Tokens

    Returns void