create

Starts the sign in process.

Note: Prefer using Clerk.auth.signIn or other Clerk.auth.* methods for new code.

Return

A ClerkResult containing the created SignIn object on success, or a ClerkErrorResponse on failure.

Parameters

params

The strategy to authenticate with.


suspend fun create(params: SignIn.CreateParams.Strategy.Passkey, preferImmediatelyAvailableCredentials: Boolean = false): ClerkResult<SignIn, ClerkErrorResponse>

Starts the sign in process with a passkey.

Return

A ClerkResult containing the created SignIn object on success, or a ClerkErrorResponse on failure.

Parameters

params

The passkey strategy to authenticate with.

preferImmediatelyAvailableCredentials

Whether the credential provider should only return credentials available without extra provider UI.


Creates a new SignIn object with the provided parameters.

Return

A ClerkResult containing the created SignIn object on success, or a ClerkErrorResponse on failure.

Parameters

params

The raw parameters to create the SignIn object with.