Skip to content
masterclass Buddy

Clerk · Interface

SignInResource

The Clerk class is the main interface for Clerk in a JavaScript application. handleUnauthenticated() refreshes the Client and Session after a 401 response from the Frontend API.

Last updated

Syntax

function handleUnauthenticated(): Promise<unknown>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Client
  • Session
  • useClerk()
  • handleRedirectCallback()
  • signOut()

Source: Clerk class - Objects - JavaScript | Clerk Docs. Checked 2026-11-03.