Interface IAuthService
- Namespace
- WitShells.WitClientApi
public interface IAuthService
Methods
RefreshTokenAsync(CancellationToken)
Task<bool> RefreshTokenAsync(CancellationToken ct)
Parameters
Returns
SignInAsync(object, UnityAction<TokenResponse>, UnityAction<string>, CancellationToken)
void SignInAsync(object credentials, UnityAction<TokenResponse> onSuccess, UnityAction<string> OnFail = null, CancellationToken ct = default)
Parameters
credentialsobjectonSuccessUnityAction<TokenResponse>OnFailUnityAction<string>ctCancellationToken
SignOutAsync(CancellationToken)
void SignOutAsync(CancellationToken ct)