Skip to content
Ona Docs

Identity

ExchangeToken
POST/gitpod.v1.IdentityService/ExchangeToken
GetAuthenticatedIdentity
POST/gitpod.v1.IdentityService/GetAuthenticatedIdentity
GetIDToken
POST/gitpod.v1.IdentityService/GetIDToken
ModelsExpand Collapse
IDTokenVersion = "ID_TOKEN_VERSION_UNSPECIFIED" or "ID_TOKEN_VERSION_V1" or "ID_TOKEN_VERSION_V2"
One of the following:
"ID_TOKEN_VERSION_UNSPECIFIED"
"ID_TOKEN_VERSION_V1"
"ID_TOKEN_VERSION_V2"
IdentityExchangeTokenResponse object { accessToken }
accessToken: optional string

access_token is the new access token

IdentityGetAuthenticatedIdentityResponse object { organizationId, organizationTier, subject }
organizationId: optional string
organizationTier: optional string
subject: optional Subject { id, principal }

subject is the identity of the current user

id: optional string

id is the UUID of the subject

formatuuid
principal: optional Principal

Principal is the principal of the subject

One of the following:
"PRINCIPAL_UNSPECIFIED"
"PRINCIPAL_ACCOUNT"
"PRINCIPAL_USER"
"PRINCIPAL_RUNNER"
"PRINCIPAL_ENVIRONMENT"
"PRINCIPAL_SERVICE_ACCOUNT"
"PRINCIPAL_RUNNER_MANAGER"
IdentityGetIDTokenResponse object { token }
token: optional string