Skip to content
rw3iss Auth

AccessJwtPayload

AccessJwtPayload

AccessJwtPayload = UserJwtPayload | ServiceJwtPayload

Defined in: @rw3iss/auth-shared/src/jwt/claims.ts

Discriminated union of every authenticate-able JWT shape — i.e. the shapes that can appear on a Bearer header. Refresh tokens are NOT authenticate-able and are intentionally excluded here; the union below (JwtPayload) covers the broader “any JWT the server emits” set.