auth
The Auth namespace providing all authentication entry points.
Use this property to access sign-in, sign-up, and session management methods with a DSL-style API.
Example usage:
// Sign in with email
Clerk.auth.signIn { email = "user@email.com" }
// Sign in with password
Clerk.auth.signInWithPassword {
identifier = "user@email.com"
password = "secretpassword"
}
// Sign out
Clerk.auth.signOut()Content copied to clipboard
See also
for all available authentication methods.