1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +00:00

PM-5154 Added Fido2AuthenticationService to provide us a wrapper for the actual implementation

This commit is contained in:
Federico Maccaroni
2024-01-03 19:02:49 -03:00
parent 1eb9e5f8ea
commit dfb7a0621f
8 changed files with 68 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ namespace Bit.iOS.Autofill
private IAccountsManager _accountsManager;
private readonly LazyResolve<IStateService> _stateService = new LazyResolve<IStateService>();
private readonly LazyResolve<IFido2AuthenticationService> _fido2AuthService = new LazyResolve<IFido2AuthenticationService>();
public CredentialProviderViewController(IntPtr handle)
: base(handle)
@@ -411,7 +412,7 @@ namespace Bit.iOS.Autofill
if (_context.IsPasskey)
{
CompleteAssertionRequest(decCipher);
await CompleteAssertionRequestAsync(decCipher);
return;
}