Register class
Signature:
export class Register
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(domain, preAuth, username) |
protected
|
Constructs a new instance of the Register class
|
Methods
| Method | Modifiers | Description |
|---|---|---|
| disconnect() | Disconnect from the server after registration is done | |
| fromDomainOrInvite(domainOrInvite) |
static
|
Start new registration flow for a given domain or invite URL |
| getForm() | Fetch registration form from the server. If you already know what fields your server wants, this is optional. | |
| submit(data) | Submit registration data to the server |