1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-19 09:43:27 +00:00
Files
mobile/src/App/Abstractions/Services/IAuthService.cs

20 lines
473 B
C#

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