Table of Contents

LoginWithPassword

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 username be created, if one doesn't already exist?

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.