Class FidoConfig
-
- All Implemented Interfaces:
public final class FidoConfigConfiguration options for the FIDO UI experience.
This data class holds all configurable settings that affect how the FIDO operations are presented to the user. Use FidoConfigManager to modify the global configuration.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisPinPrioritizedprivate final BooleanisCustomThemeEnabledprivate final List<Extension>fidoExtensionsprivate final Function1<Function0<Unit>, Unit>customTheme
-
Method Summary
Modifier and Type Method Description final BooleanisPinPrioritized()When true, the PIN entry UI is shown before prompting for security key interaction.final BooleanisCustomThemeEnabled()final List<Extension>getFidoExtensions()List of FIDO extensions to enable for all operations, or nullto use the default set of extensions provided by the underlying CTAP2 client.final Function1<Function0<Unit>, Unit>getCustomTheme()Optional Compose theme wrapper to apply to the FIDO UI screens. -
-
Method Detail
-
isPinPrioritized
final Boolean isPinPrioritized()
When
true, the PIN entry UI is shown before prompting for security key interaction. Whenfalse(default), the user is prompted to touch their security key first. Set totruefor workflows where PIN entry upfront provides a better user experience.
-
isCustomThemeEnabled
final Boolean isCustomThemeEnabled()
-
getFidoExtensions
final List<Extension> getFidoExtensions()
List of FIDO extensions to enable for all operations, or
nullto use the default set of extensions provided by the underlying CTAP2 client. The default extensions include: CredBlob, CredProps, CredProtect, HmacSecret, LargeBlob, and MinPinLength. Provide an explicit list to override or disable specific extensions.
-
getCustomTheme
final Function1<Function0<Unit>, Unit> getCustomTheme()
Optional Compose theme wrapper to apply to the FIDO UI screens. If
null, the default theme is used. Provide a composable function that wraps the content with your app's theme for visual consistency.
-
-
-
-