mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
* [EC-980] Added iOS otpauth handler (#2370) * EC-980 added Bitwarden as otpauth scheme handler * EC-980 Fix format * [EC-981] OTP handling - Set to selected cipher (#2404) * EC-981 Started adding OTP to existing cipher. Reused AutofillCiphersPage for the cipher selection and refactored it so that we have more code reuse * EC-981 Fix navigation on otp handling * EC-981 Fix formatting * EC-981 Added otp cipher selection callout and add close toolbar item when needed * PM-1131 implemented cipher creation from otp handling flow with otp key filled (#2407) * PM-1133 Updated empty states for search and cipher selection on otp flow (#2408)
16 lines
539 B
C#
16 lines
539 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Bit.App.Models;
|
|
|
|
namespace Bit.App.Abstractions
|
|
{
|
|
public interface IAccountsManager
|
|
{
|
|
void Init(Func<AppOptions> getOptionsFunc, IAccountsManagerHost accountsManagerHost);
|
|
Task NavigateOnAccountChangeAsync(bool? isAuthed = null);
|
|
Task StartDefaultNavigationFlowAsync(Action<AppOptions> appOptionsAction);
|
|
Task LogOutAsync(string userId, bool userInitiated, bool expired);
|
|
Task PromptToSwitchToExistingAccountAsync(string userId);
|
|
}
|
|
}
|