TenantSettingsOverride
in package
implements
JsonSerializable
Partial tenant overrides. `None` = inherit from org baseline.
Every property is optional, so this is a SPARSE body: what you leave unset is left unchanged, and is omitted from the wire request entirely rather than sent as null (§27.4 rule 5).
Table of Contents
Interfaces
- JsonSerializable
Properties
- $accessTokenLifetimeSecs : int|null
- $adminNotificationsEnabled : bool|null
- $cimd : CimdPolicy|null
- $dcrAllowedRedirectHosts : array<string|int, mixed>|null
- $dcrAllowedScopes : array<string|int, mixed>|null
- $dcrMaxClients : int|null
- $dcrUnusedClientTtlDays : int|null
- $defaultCertValidityDays : int|null
- $defaultLocale : string|null
- $deletionGracePeriodDays : int|null
- $dynamicRegistration : string|null
- $emailVerificationGracePeriodHours : int|null
- $emailVerificationRequired : bool|null
- $externalClientAllowedResources : array<string|int, mixed>|null
- $hibpCheckEnabled : bool|null
- $lockoutBackoffMultiplier : float|null
- $lockoutDurationSecs : int|null
- $maxCertValidityDays : int|null
- $maxFailedLoginAttempts : int|null
- $maxLockoutDurationSecs : int|null
- $mfaChallengeLifetimeSecs : int|null
- $mfaEnforced : bool|null
- $minLength : int|null
- $opaqueKsf : string|null
- $opaqueMode : string|null
- $opaqueSuite : string|null
- $passwordHistoryCount : int|null
- $refreshTokenLifetimeSecs : int|null
- $requireDigits : bool|null
- $requireLowercase : bool|null
- $requireSymbols : bool|null
- $requireUppercase : bool|null
- $samlIdpEnabled : bool|null
- $sensitiveScopesEnabled : bool|null
- $serverCertAllowedNames : array<string|int, mixed>|null
- $ssfEnabled : bool|null
- $webauthnUserVerification : string|null
Methods
- __construct() : mixed
- Constructs a TenantSettingsOverride.
- fromArray() : self
- Rebuilds a TenantSettingsOverride from one decoded JSON object.
- jsonSerialize() : array<string, mixed>
- Renders this object for `json_encode()`.
- toArray() : array<string, mixed>
- Renders this object back to its wire form.
Properties
$accessTokenLifetimeSecs read-only
public
int|null
$accessTokenLifetimeSecs
= null
$adminNotificationsEnabled read-only
public
bool|null
$adminNotificationsEnabled
= null
$cimd read-only
public
CimdPolicy|null
$cimd
= null
$dcrAllowedRedirectHosts read-only
public
array<string|int, mixed>|null
$dcrAllowedRedirectHosts
= null
$dcrAllowedScopes read-only
public
array<string|int, mixed>|null
$dcrAllowedScopes
= null
$dcrMaxClients read-only
public
int|null
$dcrMaxClients
= null
$dcrUnusedClientTtlDays read-only
public
int|null
$dcrUnusedClientTtlDays
= null
$defaultCertValidityDays read-only
public
int|null
$defaultCertValidityDays
= null
$defaultLocale read-only
public
string|null
$defaultLocale
= null
$deletionGracePeriodDays read-only
public
int|null
$deletionGracePeriodDays
= null
$dynamicRegistration read-only
public
string|null
$dynamicRegistration
= null
$emailVerificationGracePeriodHours read-only
public
int|null
$emailVerificationGracePeriodHours
= null
$emailVerificationRequired read-only
public
bool|null
$emailVerificationRequired
= null
$externalClientAllowedResources read-only
public
array<string|int, mixed>|null
$externalClientAllowedResources
= null
$hibpCheckEnabled read-only
public
bool|null
$hibpCheckEnabled
= null
$lockoutBackoffMultiplier read-only
public
float|null
$lockoutBackoffMultiplier
= null
$lockoutDurationSecs read-only
public
int|null
$lockoutDurationSecs
= null
$maxCertValidityDays read-only
public
int|null
$maxCertValidityDays
= null
$maxFailedLoginAttempts read-only
public
int|null
$maxFailedLoginAttempts
= null
$maxLockoutDurationSecs read-only
public
int|null
$maxLockoutDurationSecs
= null
$mfaChallengeLifetimeSecs read-only
public
int|null
$mfaChallengeLifetimeSecs
= null
$mfaEnforced read-only
public
bool|null
$mfaEnforced
= null
$minLength read-only
public
int|null
$minLength
= null
$opaqueKsf read-only
public
string|null
$opaqueKsf
= null
$opaqueMode read-only
public
string|null
$opaqueMode
= null
$opaqueSuite read-only
public
string|null
$opaqueSuite
= null
$passwordHistoryCount read-only
public
int|null
$passwordHistoryCount
= null
$refreshTokenLifetimeSecs read-only
public
int|null
$refreshTokenLifetimeSecs
= null
$requireDigits read-only
public
bool|null
$requireDigits
= null
$requireLowercase read-only
public
bool|null
$requireLowercase
= null
$requireSymbols read-only
public
bool|null
$requireSymbols
= null
$requireUppercase read-only
public
bool|null
$requireUppercase
= null
$samlIdpEnabled read-only
public
bool|null
$samlIdpEnabled
= null
$sensitiveScopesEnabled read-only
public
bool|null
$sensitiveScopesEnabled
= null
$serverCertAllowedNames read-only
public
array<string|int, mixed>|null
$serverCertAllowedNames
= null
$ssfEnabled read-only
public
bool|null
$ssfEnabled
= null
$webauthnUserVerification read-only
public
string|null
$webauthnUserVerification
= null
Methods
__construct()
Constructs a TenantSettingsOverride.
public
__construct([int|null $accessTokenLifetimeSecs = null ][, bool|null $adminNotificationsEnabled = null ][, CimdPolicy|null $cimd = null ][, array<int, string>|null $dcrAllowedRedirectHosts = null ][, array<int, string>|null $dcrAllowedScopes = null ][, int|null $dcrMaxClients = null ][, int|null $dcrUnusedClientTtlDays = null ][, int|null $defaultCertValidityDays = null ][, string|null $defaultLocale = null ][, int|null $deletionGracePeriodDays = null ][, string|null $dynamicRegistration = null ][, int|null $emailVerificationGracePeriodHours = null ][, bool|null $emailVerificationRequired = null ][, array<int, string>|null $externalClientAllowedResources = null ][, bool|null $hibpCheckEnabled = null ][, float|null $lockoutBackoffMultiplier = null ][, int|null $lockoutDurationSecs = null ][, int|null $maxCertValidityDays = null ][, int|null $maxFailedLoginAttempts = null ][, int|null $maxLockoutDurationSecs = null ][, int|null $mfaChallengeLifetimeSecs = null ][, bool|null $mfaEnforced = null ][, int|null $minLength = null ][, string|null $opaqueKsf = null ][, string|null $opaqueMode = null ][, string|null $opaqueSuite = null ][, int|null $passwordHistoryCount = null ][, int|null $refreshTokenLifetimeSecs = null ][, bool|null $requireDigits = null ][, bool|null $requireLowercase = null ][, bool|null $requireSymbols = null ][, bool|null $requireUppercase = null ][, bool|null $samlIdpEnabled = null ][, bool|null $sensitiveScopesEnabled = null ][, array<int, string>|null $serverCertAllowedNames = null ][, bool|null $ssfEnabled = null ][, string|null $webauthnUserVerification = null ]) : mixed
Parameters
- $accessTokenLifetimeSecs : int|null = null
-
the server's
access_token_lifetime_secsfield (optional) - $adminNotificationsEnabled : bool|null = null
-
the server's
admin_notifications_enabledfield (optional) - $cimd : CimdPolicy|null = null
-
the server's
cimdfield (optional) - $dcrAllowedRedirectHosts : array<int, string>|null = null
-
the server's
dcr_allowed_redirect_hostsfield (optional) - $dcrAllowedScopes : array<int, string>|null = null
-
the server's
dcr_allowed_scopesfield (optional) - $dcrMaxClients : int|null = null
-
the server's
dcr_max_clientsfield (optional) - $dcrUnusedClientTtlDays : int|null = null
-
the server's
dcr_unused_client_ttl_daysfield (optional) - $defaultCertValidityDays : int|null = null
-
the server's
default_cert_validity_daysfield (optional) - $defaultLocale : string|null = null
-
The tenant's fallback UI language. Not ordered, therefore not validated against the baseline and never clamped — see [
OidcPolicy]. (optional) - $deletionGracePeriodDays : int|null = null
-
the server's
deletion_grace_period_daysfield (optional) - $dynamicRegistration : string|null = null
-
the server's
dynamic_registrationfield (optional) - $emailVerificationGracePeriodHours : int|null = null
-
the server's
email_verification_grace_period_hoursfield (optional) - $emailVerificationRequired : bool|null = null
-
the server's
email_verification_requiredfield (optional) - $externalClientAllowedResources : array<int, string>|null = null
-
the server's
external_client_allowed_resourcesfield (optional) - $hibpCheckEnabled : bool|null = null
-
the server's
hibp_check_enabledfield (optional) - $lockoutBackoffMultiplier : float|null = null
-
the server's
lockout_backoff_multiplierfield (optional) - $lockoutDurationSecs : int|null = null
-
the server's
lockout_duration_secsfield (optional) - $maxCertValidityDays : int|null = null
-
the server's
max_cert_validity_daysfield (optional) - $maxFailedLoginAttempts : int|null = null
-
the server's
max_failed_login_attemptsfield (optional) - $maxLockoutDurationSecs : int|null = null
-
the server's
max_lockout_duration_secsfield (optional) - $mfaChallengeLifetimeSecs : int|null = null
-
the server's
mfa_challenge_lifetime_secsfield (optional) - $mfaEnforced : bool|null = null
-
the server's
mfa_enforcedfield (optional) - $minLength : int|null = null
-
the server's
min_lengthfield (optional) - $opaqueKsf : string|null = null
-
the server's
opaque_ksffield (optional) - $opaqueMode : string|null = null
-
the server's
opaque_modefield (optional) - $opaqueSuite : string|null = null
-
the server's
opaque_suitefield (optional) - $passwordHistoryCount : int|null = null
-
the server's
password_history_countfield (optional) - $refreshTokenLifetimeSecs : int|null = null
-
the server's
refresh_token_lifetime_secsfield (optional) - $requireDigits : bool|null = null
-
the server's
require_digitsfield (optional) - $requireLowercase : bool|null = null
-
the server's
require_lowercasefield (optional) - $requireSymbols : bool|null = null
-
the server's
require_symbolsfield (optional) - $requireUppercase : bool|null = null
-
the server's
require_uppercasefield (optional) - $samlIdpEnabled : bool|null = null
-
G-2 / D-20 — disable-only, like
sensitive_scopes_enabled; see [OidcPolicy::saml_idp_enabled]. (optional) - $sensitiveScopesEnabled : bool|null = null
-
the server's
sensitive_scopes_enabledfield (optional) - $serverCertAllowedNames : array<int, string>|null = null
-
S-7 — tighten-only: every entry must be covered by an organization entry. An empty list means this tenant issues no
Servercertificate at all, which is different from an absent field (inherit the organization's list). (optional) - $ssfEnabled : bool|null = null
-
G-5 / D-45 — disable-only, like
saml_idp_enabled; see [OidcPolicy::ssf_enabled]. (optional) - $webauthnUserVerification : string|null = null
-
the server's
webauthn_user_verificationfield (optional)
fromArray()
Rebuilds a TenantSettingsOverride from one decoded JSON object.
public
static fromArray(array<string, mixed> $data) : self
Parameters
- $data : array<string, mixed>
-
The raw wire object.
Return values
selfjsonSerialize()
Renders this object for `json_encode()`.
public
jsonSerialize() : array<string, mixed>
Any Sensitive it carries stays WRAPPED here, so a log line or a
json_encode($model) in application code prints [SENSITIVE]. The one place a secret
is revealed is ManagementTransport, on the way to the wire
and nowhere else (§27.5).
Rendering for a log line never fails: an unknown union arm renders its discriminator and
an unrecognised enum value its empty Unknown spelling here, and only self::toArray() -- the request path -- refuses to send it (CONTRACT.md §31.2, §34.2
P12.2).
Return values
array<string, mixed>toArray()
Renders this object back to its wire form.
public
toArray() : array<string, mixed>
§27.4 rule 5: a null property is OMITTED, not emitted as null. On a sparse update those two say opposite things — "leave this alone" versus "set this to nothing" — and only omission means the first.