LoginWithPassword
method in Coherence.Cloud.AuthClient
Methods
public Task<LoginResult> LoginWithPassword(string username, string password, bool autoSignup, CancellationToken cancellationToken = default)
Login to coherence Cloud using a specific account with a username and password.
Parameters
| Type | Name | Description |
|---|---|---|
| string | username | Username for the account which is used to log in. |
| string | password | Password for the account which is used to log in. |
| bool | autoSignup | Should an account with the provided |
| CancellationToken | cancellationToken | Used to cancel the operation. |
Returns
| Type | Description |
|---|---|
| Task<LoginResult> | The status of the asynchronous login operation. |
Remarks
'User / Password Auth Enabled' must be ticked in Project Settings on your Online Dashboard for this authentication method to be usable.