List registered authenticators
The end user can retrieve a list of all registered authenticators.
The registered FIDO authenticators are returned as an array of Fido2AuthenticatorRegistrationInfo.
The following sequence diagram describes the flow on the list of authenticator registrations feature:

To list authenticator registrations using the sample app:
-
Navigate to the Settings page.
-
Tap Authenticator Registrations to initiate this feature.
A list of all existing authenticator registrations is displayed.
In the sample app, authenticator registrations are listed by credentialId / rpIdHash.

Retrieve the list of registered authenticators
The following code snippets demonstrate how to display the list of registered authenticators:
client = Fido2ClientFactory.createFido2Client(activity.getApplicationContext())
client.setActivity(activity)
val authenticatorRegistrations: List<Fido2AuthenticatorRegistrationInfo> = client.authenticatorRegistrations()
let client = try TGFFido2ClientFactory.client()
let authenticatorRegistrations = try client.authenticatorRegistrations()