import HackerController from '@hackthevalley/sdk/app/controllers/HackerController.js'HackerController
Method Summary
| Public Methods | ||
| public |
Create a new hacker, return hacker ID if successful. |
|
| public |
Create a new hacker token. |
|
| public |
Reset hacker's password using reset code. |
|
| public |
async sendPasswordResetEmail(emailAddress: string): Promise<string> Send password reset email to hacker. |
|
| public |
Update an existing hacker. |
|
Public Methods
public async create(emailAddress: string, password: string): Promise<string> source
Create a new hacker, return hacker ID if successful.
public async createToken(emailAddress: string, password: string, expireAfter: number): Promise<string> source
Create a new hacker token.
public async resetPassword(emailAddress: string, code: string, newPassword: string): Promise<string> source
Reset hacker's password using reset code.
