files.com 1.0.262 → 1.0.263
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/session.md +1 -33
- data/lib/files.com/models/session.rb +0 -144
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 415f60c947b24e213dcab7b7f18bd802868b723e6d2399f40263079f47e5fbf7
|
4
|
+
data.tar.gz: b8420a20451e8e08dab0381acbc72180620b768638f95f0dc86f1efcad6a1c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ce056ebf1594d115ae3f1eac0f53ccbc3148423ffbfaeb8bfe17216eefc5be03d6608d43d0d5e0da389e7fe9beadf3fe294423374be28d45904c2506cc7b3d0
|
7
|
+
data.tar.gz: c5e10ff72b9614ad58b6f3385f47e530230dbd209a1538061ca6ac62a31db0000f731560b5d7141588a51b5c6622c02cdb82646c5b9eb6396ad7c236a76905e9
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.263
|
data/docs/session.md
CHANGED
@@ -6,47 +6,15 @@
|
|
6
6
|
{
|
7
7
|
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
8
8
|
"language": "en",
|
9
|
-
"login_token": "@tok-randomcode",
|
10
|
-
"login_token_domain": "https://mysite.files.com",
|
11
|
-
"max_dir_listing_size": 1,
|
12
|
-
"multiple_regions": true,
|
13
9
|
"read_only": true,
|
14
|
-
"
|
15
|
-
"sftp_insecure_ciphers": true,
|
16
|
-
"site_id": 1,
|
17
|
-
"ssl_required": true,
|
18
|
-
"tls_disabled": true,
|
19
|
-
"two_factor_setup_needed": true,
|
20
|
-
"allowed_2fa_method_sms": true,
|
21
|
-
"allowed_2fa_method_totp": true,
|
22
|
-
"allowed_2fa_method_u2f": true,
|
23
|
-
"allowed_2fa_method_webauthn": true,
|
24
|
-
"allowed_2fa_method_yubi": true,
|
25
|
-
"use_provided_modified_at": true,
|
26
|
-
"windows_mode_ftp": true
|
10
|
+
"sftp_insecure_ciphers": true
|
27
11
|
}
|
28
12
|
```
|
29
13
|
|
30
14
|
* `id` (string): Session ID
|
31
15
|
* `language` (string): Session language
|
32
|
-
* `login_token` (string): Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
|
33
|
-
* `login_token_domain` (string): Domain to use with `login_token`.
|
34
|
-
* `max_dir_listing_size` (int64): Maximum number of files to retrieve per folder for a directory listing. This is based on the user's plan.
|
35
|
-
* `multiple_regions` (boolean): Can access multiple regions?
|
36
16
|
* `read_only` (boolean): Is this session read only?
|
37
|
-
* `root_path` (string): Initial root path to start the user's session in.
|
38
17
|
* `sftp_insecure_ciphers` (boolean): Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)
|
39
|
-
* `site_id` (int64): Site ID
|
40
|
-
* `ssl_required` (boolean): Is SSL required for this user? (If so, ensure all your communications with this user use SSL.)
|
41
|
-
* `tls_disabled` (boolean): Are insecure TLS versions allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure TLS versions for this user.)
|
42
|
-
* `two_factor_setup_needed` (boolean): If true, this user needs to add a Two Factor Authentication method before performing any further actions.
|
43
|
-
* `allowed_2fa_method_sms` (boolean): Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
44
|
-
* `allowed_2fa_method_totp` (boolean): Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
45
|
-
* `allowed_2fa_method_u2f` (boolean): Sent only if 2FA setup is needed. Is U2F two factor authentication allowed?
|
46
|
-
* `allowed_2fa_method_webauthn` (boolean): Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
47
|
-
* `allowed_2fa_method_yubi` (boolean): Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
48
|
-
* `use_provided_modified_at` (boolean): Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
49
|
-
* `windows_mode_ftp` (boolean): Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
50
18
|
* `username` (string): Username to sign in as
|
51
19
|
* `password` (string): Password for sign in
|
52
20
|
* `otp` (string): If this user has a 2FA device, provide its OTP or code here.
|
@@ -31,42 +31,6 @@ module Files
|
|
31
31
|
@attributes[:language] = value
|
32
32
|
end
|
33
33
|
|
34
|
-
# string - Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
|
35
|
-
def login_token
|
36
|
-
@attributes[:login_token]
|
37
|
-
end
|
38
|
-
|
39
|
-
def login_token=(value)
|
40
|
-
@attributes[:login_token] = value
|
41
|
-
end
|
42
|
-
|
43
|
-
# string - Domain to use with `login_token`.
|
44
|
-
def login_token_domain
|
45
|
-
@attributes[:login_token_domain]
|
46
|
-
end
|
47
|
-
|
48
|
-
def login_token_domain=(value)
|
49
|
-
@attributes[:login_token_domain] = value
|
50
|
-
end
|
51
|
-
|
52
|
-
# int64 - Maximum number of files to retrieve per folder for a directory listing. This is based on the user's plan.
|
53
|
-
def max_dir_listing_size
|
54
|
-
@attributes[:max_dir_listing_size]
|
55
|
-
end
|
56
|
-
|
57
|
-
def max_dir_listing_size=(value)
|
58
|
-
@attributes[:max_dir_listing_size] = value
|
59
|
-
end
|
60
|
-
|
61
|
-
# boolean - Can access multiple regions?
|
62
|
-
def multiple_regions
|
63
|
-
@attributes[:multiple_regions]
|
64
|
-
end
|
65
|
-
|
66
|
-
def multiple_regions=(value)
|
67
|
-
@attributes[:multiple_regions] = value
|
68
|
-
end
|
69
|
-
|
70
34
|
# boolean - Is this session read only?
|
71
35
|
def read_only
|
72
36
|
@attributes[:read_only]
|
@@ -76,15 +40,6 @@ module Files
|
|
76
40
|
@attributes[:read_only] = value
|
77
41
|
end
|
78
42
|
|
79
|
-
# string - Initial root path to start the user's session in.
|
80
|
-
def root_path
|
81
|
-
@attributes[:root_path]
|
82
|
-
end
|
83
|
-
|
84
|
-
def root_path=(value)
|
85
|
-
@attributes[:root_path] = value
|
86
|
-
end
|
87
|
-
|
88
43
|
# boolean - Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)
|
89
44
|
def sftp_insecure_ciphers
|
90
45
|
@attributes[:sftp_insecure_ciphers]
|
@@ -94,105 +49,6 @@ module Files
|
|
94
49
|
@attributes[:sftp_insecure_ciphers] = value
|
95
50
|
end
|
96
51
|
|
97
|
-
# int64 - Site ID
|
98
|
-
def site_id
|
99
|
-
@attributes[:site_id]
|
100
|
-
end
|
101
|
-
|
102
|
-
def site_id=(value)
|
103
|
-
@attributes[:site_id] = value
|
104
|
-
end
|
105
|
-
|
106
|
-
# boolean - Is SSL required for this user? (If so, ensure all your communications with this user use SSL.)
|
107
|
-
def ssl_required
|
108
|
-
@attributes[:ssl_required]
|
109
|
-
end
|
110
|
-
|
111
|
-
def ssl_required=(value)
|
112
|
-
@attributes[:ssl_required] = value
|
113
|
-
end
|
114
|
-
|
115
|
-
# boolean - Are insecure TLS versions allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure TLS versions for this user.)
|
116
|
-
def tls_disabled
|
117
|
-
@attributes[:tls_disabled]
|
118
|
-
end
|
119
|
-
|
120
|
-
def tls_disabled=(value)
|
121
|
-
@attributes[:tls_disabled] = value
|
122
|
-
end
|
123
|
-
|
124
|
-
# boolean - If true, this user needs to add a Two Factor Authentication method before performing any further actions.
|
125
|
-
def two_factor_setup_needed
|
126
|
-
@attributes[:two_factor_setup_needed]
|
127
|
-
end
|
128
|
-
|
129
|
-
def two_factor_setup_needed=(value)
|
130
|
-
@attributes[:two_factor_setup_needed] = value
|
131
|
-
end
|
132
|
-
|
133
|
-
# boolean - Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
134
|
-
def allowed_2fa_method_sms
|
135
|
-
@attributes[:allowed_2fa_method_sms]
|
136
|
-
end
|
137
|
-
|
138
|
-
def allowed_2fa_method_sms=(value)
|
139
|
-
@attributes[:allowed_2fa_method_sms] = value
|
140
|
-
end
|
141
|
-
|
142
|
-
# boolean - Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
143
|
-
def allowed_2fa_method_totp
|
144
|
-
@attributes[:allowed_2fa_method_totp]
|
145
|
-
end
|
146
|
-
|
147
|
-
def allowed_2fa_method_totp=(value)
|
148
|
-
@attributes[:allowed_2fa_method_totp] = value
|
149
|
-
end
|
150
|
-
|
151
|
-
# boolean - Sent only if 2FA setup is needed. Is U2F two factor authentication allowed?
|
152
|
-
def allowed_2fa_method_u2f
|
153
|
-
@attributes[:allowed_2fa_method_u2f]
|
154
|
-
end
|
155
|
-
|
156
|
-
def allowed_2fa_method_u2f=(value)
|
157
|
-
@attributes[:allowed_2fa_method_u2f] = value
|
158
|
-
end
|
159
|
-
|
160
|
-
# boolean - Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
161
|
-
def allowed_2fa_method_webauthn
|
162
|
-
@attributes[:allowed_2fa_method_webauthn]
|
163
|
-
end
|
164
|
-
|
165
|
-
def allowed_2fa_method_webauthn=(value)
|
166
|
-
@attributes[:allowed_2fa_method_webauthn] = value
|
167
|
-
end
|
168
|
-
|
169
|
-
# boolean - Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
170
|
-
def allowed_2fa_method_yubi
|
171
|
-
@attributes[:allowed_2fa_method_yubi]
|
172
|
-
end
|
173
|
-
|
174
|
-
def allowed_2fa_method_yubi=(value)
|
175
|
-
@attributes[:allowed_2fa_method_yubi] = value
|
176
|
-
end
|
177
|
-
|
178
|
-
# boolean - Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
179
|
-
def use_provided_modified_at
|
180
|
-
@attributes[:use_provided_modified_at]
|
181
|
-
end
|
182
|
-
|
183
|
-
def use_provided_modified_at=(value)
|
184
|
-
@attributes[:use_provided_modified_at] = value
|
185
|
-
end
|
186
|
-
|
187
|
-
# boolean - Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
188
|
-
def windows_mode_ftp
|
189
|
-
@attributes[:windows_mode_ftp]
|
190
|
-
end
|
191
|
-
|
192
|
-
def windows_mode_ftp=(value)
|
193
|
-
@attributes[:windows_mode_ftp] = value
|
194
|
-
end
|
195
|
-
|
196
52
|
# string - Username to sign in as
|
197
53
|
def username
|
198
54
|
@attributes[:username]
|
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.
|
4
|
+
version: 1.0.263
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|