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
- $defaultCertValidityDays : int|null
- $deletionGracePeriodDays : int|null
- $emailVerificationGracePeriodHours : int|null
- $emailVerificationRequired : bool|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
- $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
$defaultCertValidityDays read-only
public
int|null
$defaultCertValidityDays
= null
$deletionGracePeriodDays read-only
public
int|null
$deletionGracePeriodDays
= null
$emailVerificationGracePeriodHours read-only
public
int|null
$emailVerificationGracePeriodHours
= null
$emailVerificationRequired read-only
public
bool|null
$emailVerificationRequired
= 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
$webauthnUserVerification read-only
public
string|null
$webauthnUserVerification
= null
Methods
__construct()
Constructs a TenantSettingsOverride.
public
__construct([int|null $accessTokenLifetimeSecs = null ][, bool|null $adminNotificationsEnabled = null ][, int|null $defaultCertValidityDays = null ][, int|null $deletionGracePeriodDays = null ][, int|null $emailVerificationGracePeriodHours = null ][, bool|null $emailVerificationRequired = 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 ][, 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) - $defaultCertValidityDays : int|null = null
-
the server's
default_cert_validity_daysfield (optional) - $deletionGracePeriodDays : int|null = null
-
the server's
deletion_grace_period_daysfield (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) - $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) - $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).
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.