Skip to content

Commit aa7a995

Browse files
[Bot] push changes from Files.com
1 parent 54081b3 commit aa7a995

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.530
1+
2.0.531

docs/Model/UserLifecycleRule.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
```
66
{
77
"id": 1,
8-
"authentication_method": "password",
8+
"authentication_method": "all_non_sso",
99
"group_ids": [
1010
1,
1111
2,
@@ -26,7 +26,7 @@
2626
```
2727

2828
* `id` (int64): User Lifecycle Rule ID
29-
* `authentication_method` (string): User authentication method for which the rule will apply.
29+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
3030
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
3131
* `action` (string): Action to take on inactive users (disable or delete)
3232
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
@@ -79,7 +79,7 @@ $user_lifecycle_rule->find($id);
7979
$user_lifecycle_rule = new \Files\Model\UserLifecycleRule();
8080
$user_lifecycle_rule->create(, [
8181
'apply_to_all_workspaces' => true,
82-
'authentication_method' => "password",
82+
'authentication_method' => "all_non_sso",
8383
'group_ids' => [1,2,3],
8484
'inactivity_days' => 12,
8585
'include_site_admins' => true,
@@ -97,7 +97,7 @@ $user_lifecycle_rule->create(, [
9797

9898
* `action` (string): Action to take on inactive users (disable or delete)
9999
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
100-
* `authentication_method` (string): User authentication method for which the rule will apply.
100+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
101101
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
102102
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
103103
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -117,7 +117,7 @@ $user_lifecycle_rule = \Files\Model\UserLifecycleRule::find($id);
117117
118118
$user_lifecycle_rule->update([
119119
'apply_to_all_workspaces' => true,
120-
'authentication_method' => "password",
120+
'authentication_method' => "all_non_sso",
121121
'group_ids' => [1,2,3],
122122
'inactivity_days' => 12,
123123
'include_site_admins' => true,
@@ -135,7 +135,7 @@ $user_lifecycle_rule->update([
135135
* `id` (int64): Required - User Lifecycle Rule ID.
136136
* `action` (string): Action to take on inactive users (disable or delete)
137137
* `apply_to_all_workspaces` (boolean): If true, a default-workspace rule also applies to users in all workspaces.
138-
* `authentication_method` (string): User authentication method for which the rule will apply.
138+
* `authentication_method` (string): User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
139139
* `group_ids` (array(int64)): Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
140140
* `inactivity_days` (int64): Number of days of inactivity before the rule applies
141141
* `include_site_admins` (boolean): If true, the rule will apply to site admins.
@@ -151,7 +151,7 @@ $user_lifecycle_rule->update([
151151
```json
152152
{
153153
"id": 1,
154-
"authentication_method": "password",
154+
"authentication_method": "all_non_sso",
155155
"group_ids": [
156156
1,
157157
2,

lib/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function middlewareRemoveHeader($header)
2020

2121
class Api
2222
{
23-
const VERSION = "2.0.530";
23+
const VERSION = "2.0.531";
2424
private static function pushRetryHandler($handlerStack)
2525
{
2626
$shouldRetry = function ($retries, $request, $response, $exception) {

lib/Model/UserLifecycleRule.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function setId($value)
6565
{
6666
return $this->attributes['id'] = $value;
6767
}
68-
// string # User authentication method for which the rule will apply.
68+
// string # User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
6969
public function getAuthenticationMethod()
7070
{
7171
return @$this->attributes['authentication_method'];
@@ -199,7 +199,7 @@ public function setUserTag($value)
199199
// Parameters:
200200
// action - string - Action to take on inactive users (disable or delete)
201201
// apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
202-
// authentication_method - string - User authentication method for which the rule will apply.
202+
// authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
203203
// group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
204204
// inactivity_days - int64 - Number of days of inactivity before the rule applies
205205
// include_site_admins - boolean - If true, the rule will apply to site admins.
@@ -365,7 +365,7 @@ public static function get($id, $params = [], $options = [])
365365
// Parameters:
366366
// action - string - Action to take on inactive users (disable or delete)
367367
// apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to users in all workspaces.
368-
// authentication_method - string - User authentication method for which the rule will apply.
368+
// authentication_method - string - User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
369369
// group_ids - array(int64) - Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
370370
// inactivity_days - int64 - Number of days of inactivity before the rule applies
371371
// include_site_admins - boolean - If true, the rule will apply to site admins.

0 commit comments

Comments
 (0)