xeonr.auth.api.v1.ApplicationInvitationService
ApplicationInvitationService lets a product invite a person by email to its OWN application (FRG-447): someone outside every team the application is entitled to, whom the product means to give access to one of its own resources (the forge giving a collaborator a repository). It is the email invitation the console's ApplicationService already has (CreateApplicationInvitation), opened to the product's service account: a pending enrollment addressed to the email that becomes a real enrollment on that address's first sign-in to the application, when the signed-in account's VERIFIED email matches. Accepting it enrolls the person in the application and nothing else: it makes them a member of no team, and the invitation carries no roles. Service accounts only, and only a platform application's own: every method refuses a person's token, is confined to the calling service account's application, and needs `auth:application-invitations:manage:own`, which no client holds until an organisation administrator approves it on the product's binding to the auth application. `invited_by_user` is the person in the product who asked; the invitation names them as the inviter (the email says who invited), and the service account is recorded as the actor.
postCreate Own Application Invitation
Invites `email` to the calling service account's application: a pending enrollment, with no roles, that becomes real on that address's first sign-in (the account's verified email must match) and expires unused after `expires_in_days` (default 14, at most 90). Re-inviting an address replaces its open invitation. The invitee is emailed, naming `invited_by_user` as the inviter, who must be an active user of the organisation. Refused for an application open to everyone, and for a person already enrolled. Accepting makes the person a member of no team. Service accounts only, of a platform application. **Required scopes:** `auth:application-invitations:manage:own`
postList Own Application Invitations
Lists the calling service account's application's open invitations (not accepted, not expired), newest first; with `email`, that address's only. Service accounts only, of a platform application. **Required scopes:** `auth:application-invitations:manage:own`
postRevoke Own Application Invitation
Revokes an open invitation to the calling service account's application, so it can no longer convert. Refused for one already accepted (that is an enrollment now). Service accounts only, of a platform application. **Required scopes:** `auth:application-invitations:manage:own`
Verify API Key POST
Resolves a presented key to its owner, effective scopes and bindings, checking on every call that it is not revoked or expired and that its owner is still active. A key of another application answers UNKNOWN. Callers cache the answer for cache_ttl_seconds; go-platform's authn does this for you. Service accounts only. **Required scopes:** `auth:api-keys:verify`
Create Own Application Invitation POST
Invites `email` to the calling service account's application: a pending enrollment, with no roles, that becomes real on that address's first sign-in (the account's verified email must match) and expires unused after `expires_in_days` (default 14, at most 90). Re-inviting an address replaces its open invitation. The invitee is emailed, naming `invited_by_user` as the inviter, who must be an active user of the organisation. Refused for an application open to everyone, and for a person already enrolled. Accepting makes the person a member of no team. Service accounts only, of a platform application. **Required scopes:** `auth:application-invitations:manage:own`