Skip to Content
Xeonr Developer Docs
API Specification

xeonr.auth.api.v1.TokenClaimsService

TokenClaimsService answers, for an access token Auth issued, what its teams, companies and authorization_details are (EP-49, AUTH-358, AUTH-413). Those lists leave every token: a service asks here instead of reading a claim, for every kind of token Auth mints. Machine-only: the calling service authenticates with its own service account's access token (authn.TokenSource, jwt-bearer, no resource indicator) holding auth:token-claims:read, and passes the token it was given as request data. It never forwards that token as its bearer, so a token narrowed to another audience, or one without auth:teams:read, resolves the same as any other. A person's token is refused in the handler even if it carries the scope (auth.machine-only-rpcs).