Table of Contents

LoginAsGuest

Methods
Task<LoginResult> LoginAsGuest(CancellationToken cancellationToken = default)

Login to coherence Cloud using a guest account, without providing any username or password.

Parameters
Type Name Description
CancellationToken cancellationToken

Used to cancel the operation.

Returns
Type Description
Task<LoginResult>

The status of the asynchronous login operation.

Remarks

A new GuestId is generated automatically the first time that LoginAsGuest(CancellationToken) is called with a particular project selected, and then cached and reused whenever LoginAsGuest(CancellationToken) is called again on the same device with the same project selected.

'Guest Auth Enabled' must be ticked in Project Settings on your Online Dashboard for this authentication method to be usable.