@agiledigital/pingone-aic-script-tester 0.1.0
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/LICENSE-APACHE +201 -0
- package/LICENSE-MIT +21 -0
- package/README.md +274 -0
- package/dist/bin/fetch-jar.d.ts +2 -0
- package/dist/bin/fetch-jar.js +13 -0
- package/dist/bin/pull-profile.d.ts +2 -0
- package/dist/bin/pull-profile.js +40 -0
- package/dist/bin/show-log.d.ts +2 -0
- package/dist/bin/show-log.js +31 -0
- package/dist/classes/.complete +12 -0
- package/dist/classes/AmClassShutter.class +0 -0
- package/dist/classes/AmContextFactory$ObservedContext.class +0 -0
- package/dist/classes/AmContextFactory.class +0 -0
- package/dist/classes/AmScopes.class +0 -0
- package/dist/classes/HostOps.class +0 -0
- package/dist/classes/JsValues.class +0 -0
- package/dist/classes/Json$Parser.class +0 -0
- package/dist/classes/Json.class +0 -0
- package/dist/classes/LanguageVersions.class +0 -0
- package/dist/classes/Runner.class +0 -0
- package/dist/classes/ScriptContextScope.class +0 -0
- package/dist/src/aic/callbacks.d.ts +35 -0
- package/dist/src/aic/callbacks.js +130 -0
- package/dist/src/aic/conform.d.ts +90 -0
- package/dist/src/aic/conform.js +193 -0
- package/dist/src/aic/constants.d.ts +13 -0
- package/dist/src/aic/constants.js +13 -0
- package/dist/src/aic/diff.d.ts +25 -0
- package/dist/src/aic/diff.js +201 -0
- package/dist/src/aic/emit-journey.d.ts +64 -0
- package/dist/src/aic/emit-journey.js +254 -0
- package/dist/src/aic/emit-result.d.ts +10 -0
- package/dist/src/aic/emit-result.js +39 -0
- package/dist/src/aic/emit-session.d.ts +26 -0
- package/dist/src/aic/emit-session.js +132 -0
- package/dist/src/aic/emit-subject.d.ts +40 -0
- package/dist/src/aic/emit-subject.js +210 -0
- package/dist/src/aic/file-lease.d.ts +35 -0
- package/dist/src/aic/file-lease.js +543 -0
- package/dist/src/aic/http.d.ts +21 -0
- package/dist/src/aic/http.js +127 -0
- package/dist/src/aic/idm.d.ts +10 -0
- package/dist/src/aic/idm.js +112 -0
- package/dist/src/aic/index.d.ts +35 -0
- package/dist/src/aic/index.js +21 -0
- package/dist/src/aic/js.d.ts +8 -0
- package/dist/src/aic/js.js +11 -0
- package/dist/src/aic/lease-identity.d.ts +38 -0
- package/dist/src/aic/lease-identity.js +72 -0
- package/dist/src/aic/lease-lock.d.ts +45 -0
- package/dist/src/aic/lease-lock.js +173 -0
- package/dist/src/aic/managed.d.ts +28 -0
- package/dist/src/aic/managed.js +199 -0
- package/dist/src/aic/provider.d.ts +156 -0
- package/dist/src/aic/provider.js +416 -0
- package/dist/src/aic/record.d.ts +28 -0
- package/dist/src/aic/record.js +183 -0
- package/dist/src/aic/resource-snapshot.d.ts +12 -0
- package/dist/src/aic/resource-snapshot.js +116 -0
- package/dist/src/aic/run.d.ts +102 -0
- package/dist/src/aic/run.js +450 -0
- package/dist/src/aic/tenant.d.ts +107 -0
- package/dist/src/aic/tenant.js +307 -0
- package/dist/src/aic/trace.d.ts +25 -0
- package/dist/src/aic/trace.js +56 -0
- package/dist/src/aic/txid.d.ts +11 -0
- package/dist/src/aic/txid.js +25 -0
- package/dist/src/aic/unsupported.d.ts +15 -0
- package/dist/src/aic/unsupported.js +60 -0
- package/dist/src/bindings/allowlist.d.ts +42 -0
- package/dist/src/bindings/allowlist.js +62 -0
- package/dist/src/bindings/harvest.d.ts +7 -0
- package/dist/src/bindings/harvest.js +137 -0
- package/dist/src/bindings/index.d.ts +4 -0
- package/dist/src/bindings/index.js +3 -0
- package/dist/src/bindings/preamble.d.ts +23 -0
- package/dist/src/bindings/preamble.js +36 -0
- package/dist/src/bindings/run.d.ts +33 -0
- package/dist/src/bindings/run.js +55 -0
- package/dist/src/case/equal.d.ts +2 -0
- package/dist/src/case/equal.js +40 -0
- package/dist/src/case/index.d.ts +5 -0
- package/dist/src/case/index.js +4 -0
- package/dist/src/case/portable.d.ts +10 -0
- package/dist/src/case/portable.js +28 -0
- package/dist/src/case/session.d.ts +34 -0
- package/dist/src/case/session.js +66 -0
- package/dist/src/case/state.d.ts +4 -0
- package/dist/src/case/state.js +47 -0
- package/dist/src/case/types.d.ts +266 -0
- package/dist/src/case/types.js +106 -0
- package/dist/src/case/util.d.ts +7 -0
- package/dist/src/case/util.js +115 -0
- package/dist/src/case/validate.d.ts +8 -0
- package/dist/src/case/validate.js +463 -0
- package/dist/src/case/verdict.d.ts +6 -0
- package/dist/src/case/verdict.js +810 -0
- package/dist/src/diagnostics.d.ts +7 -0
- package/dist/src/diagnostics.js +5 -0
- package/dist/src/emit-dts.d.ts +2 -0
- package/dist/src/emit-dts.js +82 -0
- package/dist/src/emit-js.d.ts +3 -0
- package/dist/src/emit-js.js +149 -0
- package/dist/src/harness/failures.d.ts +26 -0
- package/dist/src/harness/failures.js +113 -0
- package/dist/src/harness/idm.d.ts +12 -0
- package/dist/src/harness/idm.js +44 -0
- package/dist/src/harness/index.d.ts +11 -0
- package/dist/src/harness/index.js +6 -0
- package/dist/src/harness/lease.d.ts +136 -0
- package/dist/src/harness/lease.js +286 -0
- package/dist/src/harness/residue.d.ts +23 -0
- package/dist/src/harness/residue.js +73 -0
- package/dist/src/harness/show-log.d.ts +43 -0
- package/dist/src/harness/show-log.js +253 -0
- package/dist/src/harness/spec.d.ts +67 -0
- package/dist/src/harness/spec.js +189 -0
- package/dist/src/harness/step.d.ts +80 -0
- package/dist/src/harness/step.js +97 -0
- package/dist/src/harness/types.d.ts +100 -0
- package/dist/src/harness/types.js +1 -0
- package/dist/src/harness/vitest.d.ts +52 -0
- package/dist/src/harness/vitest.js +155 -0
- package/dist/src/idents.d.ts +4 -0
- package/dist/src/idents.js +42 -0
- package/dist/src/jvm.d.ts +124 -0
- package/dist/src/jvm.js +432 -0
- package/dist/src/load.d.ts +2 -0
- package/dist/src/load.js +104 -0
- package/dist/src/paths.d.ts +36 -0
- package/dist/src/paths.js +50 -0
- package/dist/src/profile/index.d.ts +5 -0
- package/dist/src/profile/index.js +3 -0
- package/dist/src/profile/normalise.d.ts +16 -0
- package/dist/src/profile/normalise.js +106 -0
- package/dist/src/profile/pull.d.ts +22 -0
- package/dist/src/profile/pull.js +36 -0
- package/dist/src/profile/seed.d.ts +11 -0
- package/dist/src/profile/seed.js +28 -0
- package/dist/src/profile/store.d.ts +13 -0
- package/dist/src/profile/store.js +60 -0
- package/dist/src/profile/types.d.ts +45 -0
- package/dist/src/profile/types.js +1 -0
- package/dist/src/profile/validate.d.ts +38 -0
- package/dist/src/profile/validate.js +129 -0
- package/dist/src/project.d.ts +37 -0
- package/dist/src/project.js +93 -0
- package/dist/src/protocol.d.ts +62 -0
- package/dist/src/protocol.js +68 -0
- package/dist/src/provider-module.d.ts +11 -0
- package/dist/src/provider-module.js +46 -0
- package/dist/src/runner.d.ts +39 -0
- package/dist/src/runner.js +337 -0
- package/dist/src/schema.d.ts +48 -0
- package/dist/src/schema.js +93 -0
- package/generated/scripted-decision-mocks.cjs +722 -0
- package/generated/scripted-decision-mocks.d.ts +626 -0
- package/generated/scripted-decision-next.json +3640 -0
- package/java/AmClassShutter.java +98 -0
- package/java/AmContextFactory.java +69 -0
- package/java/AmScopes.java +49 -0
- package/java/HostOps.java +180 -0
- package/java/JsValues.java +39 -0
- package/java/Json.java +441 -0
- package/java/LanguageVersions.java +55 -0
- package/java/Runner.java +289 -0
- package/java/ScriptContextScope.java +147 -0
- package/package.json +88 -0
- package/src/bindings/rhino/runtime.cjs +3021 -0
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
// GENERATED from docs/api/bindings/scripted-decision-next.json — do not edit.
|
|
2
|
+
// Re-run: npm -w packages/rhino-local run generate
|
|
3
|
+
//
|
|
4
|
+
// Evaluated by AM's Rhino 1.7.14 as part of the script-under-test's scope.
|
|
5
|
+
// AM-safe JavaScript only: no let, no top-level const, no for...of, no object
|
|
6
|
+
// shorthand, no destructuring, no default parameters, and none of Map / Set /
|
|
7
|
+
// Symbol / Promise / WeakMap / WeakSet. See docs/api/12-script-bindings-matrix.md.
|
|
8
|
+
|
|
9
|
+
function __rhinoLocalArgKind(value) {
|
|
10
|
+
if (Array.isArray(value)) {
|
|
11
|
+
return "array";
|
|
12
|
+
}
|
|
13
|
+
var t = typeof value;
|
|
14
|
+
if (t === "string" || t === "number" || t === "boolean") {
|
|
15
|
+
return t;
|
|
16
|
+
}
|
|
17
|
+
return "object";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function __rhinoLocalNotMocked(binding, method, args, signatures) {
|
|
21
|
+
var arity = args.length;
|
|
22
|
+
var matched = [];
|
|
23
|
+
var i;
|
|
24
|
+
var j;
|
|
25
|
+
var sig;
|
|
26
|
+
var typesOk;
|
|
27
|
+
for (i = 0; i < signatures.length; i += 1) {
|
|
28
|
+
sig = signatures[i];
|
|
29
|
+
if (sig.arity !== arity) {
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
typesOk = true;
|
|
33
|
+
for (j = 0; j < arity; j += 1) {
|
|
34
|
+
if (__rhinoLocalArgKind(args[j]) !== sig.types[j]) {
|
|
35
|
+
typesOk = false;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (typesOk) {
|
|
40
|
+
matched.push(sig.label);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if (matched.length === 0) {
|
|
44
|
+
for (i = 0; i < signatures.length; i += 1) {
|
|
45
|
+
if (signatures[i].arity === arity) {
|
|
46
|
+
matched.push(signatures[i].label);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
if (matched.length === 0) {
|
|
51
|
+
matched.push("no matching signature");
|
|
52
|
+
}
|
|
53
|
+
throw new Error(
|
|
54
|
+
"rhino-local: not mocked: " +
|
|
55
|
+
binding +
|
|
56
|
+
"." +
|
|
57
|
+
method +
|
|
58
|
+
" arity=" +
|
|
59
|
+
arity +
|
|
60
|
+
" overload=[" +
|
|
61
|
+
matched.join(" | ") +
|
|
62
|
+
"]"
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var samlApplication = {
|
|
67
|
+
getApplicationId: function () {
|
|
68
|
+
__rhinoLocalNotMocked("samlApplication", "getApplicationId", arguments, [{ arity: 0, types: [], label: "getApplicationId()" }]);
|
|
69
|
+
},
|
|
70
|
+
getAuthnRequest: function () {
|
|
71
|
+
__rhinoLocalNotMocked("samlApplication", "getAuthnRequest", arguments, [{ arity: 0, types: [], label: "getAuthnRequest()" }]);
|
|
72
|
+
},
|
|
73
|
+
getIdpAttributes: function () {
|
|
74
|
+
__rhinoLocalNotMocked("samlApplication", "getIdpAttributes", arguments, [{ arity: 0, types: [], label: "getIdpAttributes()" }]);
|
|
75
|
+
},
|
|
76
|
+
getSpAttributes: function () {
|
|
77
|
+
__rhinoLocalNotMocked("samlApplication", "getSpAttributes", arguments, [{ arity: 0, types: [], label: "getSpAttributes()" }]);
|
|
78
|
+
},
|
|
79
|
+
getFlowInitiator: function () {
|
|
80
|
+
__rhinoLocalNotMocked("samlApplication", "getFlowInitiator", arguments, [{ arity: 0, types: [], label: "getFlowInitiator()" }]);
|
|
81
|
+
},
|
|
82
|
+
getAssertion: function () {
|
|
83
|
+
__rhinoLocalNotMocked("samlApplication", "getAssertion", arguments, [{ arity: 0, types: [], label: "getAssertion()" }]);
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
var logger = {
|
|
88
|
+
getName: function () {
|
|
89
|
+
__rhinoLocalNotMocked("logger", "getName", arguments, [{ arity: 0, types: [], label: "getName()" }]);
|
|
90
|
+
},
|
|
91
|
+
info: function () {
|
|
92
|
+
__rhinoLocalNotMocked("logger", "info", arguments, [
|
|
93
|
+
{ arity: 2, types: ["string","object"], label: "info(format: string, arg: object)" },
|
|
94
|
+
{ arity: 3, types: ["string","object","object"], label: "info(format: string, arg1: object, arg2: object)" },
|
|
95
|
+
{ arity: 1, types: ["string"], label: "info(msg: string)" },
|
|
96
|
+
{ arity: 2, types: ["string","array"], label: "info(format: string, arguments: array)" },
|
|
97
|
+
{ arity: 2, types: ["string","object"], label: "info(msg: string, t: object)" },
|
|
98
|
+
]);
|
|
99
|
+
},
|
|
100
|
+
trace: function () {
|
|
101
|
+
__rhinoLocalNotMocked("logger", "trace", arguments, [
|
|
102
|
+
{ arity: 3, types: ["string","object","object"], label: "trace(format: string, arg1: object, arg2: object)" },
|
|
103
|
+
{ arity: 1, types: ["string"], label: "trace(msg: string)" },
|
|
104
|
+
{ arity: 2, types: ["string","object"], label: "trace(format: string, arg: object)" },
|
|
105
|
+
{ arity: 2, types: ["string","array"], label: "trace(format: string, arguments: array)" },
|
|
106
|
+
{ arity: 2, types: ["string","object"], label: "trace(msg: string, t: object)" },
|
|
107
|
+
]);
|
|
108
|
+
},
|
|
109
|
+
error: function () {
|
|
110
|
+
__rhinoLocalNotMocked("logger", "error", arguments, [
|
|
111
|
+
{ arity: 2, types: ["string","object"], label: "error(msg: string, t: object)" },
|
|
112
|
+
{ arity: 2, types: ["string","array"], label: "error(format: string, arguments: array)" },
|
|
113
|
+
{ arity: 3, types: ["string","object","object"], label: "error(format: string, arg1: object, arg2: object)" },
|
|
114
|
+
{ arity: 2, types: ["string","object"], label: "error(format: string, arg: object)" },
|
|
115
|
+
{ arity: 1, types: ["string"], label: "error(msg: string)" },
|
|
116
|
+
]);
|
|
117
|
+
},
|
|
118
|
+
warn: function () {
|
|
119
|
+
__rhinoLocalNotMocked("logger", "warn", arguments, [
|
|
120
|
+
{ arity: 1, types: ["string"], label: "warn(msg: string)" },
|
|
121
|
+
{ arity: 2, types: ["string","object"], label: "warn(format: string, arg: object)" },
|
|
122
|
+
{ arity: 3, types: ["string","object","object"], label: "warn(format: string, arg1: object, arg2: object)" },
|
|
123
|
+
{ arity: 2, types: ["string","object"], label: "warn(msg: string, t: object)" },
|
|
124
|
+
{ arity: 2, types: ["string","array"], label: "warn(format: string, arguments: array)" },
|
|
125
|
+
]);
|
|
126
|
+
},
|
|
127
|
+
debug: function () {
|
|
128
|
+
__rhinoLocalNotMocked("logger", "debug", arguments, [
|
|
129
|
+
{ arity: 3, types: ["string","object","object"], label: "debug(format: string, arg1: object, arg2: object)" },
|
|
130
|
+
{ arity: 2, types: ["string","object"], label: "debug(format: string, arg: object)" },
|
|
131
|
+
{ arity: 2, types: ["string","object"], label: "debug(msg: string, t: object)" },
|
|
132
|
+
{ arity: 2, types: ["string","array"], label: "debug(format: string, arguments: array)" },
|
|
133
|
+
{ arity: 1, types: ["string"], label: "debug(msg: string)" },
|
|
134
|
+
]);
|
|
135
|
+
},
|
|
136
|
+
isTraceEnabled: function () {
|
|
137
|
+
__rhinoLocalNotMocked("logger", "isTraceEnabled", arguments, [{ arity: 0, types: [], label: "isTraceEnabled()" }]);
|
|
138
|
+
},
|
|
139
|
+
isDebugEnabled: function () {
|
|
140
|
+
__rhinoLocalNotMocked("logger", "isDebugEnabled", arguments, [{ arity: 0, types: [], label: "isDebugEnabled()" }]);
|
|
141
|
+
},
|
|
142
|
+
isErrorEnabled: function () {
|
|
143
|
+
__rhinoLocalNotMocked("logger", "isErrorEnabled", arguments, [{ arity: 0, types: [], label: "isErrorEnabled()" }]);
|
|
144
|
+
},
|
|
145
|
+
isInfoEnabled: function () {
|
|
146
|
+
__rhinoLocalNotMocked("logger", "isInfoEnabled", arguments, [{ arity: 0, types: [], label: "isInfoEnabled()" }]);
|
|
147
|
+
},
|
|
148
|
+
isWarnEnabled: function () {
|
|
149
|
+
__rhinoLocalNotMocked("logger", "isWarnEnabled", arguments, [{ arity: 0, types: [], label: "isWarnEnabled()" }]);
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
var callbacks = {
|
|
154
|
+
isEmpty: function () {
|
|
155
|
+
__rhinoLocalNotMocked("callbacks", "isEmpty", arguments, [{ arity: 0, types: [], label: "isEmpty()" }]);
|
|
156
|
+
},
|
|
157
|
+
getStringAttributeInputCallbacks: function () {
|
|
158
|
+
__rhinoLocalNotMocked("callbacks", "getStringAttributeInputCallbacks", arguments, [{ arity: 0, types: [], label: "getStringAttributeInputCallbacks()" }]);
|
|
159
|
+
},
|
|
160
|
+
getChoiceCallbacks: function () {
|
|
161
|
+
__rhinoLocalNotMocked("callbacks", "getChoiceCallbacks", arguments, [{ arity: 0, types: [], label: "getChoiceCallbacks()" }]);
|
|
162
|
+
},
|
|
163
|
+
getNameCallbacks: function () {
|
|
164
|
+
__rhinoLocalNotMocked("callbacks", "getNameCallbacks", arguments, [{ arity: 0, types: [], label: "getNameCallbacks()" }]);
|
|
165
|
+
},
|
|
166
|
+
getPasswordCallbacks: function () {
|
|
167
|
+
__rhinoLocalNotMocked("callbacks", "getPasswordCallbacks", arguments, [{ arity: 0, types: [], label: "getPasswordCallbacks()" }]);
|
|
168
|
+
},
|
|
169
|
+
getHiddenValueCallbacks: function () {
|
|
170
|
+
__rhinoLocalNotMocked("callbacks", "getHiddenValueCallbacks", arguments, [{ arity: 0, types: [], label: "getHiddenValueCallbacks()" }]);
|
|
171
|
+
},
|
|
172
|
+
getTextInputCallbacks: function () {
|
|
173
|
+
__rhinoLocalNotMocked("callbacks", "getTextInputCallbacks", arguments, [{ arity: 0, types: [], label: "getTextInputCallbacks()" }]);
|
|
174
|
+
},
|
|
175
|
+
getNumberAttributeInputCallbacks: function () {
|
|
176
|
+
__rhinoLocalNotMocked("callbacks", "getNumberAttributeInputCallbacks", arguments, [{ arity: 0, types: [], label: "getNumberAttributeInputCallbacks()" }]);
|
|
177
|
+
},
|
|
178
|
+
getBooleanAttributeInputCallbacks: function () {
|
|
179
|
+
__rhinoLocalNotMocked("callbacks", "getBooleanAttributeInputCallbacks", arguments, [{ arity: 0, types: [], label: "getBooleanAttributeInputCallbacks()" }]);
|
|
180
|
+
},
|
|
181
|
+
getConfirmationCallbacks: function () {
|
|
182
|
+
__rhinoLocalNotMocked("callbacks", "getConfirmationCallbacks", arguments, [{ arity: 0, types: [], label: "getConfirmationCallbacks()" }]);
|
|
183
|
+
},
|
|
184
|
+
getLanguageCallbacks: function () {
|
|
185
|
+
__rhinoLocalNotMocked("callbacks", "getLanguageCallbacks", arguments, [{ arity: 0, types: [], label: "getLanguageCallbacks()" }]);
|
|
186
|
+
},
|
|
187
|
+
getIdpCallbacks: function () {
|
|
188
|
+
__rhinoLocalNotMocked("callbacks", "getIdpCallbacks", arguments, [{ arity: 0, types: [], label: "getIdpCallbacks()" }]);
|
|
189
|
+
},
|
|
190
|
+
getValidatedPasswordCallbacks: function () {
|
|
191
|
+
__rhinoLocalNotMocked("callbacks", "getValidatedPasswordCallbacks", arguments, [{ arity: 0, types: [], label: "getValidatedPasswordCallbacks()" }]);
|
|
192
|
+
},
|
|
193
|
+
getValidatedUsernameCallbacks: function () {
|
|
194
|
+
__rhinoLocalNotMocked("callbacks", "getValidatedUsernameCallbacks", arguments, [{ arity: 0, types: [], label: "getValidatedUsernameCallbacks()" }]);
|
|
195
|
+
},
|
|
196
|
+
getHttpCallbacks: function () {
|
|
197
|
+
__rhinoLocalNotMocked("callbacks", "getHttpCallbacks", arguments, [{ arity: 0, types: [], label: "getHttpCallbacks()" }]);
|
|
198
|
+
},
|
|
199
|
+
getX509CertificateCallbacks: function () {
|
|
200
|
+
__rhinoLocalNotMocked("callbacks", "getX509CertificateCallbacks", arguments, [{ arity: 0, types: [], label: "getX509CertificateCallbacks()" }]);
|
|
201
|
+
},
|
|
202
|
+
getConsentMappingCallbacks: function () {
|
|
203
|
+
__rhinoLocalNotMocked("callbacks", "getConsentMappingCallbacks", arguments, [{ arity: 0, types: [], label: "getConsentMappingCallbacks()" }]);
|
|
204
|
+
},
|
|
205
|
+
getDeviceProfileCallbacks: function () {
|
|
206
|
+
__rhinoLocalNotMocked("callbacks", "getDeviceProfileCallbacks", arguments, [{ arity: 0, types: [], label: "getDeviceProfileCallbacks()" }]);
|
|
207
|
+
},
|
|
208
|
+
getKbaCreateCallbacks: function () {
|
|
209
|
+
__rhinoLocalNotMocked("callbacks", "getKbaCreateCallbacks", arguments, [{ arity: 0, types: [], label: "getKbaCreateCallbacks()" }]);
|
|
210
|
+
},
|
|
211
|
+
getSelectIdPCallbacks: function () {
|
|
212
|
+
__rhinoLocalNotMocked("callbacks", "getSelectIdPCallbacks", arguments, [{ arity: 0, types: [], label: "getSelectIdPCallbacks()" }]);
|
|
213
|
+
},
|
|
214
|
+
getTermsAndConditionsCallbacks: function () {
|
|
215
|
+
__rhinoLocalNotMocked("callbacks", "getTermsAndConditionsCallbacks", arguments, [{ arity: 0, types: [], label: "getTermsAndConditionsCallbacks()" }]);
|
|
216
|
+
},
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
var idRepository = {
|
|
220
|
+
createUser: function () {
|
|
221
|
+
__rhinoLocalNotMocked("idRepository", "createUser", arguments, [
|
|
222
|
+
{ arity: 2, types: ["string","string"], label: "createUser(userName: string, password: string)" },
|
|
223
|
+
{ arity: 3, types: ["string","string","object"], label: "createUser(userName: string, password: string, attributes: object)" },
|
|
224
|
+
]);
|
|
225
|
+
},
|
|
226
|
+
getIdentity: function () {
|
|
227
|
+
__rhinoLocalNotMocked("idRepository", "getIdentity", arguments, [{ arity: 1, types: ["string"], label: "getIdentity(userName: string)" }]);
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
var jwtAssertion = {
|
|
232
|
+
generateJwt: function () {
|
|
233
|
+
__rhinoLocalNotMocked("jwtAssertion", "generateJwt", arguments, [{ arity: 1, types: ["object"], label: "generateJwt(jwtData: object)" }]);
|
|
234
|
+
},
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
var utils = {
|
|
238
|
+
crypto: {
|
|
239
|
+
randomUUID: function () {
|
|
240
|
+
__rhinoLocalNotMocked("utils.crypto", "randomUUID", arguments, [{ arity: 0, types: [], label: "randomUUID()" }]);
|
|
241
|
+
},
|
|
242
|
+
getRandomValues: function () {
|
|
243
|
+
__rhinoLocalNotMocked("utils.crypto", "getRandomValues", arguments, [{ arity: 1, types: ["array"], label: "getRandomValues(array: array)" }]);
|
|
244
|
+
},
|
|
245
|
+
checkBcrypt: function () {
|
|
246
|
+
__rhinoLocalNotMocked("utils.crypto", "checkBcrypt", arguments, [{ arity: 2, types: ["string","string"], label: "checkBcrypt(bcryptString: string, password: string)" }]);
|
|
247
|
+
},
|
|
248
|
+
subtle: {
|
|
249
|
+
sign: function () {
|
|
250
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "sign", arguments, [
|
|
251
|
+
{ arity: 3, types: ["object","array","array"], label: "sign(algorithmOptions: object, key: array, data: array)" },
|
|
252
|
+
{ arity: 3, types: ["string","array","array"], label: "sign(algorithm: string, key: array, data: array)" },
|
|
253
|
+
]);
|
|
254
|
+
},
|
|
255
|
+
digest: function () {
|
|
256
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "digest", arguments, [{ arity: 2, types: ["string","array"], label: "digest(algorithm: string, data: array)" }]);
|
|
257
|
+
},
|
|
258
|
+
verify: function () {
|
|
259
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "verify", arguments, [
|
|
260
|
+
{ arity: 4, types: ["string","array","array","array"], label: "verify(algorithm: string, key: array, data: array, signature: array)" },
|
|
261
|
+
{ arity: 4, types: ["object","array","array","array"], label: "verify(algorithmOptions: object, key: array, data: array, signature: array)" },
|
|
262
|
+
]);
|
|
263
|
+
},
|
|
264
|
+
encrypt: function () {
|
|
265
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "encrypt", arguments, [
|
|
266
|
+
{ arity: 3, types: ["string","array","array"], label: "encrypt(algorithm: string, key: array, data: array)" },
|
|
267
|
+
{ arity: 3, types: ["object","array","array"], label: "encrypt(algorithmOptions: object, key: array, data: array)" },
|
|
268
|
+
]);
|
|
269
|
+
},
|
|
270
|
+
decrypt: function () {
|
|
271
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "decrypt", arguments, [
|
|
272
|
+
{ arity: 3, types: ["string","array","array"], label: "decrypt(algorithm: string, key: array, data: array)" },
|
|
273
|
+
{ arity: 3, types: ["object","array","array"], label: "decrypt(algorithmOptions: object, key: array, data: array)" },
|
|
274
|
+
]);
|
|
275
|
+
},
|
|
276
|
+
generateKey: function () {
|
|
277
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "generateKey", arguments, [
|
|
278
|
+
{ arity: 1, types: ["object"], label: "generateKey(algorithm: object)" },
|
|
279
|
+
{ arity: 1, types: ["string"], label: "generateKey(algorithm: string)" },
|
|
280
|
+
]);
|
|
281
|
+
},
|
|
282
|
+
deriveKey: function () {
|
|
283
|
+
__rhinoLocalNotMocked("utils.crypto.subtle", "deriveKey", arguments, [
|
|
284
|
+
{ arity: 3, types: ["string","array","number"], label: "deriveKey(algorithmName: string, baseKey: array, derivedKeyLength: number)" },
|
|
285
|
+
{ arity: 3, types: ["object","array","number"], label: "deriveKey(algorithm: object, baseKey: array, derivedKeyLength: number)" },
|
|
286
|
+
]);
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
base64: {
|
|
291
|
+
decode: function () {
|
|
292
|
+
__rhinoLocalNotMocked("utils.base64", "decode", arguments, [{ arity: 1, types: ["string"], label: "decode(toDecode: string)" }]);
|
|
293
|
+
},
|
|
294
|
+
encode: function () {
|
|
295
|
+
__rhinoLocalNotMocked("utils.base64", "encode", arguments, [
|
|
296
|
+
{ arity: 1, types: ["string"], label: "encode(toEncode: string)" },
|
|
297
|
+
{ arity: 1, types: ["array"], label: "encode(toEncode: array)" },
|
|
298
|
+
]);
|
|
299
|
+
},
|
|
300
|
+
decodeToBytes: function () {
|
|
301
|
+
__rhinoLocalNotMocked("utils.base64", "decodeToBytes", arguments, [{ arity: 1, types: ["string"], label: "decodeToBytes(toDecode: string)" }]);
|
|
302
|
+
},
|
|
303
|
+
btoa: function () {
|
|
304
|
+
__rhinoLocalNotMocked("utils.base64", "btoa", arguments, [{ arity: 1, types: ["string"], label: "btoa(toEncode: string)" }]);
|
|
305
|
+
},
|
|
306
|
+
atob: function () {
|
|
307
|
+
__rhinoLocalNotMocked("utils.base64", "atob", arguments, [{ arity: 1, types: ["string"], label: "atob(toDecode: string)" }]);
|
|
308
|
+
},
|
|
309
|
+
},
|
|
310
|
+
base64url: {
|
|
311
|
+
decode: function () {
|
|
312
|
+
__rhinoLocalNotMocked("utils.base64url", "decode", arguments, [{ arity: 1, types: ["string"], label: "decode(toDecode: string)" }]);
|
|
313
|
+
},
|
|
314
|
+
encode: function () {
|
|
315
|
+
__rhinoLocalNotMocked("utils.base64url", "encode", arguments, [
|
|
316
|
+
{ arity: 1, types: ["string"], label: "encode(toEncode: string)" },
|
|
317
|
+
{ arity: 1, types: ["array"], label: "encode(toEncode: array)" },
|
|
318
|
+
]);
|
|
319
|
+
},
|
|
320
|
+
decodeToBytes: function () {
|
|
321
|
+
__rhinoLocalNotMocked("utils.base64url", "decodeToBytes", arguments, [{ arity: 1, types: ["string"], label: "decodeToBytes(toDecode: string)" }]);
|
|
322
|
+
},
|
|
323
|
+
btoa: function () {
|
|
324
|
+
__rhinoLocalNotMocked("utils.base64url", "btoa", arguments, [{ arity: 1, types: ["string"], label: "btoa(toEncode: string)" }]);
|
|
325
|
+
},
|
|
326
|
+
atob: function () {
|
|
327
|
+
__rhinoLocalNotMocked("utils.base64url", "atob", arguments, [{ arity: 1, types: ["string"], label: "atob(toDecode: string)" }]);
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
types: {
|
|
331
|
+
bytesToString: function () {
|
|
332
|
+
__rhinoLocalNotMocked("utils.types", "bytesToString", arguments, [{ arity: 1, types: ["array"], label: "bytesToString(bytes: array)" }]);
|
|
333
|
+
},
|
|
334
|
+
stringToBytes: function () {
|
|
335
|
+
__rhinoLocalNotMocked("utils.types", "stringToBytes", arguments, [{ arity: 1, types: ["string"], label: "stringToBytes(string: string)" }]);
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
var action = {
|
|
341
|
+
withIdentifiedUser: function () {
|
|
342
|
+
__rhinoLocalNotMocked("action", "withIdentifiedUser", arguments, [{ arity: 1, types: ["string"], label: "withIdentifiedUser(username: string)" }]);
|
|
343
|
+
},
|
|
344
|
+
withIdentifiedAgent: function () {
|
|
345
|
+
__rhinoLocalNotMocked("action", "withIdentifiedAgent", arguments, [{ arity: 1, types: ["string"], label: "withIdentifiedAgent(agentName: string)" }]);
|
|
346
|
+
},
|
|
347
|
+
goTo: function () {
|
|
348
|
+
__rhinoLocalNotMocked("action", "goTo", arguments, [{ arity: 1, types: ["string"], label: "goTo(outcome: string)" }]);
|
|
349
|
+
},
|
|
350
|
+
suspend: function () {
|
|
351
|
+
__rhinoLocalNotMocked("action", "suspend", arguments, [
|
|
352
|
+
{ arity: 1, types: ["string"], label: "suspend(callbackTextFormat: string)" },
|
|
353
|
+
{ arity: 3, types: ["string","object","number"], label: "suspend(callbackTextFormat: string, additionalLogic: object, maximumSuspendDuration: number)" },
|
|
354
|
+
{ arity: 2, types: ["string","object"], label: "suspend(callbackTextFormat: string, additionalLogic: object)" },
|
|
355
|
+
]);
|
|
356
|
+
},
|
|
357
|
+
withHeader: function () {
|
|
358
|
+
__rhinoLocalNotMocked("action", "withHeader", arguments, [{ arity: 1, types: ["string"], label: "withHeader(header: string)" }]);
|
|
359
|
+
},
|
|
360
|
+
withMaxSessionTime: function () {
|
|
361
|
+
__rhinoLocalNotMocked("action", "withMaxSessionTime", arguments, [{ arity: 1, types: ["number"], label: "withMaxSessionTime(maxSessionTime: number)" }]);
|
|
362
|
+
},
|
|
363
|
+
withMaxIdleTime: function () {
|
|
364
|
+
__rhinoLocalNotMocked("action", "withMaxIdleTime", arguments, [{ arity: 1, types: ["number"], label: "withMaxIdleTime(maxIdleTime: number)" }]);
|
|
365
|
+
},
|
|
366
|
+
putSessionProperty: function () {
|
|
367
|
+
__rhinoLocalNotMocked("action", "putSessionProperty", arguments, [{ arity: 2, types: ["string","string"], label: "putSessionProperty(key: string, value: string)" }]);
|
|
368
|
+
},
|
|
369
|
+
withDescription: function () {
|
|
370
|
+
__rhinoLocalNotMocked("action", "withDescription", arguments, [{ arity: 1, types: ["string"], label: "withDescription(description: string)" }]);
|
|
371
|
+
},
|
|
372
|
+
withStage: function () {
|
|
373
|
+
__rhinoLocalNotMocked("action", "withStage", arguments, [{ arity: 1, types: ["string"], label: "withStage(stage: string)" }]);
|
|
374
|
+
},
|
|
375
|
+
withErrorMessage: function () {
|
|
376
|
+
__rhinoLocalNotMocked("action", "withErrorMessage", arguments, [{ arity: 1, types: ["string"], label: "withErrorMessage(errorMessage: string)" }]);
|
|
377
|
+
},
|
|
378
|
+
withLockoutMessage: function () {
|
|
379
|
+
__rhinoLocalNotMocked("action", "withLockoutMessage", arguments, [{ arity: 1, types: ["string"], label: "withLockoutMessage(lockoutMessage: string)" }]);
|
|
380
|
+
},
|
|
381
|
+
removeSessionProperty: function () {
|
|
382
|
+
__rhinoLocalNotMocked("action", "removeSessionProperty", arguments, [{ arity: 1, types: ["string"], label: "removeSessionProperty(key: string)" }]);
|
|
383
|
+
},
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
var callbacksBuilder = {
|
|
387
|
+
radioChoiceCallback: function () {
|
|
388
|
+
__rhinoLocalNotMocked("callbacksBuilder", "radioChoiceCallback", arguments, [{ arity: 3, types: ["string","array","number"], label: "radioChoiceCallback(prompt: string, choices: array, defaultChoice: number)" }]);
|
|
389
|
+
},
|
|
390
|
+
suspendedTextOutputCallback: function () {
|
|
391
|
+
__rhinoLocalNotMocked("callbacksBuilder", "suspendedTextOutputCallback", arguments, [{ arity: 2, types: ["number","string"], label: "suspendedTextOutputCallback(messageType: number, message: string)" }]);
|
|
392
|
+
},
|
|
393
|
+
textInputCallback: function () {
|
|
394
|
+
__rhinoLocalNotMocked("callbacksBuilder", "textInputCallback", arguments, [
|
|
395
|
+
{ arity: 2, types: ["string","string"], label: "textInputCallback(prompt: string, defaultText: string)" },
|
|
396
|
+
{ arity: 1, types: ["string"], label: "textInputCallback(prompt: string)" },
|
|
397
|
+
]);
|
|
398
|
+
},
|
|
399
|
+
scriptTextOutputCallback: function () {
|
|
400
|
+
__rhinoLocalNotMocked("callbacksBuilder", "scriptTextOutputCallback", arguments, [{ arity: 1, types: ["string"], label: "scriptTextOutputCallback(message: string)" }]);
|
|
401
|
+
},
|
|
402
|
+
metadataCallback: function () {
|
|
403
|
+
__rhinoLocalNotMocked("callbacksBuilder", "metadataCallback", arguments, [{ arity: 1, types: ["object"], label: "metadataCallback(outputValue: object)" }]);
|
|
404
|
+
},
|
|
405
|
+
stringAttributeInputCallback: function () {
|
|
406
|
+
__rhinoLocalNotMocked("callbacksBuilder", "stringAttributeInputCallback", arguments, [
|
|
407
|
+
{ arity: 5, types: ["string","string","string","boolean","array"], label: "stringAttributeInputCallback(name: string, prompt: string, value: string, required: boolean, failedPolicies: array)" },
|
|
408
|
+
{ arity: 6, types: ["string","string","string","boolean","object","boolean"], label: "stringAttributeInputCallback(name: string, prompt: string, value: string, required: boolean, policies: object, validateOnly: boolean)" },
|
|
409
|
+
{ arity: 4, types: ["string","string","string","boolean"], label: "stringAttributeInputCallback(name: string, prompt: string, value: string, required: boolean)" },
|
|
410
|
+
{ arity: 7, types: ["string","string","string","boolean","object","boolean","array"], label: "stringAttributeInputCallback(name: string, prompt: string, value: string, required: boolean, policies: object, validateOnly: boolean, failedPolicies: array)" },
|
|
411
|
+
]);
|
|
412
|
+
},
|
|
413
|
+
numberAttributeInputCallback: function () {
|
|
414
|
+
__rhinoLocalNotMocked("callbacksBuilder", "numberAttributeInputCallback", arguments, [
|
|
415
|
+
{ arity: 6, types: ["string","string","number","boolean","object","boolean"], label: "numberAttributeInputCallback(name: string, prompt: string, value: number, required: boolean, policies: object, validateOnly: boolean)" },
|
|
416
|
+
{ arity: 5, types: ["string","string","number","boolean","array"], label: "numberAttributeInputCallback(name: string, prompt: string, value: number, required: boolean, failedPolicies: array)" },
|
|
417
|
+
{ arity: 4, types: ["string","string","number","boolean"], label: "numberAttributeInputCallback(name: string, prompt: string, value: number, required: boolean)" },
|
|
418
|
+
{ arity: 7, types: ["string","string","number","boolean","object","boolean","array"], label: "numberAttributeInputCallback(name: string, prompt: string, value: number, required: boolean, policies: object, validateOnly: boolean, failedPolicies: array)" },
|
|
419
|
+
]);
|
|
420
|
+
},
|
|
421
|
+
booleanAttributeInputCallback: function () {
|
|
422
|
+
__rhinoLocalNotMocked("callbacksBuilder", "booleanAttributeInputCallback", arguments, [
|
|
423
|
+
{ arity: 5, types: ["string","string","boolean","boolean","array"], label: "booleanAttributeInputCallback(name: string, prompt: string, value: boolean, required: boolean, failedPolicies: array)" },
|
|
424
|
+
{ arity: 7, types: ["string","string","boolean","boolean","object","boolean","array"], label: "booleanAttributeInputCallback(name: string, prompt: string, value: boolean, required: boolean, policies: object, validateOnly: boolean, failedPolicies: array)" },
|
|
425
|
+
{ arity: 4, types: ["string","string","boolean","boolean"], label: "booleanAttributeInputCallback(name: string, prompt: string, value: boolean, required: boolean)" },
|
|
426
|
+
{ arity: 6, types: ["string","string","boolean","boolean","object","boolean"], label: "booleanAttributeInputCallback(name: string, prompt: string, value: boolean, required: boolean, policies: object, validateOnly: boolean)" },
|
|
427
|
+
]);
|
|
428
|
+
},
|
|
429
|
+
languageCallback: function () {
|
|
430
|
+
__rhinoLocalNotMocked("callbacksBuilder", "languageCallback", arguments, [{ arity: 2, types: ["string","string"], label: "languageCallback(language: string, country: string)" }]);
|
|
431
|
+
},
|
|
432
|
+
idPCallback: function () {
|
|
433
|
+
__rhinoLocalNotMocked("callbacksBuilder", "idPCallback", arguments, [
|
|
434
|
+
{ arity: 9, types: ["string","string","string","array","string","string","string","array","boolean"], label: "idPCallback(provider: string, clientId: string, redirectUri: string, scope: array, nonce: string, request: string, requestUri: string, acrValues: array, requestNativeAppForUserInfo: boolean)" },
|
|
435
|
+
{ arity: 11, types: ["string","string","string","array","string","string","string","array","boolean","string","string"], label: "idPCallback(provider: string, clientId: string, redirectUri: string, scope: array, nonce: string, request: string, requestUri: string, acrValues: array, requestNativeAppForUserInfo: boolean, token: string, tokenType: string)" },
|
|
436
|
+
]);
|
|
437
|
+
},
|
|
438
|
+
httpCallback: function () {
|
|
439
|
+
__rhinoLocalNotMocked("callbacksBuilder", "httpCallback", arguments, [
|
|
440
|
+
{ arity: 3, types: ["string","string","string"], label: "httpCallback(authorizationHeader: string, negotiationHeader: string, errorCode: string)" },
|
|
441
|
+
{ arity: 4, types: ["string","string","string","number"], label: "httpCallback(authRHeader: string, negoName: string, negoValue: string, errorCode: number)" },
|
|
442
|
+
]);
|
|
443
|
+
},
|
|
444
|
+
x509CertificateCallback: function () {
|
|
445
|
+
__rhinoLocalNotMocked("callbacksBuilder", "x509CertificateCallback", arguments, [
|
|
446
|
+
{ arity: 2, types: ["string","object"], label: "x509CertificateCallback(prompt: string, certificate: object)" },
|
|
447
|
+
{ arity: 1, types: ["string"], label: "x509CertificateCallback(prompt: string)" },
|
|
448
|
+
{ arity: 3, types: ["string","object","boolean"], label: "x509CertificateCallback(prompt: string, certificate: object, requestSignature: boolean)" },
|
|
449
|
+
]);
|
|
450
|
+
},
|
|
451
|
+
consentMappingCallback: function () {
|
|
452
|
+
__rhinoLocalNotMocked("callbacksBuilder", "consentMappingCallback", arguments, [
|
|
453
|
+
{ arity: 7, types: ["string","string","string","string","array","string","boolean"], label: "consentMappingCallback(name: string, displayName: string, icon: string, accessLevel: string, titles: array, message: string, isRequired: boolean)" },
|
|
454
|
+
{ arity: 3, types: ["object","string","boolean"], label: "consentMappingCallback(config: object, message: string, isRequired: boolean)" },
|
|
455
|
+
]);
|
|
456
|
+
},
|
|
457
|
+
deviceProfileCallback: function () {
|
|
458
|
+
__rhinoLocalNotMocked("callbacksBuilder", "deviceProfileCallback", arguments, [{ arity: 3, types: ["boolean","boolean","string"], label: "deviceProfileCallback(metadata: boolean, location: boolean, message: string)" }]);
|
|
459
|
+
},
|
|
460
|
+
kbaCreateCallback: function () {
|
|
461
|
+
__rhinoLocalNotMocked("callbacksBuilder", "kbaCreateCallback", arguments, [{ arity: 3, types: ["string","array","boolean"], label: "kbaCreateCallback(prompt: string, predefinedQuestions: array, allowUserDefinedQuestions: boolean)" }]);
|
|
462
|
+
},
|
|
463
|
+
selectIdPCallback: function () {
|
|
464
|
+
__rhinoLocalNotMocked("callbacksBuilder", "selectIdPCallback", arguments, [{ arity: 1, types: ["object"], label: "selectIdPCallback(providers: object)" }]);
|
|
465
|
+
},
|
|
466
|
+
termsAndConditionsCallback: function () {
|
|
467
|
+
__rhinoLocalNotMocked("callbacksBuilder", "termsAndConditionsCallback", arguments, [{ arity: 3, types: ["string","string","string"], label: "termsAndConditionsCallback(version: string, terms: string, createDate: string)" }]);
|
|
468
|
+
},
|
|
469
|
+
choiceCallback: function () {
|
|
470
|
+
__rhinoLocalNotMocked("callbacksBuilder", "choiceCallback", arguments, [{ arity: 4, types: ["string","array","number","boolean"], label: "choiceCallback(prompt: string, choices: array, defaultChoice: number, multipleSelectionsAllowed: boolean)" }]);
|
|
471
|
+
},
|
|
472
|
+
passwordCallback: function () {
|
|
473
|
+
__rhinoLocalNotMocked("callbacksBuilder", "passwordCallback", arguments, [{ arity: 2, types: ["string","boolean"], label: "passwordCallback(prompt: string, echoOn: boolean)" }]);
|
|
474
|
+
},
|
|
475
|
+
nameCallback: function () {
|
|
476
|
+
__rhinoLocalNotMocked("callbacksBuilder", "nameCallback", arguments, [
|
|
477
|
+
{ arity: 2, types: ["string","string"], label: "nameCallback(prompt: string, defaultName: string)" },
|
|
478
|
+
{ arity: 1, types: ["string"], label: "nameCallback(prompt: string)" },
|
|
479
|
+
]);
|
|
480
|
+
},
|
|
481
|
+
hiddenValueCallback: function () {
|
|
482
|
+
__rhinoLocalNotMocked("callbacksBuilder", "hiddenValueCallback", arguments, [{ arity: 2, types: ["string","string"], label: "hiddenValueCallback(id: string, value: string)" }]);
|
|
483
|
+
},
|
|
484
|
+
redirectCallback: function () {
|
|
485
|
+
__rhinoLocalNotMocked("callbacksBuilder", "redirectCallback", arguments, [
|
|
486
|
+
{ arity: 5, types: ["string","object","string","string","string"], label: "redirectCallback(redirectUrl: string, redirectData: object, method: string, statusParameter: string, redirectBackUrlCookie: string)" },
|
|
487
|
+
{ arity: 4, types: ["string","object","string","boolean"], label: "redirectCallback(redirectUrl: string, redirectData: object, method: string, setTrackingCookie: boolean)" },
|
|
488
|
+
{ arity: 3, types: ["string","object","string"], label: "redirectCallback(redirectUrl: string, redirectData: object, method: string)" },
|
|
489
|
+
{ arity: 6, types: ["string","object","string","string","string","boolean"], label: "redirectCallback(redirectUrl: string, redirectData: object, method: string, statusParameter: string, redirectBackUrlCookie: string, setTrackingCookie: boolean)" },
|
|
490
|
+
]);
|
|
491
|
+
},
|
|
492
|
+
confirmationCallback: function () {
|
|
493
|
+
__rhinoLocalNotMocked("callbacksBuilder", "confirmationCallback", arguments, [
|
|
494
|
+
{ arity: 3, types: ["number","number","number"], label: "confirmationCallback(messageType: number, optionType: number, defaultOption: number)" },
|
|
495
|
+
{ arity: 3, types: ["number","array","number"], label: "confirmationCallback(messageType: number, options: array, defaultOption: number)" },
|
|
496
|
+
{ arity: 4, types: ["string","number","number","number"], label: "confirmationCallback(prompt: string, messageType: number, optionType: number, defaultOption: number)" },
|
|
497
|
+
{ arity: 4, types: ["string","number","array","number"], label: "confirmationCallback(prompt: string, messageType: number, options: array, defaultOption: number)" },
|
|
498
|
+
]);
|
|
499
|
+
},
|
|
500
|
+
pollingWaitCallback: function () {
|
|
501
|
+
__rhinoLocalNotMocked("callbacksBuilder", "pollingWaitCallback", arguments, [{ arity: 2, types: ["string","string"], label: "pollingWaitCallback(waitTime: string, message: string)" }]);
|
|
502
|
+
},
|
|
503
|
+
textOutputCallback: function () {
|
|
504
|
+
__rhinoLocalNotMocked("callbacksBuilder", "textOutputCallback", arguments, [{ arity: 2, types: ["number","string"], label: "textOutputCallback(messageType: number, message: string)" }]);
|
|
505
|
+
},
|
|
506
|
+
validatedUsernameCallback: function () {
|
|
507
|
+
__rhinoLocalNotMocked("callbacksBuilder", "validatedUsernameCallback", arguments, [
|
|
508
|
+
{ arity: 4, types: ["string","object","boolean","array"], label: "validatedUsernameCallback(prompt: string, policies: object, validateOnly: boolean, failedPolicies: array)" },
|
|
509
|
+
{ arity: 3, types: ["string","object","boolean"], label: "validatedUsernameCallback(prompt: string, policies: object, validateOnly: boolean)" },
|
|
510
|
+
]);
|
|
511
|
+
},
|
|
512
|
+
validatedPasswordCallback: function () {
|
|
513
|
+
__rhinoLocalNotMocked("callbacksBuilder", "validatedPasswordCallback", arguments, [
|
|
514
|
+
{ arity: 5, types: ["string","boolean","object","boolean","array"], label: "validatedPasswordCallback(prompt: string, echoOn: boolean, policies: object, validateOnly: boolean, failedPolicies: array)" },
|
|
515
|
+
{ arity: 4, types: ["string","boolean","object","boolean"], label: "validatedPasswordCallback(prompt: string, echoOn: boolean, policies: object, validateOnly: boolean)" },
|
|
516
|
+
]);
|
|
517
|
+
},
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
var openidm = {
|
|
521
|
+
update: function () {
|
|
522
|
+
__rhinoLocalNotMocked("openidm", "update", arguments, [
|
|
523
|
+
{ arity: 5, types: ["string","string","object","object","array"], label: "update(id: string, rev: string, value: object, params: object, fields: array)" },
|
|
524
|
+
{ arity: 4, types: ["string","string","object","object"], label: "update(id: string, rev: string, value: object, params: object)" },
|
|
525
|
+
{ arity: 3, types: ["string","string","object"], label: "update(id: string, rev: string, value: object)" },
|
|
526
|
+
]);
|
|
527
|
+
},
|
|
528
|
+
action: function () {
|
|
529
|
+
__rhinoLocalNotMocked("openidm", "action", arguments, [
|
|
530
|
+
{ arity: 4, types: ["string","string","object","object"], label: "action(resource: string, actionName: string, content: object, params: object)" },
|
|
531
|
+
{ arity: 5, types: ["string","string","object","object","array"], label: "action(resource: string, actionName: string, content: object, params: object, fields: array)" },
|
|
532
|
+
{ arity: 3, types: ["string","string","object"], label: "action(resource: string, actionName: string, content: object)" },
|
|
533
|
+
{ arity: 2, types: ["string","string"], label: "action(resource: string, actionName: string)" },
|
|
534
|
+
]);
|
|
535
|
+
},
|
|
536
|
+
create: function () {
|
|
537
|
+
__rhinoLocalNotMocked("openidm", "create", arguments, [
|
|
538
|
+
{ arity: 3, types: ["string","string","object"], label: "create(resourceName: string, newResourceId: string, content: object)" },
|
|
539
|
+
{ arity: 4, types: ["string","string","object","object"], label: "create(resourceName: string, newResourceId: string, content: object, params: object)" },
|
|
540
|
+
{ arity: 5, types: ["string","string","object","object","array"], label: "create(resourceName: string, newResourceId: string, content: object, params: object, fields: array)" },
|
|
541
|
+
]);
|
|
542
|
+
},
|
|
543
|
+
delete: function () {
|
|
544
|
+
__rhinoLocalNotMocked("openidm", "delete", arguments, [
|
|
545
|
+
{ arity: 3, types: ["string","string","object"], label: "delete(resourceName: string, rev: string, params: object)" },
|
|
546
|
+
{ arity: 4, types: ["string","string","object","array"], label: "delete(resourceName: string, rev: string, params: object, fields: array)" },
|
|
547
|
+
{ arity: 2, types: ["string","string"], label: "delete(resourceName: string, rev: string)" },
|
|
548
|
+
]);
|
|
549
|
+
},
|
|
550
|
+
read: function () {
|
|
551
|
+
__rhinoLocalNotMocked("openidm", "read", arguments, [
|
|
552
|
+
{ arity: 1, types: ["string"], label: "read(resourceName: string)" },
|
|
553
|
+
{ arity: 2, types: ["string","object"], label: "read(resourceName: string, params: object)" },
|
|
554
|
+
{ arity: 3, types: ["string","object","array"], label: "read(resourceName: string, params: object, fields: array)" },
|
|
555
|
+
]);
|
|
556
|
+
},
|
|
557
|
+
query: function () {
|
|
558
|
+
__rhinoLocalNotMocked("openidm", "query", arguments, [
|
|
559
|
+
{ arity: 3, types: ["string","object","array"], label: "query(resourceName: string, params: object, fields: array)" },
|
|
560
|
+
{ arity: 2, types: ["string","object"], label: "query(resourceName: string, params: object)" },
|
|
561
|
+
]);
|
|
562
|
+
},
|
|
563
|
+
patch: function () {
|
|
564
|
+
__rhinoLocalNotMocked("openidm", "patch", arguments, [
|
|
565
|
+
{ arity: 5, types: ["string","string","array","object","array"], label: "patch(resourceName: string, rev: string, patch: array, params: object, fields: array)" },
|
|
566
|
+
{ arity: 3, types: ["string","string","array"], label: "patch(resourceName: string, rev: string, patch: array)" },
|
|
567
|
+
{ arity: 4, types: ["string","string","array","object"], label: "patch(resourceName: string, rev: string, patch: array, params: object)" },
|
|
568
|
+
]);
|
|
569
|
+
},
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
// Opaque container: the contexts metadata lists no elements. A case
|
|
573
|
+
// seeds this object directly; a later slice may replace the assignment.
|
|
574
|
+
var requestCookies = {};
|
|
575
|
+
|
|
576
|
+
var cookieName = "__rhino-local-unseeded__";
|
|
577
|
+
|
|
578
|
+
var policy = {
|
|
579
|
+
evaluate: function () {
|
|
580
|
+
__rhinoLocalNotMocked("policy", "evaluate", arguments, [{ arity: 4, types: ["object","string","array","object"], label: "evaluate(subject: object, application: string, resourceNames: array, environment: object)" }]);
|
|
581
|
+
},
|
|
582
|
+
evaluateTree: function () {
|
|
583
|
+
__rhinoLocalNotMocked("policy", "evaluateTree", arguments, [{ arity: 4, types: ["object","string","string","object"], label: "evaluateTree(subject: object, application: string, resourceName: string, environment: object)" }]);
|
|
584
|
+
},
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
var httpClient = {
|
|
588
|
+
send: function () {
|
|
589
|
+
__rhinoLocalNotMocked("httpClient", "send", arguments, [
|
|
590
|
+
{ arity: 2, types: ["string","object"], label: "send(uri: string, requestOptions: object)" },
|
|
591
|
+
{ arity: 1, types: ["string"], label: "send(uri: string)" },
|
|
592
|
+
]);
|
|
593
|
+
},
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
var journey = {
|
|
597
|
+
name: function () {
|
|
598
|
+
__rhinoLocalNotMocked("journey", "name", arguments, [{ arity: 0, types: [], label: "name()" }]);
|
|
599
|
+
},
|
|
600
|
+
innerJourney: function () {
|
|
601
|
+
__rhinoLocalNotMocked("journey", "innerJourney", arguments, [{ arity: 0, types: [], label: "innerJourney()" }]);
|
|
602
|
+
},
|
|
603
|
+
mustRun: function () {
|
|
604
|
+
__rhinoLocalNotMocked("journey", "mustRun", arguments, [{ arity: 0, types: [], label: "mustRun()" }]);
|
|
605
|
+
},
|
|
606
|
+
identityResource: function () {
|
|
607
|
+
__rhinoLocalNotMocked("journey", "identityResource", arguments, [{ arity: 0, types: [], label: "identityResource()" }]);
|
|
608
|
+
},
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
// Opaque container: the contexts metadata lists no elements. A case
|
|
612
|
+
// seeds this object directly; a later slice may replace the assignment.
|
|
613
|
+
var requestParameters = {};
|
|
614
|
+
|
|
615
|
+
var cacheManager = {
|
|
616
|
+
exists: function () {
|
|
617
|
+
__rhinoLocalNotMocked("cacheManager", "exists", arguments, [{ arity: 1, types: ["string"], label: "exists(cacheName: string)" }]);
|
|
618
|
+
},
|
|
619
|
+
named: function () {
|
|
620
|
+
__rhinoLocalNotMocked("cacheManager", "named", arguments, [{ arity: 1, types: ["string"], label: "named(cacheName: string)" }]);
|
|
621
|
+
},
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
var secrets = {
|
|
625
|
+
getGenericSecret: function () {
|
|
626
|
+
__rhinoLocalNotMocked("secrets", "getGenericSecret", arguments, [{ arity: 1, types: ["string"], label: "getGenericSecret(secretId: string)" }]);
|
|
627
|
+
},
|
|
628
|
+
getDecryptionKey: function () {
|
|
629
|
+
__rhinoLocalNotMocked("secrets", "getDecryptionKey", arguments, [{ arity: 1, types: ["string"], label: "getDecryptionKey(secretId: string)" }]);
|
|
630
|
+
},
|
|
631
|
+
getEncryptionKey: function () {
|
|
632
|
+
__rhinoLocalNotMocked("secrets", "getEncryptionKey", arguments, [{ arity: 1, types: ["string"], label: "getEncryptionKey(secretId: string)" }]);
|
|
633
|
+
},
|
|
634
|
+
getSigningKey: function () {
|
|
635
|
+
__rhinoLocalNotMocked("secrets", "getSigningKey", arguments, [{ arity: 1, types: ["string"], label: "getSigningKey(secretId: string)" }]);
|
|
636
|
+
},
|
|
637
|
+
getVerificationKey: function () {
|
|
638
|
+
__rhinoLocalNotMocked("secrets", "getVerificationKey", arguments, [{ arity: 1, types: ["string"], label: "getVerificationKey(secretId: string)" }]);
|
|
639
|
+
},
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
var oauthApplication = {
|
|
643
|
+
getRequestProperties: function () {
|
|
644
|
+
__rhinoLocalNotMocked("oauthApplication", "getRequestProperties", arguments, [{ arity: 0, types: [], label: "getRequestProperties()" }]);
|
|
645
|
+
},
|
|
646
|
+
getApplicationId: function () {
|
|
647
|
+
__rhinoLocalNotMocked("oauthApplication", "getApplicationId", arguments, [{ arity: 0, types: [], label: "getApplicationId()" }]);
|
|
648
|
+
},
|
|
649
|
+
getClientProperties: function () {
|
|
650
|
+
__rhinoLocalNotMocked("oauthApplication", "getClientProperties", arguments, [{ arity: 0, types: [], label: "getClientProperties()" }]);
|
|
651
|
+
},
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
var emailService = {
|
|
655
|
+
send: function () {
|
|
656
|
+
__rhinoLocalNotMocked("emailService", "send", arguments, [
|
|
657
|
+
{ arity: 3, types: ["string","string","string"], label: "send(to: string, subject: string, body: string)" },
|
|
658
|
+
{ arity: 4, types: ["string","string","string","string"], label: "send(to: string, subject: string, body: string, mimeType: string)" },
|
|
659
|
+
]);
|
|
660
|
+
},
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
// Opaque container: the contexts metadata lists no elements. A case
|
|
664
|
+
// seeds this object directly; a later slice may replace the assignment.
|
|
665
|
+
var locales = {};
|
|
666
|
+
|
|
667
|
+
var systemEnv = {
|
|
668
|
+
getProperty: function () {
|
|
669
|
+
__rhinoLocalNotMocked("systemEnv", "getProperty", arguments, [
|
|
670
|
+
{ arity: 3, types: ["string","string","string"], label: "getProperty(propertyName: string, defaultValue: string, returnType: string)" },
|
|
671
|
+
{ arity: 3, types: ["string","string","object"], label: "getProperty(propertyName: string, defaultValue: string, returnType: object)" },
|
|
672
|
+
{ arity: 2, types: ["string","string"], label: "getProperty(propertyName: string, defaultValue: string)" },
|
|
673
|
+
{ arity: 1, types: ["string"], label: "getProperty(propertyName: string)" },
|
|
674
|
+
]);
|
|
675
|
+
},
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
// Opaque container: the contexts metadata lists no elements. A case
|
|
679
|
+
// seeds this object directly; a later slice may replace the assignment.
|
|
680
|
+
var requestHeaders = {};
|
|
681
|
+
|
|
682
|
+
var nodeState = {
|
|
683
|
+
remove: function () {
|
|
684
|
+
__rhinoLocalNotMocked("nodeState", "remove", arguments, [{ arity: 1, types: ["string"], label: "remove(key: string)" }]);
|
|
685
|
+
},
|
|
686
|
+
get: function () {
|
|
687
|
+
__rhinoLocalNotMocked("nodeState", "get", arguments, [{ arity: 1, types: ["string"], label: "get(key: string)" }]);
|
|
688
|
+
},
|
|
689
|
+
keys: function () {
|
|
690
|
+
__rhinoLocalNotMocked("nodeState", "keys", arguments, [{ arity: 0, types: [], label: "keys()" }]);
|
|
691
|
+
},
|
|
692
|
+
isDefined: function () {
|
|
693
|
+
__rhinoLocalNotMocked("nodeState", "isDefined", arguments, [{ arity: 1, types: ["string"], label: "isDefined(key: string)" }]);
|
|
694
|
+
},
|
|
695
|
+
getObject: function () {
|
|
696
|
+
__rhinoLocalNotMocked("nodeState", "getObject", arguments, [{ arity: 1, types: ["string"], label: "getObject(key: string)" }]);
|
|
697
|
+
},
|
|
698
|
+
putShared: function () {
|
|
699
|
+
__rhinoLocalNotMocked("nodeState", "putShared", arguments, [{ arity: 2, types: ["string","object"], label: "putShared(key: string, value: object)" }]);
|
|
700
|
+
},
|
|
701
|
+
mergeShared: function () {
|
|
702
|
+
__rhinoLocalNotMocked("nodeState", "mergeShared", arguments, [{ arity: 1, types: ["object"], label: "mergeShared(object: object)" }]);
|
|
703
|
+
},
|
|
704
|
+
mergeTransient: function () {
|
|
705
|
+
__rhinoLocalNotMocked("nodeState", "mergeTransient", arguments, [{ arity: 1, types: ["object"], label: "mergeTransient(object: object)" }]);
|
|
706
|
+
},
|
|
707
|
+
putTransient: function () {
|
|
708
|
+
__rhinoLocalNotMocked("nodeState", "putTransient", arguments, [{ arity: 2, types: ["string","object"], label: "putTransient(key: string, value: object)" }]);
|
|
709
|
+
},
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
var resumedFromSuspend = false;
|
|
713
|
+
|
|
714
|
+
var scriptName = "__rhino-local-unseeded__";
|
|
715
|
+
|
|
716
|
+
var realm = "__rhino-local-unseeded__";
|
|
717
|
+
|
|
718
|
+
var jwtValidator = {
|
|
719
|
+
validateJwtClaims: function () {
|
|
720
|
+
__rhinoLocalNotMocked("jwtValidator", "validateJwtClaims", arguments, [{ arity: 1, types: ["object"], label: "validateJwtClaims(jwtData: object)" }]);
|
|
721
|
+
},
|
|
722
|
+
};
|