xeonr.auth.api.v1.UsersService
postBatch Get Users
Returns basic public profile information (username, display name, avatar) for a list of users. Results are scoped to users enrolled in the authenticating application. **Required scopes:** `profile` or `auth:users:lookup`
postList Email Ownership Changes
Ordered feed of changes to which account holds which verified email address in the caller's organisation: an address verified, removed, moved to another account, or its holder disabled, re-enabled or deleted. Each entry carries the address and its CURRENT holder (empty when nobody active holds it), resolved as ResolveUsersByEmail resolves it. Poll with the previous next_cursor; a change appears a few seconds after it commits. Service accounts only: a user's token is refused even if it carries the scope. Audit-logged. **Required scopes:** `auth:users:lookup-email`
postLookup User By Username
Resolves a username to its user within the caller's organisation — the reverse of BatchGetUsers, for surfaces addressed by username (public profiles). Unlike BatchGetUsers this is organisation-scoped rather than enrollment-scoped: the person being looked up need not have used the calling application. Usernames are not uniquely indexed; an ambiguous username answers not_found. **Required scopes:** `profile` or `auth:users:lookup`
postLookup Users By Connection
Resolves external identity-provider ids (Discord snowflakes, GitHub user ids) to the Xeonr accounts that have linked them, within the organisation the request is addressed to. Up to 10 ids per call; ids that resolve to no account are absent from the response. No authentication required. Rate limited per client IP.
postResolve Users By Email
Resolves up to 100 email addresses to the accounts holding them as verified addresses — primary, a linked provider's, or one added and verified by the person — within the caller's organisation. Addresses that resolve to no active account are absent from the response. Service accounts only: a user's token is refused even if it carries the scope. Audit-logged. **Required scopes:** `auth:users:lookup-email`
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`
Batch Get Users POST
Returns basic public profile information (username, display name, avatar) for a list of users. Results are scoped to users enrolled in the authenticating application. **Required scopes:** `profile` or `auth:users:lookup`