files.com 1.1.9 → 1.1.10
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.1.
|
1
|
+
1.1.10
|
@@ -9,6 +9,7 @@
|
|
9
9
|
"label": "My Corporate SSO Provider",
|
10
10
|
"logo_url": "https://mysite.files.com/.../logo.png",
|
11
11
|
"id": 1,
|
12
|
+
"user_count": 1,
|
12
13
|
"saml_provider_cert_fingerprint": "example",
|
13
14
|
"saml_provider_issuer_url": "example",
|
14
15
|
"saml_provider_metadata_content": "example",
|
@@ -56,6 +57,7 @@
|
|
56
57
|
* `label` (string): Custom label for the SSO provider on the login page.
|
57
58
|
* `logo_url` (string): URL holding a custom logo for the SSO provider on the login page.
|
58
59
|
* `id` (int64): ID
|
60
|
+
* `user_count` (int64): Count of users with this SSO Strategy
|
59
61
|
* `saml_provider_cert_fingerprint` (string): Identity provider sha256 cert fingerprint if saml_provider_metadata_url is not available.
|
60
62
|
* `saml_provider_issuer_url` (string): Identity provider issuer url
|
61
63
|
* `saml_provider_metadata_content` (string): Custom identity provider metadata
|
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.1.
|
14
|
+
var version = '1.1.10';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -53,6 +53,10 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
|
|
53
53
|
(0, _defineProperty2.default)(this, "getId", function () {
|
54
54
|
return _this.attributes.id;
|
55
55
|
});
|
56
|
+
// int64 # Count of users with this SSO Strategy
|
57
|
+
(0, _defineProperty2.default)(this, "getUserCount", function () {
|
58
|
+
return _this.attributes.user_count;
|
59
|
+
});
|
56
60
|
// string # Identity provider sha256 cert fingerprint if saml_provider_metadata_url is not available.
|
57
61
|
(0, _defineProperty2.default)(this, "getSamlProviderCertFingerprint", function () {
|
58
62
|
return _this.attributes.saml_provider_cert_fingerprint;
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -39,6 +39,9 @@ class SsoStrategy {
|
|
39
39
|
// int64 # ID
|
40
40
|
getId = () => this.attributes.id
|
41
41
|
|
42
|
+
// int64 # Count of users with this SSO Strategy
|
43
|
+
getUserCount = () => this.attributes.user_count
|
44
|
+
|
42
45
|
// string # Identity provider sha256 cert fingerprint if saml_provider_metadata_url is not available.
|
43
46
|
getSamlProviderCertFingerprint = () => this.attributes.saml_provider_cert_fingerprint
|
44
47
|
|