For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
getCurrentSessionOrNull()?.user is recommended.The JWT token.
val user = supabase.auth.retrieveUserForCurrentSession(updateSession = true)
val user = supabase.auth.retrieveUser("JWT")