Zum Hauptinhalt springen

CrossTenantGrantProblemCodes

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects.ApiErrors

Values of the code extension of the RFC 9457 problem answers of the cross-tenant grant endpoints of the identity service. The codes are language-neutral and stable; clients branch on them, the English title and detail are for humans. Contract: docs/CONCEPT-SIBLING-TENANT-GRANTS.md in octo-identity-services.

public static class CrossTenantGrantProblemCodes

Inheritance Object → CrossTenantGrantProblemCodes

Fields​

SourceUserNotFound​

404 of POST ExternalTenantUserMappings/sourceUserLookup. One answer for every negative case (user or tenant absent, source tenant does not permit the target, shadow user, locked or blocked user, more than one match), so the answer reveals nothing about the source tenant.

public static string SourceUserNotFound;

SourceUserLookupRateLimited​

429 of POST ExternalTenantUserMappings/sourceUserLookup when the caller exceeded the lookup limit for the target tenant; the answer carries Retry-After.

public static string SourceUserLookupRateLimited;

SourceTenantNotPermitted​

403 of POST ExternalTenantUserMappings when the source tenant is not a registry ancestor of the target tenant and does not permit it, or the source user does not exist or is blocked there. One answer for all these cases.

public static string SourceTenantNotPermitted;

UnknownGroup​

400 of POST ExternalTenantUserMappings when a groupIds entry is no group of the target tenant. Nothing is stored; the answer lists the unknown ids in the unknownGroupIds extension.

public static string UnknownGroup;