Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthActionRoute

Hierarchy

  • AuthActionRoute

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

disabled

disabled: string[] = ['get', 'post']

endpoint

endpoint: string = "/auth/action"

Methods

get

  • get(req: { query: { mode: string; oobCode: string } }): string
  • Default oob ui

    Parameters

    • req: { query: { mode: string; oobCode: string } }
      • query: { mode: string; oobCode: string }
        • mode: string
        • oobCode: string

    Returns string

post

  • post(req: { body: { mode: string; newPassword?: undefined | string; oobCode: string } }): { message: string }
  • Handle for oob action

    Parameters

    • req: { body: { mode: string; newPassword?: undefined | string; oobCode: string } }
      • body: { mode: string; newPassword?: undefined | string; oobCode: string }
        • mode: string
        • Optional newPassword?: undefined | string
        • oobCode: string

    Returns { message: string }

    • message: string

Generated using TypeDoc