files.com 1.2.209 → 1.2.210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/docs/models/SsoStrategy.md +2 -0
- package/lib/Files.js +1 -1
- package/lib/models/SsoStrategy.js +4 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/SsoStrategy.js +3 -0
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.210
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"provision_time_zone": "Eastern Time (US & Canada)",
|
|
41
41
|
"provision_company": "ACME Corp.",
|
|
42
42
|
"provision_require_2fa": "always_require",
|
|
43
|
+
"identifier": "",
|
|
43
44
|
"ldap_base_dn": "example",
|
|
44
45
|
"ldap_domain": "mysite.com",
|
|
45
46
|
"enabled": true,
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
* `provision_time_zone` (string): Default time zone for auto provisioned users.
|
|
90
91
|
* `provision_company` (string): Default company for auto provisioned users.
|
|
91
92
|
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
|
|
93
|
+
* `identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
|
|
92
94
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
|
93
95
|
* `ldap_domain` (string): Domain name that will be appended to LDAP usernames
|
|
94
96
|
* `enabled` (boolean): Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
|
package/lib/Files.js
CHANGED
|
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
|
11
11
|
var apiKey;
|
|
12
12
|
var baseUrl = 'https://app.files.com';
|
|
13
13
|
var sessionId = null;
|
|
14
|
-
var version = '1.2.
|
|
14
|
+
var version = '1.2.210';
|
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
|
17
17
|
var debugRequest = false;
|
|
@@ -177,6 +177,10 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
|
|
|
177
177
|
(0, _defineProperty2.default)(this, "getProvisionRequire2fa", function () {
|
|
178
178
|
return _this.attributes.provision_require_2fa;
|
|
179
179
|
});
|
|
180
|
+
// string # URL-friendly, unique identifier for Azure SAML configuration
|
|
181
|
+
(0, _defineProperty2.default)(this, "getIdentifier", function () {
|
|
182
|
+
return _this.attributes.identifier;
|
|
183
|
+
});
|
|
180
184
|
// string # Base DN for looking up users in LDAP server
|
|
181
185
|
(0, _defineProperty2.default)(this, "getLdapBaseDn", function () {
|
|
182
186
|
return _this.attributes.ldap_base_dn;
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -136,6 +136,9 @@ class SsoStrategy {
|
|
|
136
136
|
// string # 2FA required setting for auto provisioned users.
|
|
137
137
|
getProvisionRequire2fa = () => this.attributes.provision_require_2fa
|
|
138
138
|
|
|
139
|
+
// string # URL-friendly, unique identifier for Azure SAML configuration
|
|
140
|
+
getIdentifier = () => this.attributes.identifier
|
|
141
|
+
|
|
139
142
|
// string # Base DN for looking up users in LDAP server
|
|
140
143
|
getLdapBaseDn = () => this.attributes.ldap_base_dn
|
|
141
144
|
|