availability

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

Returns local trusted-device 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 trusted-device sign-in.

Parameters

id

The trusted-device 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.