service · inferred from evidence
Data API
A data API provided by Supabase for interacting with data.
- When to use supabase.auth.getClaims() vs getUser() vs getSession() in server code
Use supabase.auth.getClaims() for fast session validation on the server — it checks local JWT validation (signature and expiration) without contacting the auth server, so use it to protect pages and routes and before interacting with the Da