Table of Contents

Interface IAuthClient

Namespace
Coherence.Cloud
Assembly
Coherence.Runtime.dll
public interface IAuthClient

Properties

GuestPassword

string GuestPassword { get; }

Property Value

string

LoggedIn

bool LoggedIn { get; }

Property Value

bool

SessionToken

string SessionToken { get; }

Property Value

string

UserName

string UserName { get; }

Property Value

string

Methods

LoginAsGuest()

Task<Result> LoginAsGuest()

Returns

Task<Result>

LoginWithPassword(string, string, bool)

Task<Result> LoginWithPassword(string userName, string password, bool autosignup)

Parameters

userName string
password string
autosignup bool

Returns

Task<Result>

Logout()

void Logout()

RefreshSession()

Task<Result> RefreshSession()

Returns

Task<Result>

Events

OnLogin

event Action<LoginResponse> OnLogin

Event Type

Action<LoginResponse>

OnLogout

event Action OnLogout

Event Type

Action