mirror of
https://github.com/bitwarden/mobile
synced 2026-01-08 03:23:23 +00:00
refactor message center use to services
This commit is contained in:
@@ -12,9 +12,8 @@ namespace Bit.App.Abstractions
|
||||
bool UserIdChanged { get; }
|
||||
string Email { get; set; }
|
||||
string PIN { get; set; }
|
||||
|
||||
bool BelongsToOrganization(string orgId);
|
||||
void LogOut();
|
||||
void LogOut(string logoutMessage = null);
|
||||
Task<FullLoginResult> TokenPostAsync(string email, string masterPassword);
|
||||
Task<LoginResult> TokenPostTwoFactorAsync(TwoFactorProviderType type, string token, bool remember, string email,
|
||||
string masterPasswordHash, SymmetricCryptoKey key);
|
||||
|
||||
@@ -10,5 +10,12 @@ namespace Bit.App.Abstractions
|
||||
bool CanOpenFile(string fileName);
|
||||
Task SelectFileAsync();
|
||||
void ClearCache();
|
||||
void Autofill(Models.Page.VaultListPageModel.Cipher cipher);
|
||||
void CloseAutofill();
|
||||
void Background();
|
||||
void RateApp();
|
||||
void DismissKeyboard();
|
||||
void OpenAccessibilitySettings();
|
||||
void LaunchApp(string appName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,5 +8,7 @@ namespace Bit.App.Abstractions
|
||||
{
|
||||
void UpdateLastActivity(DateTime? activityDate = null);
|
||||
Task<LockType> GetLockTypeAsync(bool forceLock);
|
||||
Task CheckLockAsync(bool forceLock);
|
||||
bool TopPageIsLock();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user