Companion

Platform-specific factories for creating an application-scoped store.

Functions

Link copied to clipboard
fun forCurrentPlatform(serviceName: String, accountName: String): ProtectedKeychain

Creates a store isolated by both serviceName and accountName. Entries never collide with CredentialKeychain entries that use the same names.

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.