Class UafAuthenticatorFinder
Definition
- Namespace:
- Tizen.Account.FidoClient
- Assembly:
- Tizen.Account.FidoClient.dll
Class to find available FIDO specific authenticators on the device
C#Copypublic static class UafAuthenticatorFinder
- Inheritance
-
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<TResult><System.Collections.Generic.IEnumerable<T><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 |
---|---|
System.UnauthorizedAccessException | Thrown when the application does not have privilege to access this method |
System.NotSupportedException | FIDO is not supported |