Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserController

Hierarchy

  • UserController

Index

Methods

Methods

getCurrentUser

  • getCurrentUser(req: Request): UserResponse | Record<string, unknown>
  • Respond to client with the data in session about the user currently logged in to the app. If there is no user data in the session, return an UnauthorizedException.

    Parameters

    • req: Request

    Returns UserResponse | Record<string, unknown>

Generated using TypeDoc