Table of Contents

Interface IAuthService

public interface IAuthService

Methods

RefreshTokenAsync(CancellationToken)

Task<bool> RefreshTokenAsync(CancellationToken ct)

Parameters

ct CancellationToken

Returns

Task<bool>

SignInAsync(object, UnityAction<TokenResponse>, UnityAction<string>, CancellationToken)

void SignInAsync(object credentials, UnityAction<TokenResponse> onSuccess, UnityAction<string> OnFail = null, CancellationToken ct = default)

Parameters

credentials object
onSuccess UnityAction<TokenResponse>
OnFail UnityAction<string>
ct CancellationToken

SignOutAsync(CancellationToken)

void SignOutAsync(CancellationToken ct)

Parameters

ct CancellationToken