Zum Hauptinhalt springen

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​

NameValueDescription
Unknown0The cause is not known; see the OAuth error.
TokenForOtherTenant1The token in use belongs to another tenant than the one addressed.
AccessToTenantDenied2The identity service refused the exchange: the user may not access the tenant (not an ancestor of it, or not provisioned there).
NotProvisioned3The user is known to be not provisioned in the tenant (explicit signal of the identity service).
ClientNotAllowed4The client (octo-cli) is not allowed to use the token-exchange grant.
SubjectTokenRejected5The identity service did not accept the token to exchange (expired, revoked).
TenantUnknown6The target tenant is unknown to the identity service.
IdentityUnreachable7The identity service could not be reached.
InvalidResponse8The identity service answered without a usable token, or with a token for another tenant.
Forbidden9The service accepted the token but refused the call (HTTP 403).
TenantUnavailable10The 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.