Package-level declarations
ProtectedKeychain, its prompt text, and the platform factories.
ProtectedKeychain, its prompt text, and the platform factories.
Types
Link copied to clipboard
class AuthenticationPrompt(val title: String, val subtitle: String? = null, val cancelLabel: String)
Text for the system biometric prompt.
Link copied to clipboard
interface ProtectedKeychain
Secret storage whose reads require the user to authenticate with a strong biometric (Class 3 on Android; Face ID or Touch ID on Apple platforms). Writing, deleting, and clearing need no authentication.
Functions
Link copied to clipboard
fun ProtectedKeychain.Companion.forCurrentPlatform(context: Context, activity: () -> FragmentActivity?, serviceName: String, accountName: String): ProtectedKeychain
Creates biometric-protected storage isolated by serviceName and accountName.