@qlever-llc/trellis 0.10.17 → 0.10.18
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/esm/auth/browser/portal.d.ts.map +1 -1
- package/esm/auth/browser/portal.js +2 -0
- package/esm/auth/browser.d.ts +2 -0
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +1 -0
- package/esm/auth/browser_recovery.d.ts +22 -0
- package/esm/auth/browser_recovery.d.ts.map +1 -0
- package/esm/auth/browser_recovery.js +238 -0
- package/esm/auth/mod.d.ts +2 -2
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +2 -2
- package/esm/auth/protocol.d.ts +362 -398
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +36 -33
- package/esm/browser.d.ts +2 -2
- package/esm/browser.d.ts.map +1 -1
- package/esm/browser.js +1 -1
- package/esm/client_connect.js +1 -1
- package/esm/generated-sdk/auth/contract.d.ts +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +1236 -1079
- package/esm/generated-sdk/auth/schemas.d.ts +1428 -1578
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +725 -669
- package/esm/generated-sdk/auth/types.d.ts +239 -281
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/package.json +2 -2
- package/script/auth/browser/portal.d.ts.map +1 -1
- package/script/auth/browser/portal.js +2 -0
- package/script/auth/browser.d.ts +2 -0
- package/script/auth/browser.d.ts.map +1 -1
- package/script/auth/browser.js +4 -1
- package/script/auth/browser_recovery.d.ts +22 -0
- package/script/auth/browser_recovery.d.ts.map +1 -0
- package/script/auth/browser_recovery.js +242 -0
- package/script/auth/mod.d.ts +2 -2
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +17 -6
- package/script/auth/protocol.d.ts +362 -398
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +41 -37
- package/script/browser.d.ts +2 -2
- package/script/browser.d.ts.map +1 -1
- package/script/browser.js +4 -2
- package/script/client_connect.js +1 -1
- package/script/generated-sdk/auth/contract.d.ts +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +1236 -1079
- package/script/generated-sdk/auth/schemas.d.ts +1428 -1578
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +725 -669
- package/script/generated-sdk/auth/types.d.ts +239 -281
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/src/auth/browser/portal.ts +1 -0
- package/src/auth/browser.ts +8 -0
- package/src/auth/browser_recovery.ts +319 -0
- package/src/auth/mod.ts +25 -2
- package/src/auth/protocol.ts +73 -37
- package/src/browser.ts +4 -0
- package/src/client_connect.ts +1 -1
- package/src/sdk/_generated/auth/contract.ts +1477 -1320
- package/src/sdk/_generated/auth/schemas.ts +919 -863
- package/src/sdk/_generated/auth/types.ts +242 -304
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/** Browser auth recovery classification helpers. */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.classifyBrowserAuthError = classifyBrowserAuthError;
|
|
5
|
+
exports.isRecoverableBrowserAuthError = isRecoverableBrowserAuthError;
|
|
6
|
+
const MAX_ERROR_DEPTH = 8;
|
|
7
|
+
function isRecord(value) {
|
|
8
|
+
return value !== null && typeof value === "object";
|
|
9
|
+
}
|
|
10
|
+
function stringProperty(record, property) {
|
|
11
|
+
const value = record[property];
|
|
12
|
+
return typeof value === "string" ? value : undefined;
|
|
13
|
+
}
|
|
14
|
+
function normalize(value) {
|
|
15
|
+
return value.trim().toLowerCase().replaceAll("-", "_").replaceAll(" ", "_");
|
|
16
|
+
}
|
|
17
|
+
function signalValue(signal) {
|
|
18
|
+
return signal.code ?? signal.reason ?? signal.message;
|
|
19
|
+
}
|
|
20
|
+
function classification(kind, recoverable, signal) {
|
|
21
|
+
const reason = signal?.reason ?? signalValue(signal ?? {});
|
|
22
|
+
return {
|
|
23
|
+
kind,
|
|
24
|
+
recoverable,
|
|
25
|
+
...(reason ? { reason } : {}),
|
|
26
|
+
...(signal?.code ? { code: signal.code } : {}),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function maybeSerializable(value) {
|
|
30
|
+
if (!isRecord(value))
|
|
31
|
+
return undefined;
|
|
32
|
+
const toSerializable = value.toSerializable;
|
|
33
|
+
if (typeof toSerializable !== "function")
|
|
34
|
+
return undefined;
|
|
35
|
+
try {
|
|
36
|
+
return toSerializable.call(value);
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function pushRecordSignals(record, signals, queue) {
|
|
43
|
+
const message = stringProperty(record, "message");
|
|
44
|
+
const code = stringProperty(record, "code") ??
|
|
45
|
+
stringProperty(record, "error");
|
|
46
|
+
const reason = stringProperty(record, "reason") ??
|
|
47
|
+
stringProperty(record, "status");
|
|
48
|
+
if (message || code || reason) {
|
|
49
|
+
signals.push({
|
|
50
|
+
...(code ? { code } : {}),
|
|
51
|
+
...(reason ? { reason } : {}),
|
|
52
|
+
...(message ? { message } : {}),
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
const context = record.context;
|
|
56
|
+
if (isRecord(context)) {
|
|
57
|
+
const contextReason = stringProperty(context, "reason");
|
|
58
|
+
const causeMessage = stringProperty(context, "causeMessage");
|
|
59
|
+
const contextCode = stringProperty(context, "code");
|
|
60
|
+
const contextMessage = stringProperty(context, "message");
|
|
61
|
+
if (contextReason || causeMessage || contextCode || contextMessage) {
|
|
62
|
+
signals.push({
|
|
63
|
+
...(contextCode ? { code: contextCode } : {}),
|
|
64
|
+
...(contextReason ? { reason: contextReason } : {}),
|
|
65
|
+
...(causeMessage ?? contextMessage
|
|
66
|
+
? { message: causeMessage ?? contextMessage }
|
|
67
|
+
: {}),
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
for (const nested of [context.cause, context.error, context.remoteError]) {
|
|
71
|
+
if (nested !== undefined)
|
|
72
|
+
queue.push(nested);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
for (const nested of [record.cause, record.error, record.remoteError]) {
|
|
76
|
+
if (nested !== undefined)
|
|
77
|
+
queue.push(nested);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function collectErrorSignals(error) {
|
|
81
|
+
const signals = [];
|
|
82
|
+
const queue = [error];
|
|
83
|
+
const seen = new WeakSet();
|
|
84
|
+
let depth = 0;
|
|
85
|
+
while (queue.length > 0 && depth < MAX_ERROR_DEPTH) {
|
|
86
|
+
depth += 1;
|
|
87
|
+
const value = queue.shift();
|
|
88
|
+
if (typeof value === "string") {
|
|
89
|
+
signals.push({ message: value });
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
if (!isRecord(value))
|
|
93
|
+
continue;
|
|
94
|
+
if (seen.has(value))
|
|
95
|
+
continue;
|
|
96
|
+
seen.add(value);
|
|
97
|
+
if (value instanceof Error) {
|
|
98
|
+
signals.push({ message: value.message });
|
|
99
|
+
}
|
|
100
|
+
pushRecordSignals(value, signals, queue);
|
|
101
|
+
const serialized = maybeSerializable(value);
|
|
102
|
+
if (serialized && serialized !== value)
|
|
103
|
+
queue.push(serialized);
|
|
104
|
+
}
|
|
105
|
+
return signals;
|
|
106
|
+
}
|
|
107
|
+
function hasNormalizedValue(signals, values) {
|
|
108
|
+
for (const signal of signals) {
|
|
109
|
+
for (const value of [signal.code, signal.reason]) {
|
|
110
|
+
if (value && values.has(normalize(value)))
|
|
111
|
+
return signal;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return undefined;
|
|
115
|
+
}
|
|
116
|
+
function hasMessagePattern(signals, patterns) {
|
|
117
|
+
for (const signal of signals) {
|
|
118
|
+
const message = signal.message;
|
|
119
|
+
if (!message)
|
|
120
|
+
continue;
|
|
121
|
+
const normalized = message.toLowerCase();
|
|
122
|
+
if (patterns.some((pattern) => pattern.test(normalized)))
|
|
123
|
+
return signal;
|
|
124
|
+
}
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
function insufficientPermissionsAuthSignal(signals) {
|
|
128
|
+
for (const signal of signals) {
|
|
129
|
+
const reason = signal.reason ? normalize(signal.reason) : undefined;
|
|
130
|
+
const code = signal.code ? normalize(signal.code) : undefined;
|
|
131
|
+
if (reason !== "insufficient_permissions")
|
|
132
|
+
continue;
|
|
133
|
+
if (code === "trellis.bootstrap.auth_required")
|
|
134
|
+
return signal;
|
|
135
|
+
const message = signal.message?.toLowerCase() ?? "";
|
|
136
|
+
if (message.includes("auth required") ||
|
|
137
|
+
message.includes("requires sign-in") ||
|
|
138
|
+
message.includes("requires signin") ||
|
|
139
|
+
message.includes("stale") ||
|
|
140
|
+
message.includes("session")) {
|
|
141
|
+
return signal;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return undefined;
|
|
145
|
+
}
|
|
146
|
+
const APPROVAL_DENIED_VALUES = new Set([
|
|
147
|
+
"approval_denied",
|
|
148
|
+
"trellis.auth.approval_denied",
|
|
149
|
+
]);
|
|
150
|
+
const INSUFFICIENT_CAPABILITIES_VALUES = new Set([
|
|
151
|
+
"insufficient_capabilities",
|
|
152
|
+
"trellis.auth.insufficient_capabilities",
|
|
153
|
+
]);
|
|
154
|
+
const RUNTIME_UNAVAILABLE_VALUES = new Set([
|
|
155
|
+
"trellis.bootstrap.not_ready",
|
|
156
|
+
"trellis.runtime.unavailable",
|
|
157
|
+
"runtime_unavailable",
|
|
158
|
+
]);
|
|
159
|
+
const EXPIRED_FLOW_VALUES = new Set([
|
|
160
|
+
"flow_expired",
|
|
161
|
+
"expired",
|
|
162
|
+
"trellis.auth.bind_expired",
|
|
163
|
+
"trellis.auth.flow_expired",
|
|
164
|
+
]);
|
|
165
|
+
const STALE_SESSION_VALUES = new Set([
|
|
166
|
+
"session_not_found",
|
|
167
|
+
"session_expired",
|
|
168
|
+
"user_not_found",
|
|
169
|
+
"contract_not_active",
|
|
170
|
+
"trellis.auth.session_not_found",
|
|
171
|
+
"trellis.auth.session_expired",
|
|
172
|
+
"trellis.auth.user_not_found",
|
|
173
|
+
"trellis.auth.contract_not_active",
|
|
174
|
+
]);
|
|
175
|
+
const AUTH_REQUIRED_VALUES = new Set([
|
|
176
|
+
"auth_required",
|
|
177
|
+
"trellis.bootstrap.auth_required",
|
|
178
|
+
"trellis.auth.login_failed",
|
|
179
|
+
]);
|
|
180
|
+
/**
|
|
181
|
+
* Classifies browser auth, bootstrap, callback, and transport-like failures.
|
|
182
|
+
*
|
|
183
|
+
* The classifier accepts raw errors, serialized Trellis errors, nested causes,
|
|
184
|
+
* and nested remote errors. Recoverable classifications are intended for
|
|
185
|
+
* app-owned flows that can clear stale auth and restart sign-in without showing a
|
|
186
|
+
* user-facing terminal error.
|
|
187
|
+
*/
|
|
188
|
+
function classifyBrowserAuthError(error) {
|
|
189
|
+
const signals = collectErrorSignals(error);
|
|
190
|
+
const approvalDenied = hasNormalizedValue(signals, APPROVAL_DENIED_VALUES) ??
|
|
191
|
+
hasMessagePattern(signals, [/approval .*denied/, /access .*denied/]);
|
|
192
|
+
if (approvalDenied) {
|
|
193
|
+
return classification("policy_denied", false, approvalDenied);
|
|
194
|
+
}
|
|
195
|
+
const inactiveOrInvalid = hasNormalizedValue(signals, new Set(["invalid_credentials", "user_inactive", "inactive_account"])) ?? hasMessagePattern(signals, [
|
|
196
|
+
/invalid credential/,
|
|
197
|
+
/inactive account/,
|
|
198
|
+
/user inactive/,
|
|
199
|
+
]);
|
|
200
|
+
if (inactiveOrInvalid) {
|
|
201
|
+
return classification("policy_denied", false, inactiveOrInvalid);
|
|
202
|
+
}
|
|
203
|
+
const insufficientCapabilities = hasNormalizedValue(signals, INSUFFICIENT_CAPABILITIES_VALUES) ?? hasMessagePattern(signals, [/insufficient capabilit/]);
|
|
204
|
+
if (insufficientCapabilities) {
|
|
205
|
+
return classification("insufficient_capabilities", false, insufficientCapabilities);
|
|
206
|
+
}
|
|
207
|
+
const runtimeUnavailable = hasNormalizedValue(signals, RUNTIME_UNAVAILABLE_VALUES) ?? hasMessagePattern(signals, [/runtime unavailable/]);
|
|
208
|
+
if (runtimeUnavailable) {
|
|
209
|
+
return classification("runtime_unavailable", false, runtimeUnavailable);
|
|
210
|
+
}
|
|
211
|
+
const expiredFlow = hasNormalizedValue(signals, EXPIRED_FLOW_VALUES) ??
|
|
212
|
+
hasMessagePattern(signals, [/flow .*expired/, /sign\-in .*expired/]);
|
|
213
|
+
if (expiredFlow) {
|
|
214
|
+
return classification("recoverable_expired_flow", true, expiredFlow);
|
|
215
|
+
}
|
|
216
|
+
const staleSession = hasNormalizedValue(signals, STALE_SESSION_VALUES) ??
|
|
217
|
+
hasMessagePattern(signals, [
|
|
218
|
+
/session .*expired/,
|
|
219
|
+
/session .*not found/,
|
|
220
|
+
/user .*not found/,
|
|
221
|
+
/contract .*not active/,
|
|
222
|
+
]);
|
|
223
|
+
if (staleSession) {
|
|
224
|
+
return classification("recoverable_stale_session", true, staleSession);
|
|
225
|
+
}
|
|
226
|
+
const authRequired = hasNormalizedValue(signals, AUTH_REQUIRED_VALUES) ??
|
|
227
|
+
insufficientPermissionsAuthSignal(signals) ??
|
|
228
|
+
hasMessagePattern(signals, [
|
|
229
|
+
/auth required/,
|
|
230
|
+
/requires sign\-in/,
|
|
231
|
+
/requires signin/,
|
|
232
|
+
/requires authentication/,
|
|
233
|
+
]);
|
|
234
|
+
if (authRequired) {
|
|
235
|
+
return classification("recoverable_auth_required", true, authRequired);
|
|
236
|
+
}
|
|
237
|
+
return classification("unknown", false);
|
|
238
|
+
}
|
|
239
|
+
/** Returns whether a browser auth error can silently restart sign-in. */
|
|
240
|
+
function isRecoverableBrowserAuthError(error) {
|
|
241
|
+
return classifyBrowserAuthError(error).recoverable;
|
|
242
|
+
}
|
package/script/auth/mod.d.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* - Services load their session key seed from `TRELLIS_SESSION_KEY_SEED`.
|
|
9
9
|
*/
|
|
10
10
|
export { type AuthDeviceUserAuthoritiesListInput, type AuthDeviceUserAuthoritiesListOutput, type AuthDeviceUserAuthoritiesRevokeInput, type AuthDeviceUserAuthoritiesRevokeResponse, type AuthResolveDeviceUserAuthoritiesInput, type AuthResolveDeviceUserAuthoritiesOperation, type AuthResolveDeviceUserAuthoritiesOutput, type AuthResolveDeviceUserAuthoritiesProgress, buildDeviceActivationPayload, buildDeviceWaitProofInput, createDeviceActivationClient, createDeviceNatsAuthToken, deriveDeviceConfirmationCode, deriveDeviceIdentity, deriveDeviceQrMac, type DeviceActivationPayload, type DeviceActivationTransport, type DeviceActivationWaitRequest, type DeviceIdentity, encodeDeviceActivationPayload, getDeviceConnectInfo, type GetDeviceConnectInfoInput, type GetDeviceConnectInfoOutput, parseDeviceActivationPayload, signDeviceWaitRequest, startDeviceActivationRequest, verifyDeviceConfirmationCode, verifyDeviceWaitSignature, waitForDeviceActivation, type WaitForDeviceActivationResponse, } from "./device_activation.js";
|
|
11
|
-
export { type AuthConfig, bindFlow, buildLoginUrl, clearSessionKey, createRpcProof, fetchPortalFlowState, generateSessionKey, getOrCreateSessionKey, getPublicSessionKey, hasSessionKey, isBindSuccessResponse, loadSessionKey, natsConnectSigForIat, portalFlowIdFromUrl, portalProviderLoginUrl, portalRedirectLocation, type SessionKeyHandle, type SessionKeyOptions, type SessionKeyPersistenceMode, signBytes, startAuthRequest, submitPortalApproval, } from "./browser.js";
|
|
11
|
+
export { type AuthConfig, bindFlow, type BrowserAuthRecoveryClassification, type BrowserAuthRecoveryKind, buildLoginUrl, classifyBrowserAuthError, clearSessionKey, createRpcProof, fetchPortalFlowState, generateSessionKey, getOrCreateSessionKey, getPublicSessionKey, hasSessionKey, isBindSuccessResponse, isRecoverableBrowserAuthError, loadSessionKey, natsConnectSigForIat, portalFlowIdFromUrl, portalProviderLoginUrl, portalRedirectLocation, type SessionKeyHandle, type SessionKeyOptions, type SessionKeyPersistenceMode, signBytes, startAuthRequest, submitPortalApproval, } from "./browser.js";
|
|
12
12
|
export { buildProofInput, createProof, type ProofParams, verifyProof, } from "./proof.js";
|
|
13
|
-
export { ApprovalRecordViewSchema, AuthCapabilitiesListResponseSchema, AuthCapabilitiesListSchema, AuthCapabilityGroupsDeleteResponseSchema, AuthCapabilityGroupsDeleteSchema, AuthCapabilityGroupsGetResponseSchema, AuthCapabilityGroupsGetSchema, AuthCapabilityGroupsListResponseSchema, AuthCapabilityGroupsListSchema, AuthCapabilityGroupsPutResponseSchema, AuthCapabilityGroupsPutSchema, type AuthDeployment, type AuthDeploymentAuthorityAcceptMigrationInput, AuthDeploymentAuthorityAcceptMigrationSchema, type AuthDeploymentAuthorityAcceptResponse, AuthDeploymentAuthorityAcceptResponseSchema, type AuthDeploymentAuthorityAcceptUpdateInput, AuthDeploymentAuthorityAcceptUpdateSchema, type AuthDeploymentAuthorityGetInput, type AuthDeploymentAuthorityGetResponse, AuthDeploymentAuthorityGetResponseSchema, AuthDeploymentAuthorityGetSchema, type AuthDeploymentAuthorityGrantOverridesListInput, type AuthDeploymentAuthorityGrantOverridesListResponse, AuthDeploymentAuthorityGrantOverridesListResponseSchema, AuthDeploymentAuthorityGrantOverridesListSchema, type AuthDeploymentAuthorityGrantOverridesPutInput, AuthDeploymentAuthorityGrantOverridesPutSchema, type AuthDeploymentAuthorityGrantOverridesRemoveInput, AuthDeploymentAuthorityGrantOverridesRemoveSchema, type AuthDeploymentAuthorityGrantOverridesResponse, AuthDeploymentAuthorityGrantOverridesResponseSchema, type AuthDeploymentAuthorityListInput, type AuthDeploymentAuthorityListResponse, AuthDeploymentAuthorityListResponseSchema, AuthDeploymentAuthorityListSchema, type AuthDeploymentAuthorityPlanInput, type AuthDeploymentAuthorityPlanResponse, AuthDeploymentAuthorityPlanResponseSchema, AuthDeploymentAuthorityPlanSchema, type AuthDeploymentAuthorityPlansGetInput, type AuthDeploymentAuthorityPlansGetResponse, AuthDeploymentAuthorityPlansGetResponseSchema, AuthDeploymentAuthorityPlansGetSchema, type AuthDeploymentAuthorityPlansListInput, type AuthDeploymentAuthorityPlansListResponse, AuthDeploymentAuthorityPlansListResponseSchema, AuthDeploymentAuthorityPlansListSchema, type AuthDeploymentAuthorityReconcileInput, type AuthDeploymentAuthorityReconcileResponse, AuthDeploymentAuthorityReconcileResponseSchema, AuthDeploymentAuthorityReconcileSchema, type AuthDeploymentAuthorityRejectInput, type AuthDeploymentAuthorityRejectResponse, AuthDeploymentAuthorityRejectResponseSchema, AuthDeploymentAuthorityRejectSchema, type AuthDeploymentKind, AuthDeploymentKindSchema, AuthDeploymentSchema, AuthDeploymentsCreateResponseSchema, AuthDeploymentsCreateSchema, AuthDeploymentsDisableResponseSchema, AuthDeploymentsDisableSchema, AuthDeploymentsEnableResponseSchema, AuthDeploymentsEnableSchema, AuthDeploymentsListResponseSchema, AuthDeploymentsListSchema, AuthDeploymentsRemoveResponseSchema, AuthDeploymentsRemoveSchema, AuthDevicesConnectInfoGetResponseSchema, AuthDevicesConnectInfoGetSchema, AuthDevicesDisableResponseSchema, AuthDevicesDisableSchema, AuthDevicesEnableResponseSchema, AuthDevicesEnableSchema, AuthDevicesListResponseSchema, AuthDevicesListSchema, AuthDevicesProvisionResponseSchema, AuthDevicesProvisionSchema, AuthDevicesRemoveResponseSchema, AuthDevicesRemoveSchema, AuthDeviceUserAuthoritiesApprovedEventSchema, AuthDeviceUserAuthoritiesListResponseSchema, AuthDeviceUserAuthoritiesListSchema, AuthDeviceUserAuthoritiesRequestedEventSchema, AuthDeviceUserAuthoritiesResolvedEventSchema, AuthDeviceUserAuthoritiesReviewRequestedEventSchema, AuthDeviceUserAuthoritiesReviewsDecideResponseSchema, AuthDeviceUserAuthoritiesReviewsDecideSchema, AuthDeviceUserAuthoritiesReviewsListResponseSchema, AuthDeviceUserAuthoritiesReviewsListSchema, AuthDeviceUserAuthoritiesRevokeResponseSchema, AuthDeviceUserAuthoritiesRevokeSchema, type AuthenticatedDevice, AuthenticatedDeviceSchema, type AuthenticatedService, type AuthenticatedUser, AuthIdentitiesListResponseSchema, AuthIdentitiesListSchema, AuthIdentityGrantsListResponseSchema, AuthIdentityGrantsListSchema, AuthIdentityGrantsRevokeResponseSchema, AuthIdentityGrantsRevokeSchema, AuthPortalsGetResponseSchema, AuthPortalsGetSchema, AuthPortalsListResponseSchema, AuthPortalsListSchema, AuthPortalsLoginSettingsGetSchema, AuthPortalsLoginSettingsResponseSchema, AuthPortalsLoginSettingsUpdateSchema, AuthPortalsRoutesPutResponseSchema, AuthPortalsRoutesPutSchema, AuthPortalsRoutesRemoveResponseSchema, AuthPortalsRoutesRemoveSchema, AuthRequestsValidateResponseSchema, AuthRequestsValidateSchema, AuthResolveDeviceUserAuthoritiesProgressSchema, AuthResolveDeviceUserAuthoritiesResponseSchema, AuthResolveDeviceUserAuthoritiesSchema, AuthServiceInstancesDisableResponseSchema, AuthServiceInstancesDisableSchema, AuthServiceInstancesEnableResponseSchema, AuthServiceInstancesEnableSchema, AuthServiceInstancesListResponseSchema, AuthServiceInstancesListSchema, AuthServiceInstancesProvisionResponseSchema, AuthServiceInstancesProvisionSchema, AuthServiceInstancesRemoveResponseSchema, AuthServiceInstancesRemoveSchema, type AuthSessionsMeResponse, AuthSessionsMeResponseSchema, AuthSessionsMeSchema, AuthUserIdentitiesListResponseSchema, AuthUserIdentitiesListSchema, AuthUserIdentitiesUnlinkResponseSchema, AuthUserIdentitiesUnlinkSchema, AuthUsersAccountFlowCreateResponseSchema, AuthUsersCreateResponseSchema, AuthUsersCreateSchema, AuthUsersGetResponseSchema, AuthUsersGetSchema, AuthUsersIdentityLinkCreateSchema, AuthUsersListResponseSchema, AuthUsersListSchema, AuthUsersPasswordChangeResponseSchema, AuthUsersPasswordChangeSchema, AuthUsersPasswordResetCreateSchema, AuthUsersUpdateResponseSchema, AuthUsersUpdateSchema, CallerViewSchema, ContractAnalysisSchema, ContractAnalysisSummarySchema, type DeploymentAuthority, type DeploymentAuthorityCapability, DeploymentAuthorityCapabilitySchema, type DeploymentAuthorityGrantOverride, DeploymentAuthorityGrantOverrideSchema, type DeploymentAuthorityKind, DeploymentAuthorityKindSchema, type DeploymentAuthorityMaterialization, DeploymentAuthorityMaterializationSchema, type DeploymentAuthorityMigration, DeploymentAuthorityMigrationSchema, type
|
|
13
|
+
export { ApprovalRecordViewSchema, AuthCapabilitiesListResponseSchema, AuthCapabilitiesListSchema, AuthCapabilityGroupsDeleteResponseSchema, AuthCapabilityGroupsDeleteSchema, AuthCapabilityGroupsGetResponseSchema, AuthCapabilityGroupsGetSchema, AuthCapabilityGroupsListResponseSchema, AuthCapabilityGroupsListSchema, AuthCapabilityGroupsPutResponseSchema, AuthCapabilityGroupsPutSchema, type AuthDeployment, type AuthDeploymentAuthorityAcceptMigrationInput, AuthDeploymentAuthorityAcceptMigrationSchema, type AuthDeploymentAuthorityAcceptResponse, AuthDeploymentAuthorityAcceptResponseSchema, type AuthDeploymentAuthorityAcceptUpdateInput, AuthDeploymentAuthorityAcceptUpdateSchema, type AuthDeploymentAuthorityGetInput, type AuthDeploymentAuthorityGetResponse, AuthDeploymentAuthorityGetResponseSchema, AuthDeploymentAuthorityGetSchema, type AuthDeploymentAuthorityGrantOverridesListInput, type AuthDeploymentAuthorityGrantOverridesListResponse, AuthDeploymentAuthorityGrantOverridesListResponseSchema, AuthDeploymentAuthorityGrantOverridesListSchema, type AuthDeploymentAuthorityGrantOverridesPutInput, AuthDeploymentAuthorityGrantOverridesPutSchema, type AuthDeploymentAuthorityGrantOverridesRemoveInput, AuthDeploymentAuthorityGrantOverridesRemoveSchema, type AuthDeploymentAuthorityGrantOverridesResponse, AuthDeploymentAuthorityGrantOverridesResponseSchema, type AuthDeploymentAuthorityListInput, type AuthDeploymentAuthorityListResponse, AuthDeploymentAuthorityListResponseSchema, AuthDeploymentAuthorityListSchema, type AuthDeploymentAuthorityPlanInput, type AuthDeploymentAuthorityPlanResponse, AuthDeploymentAuthorityPlanResponseSchema, AuthDeploymentAuthorityPlanSchema, type AuthDeploymentAuthorityPlansGetInput, type AuthDeploymentAuthorityPlansGetResponse, AuthDeploymentAuthorityPlansGetResponseSchema, AuthDeploymentAuthorityPlansGetSchema, type AuthDeploymentAuthorityPlansListInput, type AuthDeploymentAuthorityPlansListResponse, AuthDeploymentAuthorityPlansListResponseSchema, AuthDeploymentAuthorityPlansListSchema, type AuthDeploymentAuthorityReconcileInput, type AuthDeploymentAuthorityReconcileResponse, AuthDeploymentAuthorityReconcileResponseSchema, AuthDeploymentAuthorityReconcileSchema, type AuthDeploymentAuthorityRejectInput, type AuthDeploymentAuthorityRejectResponse, AuthDeploymentAuthorityRejectResponseSchema, AuthDeploymentAuthorityRejectSchema, type AuthDeploymentKind, AuthDeploymentKindSchema, AuthDeploymentSchema, AuthDeploymentsCreateResponseSchema, AuthDeploymentsCreateSchema, AuthDeploymentsDisableResponseSchema, AuthDeploymentsDisableSchema, AuthDeploymentsEnableResponseSchema, AuthDeploymentsEnableSchema, AuthDeploymentsListResponseSchema, AuthDeploymentsListSchema, AuthDeploymentsRemoveResponseSchema, AuthDeploymentsRemoveSchema, AuthDevicesConnectInfoGetResponseSchema, AuthDevicesConnectInfoGetSchema, AuthDevicesDisableResponseSchema, AuthDevicesDisableSchema, AuthDevicesEnableResponseSchema, AuthDevicesEnableSchema, AuthDevicesListResponseSchema, AuthDevicesListSchema, AuthDevicesProvisionResponseSchema, AuthDevicesProvisionSchema, AuthDevicesRemoveResponseSchema, AuthDevicesRemoveSchema, AuthDeviceUserAuthoritiesApprovedEventSchema, AuthDeviceUserAuthoritiesListResponseSchema, AuthDeviceUserAuthoritiesListSchema, AuthDeviceUserAuthoritiesRequestedEventSchema, AuthDeviceUserAuthoritiesResolvedEventSchema, AuthDeviceUserAuthoritiesReviewRequestedEventSchema, AuthDeviceUserAuthoritiesReviewsDecideResponseSchema, AuthDeviceUserAuthoritiesReviewsDecideSchema, AuthDeviceUserAuthoritiesReviewsListResponseSchema, AuthDeviceUserAuthoritiesReviewsListSchema, AuthDeviceUserAuthoritiesRevokeResponseSchema, AuthDeviceUserAuthoritiesRevokeSchema, type AuthenticatedDevice, AuthenticatedDeviceSchema, type AuthenticatedService, type AuthenticatedUser, AuthIdentitiesListResponseSchema, AuthIdentitiesListSchema, AuthIdentityGrantsListResponseSchema, AuthIdentityGrantsListSchema, AuthIdentityGrantsRevokeResponseSchema, AuthIdentityGrantsRevokeSchema, AuthPortalsGetResponseSchema, AuthPortalsGetSchema, AuthPortalsListResponseSchema, AuthPortalsListSchema, AuthPortalsLoginSettingsGetSchema, AuthPortalsLoginSettingsResponseSchema, AuthPortalsLoginSettingsUpdateSchema, AuthPortalsRoutesPutResponseSchema, AuthPortalsRoutesPutSchema, AuthPortalsRoutesRemoveResponseSchema, AuthPortalsRoutesRemoveSchema, AuthRequestsValidateResponseSchema, AuthRequestsValidateSchema, AuthResolveDeviceUserAuthoritiesProgressSchema, AuthResolveDeviceUserAuthoritiesResponseSchema, AuthResolveDeviceUserAuthoritiesSchema, AuthServiceInstancesDisableResponseSchema, AuthServiceInstancesDisableSchema, AuthServiceInstancesEnableResponseSchema, AuthServiceInstancesEnableSchema, AuthServiceInstancesListResponseSchema, AuthServiceInstancesListSchema, AuthServiceInstancesProvisionResponseSchema, AuthServiceInstancesProvisionSchema, AuthServiceInstancesRemoveResponseSchema, AuthServiceInstancesRemoveSchema, type AuthSessionsMeResponse, AuthSessionsMeResponseSchema, AuthSessionsMeSchema, AuthUserIdentitiesListResponseSchema, AuthUserIdentitiesListSchema, AuthUserIdentitiesUnlinkResponseSchema, AuthUserIdentitiesUnlinkSchema, AuthUsersAccountFlowCreateResponseSchema, AuthUsersCreateResponseSchema, AuthUsersCreateSchema, AuthUsersGetResponseSchema, AuthUsersGetSchema, AuthUsersIdentityLinkCreateSchema, AuthUsersListResponseSchema, AuthUsersListSchema, AuthUsersPasswordChangeResponseSchema, AuthUsersPasswordChangeSchema, AuthUsersPasswordResetCreateSchema, AuthUsersUpdateResponseSchema, AuthUsersUpdateSchema, CallerViewSchema, ContractAnalysisSchema, ContractAnalysisSummarySchema, type DeploymentAuthority, type DeploymentAuthorityCapability, type DeploymentAuthorityCapabilityNeed, DeploymentAuthorityCapabilityNeedSchema, DeploymentAuthorityCapabilitySchema, type DeploymentAuthorityContractNeed, DeploymentAuthorityContractNeedSchema, type DeploymentAuthorityGrantOverride, DeploymentAuthorityGrantOverrideSchema, type DeploymentAuthorityKind, DeploymentAuthorityKindSchema, type DeploymentAuthorityMaterialization, DeploymentAuthorityMaterializationSchema, type DeploymentAuthorityMigration, DeploymentAuthorityMigrationSchema, type DeploymentAuthorityNeeds, DeploymentAuthorityNeedsSchema, type DeploymentAuthorityPlan, DeploymentAuthorityPlanSchema, type DeploymentAuthorityProposal, DeploymentAuthorityProposalSchema, type DeploymentAuthorityReconciliationStatus, DeploymentAuthorityReconciliationStatusSchema, type DeploymentAuthorityResource, DeploymentAuthorityResourceKindSchema, type DeploymentAuthorityResourceNeed, DeploymentAuthorityResourceNeedSchema, DeploymentAuthorityResourceSchema, DeploymentAuthoritySchema, type DeploymentAuthoritySurface, DeploymentAuthoritySurfaceActionSchema, DeploymentAuthoritySurfaceKindSchema, type DeploymentAuthoritySurfaceNeed, DeploymentAuthoritySurfaceNeedSchema, DeploymentAuthoritySurfaceSchema, type DeploymentAuthorityUpdate, DeploymentAuthorityUpdateSchema, DeploymentPortalRouteSchema, DeploymentResourceBindingSchema, type DeviceActivationRecord, DeviceActivationRecordSchema, DeviceActivationReviewSchema, DeviceConnectInfoSchema, DeviceDeploymentSchema, DeviceSchema, DigestSchema, type FlowRegistrationAvailability, FlowRegistrationAvailabilitySchema, IdentityGrantViewSchema, ImplementationOfferSchema, type LoginPortalRecord, LoginPortalRecordSchema, type LoginPortalRoute, LoginPortalRouteSchema, type LoginPortalSettings, LoginPortalSettingsSchema, type LoginPortalSummary, LoginPortalSummarySchema, type MaterializedAuthorityCapabilityGrant, MaterializedAuthorityCapabilityGrantSchema, type MaterializedAuthorityGrant, type MaterializedAuthorityGrants, MaterializedAuthorityGrantsSchema, type MaterializedAuthorityNatsGrant, MaterializedAuthorityNatsGrantSchema, type MaterializedAuthorityNatsGrantSource, MaterializedAuthorityNatsGrantSourceSchema, type MaterializedAuthoritySurfaceGrant, MaterializedAuthoritySurfaceGrantSchema, OpenObjectSchema, type ParticipantKind, ParticipantKindSchema, type PortalFlowApp, type PortalFlowApproval, type PortalFlowApprovalDeniedState, type PortalFlowApprovalRequiredState, type PortalFlowChooseProviderState, type PortalFlowExpiredState, type PortalFlowInsufficientCapabilitiesState, type PortalFlowProvider, type PortalFlowRedirectState, type PortalFlowState, PortalFlowStateSchema, type PortalFlowUser, ServiceDeploymentSchema, ServiceInstanceSchema, UserViewSchema, WaitForDeviceActivationRequestSchema, WaitForDeviceActivationResponseSchema, } from "./protocol.js";
|
|
14
14
|
export { approvalCapabilityKeys, type ApprovalDecision, ApprovalDecisionSchema, type AuthStartFlowResponse, AuthStartFlowResponseSchema, type AuthStartRequest, AuthStartRequestSchema, type AuthStartResponse, AuthStartResponseSchema, type BindResponse, BindResponseSchema, type BindSuccessResponse, BindSuccessResponseSchema, type ClientTransportEndpoints, ClientTransportEndpointsSchema, type ClientTransports, ClientTransportsSchema, type ContractApproval, type ContractApprovalCapability, ContractApprovalSchema, type NatsAuthTokenV1, NatsAuthTokenV1Schema, type SentinelCreds, SentinelCredsSchema, type UserParticipantKind, UserParticipantKindSchema, } from "./schemas.js";
|
|
15
15
|
export { buildNatsConnectSignaturePayload, createAuth, type NatsConnectOptions, type TrellisAuth, } from "./session_auth.js";
|
|
16
16
|
export { correctedIatSeconds, estimateMidpointClockOffsetMs } from "./time.js";
|
package/script/auth/mod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|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KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,EAC5C,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,cAAc,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,oCAAoC,EACpC,qCAAqC,GACtC,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,YAAY,EACjB,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,yBAAyB,EACzB,KAAK,wBAAwB,EAC7B,8BAA8B,EAC9B,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,sBAAsB,EACtB,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,aAAa,EAClB,mBAAmB,EACnB,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,gCAAgC,EAChC,UAAU,EACV,KAAK,kBAAkB,EACvB,KAAK,WAAW,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EACL,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,aAAa,EACb,IAAI,GACL,MAAM,YAAY,CAAC"}
|
package/script/auth/mod.js
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* - Services load their session key seed from `TRELLIS_SESSION_KEY_SEED`.
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.utf8 = exports.toArrayBuffer = exports.sha256 = exports.canonicalizeJsonValue = exports.base64urlEncode = exports.base64urlDecode = exports.trellisIdFromOriginId = exports.estimateMidpointClockOffsetMs = exports.correctedIatSeconds = exports.createAuth = exports.buildNatsConnectSignaturePayload = exports.UserParticipantKindSchema = exports.SentinelCredsSchema = exports.NatsAuthTokenV1Schema = exports.ContractApprovalSchema = exports.ClientTransportsSchema = exports.ClientTransportEndpointsSchema = exports.BindSuccessResponseSchema = exports.BindResponseSchema = exports.AuthStartResponseSchema = exports.AuthStartRequestSchema = exports.AuthStartFlowResponseSchema = exports.ApprovalDecisionSchema = void 0;
|
|
12
|
+
exports.AuthDeploymentAuthorityAcceptMigrationSchema = exports.AuthCapabilityGroupsPutSchema = exports.AuthCapabilityGroupsPutResponseSchema = exports.AuthCapabilityGroupsListSchema = exports.AuthCapabilityGroupsListResponseSchema = exports.AuthCapabilityGroupsGetSchema = exports.AuthCapabilityGroupsGetResponseSchema = exports.AuthCapabilityGroupsDeleteSchema = exports.AuthCapabilityGroupsDeleteResponseSchema = exports.AuthCapabilitiesListSchema = exports.AuthCapabilitiesListResponseSchema = exports.ApprovalRecordViewSchema = exports.verifyProof = exports.createProof = exports.buildProofInput = exports.submitPortalApproval = exports.startAuthRequest = exports.signBytes = exports.portalRedirectLocation = exports.portalProviderLoginUrl = exports.portalFlowIdFromUrl = exports.natsConnectSigForIat = exports.loadSessionKey = exports.isRecoverableBrowserAuthError = exports.isBindSuccessResponse = exports.hasSessionKey = exports.getPublicSessionKey = exports.getOrCreateSessionKey = exports.generateSessionKey = exports.fetchPortalFlowState = exports.createRpcProof = exports.clearSessionKey = exports.classifyBrowserAuthError = exports.buildLoginUrl = exports.bindFlow = exports.waitForDeviceActivation = exports.verifyDeviceWaitSignature = exports.verifyDeviceConfirmationCode = exports.startDeviceActivationRequest = exports.signDeviceWaitRequest = exports.parseDeviceActivationPayload = exports.getDeviceConnectInfo = exports.encodeDeviceActivationPayload = exports.deriveDeviceQrMac = exports.deriveDeviceIdentity = exports.deriveDeviceConfirmationCode = exports.createDeviceNatsAuthToken = exports.createDeviceActivationClient = exports.buildDeviceWaitProofInput = exports.buildDeviceActivationPayload = void 0;
|
|
13
|
+
exports.AuthDeviceUserAuthoritiesResolvedEventSchema = exports.AuthDeviceUserAuthoritiesRequestedEventSchema = exports.AuthDeviceUserAuthoritiesListSchema = exports.AuthDeviceUserAuthoritiesListResponseSchema = exports.AuthDeviceUserAuthoritiesApprovedEventSchema = exports.AuthDevicesRemoveSchema = exports.AuthDevicesRemoveResponseSchema = exports.AuthDevicesProvisionSchema = exports.AuthDevicesProvisionResponseSchema = exports.AuthDevicesListSchema = exports.AuthDevicesListResponseSchema = exports.AuthDevicesEnableSchema = exports.AuthDevicesEnableResponseSchema = exports.AuthDevicesDisableSchema = exports.AuthDevicesDisableResponseSchema = exports.AuthDevicesConnectInfoGetSchema = exports.AuthDevicesConnectInfoGetResponseSchema = exports.AuthDeploymentsRemoveSchema = exports.AuthDeploymentsRemoveResponseSchema = exports.AuthDeploymentsListSchema = exports.AuthDeploymentsListResponseSchema = exports.AuthDeploymentsEnableSchema = exports.AuthDeploymentsEnableResponseSchema = exports.AuthDeploymentsDisableSchema = exports.AuthDeploymentsDisableResponseSchema = exports.AuthDeploymentsCreateSchema = exports.AuthDeploymentsCreateResponseSchema = exports.AuthDeploymentSchema = exports.AuthDeploymentKindSchema = exports.AuthDeploymentAuthorityRejectSchema = exports.AuthDeploymentAuthorityRejectResponseSchema = exports.AuthDeploymentAuthorityReconcileSchema = exports.AuthDeploymentAuthorityReconcileResponseSchema = exports.AuthDeploymentAuthorityPlansListSchema = exports.AuthDeploymentAuthorityPlansListResponseSchema = exports.AuthDeploymentAuthorityPlansGetSchema = exports.AuthDeploymentAuthorityPlansGetResponseSchema = exports.AuthDeploymentAuthorityPlanSchema = exports.AuthDeploymentAuthorityPlanResponseSchema = exports.AuthDeploymentAuthorityListSchema = exports.AuthDeploymentAuthorityListResponseSchema = exports.AuthDeploymentAuthorityGrantOverridesResponseSchema = exports.AuthDeploymentAuthorityGrantOverridesRemoveSchema = exports.AuthDeploymentAuthorityGrantOverridesPutSchema = exports.AuthDeploymentAuthorityGrantOverridesListSchema = exports.AuthDeploymentAuthorityGrantOverridesListResponseSchema = exports.AuthDeploymentAuthorityGetSchema = exports.AuthDeploymentAuthorityGetResponseSchema = exports.AuthDeploymentAuthorityAcceptUpdateSchema = exports.AuthDeploymentAuthorityAcceptResponseSchema = void 0;
|
|
14
|
+
exports.AuthUsersGetResponseSchema = exports.AuthUsersCreateSchema = exports.AuthUsersCreateResponseSchema = exports.AuthUsersAccountFlowCreateResponseSchema = exports.AuthUserIdentitiesUnlinkSchema = exports.AuthUserIdentitiesUnlinkResponseSchema = exports.AuthUserIdentitiesListSchema = exports.AuthUserIdentitiesListResponseSchema = exports.AuthSessionsMeSchema = exports.AuthSessionsMeResponseSchema = exports.AuthServiceInstancesRemoveSchema = exports.AuthServiceInstancesRemoveResponseSchema = exports.AuthServiceInstancesProvisionSchema = exports.AuthServiceInstancesProvisionResponseSchema = exports.AuthServiceInstancesListSchema = exports.AuthServiceInstancesListResponseSchema = exports.AuthServiceInstancesEnableSchema = exports.AuthServiceInstancesEnableResponseSchema = exports.AuthServiceInstancesDisableSchema = exports.AuthServiceInstancesDisableResponseSchema = exports.AuthResolveDeviceUserAuthoritiesSchema = exports.AuthResolveDeviceUserAuthoritiesResponseSchema = exports.AuthResolveDeviceUserAuthoritiesProgressSchema = exports.AuthRequestsValidateSchema = exports.AuthRequestsValidateResponseSchema = exports.AuthPortalsRoutesRemoveSchema = exports.AuthPortalsRoutesRemoveResponseSchema = exports.AuthPortalsRoutesPutSchema = exports.AuthPortalsRoutesPutResponseSchema = exports.AuthPortalsLoginSettingsUpdateSchema = exports.AuthPortalsLoginSettingsResponseSchema = exports.AuthPortalsLoginSettingsGetSchema = exports.AuthPortalsListSchema = exports.AuthPortalsListResponseSchema = exports.AuthPortalsGetSchema = exports.AuthPortalsGetResponseSchema = exports.AuthIdentityGrantsRevokeSchema = exports.AuthIdentityGrantsRevokeResponseSchema = exports.AuthIdentityGrantsListSchema = exports.AuthIdentityGrantsListResponseSchema = exports.AuthIdentitiesListSchema = exports.AuthIdentitiesListResponseSchema = exports.AuthenticatedDeviceSchema = exports.AuthDeviceUserAuthoritiesRevokeSchema = exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsListSchema = exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = void 0;
|
|
15
|
+
exports.MaterializedAuthorityNatsGrantSchema = exports.MaterializedAuthorityGrantsSchema = exports.MaterializedAuthorityCapabilityGrantSchema = exports.LoginPortalSummarySchema = exports.LoginPortalSettingsSchema = exports.LoginPortalRouteSchema = exports.LoginPortalRecordSchema = exports.ImplementationOfferSchema = exports.IdentityGrantViewSchema = exports.FlowRegistrationAvailabilitySchema = exports.DigestSchema = exports.DeviceSchema = exports.DeviceDeploymentSchema = exports.DeviceConnectInfoSchema = exports.DeviceActivationReviewSchema = exports.DeviceActivationRecordSchema = exports.DeploymentResourceBindingSchema = exports.DeploymentPortalRouteSchema = exports.DeploymentAuthorityUpdateSchema = exports.DeploymentAuthoritySurfaceSchema = exports.DeploymentAuthoritySurfaceNeedSchema = exports.DeploymentAuthoritySurfaceKindSchema = exports.DeploymentAuthoritySurfaceActionSchema = exports.DeploymentAuthoritySchema = exports.DeploymentAuthorityResourceSchema = exports.DeploymentAuthorityResourceNeedSchema = exports.DeploymentAuthorityResourceKindSchema = exports.DeploymentAuthorityReconciliationStatusSchema = exports.DeploymentAuthorityProposalSchema = exports.DeploymentAuthorityPlanSchema = exports.DeploymentAuthorityNeedsSchema = exports.DeploymentAuthorityMigrationSchema = exports.DeploymentAuthorityMaterializationSchema = exports.DeploymentAuthorityKindSchema = exports.DeploymentAuthorityGrantOverrideSchema = exports.DeploymentAuthorityContractNeedSchema = exports.DeploymentAuthorityCapabilitySchema = exports.DeploymentAuthorityCapabilityNeedSchema = exports.ContractAnalysisSummarySchema = exports.ContractAnalysisSchema = exports.CallerViewSchema = exports.AuthUsersUpdateSchema = exports.AuthUsersUpdateResponseSchema = exports.AuthUsersPasswordResetCreateSchema = exports.AuthUsersPasswordChangeSchema = exports.AuthUsersPasswordChangeResponseSchema = exports.AuthUsersListSchema = exports.AuthUsersListResponseSchema = exports.AuthUsersIdentityLinkCreateSchema = exports.AuthUsersGetSchema = void 0;
|
|
16
|
+
exports.utf8 = exports.toArrayBuffer = exports.sha256 = exports.canonicalizeJsonValue = exports.base64urlEncode = exports.base64urlDecode = exports.trellisIdFromOriginId = exports.estimateMidpointClockOffsetMs = exports.correctedIatSeconds = exports.createAuth = exports.buildNatsConnectSignaturePayload = exports.UserParticipantKindSchema = exports.SentinelCredsSchema = exports.NatsAuthTokenV1Schema = exports.ContractApprovalSchema = exports.ClientTransportsSchema = exports.ClientTransportEndpointsSchema = exports.BindSuccessResponseSchema = exports.BindResponseSchema = exports.AuthStartResponseSchema = exports.AuthStartRequestSchema = exports.AuthStartFlowResponseSchema = exports.ApprovalDecisionSchema = exports.approvalCapabilityKeys = exports.WaitForDeviceActivationResponseSchema = exports.WaitForDeviceActivationRequestSchema = exports.UserViewSchema = exports.ServiceInstanceSchema = exports.ServiceDeploymentSchema = exports.PortalFlowStateSchema = exports.ParticipantKindSchema = exports.OpenObjectSchema = exports.MaterializedAuthoritySurfaceGrantSchema = exports.MaterializedAuthorityNatsGrantSourceSchema = void 0;
|
|
17
17
|
var device_activation_js_1 = require("./device_activation.js");
|
|
18
18
|
Object.defineProperty(exports, "buildDeviceActivationPayload", { enumerable: true, get: function () { return device_activation_js_1.buildDeviceActivationPayload; } });
|
|
19
19
|
Object.defineProperty(exports, "buildDeviceWaitProofInput", { enumerable: true, get: function () { return device_activation_js_1.buildDeviceWaitProofInput; } });
|
|
@@ -33,6 +33,7 @@ Object.defineProperty(exports, "waitForDeviceActivation", { enumerable: true, ge
|
|
|
33
33
|
var browser_js_1 = require("./browser.js");
|
|
34
34
|
Object.defineProperty(exports, "bindFlow", { enumerable: true, get: function () { return browser_js_1.bindFlow; } });
|
|
35
35
|
Object.defineProperty(exports, "buildLoginUrl", { enumerable: true, get: function () { return browser_js_1.buildLoginUrl; } });
|
|
36
|
+
Object.defineProperty(exports, "classifyBrowserAuthError", { enumerable: true, get: function () { return browser_js_1.classifyBrowserAuthError; } });
|
|
36
37
|
Object.defineProperty(exports, "clearSessionKey", { enumerable: true, get: function () { return browser_js_1.clearSessionKey; } });
|
|
37
38
|
Object.defineProperty(exports, "createRpcProof", { enumerable: true, get: function () { return browser_js_1.createRpcProof; } });
|
|
38
39
|
Object.defineProperty(exports, "fetchPortalFlowState", { enumerable: true, get: function () { return browser_js_1.fetchPortalFlowState; } });
|
|
@@ -41,6 +42,7 @@ Object.defineProperty(exports, "getOrCreateSessionKey", { enumerable: true, get:
|
|
|
41
42
|
Object.defineProperty(exports, "getPublicSessionKey", { enumerable: true, get: function () { return browser_js_1.getPublicSessionKey; } });
|
|
42
43
|
Object.defineProperty(exports, "hasSessionKey", { enumerable: true, get: function () { return browser_js_1.hasSessionKey; } });
|
|
43
44
|
Object.defineProperty(exports, "isBindSuccessResponse", { enumerable: true, get: function () { return browser_js_1.isBindSuccessResponse; } });
|
|
45
|
+
Object.defineProperty(exports, "isRecoverableBrowserAuthError", { enumerable: true, get: function () { return browser_js_1.isRecoverableBrowserAuthError; } });
|
|
44
46
|
Object.defineProperty(exports, "loadSessionKey", { enumerable: true, get: function () { return browser_js_1.loadSessionKey; } });
|
|
45
47
|
Object.defineProperty(exports, "natsConnectSigForIat", { enumerable: true, get: function () { return browser_js_1.natsConnectSigForIat; } });
|
|
46
48
|
Object.defineProperty(exports, "portalFlowIdFromUrl", { enumerable: true, get: function () { return browser_js_1.portalFlowIdFromUrl; } });
|
|
@@ -178,20 +180,24 @@ Object.defineProperty(exports, "AuthUsersUpdateSchema", { enumerable: true, get:
|
|
|
178
180
|
Object.defineProperty(exports, "CallerViewSchema", { enumerable: true, get: function () { return protocol_js_1.CallerViewSchema; } });
|
|
179
181
|
Object.defineProperty(exports, "ContractAnalysisSchema", { enumerable: true, get: function () { return protocol_js_1.ContractAnalysisSchema; } });
|
|
180
182
|
Object.defineProperty(exports, "ContractAnalysisSummarySchema", { enumerable: true, get: function () { return protocol_js_1.ContractAnalysisSummarySchema; } });
|
|
183
|
+
Object.defineProperty(exports, "DeploymentAuthorityCapabilityNeedSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityCapabilityNeedSchema; } });
|
|
181
184
|
Object.defineProperty(exports, "DeploymentAuthorityCapabilitySchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityCapabilitySchema; } });
|
|
185
|
+
Object.defineProperty(exports, "DeploymentAuthorityContractNeedSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityContractNeedSchema; } });
|
|
182
186
|
Object.defineProperty(exports, "DeploymentAuthorityGrantOverrideSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityGrantOverrideSchema; } });
|
|
183
187
|
Object.defineProperty(exports, "DeploymentAuthorityKindSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityKindSchema; } });
|
|
184
188
|
Object.defineProperty(exports, "DeploymentAuthorityMaterializationSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityMaterializationSchema; } });
|
|
185
189
|
Object.defineProperty(exports, "DeploymentAuthorityMigrationSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityMigrationSchema; } });
|
|
186
|
-
Object.defineProperty(exports, "
|
|
190
|
+
Object.defineProperty(exports, "DeploymentAuthorityNeedsSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityNeedsSchema; } });
|
|
187
191
|
Object.defineProperty(exports, "DeploymentAuthorityPlanSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityPlanSchema; } });
|
|
188
192
|
Object.defineProperty(exports, "DeploymentAuthorityProposalSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityProposalSchema; } });
|
|
189
193
|
Object.defineProperty(exports, "DeploymentAuthorityReconciliationStatusSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityReconciliationStatusSchema; } });
|
|
190
194
|
Object.defineProperty(exports, "DeploymentAuthorityResourceKindSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityResourceKindSchema; } });
|
|
195
|
+
Object.defineProperty(exports, "DeploymentAuthorityResourceNeedSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityResourceNeedSchema; } });
|
|
191
196
|
Object.defineProperty(exports, "DeploymentAuthorityResourceSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityResourceSchema; } });
|
|
192
197
|
Object.defineProperty(exports, "DeploymentAuthoritySchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthoritySchema; } });
|
|
193
198
|
Object.defineProperty(exports, "DeploymentAuthoritySurfaceActionSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthoritySurfaceActionSchema; } });
|
|
194
199
|
Object.defineProperty(exports, "DeploymentAuthoritySurfaceKindSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthoritySurfaceKindSchema; } });
|
|
200
|
+
Object.defineProperty(exports, "DeploymentAuthoritySurfaceNeedSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthoritySurfaceNeedSchema; } });
|
|
195
201
|
Object.defineProperty(exports, "DeploymentAuthoritySurfaceSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthoritySurfaceSchema; } });
|
|
196
202
|
Object.defineProperty(exports, "DeploymentAuthorityUpdateSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentAuthorityUpdateSchema; } });
|
|
197
203
|
Object.defineProperty(exports, "DeploymentPortalRouteSchema", { enumerable: true, get: function () { return protocol_js_1.DeploymentPortalRouteSchema; } });
|
|
@@ -209,6 +215,11 @@ Object.defineProperty(exports, "LoginPortalRecordSchema", { enumerable: true, ge
|
|
|
209
215
|
Object.defineProperty(exports, "LoginPortalRouteSchema", { enumerable: true, get: function () { return protocol_js_1.LoginPortalRouteSchema; } });
|
|
210
216
|
Object.defineProperty(exports, "LoginPortalSettingsSchema", { enumerable: true, get: function () { return protocol_js_1.LoginPortalSettingsSchema; } });
|
|
211
217
|
Object.defineProperty(exports, "LoginPortalSummarySchema", { enumerable: true, get: function () { return protocol_js_1.LoginPortalSummarySchema; } });
|
|
218
|
+
Object.defineProperty(exports, "MaterializedAuthorityCapabilityGrantSchema", { enumerable: true, get: function () { return protocol_js_1.MaterializedAuthorityCapabilityGrantSchema; } });
|
|
219
|
+
Object.defineProperty(exports, "MaterializedAuthorityGrantsSchema", { enumerable: true, get: function () { return protocol_js_1.MaterializedAuthorityGrantsSchema; } });
|
|
220
|
+
Object.defineProperty(exports, "MaterializedAuthorityNatsGrantSchema", { enumerable: true, get: function () { return protocol_js_1.MaterializedAuthorityNatsGrantSchema; } });
|
|
221
|
+
Object.defineProperty(exports, "MaterializedAuthorityNatsGrantSourceSchema", { enumerable: true, get: function () { return protocol_js_1.MaterializedAuthorityNatsGrantSourceSchema; } });
|
|
222
|
+
Object.defineProperty(exports, "MaterializedAuthoritySurfaceGrantSchema", { enumerable: true, get: function () { return protocol_js_1.MaterializedAuthoritySurfaceGrantSchema; } });
|
|
212
223
|
Object.defineProperty(exports, "OpenObjectSchema", { enumerable: true, get: function () { return protocol_js_1.OpenObjectSchema; } });
|
|
213
224
|
Object.defineProperty(exports, "ParticipantKindSchema", { enumerable: true, get: function () { return protocol_js_1.ParticipantKindSchema; } });
|
|
214
225
|
Object.defineProperty(exports, "PortalFlowStateSchema", { enumerable: true, get: function () { return protocol_js_1.PortalFlowStateSchema; } });
|