Method Register
| Improve this Doc View SourceRegister(RegisterForm, CancellationToken)
Registers a new account.
Declaration
Task<LoginResponse> Register(RegisterForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| RegisterForm | form | The form to send for registering a new account. |
| CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
| Type | Description |
|---|---|
| Task<LoginResponse> | The task object representing the asynchronous operation. The task result contains the response after registering the account. |