Access and manage user session state and authentication status
useSession
hook provides access to the current user session state and methods for managing user authentication and context switching.
null
if not authenticated.true
during initial authentication check.null
if no errors.session
object contains the following structure: