allSessions

Retrieves all sessions for the current user or the user with the given session ID.

This includes both active and inactive (expired/revoked) sessions, providing a complete history of the user's authentication sessions.

Return

A ClerkResult containing a list of all Session objects on success, or a ClerkErrorResponse on failure