mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
support for two factor login flow
This commit is contained in:
@@ -6,6 +6,7 @@ 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; }
|
||||
@@ -13,5 +14,6 @@ namespace Bit.App.Abstractions
|
||||
|
||||
void LogOut();
|
||||
Task<ApiResult<TokenResponse>> TokenPostAsync(TokenRequest request);
|
||||
Task<ApiResult<TokenResponse>> TokenTwoFactorPostAsync(TokenTwoFactorRequest request);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user