availability

suspend fun availability(id: String? = null, identifierHint: String? = null): BiometricCredentialAvailability

Returns local biometric sign-in availability.

When a Clerk session is active, this also reconciles the local credential with the server. Without an active session, this reports whether the local biometric-gated credential can be used to start biometric sign-in.

Parameters

id

The biometric credential ID to check. When omitted, the available local credential is used.

identifierHint

A local-only user identifier hint used to choose a matching credential.