Verify Email
Completes verification of an address added with AddEmail, using the token from the emailed link. Must be called as the account that added the address. Refused with failed_precondition when another account verified the address first.
Required scopes: auth:emails:edit or auth:account:edit
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
The token from the verification link.
16 <= length <= 128Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.MeService/VerifyEmail" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"email": {
"id": "6f1c2a9e-3b7d-4c55-9a43-2f0e8d1b7c61",
"email": "[email protected]",
"verified": true,
"primary": true,
"sources": [
"EMAIL_SOURCE_UNSPECIFIED"
],
"connectionIdpSlugs": [
"github"
],
"verifiedAt": "2023-01-15T01:30:15.01Z",
"verificationExpiresAt": "2023-01-15T01:30:15.01Z",
"createdAt": "2023-01-15T01:30:15.01Z"
}
}Resend Email Verification POST
Sends a new verification link to a pending address in the authenticated user's set; the previous link stops working. Rate limited per account. **Required scopes:** `auth:emails:edit` or `auth:account:edit`
xeonr.auth.api.v1.ServiceAccountsService
ServiceAccountsService lets a product create and manage service accounts on its OWN application that belong to one of the teams entitled to it: a team's bot in the forge, say (AUTH-309). Each account is owned by the team, is a member of it with the application team roles asked for, and records the person who asked and the service account that vouched for them. 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:service-accounts:manage:own`, which no client holds until an organisation administrator approves it on the product's binding to the auth application. The acting person (`on_behalf_of_user`) must own the team, or hold the application's team roles: they may give only roles ranked no higher than their own, and a bare membership only if they hold the application's highest-ranked team role. Credentials are not part of this service: a product issues the account's keys through ApiKeysService (owner kind SERVICE_ACCOUNT). A disabled account's keys are refused at verification; deleting one revokes its keys and drops its team memberships.