1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 08:43:21 +00:00
Files
mobile/src/App/Abstractions/Services/IAuthService.cs
2016-07-23 02:17:11 -04:00

20 lines
561 B
C#

using System.Threading.Tasks;
using Bit.App.Models.Api;
namespace Bit.App.Abstractions
{
public interface IAuthService
{
bool IsAuthenticated { get; }
bool IsAuthenticatedTwoFactor { get; }
string Token { get; set; }
string UserId { get; set; }
string Email { get; set; }
string PIN { get; set; }
void LogOut();
Task<ApiResult<TokenResponse>> TokenPostAsync(TokenRequest request);
Task<ApiResult<TokenResponse>> TokenTwoFactorPostAsync(TokenTwoFactorRequest request);
}
}