Method Login
| Improve this Doc View SourceLogin(LoginForm, CancellationToken)
Performs login.
Declaration
Task<LoginResponse> Login(LoginForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| LoginForm | form | The form to send for performing login. |
| 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 performing login. |