Skip to content

Product documentation

TokenClaims

Per-application token-claim enrichment configuration.

TokenClaims

Per-application token-claim enrichment configuration.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/applications/{clientId}/token-claimsToken Claims Gettenant:applications.read
PUT/api/v1/applications/{clientId}/token-claimsToken Claims Enabletenant:applications.write
DELETE/api/v1/applications/{clientId}/token-claimsToken Claims Disabletenant:applications.write

Operation details

GET /api/v1/applications/{clientId}/token-claims

Token Claims Get

  • Operation ID: tokenClaimsGet
  • Required scopes: tenant:applications.read

Parameters:

NameInRequiredTypeDescription
clientIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

PUT /api/v1/applications/{clientId}/token-claims

Token Claims Enable

  • Operation ID: tokenClaimsEnable
  • Required scopes: tenant:applications.write

Parameters:

NameInRequiredTypeDescription
clientIdpathyesstring

Request body: application/jsonEnableTokenClaimsRequest

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

DELETE /api/v1/applications/{clientId}/token-claims

Token Claims Disable

  • Operation ID: tokenClaimsDisable
  • Required scopes: tenant:applications.write

Parameters:

NameInRequiredTypeDescription
clientIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)