Class AuthenticatorDescriptor
java.lang.Object
com.thalesgroup.gemalto.fido2.client.AuthenticatorDescriptor
A descriptor that provides a custom friendly name for an authenticator.
This is used to provide a more user-friendly name for an authenticator during FIDO2 operations, which can be displayed in the UI.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatorDescriptor(String friendlyName) Creates a new authenticator descriptor with a friendly name. -
Method Summary
Modifier and TypeMethodDescriptionGets the friendly name of the authenticator.
-
Constructor Details
-
AuthenticatorDescriptor
Creates a new authenticator descriptor with a friendly name.If the provided name exceeds 128 characters, it will be truncated.
- Parameters:
friendlyName- The user-friendly name for the authenticator. Must not be null.- Throws:
IllegalArgumentException- iffriendlyNameis null.- Since:
- 1.0.0
-
-
Method Details
-
getFriendlyName
Gets the friendly name of the authenticator.- Returns:
- The friendly name.
- Since:
- 1.0.0
-