Properties
createEmailPasswordUser
create
EmailPasswordUser: (data: any, req: any) => Promise<User & { password: string }>
Type declaration
-
- (data: any, req: any): Promise<User & { password: string }>
-
Parameters
Returns Promise<User & { password: string }>
expressBearer
express
Bearer: (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
refresh
Token: (refreshToken: string) => 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
sign
InWithEmailAndPassword: (email: string, password: string, req?: any) => Promise<UserCredentials>
Type declaration
-
-
Parameters
-
email: string
-
password: string
-
Optional req: any
signInWithFacebook
Type declaration
-
-
Parameters
-
token: string
-
Optional req: any
signInWithGoogle
sign
InWithGoogle: (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 }>