Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Authenticator

Hierarchy

  • Authenticator

Index

Properties

createEmailPasswordUser

createEmailPasswordUser: (data: any, req: any) => Promise<User & { password: string }>

Type declaration

    • (data: any, req: any): Promise<User & { password: string }>
    • Parameters

      • data: any
      • req: any

      Returns Promise<User & { password: string }>

expressBearer

expressBearer: (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> & { user?: User }, response: Response<any, Record<string, any>>, next: NextFunction) => Promise<void | Response<any, Record<string, any>>>

Type declaration

    • (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> & { user?: User }, response: Response<any, Record<string, any>>, next: NextFunction): Promise<void | Response<any, Record<string, any>>>
    • Parameters

      • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>> & { user?: User }
      • response: Response<any, Record<string, any>>
      • next: NextFunction

      Returns Promise<void | Response<any, Record<string, any>>>

expressRecoverPassword

expressRecoverPassword: (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, response: Response<any, Record<string, any>>, next: NextFunction) => Promise<void | Response<any, Record<string, any>>>

Type declaration

    • (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, response: Response<any, Record<string, any>>, next: NextFunction): Promise<void | Response<any, Record<string, any>>>
    • Parameters

      • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
      • response: Response<any, Record<string, any>>
      • next: NextFunction

      Returns Promise<void | Response<any, Record<string, any>>>

expressRefreshToken

expressRefreshToken: (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, response: Response<any, Record<string, any>>, next: NextFunction) => Promise<void | Response<any, Record<string, any>>>

Type declaration

    • (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, response: Response<any, Record<string, any>>, next: NextFunction): Promise<void | Response<any, Record<string, any>>>
    • Parameters

      • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
      • response: Response<any, Record<string, any>>
      • next: NextFunction

      Returns Promise<void | Response<any, Record<string, any>>>

expressResetPassword

expressResetPassword: (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, response: Response<any, Record<string, any>>, next: NextFunction) => Promise<void | Response<any, Record<string, any>>>

Type declaration

    • (request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, response: Response<any, Record<string, any>>, next: NextFunction): Promise<void | Response<any, Record<string, any>>>
    • Parameters

      • request: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
      • response: Response<any, Record<string, any>>
      • next: NextFunction

      Returns Promise<void | Response<any, Record<string, any>>>

recoverPassword

recoverPassword: (email: string, req?: any) => Promise<undefined>

Type declaration

    • (email: string, req?: any): Promise<undefined>
    • Parameters

      • email: string
      • Optional req: any

      Returns Promise<undefined>

refreshToken

refreshToken: (refreshToken: string) => Promise<{ credentials: Credentials; user: User }>

Type declaration

    • (refreshToken: string): Promise<{ credentials: Credentials; user: User }>
    • Parameters

      • refreshToken: string

      Returns Promise<{ credentials: Credentials; user: User }>

resetPassword

resetPassword: (token: string, password: string, req?: any) => Promise<undefined>

Type declaration

    • (token: string, password: string, req?: any): Promise<undefined>
    • Parameters

      • token: string
      • password: string
      • Optional req: any

      Returns Promise<undefined>

signInWithEmailAndPassword

signInWithEmailAndPassword: (email: string, password: string, req?: any) => Promise<UserCredentials>

Type declaration

    • Parameters

      • email: string
      • password: string
      • Optional req: any

      Returns Promise<UserCredentials>

signInWithFacebook

signInWithFacebook: (token: string, req?: any) => Promise<UserCredentials>

Type declaration

signInWithGoogle

signInWithGoogle: (token: string, req?: any) => Promise<{ credentials: Credentials; user: User }>

Type declaration

    • (token: string, req?: any): Promise<{ credentials: Credentials; user: User }>
    • Parameters

      • token: string
      • Optional req: any

      Returns Promise<{ credentials: Credentials; user: User }>

Generated using TypeDoc