TenantTokenDenialCause
Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authentication
Why a token for a tenant could not be obtained or used.
public enum TenantTokenDenialCause
Inheritance Object → ValueType → Enum → TenantTokenDenialCause
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | The cause is not known; see the OAuth error. |
| TokenForOtherTenant | 1 | The token in use belongs to another tenant than the one addressed. |
| AccessToTenantDenied | 2 | The identity service refused the exchange: the user may not access the tenant (not an ancestor of it, or not provisioned there). |
| NotProvisioned | 3 | The user is known to be not provisioned in the tenant (explicit signal of the identity service). |
| ClientNotAllowed | 4 | The client (octo-cli) is not allowed to use the token-exchange grant. |
| SubjectTokenRejected | 5 | The identity service did not accept the token to exchange (expired, revoked). |
| TenantUnknown | 6 | The target tenant is unknown to the identity service. |
| IdentityUnreachable | 7 | The identity service could not be reached. |
| InvalidResponse | 8 | The identity service answered without a usable token, or with a token for another tenant. |
| Forbidden | 9 | The service accepted the token but refused the call (HTTP 403). |
| TenantUnavailable | 10 | The identity service is reachable but a tenant database it needs is not: it answered temporarily_unavailable with the reason, e.g. a missing or rejected MongoDB user. |