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).
Update Team POST
Updates a team's display fields. The slug is immutable. Requires team owner. **Required scopes:** `auth:teams:manage` or `auth:teams:manage:app` (the latter additionally requires the team to be entitled to the calling application)
Resolve Token Claims POST
Returns the teams, companies and authorization_details of an access token Auth issued, which tokens no longer carry. The token is request data; the caller authenticates as its own service account and may resolve only tokens addressed to its own application. Callers cache the teams for teams_cache_ttl_seconds and the details until the token expires; go-platform's authn/claims does this for you. Service accounts only. **Required scopes:** `auth:token-claims:read`