files.com 1.0.369 → 1.0.370

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e54ec978c1847fd669b94f75db924f8f3b98c3931918c12e6d16171464a7104
4
- data.tar.gz: c4d6341c54ed17100ca0e71526ce15f162e5681ca4c1dc4c70bbe0cac8925663
3
+ metadata.gz: 0d2fe78953773ed28ca9092c5ac4bd98424cebe39719349b2f8da32498e9f3f3
4
+ data.tar.gz: 2497dc7f393eabfc34bc3a85a6c3678960e663db780d75cb0e0116701e620cef
5
5
  SHA512:
6
- metadata.gz: a986cb97c79e86c20e6046dc90021f549e330a5ad7e332f1d98529e6f3c0d284cfdd05a7f53f8f9410589c24e299230951582336f38a1847c4e19f4d1b8d32cc
7
- data.tar.gz: 0b215d11abf59aa8323ef6ef47470a5afdce8df2242994d11d70b5b460043ea43ffe7e3bfff3ef4bdff213ed045dde6a7169634918e53c7b97a5be2b9a7cb422
6
+ metadata.gz: cbba291e41dccd38391815dbf7393c5e5c3d891f32c0dec1accb9d7d0137471fdf8c1284e48ad9594388bd48f261f8781cf13c74c57df7214dcf5b09afba3849
7
+ data.tar.gz: ca21c9b79c0ef2a434b983cccd1aeae9a0d7afd0524a7dec8ffa2820952f9770d6edc8622418afa24f956d8765635343c27553703c398bc881b5adf5127b330d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.369
1
+ 1.0.370
data/docs/site.md CHANGED
@@ -185,6 +185,7 @@
185
185
  "public_keys_count": 1,
186
186
  "receive_admin_alerts": true,
187
187
  "require_2fa": "always_require",
188
+ "require_login_by": "2000-01-01T01:00:00Z",
188
189
  "active_2fa": true,
189
190
  "require_password_change": true,
190
191
  "password_expired": true,
data/docs/user.md CHANGED
@@ -48,6 +48,7 @@
48
48
  "public_keys_count": 1,
49
49
  "receive_admin_alerts": true,
50
50
  "require_2fa": "always_require",
51
+ "require_login_by": "2000-01-01T01:00:00Z",
51
52
  "active_2fa": true,
52
53
  "require_password_change": true,
53
54
  "password_expired": true,
@@ -110,6 +111,7 @@
110
111
  * `public_keys_count` (int64): Number of public keys associated with this user
111
112
  * `receive_admin_alerts` (boolean): Should the user receive admin alerts such a certificate expiration notifications and overages?
112
113
  * `require_2fa` (string): 2FA required setting
114
+ * `require_login_by` (date-time): Require user to login by specified date otherwise it will be disabled.
113
115
  * `active_2fa` (boolean): Is 2fa active for the user?
114
116
  * `require_password_change` (boolean): Is a password change required upon next user login?
115
117
  * `password_expired` (boolean): Is user's password expired?
@@ -383,6 +383,15 @@ module Files
383
383
  @attributes[:require_2fa] = value
384
384
  end
385
385
 
386
+ # date-time - Require user to login by specified date otherwise it will be disabled.
387
+ def require_login_by
388
+ @attributes[:require_login_by]
389
+ end
390
+
391
+ def require_login_by=(value)
392
+ @attributes[:require_login_by] = value
393
+ end
394
+
386
395
  # boolean - Is 2fa active for the user?
387
396
  def active_2fa
388
397
  @attributes[:active_2fa]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.369
4
+ version: 1.0.370
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-13 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable