Skip to main content

IProjectVGuestIdentityProvider interface

Gives the Guest ID for this device, to pass to Guest sign-in.

Namespace: SilverTiger.ProjectV.Unity.Presentation.Authentication

public interface IProjectVGuestIdentityProvider

Methods​

GetOrCreateAsync(CancellationToken cancellationToken)​

Returns this device's Guest ID, creating one the first time.

Task<string> GetOrCreateAsync(CancellationToken cancellationToken);

Parameters

NameTypeDescription
cancellationTokenCancellationTokenCancels the call.

Returns

Task<string>: The Guest ID; never empty. Pass it to IProjectVAuthenticationPresenter.AuthenticateDeviceAsync.