authenticators property

Set<Authenticator> authenticators

The available authenticators. Note that this may also include authenticators that cannot be used to complete the operation.

All the available authenticators are returned so that the users of the SDK can figure out not only whether an authenticator can be used for the operation, but also why.

For example, a developer would like to give a visual hint explaining why the Fingerprint authenticator cannot be used during registration if it is not enrolled: by using Authenticator.userEnrollment this situation can be identified during registration and then some message can be displayed to the user informing that a fingerprint must be defined in the OS settings to be able to register the fingerprint authenticator. In the case where a user registers two authenticators, but the server's policy only allows to use PIN in a given authentication operation, isPolicyCompliant can be used to identify this situation and to inform the user why the fingerprint authenticator is not available.

Returns: all the available authenticators.

Implementation

Set<Authenticator> get authenticators;