canUsePasskeys

suspend fun canUsePasskeys(): Boolean

Checks if the device and the current configuration support the use of passkeys.

This function determines whether the user can utilize passkeys for authentication. It checks if a passkey storage implementation is configured and then delegates the actual passkey availability check to that storage.

Return

true if passkeys can be used on this device with the current configuration, false otherwise.

Throws

if a passkey storage implementation has not been configured.