Skip to content
masterclass Buddy

Better Auth · Module

listSessions

Better Auth stores sessions in cookies and verifies the session token on each request. The session API can read, list, update, and revoke sessions.

Last updated

Syntax

authClient.getSession()
authClient.useSession()
authClient.listSessions()
authClient.revokeSession({ token })
authClient.revokeOtherSessions()
authClient.revokeSessions()
authClient.updateSession({ ...customFields })

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

Subscribe
  • Session table
  • Session expiration
  • getSession
  • useSession
  • listSessions
  • revokeSession
  • revokeOtherSessions
  • revokeSessions

Source: Session Management. Checked 2026-11-03.