Class UafAuthenticatorFinder
Definition
- Namespace:
- Tizen.Account.FidoClient
- Assembly:
- Tizen.Account.FidoClient.dll
- API Level:
- 3
Class to find available FIDO specific authenticators on the device
C#Copypublic static class UafAuthenticatorFinder
- Inheritance
-
System.ObjectUafAuthenticatorFinder
Methods
View Source
DiscoverAuthenticatorsAsync()
Retrieves all the available FIDO authenticators supported by this Device.
Declaration
C#Copypublic static Task<IEnumerable<AuthenticatorInformation>> DiscoverAuthenticatorsAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<AuthenticatorInformation>> | Enumerable list of authenticators |
Examples
CopyIEnumerable<AuthenticatorInformation> authInfos = await UafAuthenticatorFinder.DiscoverAuthenticatorsAsync(); foreach (AuthenticatorInformation authInfo in authInfos) { string aaid = authInfo.Aaid; string title = authInfo.Title; }
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | Thrown when the application does not have privilege to access this method |
System.NotSupportedException | FIDO is not supported |