Options
All
  • Public
  • Public/Protected
  • All
Menu

Module handlers/logout

Index

Server Interfaces

Server Type aliases

Server Type aliases

HandleLogout

HandleLogout: (req: NextApiRequest, res: NextApiResponse, options?: LogoutOptions) => Promise<void>

The handler for the api/auth/logout route.

throws

HandlerError

Type declaration

    • (req: NextApiRequest, res: NextApiResponse, options?: LogoutOptions): Promise<void>
    • Parameters

      • req: NextApiRequest
      • res: NextApiResponse
      • Optional options: LogoutOptions

      Returns Promise<void>