Reference

getSessionClaims

Returns the claims captured by `getCurrentSession()` for the current request or hydrated browser document. Server code should call it inside `runWithAuthRequest()` so concurrent requests do not share claim state.

Signature

function getSessionClaims<TData>(): TData | undefined