@rockcarver/frodo-lib 2.0.0-52 → 2.0.0-53
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/build.zip +0 -0
- package/cjs/ops/AdminOps.js +16 -16
- package/cjs/ops/AdminOps.js.map +1 -1
- package/esm/ops/AdminOps.js +6 -6
- package/esm/ops/AdminOps.js.map +1 -1
- package/package.json +1 -1
- package/types/ops/AdminOps.d.ts +4 -4
package/build.zip
CHANGED
|
Binary file
|
package/cjs/ops/AdminOps.js
CHANGED
|
@@ -9,8 +9,8 @@ exports.createOAuth2ClientWithAdminPrivileges = createOAuth2ClientWithAdminPrivi
|
|
|
9
9
|
exports.default = void 0;
|
|
10
10
|
exports.executeRfc7523AuthZGrantFlow = executeRfc7523AuthZGrantFlow;
|
|
11
11
|
exports.exportFullConfiguration = exportFullConfiguration;
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
12
|
+
exports.generateRfc7523AuthZGrantArtefacts = generateRfc7523AuthZGrantArtefacts;
|
|
13
|
+
exports.generateRfc7523ClientAuthNArtefacts = generateRfc7523ClientAuthNArtefacts;
|
|
14
14
|
exports.getUniqueValues = getUniqueValues;
|
|
15
15
|
exports.grantOAuth2ClientAdminPrivileges = grantOAuth2ClientAdminPrivileges;
|
|
16
16
|
exports.hideGenericExtensionAttributes = hideGenericExtensionAttributes;
|
|
@@ -191,14 +191,14 @@ var _default = state => {
|
|
|
191
191
|
});
|
|
192
192
|
})();
|
|
193
193
|
},
|
|
194
|
-
|
|
194
|
+
generateRfc7523AuthZGrantArtefacts(clientId, iss, jwk, sub) {
|
|
195
195
|
var _arguments = arguments;
|
|
196
196
|
return _asyncToGenerator(function* () {
|
|
197
197
|
var scope = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : ['fr:am:*', 'fr:idm:*', 'openid'];
|
|
198
198
|
var options = _arguments.length > 5 && _arguments[5] !== undefined ? _arguments[5] : {
|
|
199
199
|
save: false
|
|
200
200
|
};
|
|
201
|
-
return
|
|
201
|
+
return generateRfc7523AuthZGrantArtefacts({
|
|
202
202
|
clientId,
|
|
203
203
|
iss,
|
|
204
204
|
jwk,
|
|
@@ -220,9 +220,9 @@ var _default = state => {
|
|
|
220
220
|
state
|
|
221
221
|
});
|
|
222
222
|
},
|
|
223
|
-
|
|
223
|
+
generateRfc7523ClientAuthNArtefacts(clientId, aud, jwk, options) {
|
|
224
224
|
return _asyncToGenerator(function* () {
|
|
225
|
-
return
|
|
225
|
+
return generateRfc7523ClientAuthNArtefacts({
|
|
226
226
|
clientId,
|
|
227
227
|
aud,
|
|
228
228
|
jwk,
|
|
@@ -1638,11 +1638,11 @@ function getAccessTokenUrl(state) {
|
|
|
1638
1638
|
var urlWithPort = "".concat(url.protocol, "//").concat(url.host, ":").concat(url.port ? url.port : url.protocol === 'https:' ? '443' : '80').concat(url.pathname);
|
|
1639
1639
|
return urlWithPort;
|
|
1640
1640
|
}
|
|
1641
|
-
function
|
|
1642
|
-
return
|
|
1641
|
+
function generateRfc7523AuthZGrantArtefacts(_x21) {
|
|
1642
|
+
return _generateRfc7523AuthZGrantArtefacts.apply(this, arguments);
|
|
1643
1643
|
}
|
|
1644
|
-
function
|
|
1645
|
-
|
|
1644
|
+
function _generateRfc7523AuthZGrantArtefacts() {
|
|
1645
|
+
_generateRfc7523AuthZGrantArtefacts = _asyncToGenerator(function* (_ref23) {
|
|
1646
1646
|
var {
|
|
1647
1647
|
clientId,
|
|
1648
1648
|
iss,
|
|
@@ -1732,7 +1732,7 @@ function _generateRfc7523AuthZGrantArtifacts() {
|
|
|
1732
1732
|
issuer: issuerData
|
|
1733
1733
|
};
|
|
1734
1734
|
});
|
|
1735
|
-
return
|
|
1735
|
+
return _generateRfc7523AuthZGrantArtefacts.apply(this, arguments);
|
|
1736
1736
|
}
|
|
1737
1737
|
function executeRfc7523AuthZGrantFlow(_x22) {
|
|
1738
1738
|
return _executeRfc7523AuthZGrantFlow.apply(this, arguments);
|
|
@@ -1771,15 +1771,15 @@ function _executeRfc7523AuthZGrantFlow() {
|
|
|
1771
1771
|
});
|
|
1772
1772
|
return _executeRfc7523AuthZGrantFlow.apply(this, arguments);
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1775
|
-
return
|
|
1774
|
+
function generateRfc7523ClientAuthNArtefacts(_x23) {
|
|
1775
|
+
return _generateRfc7523ClientAuthNArtefacts.apply(this, arguments);
|
|
1776
1776
|
}
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Export full configuration
|
|
1779
1779
|
* @param {FullExportOptions} options export options
|
|
1780
1780
|
*/
|
|
1781
|
-
function
|
|
1782
|
-
|
|
1781
|
+
function _generateRfc7523ClientAuthNArtefacts() {
|
|
1782
|
+
_generateRfc7523ClientAuthNArtefacts = _asyncToGenerator(function* (_ref25) {
|
|
1783
1783
|
var {
|
|
1784
1784
|
clientId,
|
|
1785
1785
|
aud = null,
|
|
@@ -1850,7 +1850,7 @@ function _generateRfc7523ClientAuthNArtifacts() {
|
|
|
1850
1850
|
client: clientData
|
|
1851
1851
|
};
|
|
1852
1852
|
});
|
|
1853
|
-
return
|
|
1853
|
+
return _generateRfc7523ClientAuthNArtefacts.apply(this, arguments);
|
|
1854
1854
|
}
|
|
1855
1855
|
function exportFullConfiguration(_x24) {
|
|
1856
1856
|
return _exportFullConfiguration.apply(this, arguments);
|