1
0
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:
Kyle Spearrin
2016-07-23 02:17:11 -04:00
parent 2911af2c16
commit cf27ace05e
7 changed files with 169 additions and 14 deletions

View File

@@ -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);
}
}