Skip to content

Commit 05f69ce

Browse files
ruvenzxCopilot
andauthored
Update descope/management/tenant.py
Co-authored-by: Copilot <[email protected]>
1 parent 9824cfd commit 05f69ce

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

descope/management/tenant.py

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,24 @@ def update_settings(
114114
Update an existing tenant's session settings.
115115
116116
Args:
117-
id (str): The ID of the tenant to update.
118-
session_settings (dict): The session settings to set for the tenant.
117+
id (str): The ID of the tenant to update.
118+
self_provisioning_domains (List[str]): Domains for self-provisioning.
119+
domains (Optional[List[str]]): List of domains associated with the tenant.
120+
auth_type (Optional[TenantAuthType]): Authentication type for the tenant.
121+
session_settings_enabled (Optional[bool]): Whether session settings are enabled.
122+
refresh_token_expiration (Optional[int]): Expiration time for refresh tokens.
123+
refresh_token_expiration_unit (Optional[SessionExiprationUnit]): Unit for refresh token expiration.
124+
session_token_expiration (Optional[int]): Expiration time for session tokens.
125+
session_token_expiration_unit (Optional[SessionExiprationUnit]): Unit for session token expiration.
126+
stepup_token_expiration (Optional[int]): Expiration time for step-up tokens.
127+
stepup_token_expiration_unit (Optional[SessionExiprationUnit]): Unit for step-up token expiration.
128+
enable_inactivity (Optional[bool]): Whether inactivity timeout is enabled.
129+
inactivity_time (Optional[int]): Inactivity timeout duration.
130+
inactivity_time_unit (Optional[SessionExiprationUnit]): Unit for inactivity timeout.
131+
JITDisabled (Optional[bool]): Whether JIT is disabled.
119132
120133
Raise:
121-
AuthException: raised if creation operation fails
134+
AuthException: raised if update operation fails
122135
"""
123136
body: dict[str, Any] = {
124137
"tenantId": id,

0 commit comments

Comments
 (0)