mirror of
https://github.com/bitwarden/mobile
synced 2026-01-10 20:43:41 +00:00
13 lines
567 B
C#
13 lines
567 B
C#
using Bit.Core.Utilities.Fido2;
|
|
|
|
namespace Bit.Core.Abstractions
|
|
{
|
|
public interface IFido2AuthenticatorService
|
|
{
|
|
Task<Fido2AuthenticatorMakeCredentialResult> MakeCredentialAsync(Fido2AuthenticatorMakeCredentialParams makeCredentialParams);
|
|
Task<Fido2AuthenticatorGetAssertionResult> GetAssertionAsync(Fido2AuthenticatorGetAssertionParams assertionParams);
|
|
// TODO: Should this return a List? Or maybe IEnumerable?
|
|
Task<Fido2AuthenticatorDiscoverableCredentialMetadata[]> SilentCredentialDiscoveryAsync(string rpId);
|
|
}
|
|
}
|