signInWithPasskey
suspend fun signInWithPasskey(preferImmediatelyAvailableCredentials: Boolean = false): ClerkResult<SignIn, ClerkErrorResponse>
Signs in with passkey.
Return
A ClerkResult containing the SignIn object on success, or a ClerkErrorResponse on failure.
Example usage:
val signIn = clerk.auth.signInWithPasskey()Content copied to clipboard
Parameters
preferImmediatelyAvailableCredentials
Whether the credential provider should only return credentials available without extra provider UI. Use true for sign-in attempts the user did not ask for, such as offering a passkey when a screen opens. Defaults to false.