@betterportal/auth-default 10.6.21 → 10.6.22
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/README.md +140 -10
- package/bsb-plugin.json +1 -1
- package/lib/account.d.ts +16 -0
- package/lib/account.d.ts.map +1 -0
- package/lib/account.js +274 -0
- package/lib/account.js.map +1 -0
- package/lib/accountUI.d.ts +5 -0
- package/lib/accountUI.d.ts.map +1 -0
- package/lib/accountUI.js +68 -0
- package/lib/accountUI.js.map +1 -0
- package/lib/bp-contracts/org.betterportal.auth.default.json +2031 -707
- package/lib/clientAddress.d.ts +10 -0
- package/lib/clientAddress.d.ts.map +1 -0
- package/lib/clientAddress.js +35 -0
- package/lib/clientAddress.js.map +1 -0
- package/lib/config.d.ts +3 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +28 -0
- package/lib/config.js.map +1 -0
- package/lib/defaultAuthManifest.d.ts +7 -0
- package/lib/defaultAuthManifest.d.ts.map +1 -1
- package/lib/factors.d.ts +18 -0
- package/lib/factors.d.ts.map +1 -0
- package/lib/factors.js +95 -0
- package/lib/factors.js.map +1 -0
- package/lib/identity.d.ts +106 -0
- package/lib/identity.d.ts.map +1 -0
- package/lib/identity.js +315 -0
- package/lib/identity.js.map +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -0
- package/lib/index.js.map +1 -1
- package/lib/mail.d.ts +19 -0
- package/lib/mail.d.ts.map +1 -0
- package/lib/mail.js +102 -0
- package/lib/mail.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.d.ts +435 -11
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.js +85 -0
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/GET.d.ts +34 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/GET.js +25 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/POST.d.ts +42 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/POST.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/POST.js +27 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/POST.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/GET.d.ts +2 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/GET.js +2 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/POST.d.ts +2 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/POST.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/POST.js +2 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/_renderer.bootstrap5/POST.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/index.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/index.js +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/account/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/login/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/login/_renderer.bootstrap5/GET.js +11 -8
- package/lib/plugins/service-betterportal-auth-default/bp-routes/login/_renderer.bootstrap5/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/refresh/POST.d.ts +3 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/refresh/POST.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/refresh/POST.js +10 -23
- package/lib/plugins/service-betterportal-auth-default/bp-routes/refresh/POST.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/GET.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/GET.js +2 -2
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/GET.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/GET.d.ts +34 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/GET.js +26 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/POST.d.ts +31 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/POST.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/POST.js +23 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/POST.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/_renderer.bootstrap5/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/_renderer.bootstrap5/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/_renderer.bootstrap5/GET.js +36 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/_renderer.bootstrap5/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/index.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/index.js +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/social/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/GET.d.ts +32 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/GET.js +39 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/POST.d.ts +41 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/POST.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/POST.js +103 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/POST.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/_renderer.bootstrap5/GET.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/_renderer.bootstrap5/GET.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/_renderer.bootstrap5/GET.js +19 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/_renderer.bootstrap5/GET.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/index.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/index.js +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/users/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/index.d.ts +41 -4
- package/lib/plugins/service-betterportal-auth-default/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/index.js +205 -9
- package/lib/plugins/service-betterportal-auth-default/index.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/loginFlow.d.ts +17 -2
- package/lib/plugins/service-betterportal-auth-default/loginFlow.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/loginFlow.js +83 -62
- package/lib/plugins/service-betterportal-auth-default/loginFlow.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/logoutFlow.js +1 -1
- package/lib/plugins/service-betterportal-auth-default/logoutFlow.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/registrationFlow.d.ts +4 -2
- package/lib/plugins/service-betterportal-auth-default/registrationFlow.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/registrationFlow.js +15 -17
- package/lib/plugins/service-betterportal-auth-default/registrationFlow.js.map +1 -1
- package/lib/schemas/service-betterportal-auth-default.json +26 -2
- package/lib/schemas/service-betterportal-auth-default.plugin.json +27 -3
- package/lib/social.d.ts +40 -0
- package/lib/social.d.ts.map +1 -0
- package/lib/social.js +178 -0
- package/lib/social.js.map +1 -0
- package/lib/storage.d.ts +72 -0
- package/lib/storage.d.ts.map +1 -0
- package/lib/storage.js +427 -0
- package/lib/storage.js.map +1 -0
- package/package.json +13 -6
|
@@ -1,9 +1,154 @@
|
|
|
1
|
+
import * as accountBootstrap5PageGET from "../bp-routes/account/_renderer.bootstrap5/GET.js";
|
|
1
2
|
import * as loginBootstrap5PageGET from "../bp-routes/login/_renderer.bootstrap5/GET.js";
|
|
2
3
|
import * as loginBootstrap5NavProfileGET from "../bp-routes/login/_renderer.bootstrap5/_nav.profile.GET.js";
|
|
3
4
|
import * as logoutBootstrap5PageGET from "../bp-routes/logout/_renderer.bootstrap5/GET.js";
|
|
4
5
|
import * as registerBootstrap5PageGET from "../bp-routes/register/_renderer.bootstrap5/GET.js";
|
|
6
|
+
import * as socialBootstrap5PageGET from "../bp-routes/social/_renderer.bootstrap5/GET.js";
|
|
7
|
+
import * as usersBootstrap5PageGET from "../bp-routes/users/_renderer.bootstrap5/GET.js";
|
|
5
8
|
export declare const registry: {
|
|
6
9
|
routes: ({
|
|
10
|
+
viewId: string;
|
|
11
|
+
path: string;
|
|
12
|
+
methods: ("POST" | "GET")[];
|
|
13
|
+
paramNames: never[];
|
|
14
|
+
schemas: {};
|
|
15
|
+
methodRoutes: {
|
|
16
|
+
GET: {
|
|
17
|
+
method: "GET";
|
|
18
|
+
operationId: string;
|
|
19
|
+
title: string;
|
|
20
|
+
description: string;
|
|
21
|
+
schemas: {
|
|
22
|
+
response: import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>;
|
|
23
|
+
query: import("anyvali").ObjectSchema<{
|
|
24
|
+
sessionAfter: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
25
|
+
action: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
26
|
+
id: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
27
|
+
secret: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
28
|
+
}>;
|
|
29
|
+
headers?: undefined;
|
|
30
|
+
};
|
|
31
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
32
|
+
sessionAfter?: string | undefined;
|
|
33
|
+
action?: string | undefined;
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
secret?: string | undefined;
|
|
36
|
+
}, Record<string, string>, Record<string, unknown>, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
}>;
|
|
39
|
+
auth: {
|
|
40
|
+
required: boolean;
|
|
41
|
+
permissions: never[];
|
|
42
|
+
};
|
|
43
|
+
cacheHints: {
|
|
44
|
+
ttlSeconds: number;
|
|
45
|
+
varyBy: never[];
|
|
46
|
+
};
|
|
47
|
+
demoScenarios: never[];
|
|
48
|
+
role: string;
|
|
49
|
+
dependencies: readonly [{
|
|
50
|
+
readonly operationId: "auth.account";
|
|
51
|
+
readonly method: "POST";
|
|
52
|
+
}];
|
|
53
|
+
chrome?: undefined;
|
|
54
|
+
};
|
|
55
|
+
POST: {
|
|
56
|
+
method: "POST";
|
|
57
|
+
operationId: string;
|
|
58
|
+
title: string;
|
|
59
|
+
description: string;
|
|
60
|
+
schemas: {
|
|
61
|
+
response: import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>;
|
|
62
|
+
request: import("anyvali").ObjectSchema<{
|
|
63
|
+
action: import("anyvali").StringSchema;
|
|
64
|
+
id: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
65
|
+
secret: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
66
|
+
email: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
67
|
+
name: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
68
|
+
password: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
69
|
+
currentPassword: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
70
|
+
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
71
|
+
method: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
72
|
+
code: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
73
|
+
credential: import("anyvali").OptionalSchema<import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>>;
|
|
74
|
+
}>;
|
|
75
|
+
query?: undefined;
|
|
76
|
+
headers?: undefined;
|
|
77
|
+
};
|
|
78
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, {
|
|
79
|
+
action: string;
|
|
80
|
+
id?: string | undefined;
|
|
81
|
+
secret?: string | undefined;
|
|
82
|
+
email?: string | undefined;
|
|
83
|
+
name?: string | undefined;
|
|
84
|
+
password?: string | undefined;
|
|
85
|
+
currentPassword?: string | undefined;
|
|
86
|
+
next?: string | undefined;
|
|
87
|
+
method?: string | undefined;
|
|
88
|
+
code?: string | undefined;
|
|
89
|
+
credential?: import("@betterportal/framework").JsonObject | undefined;
|
|
90
|
+
}, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
}>;
|
|
93
|
+
auth: {
|
|
94
|
+
required: boolean;
|
|
95
|
+
permissions: never[];
|
|
96
|
+
};
|
|
97
|
+
cacheHints: {
|
|
98
|
+
ttlSeconds: number;
|
|
99
|
+
varyBy: never[];
|
|
100
|
+
};
|
|
101
|
+
demoScenarios: never[];
|
|
102
|
+
role?: undefined;
|
|
103
|
+
chrome?: undefined;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
handlers: {
|
|
107
|
+
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
108
|
+
sessionAfter?: string | undefined;
|
|
109
|
+
action?: string | undefined;
|
|
110
|
+
id?: string | undefined;
|
|
111
|
+
secret?: string | undefined;
|
|
112
|
+
}, Record<string, string>, Record<string, unknown>, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
113
|
+
[x: string]: unknown;
|
|
114
|
+
}>;
|
|
115
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, {
|
|
116
|
+
action: string;
|
|
117
|
+
id?: string | undefined;
|
|
118
|
+
secret?: string | undefined;
|
|
119
|
+
email?: string | undefined;
|
|
120
|
+
name?: string | undefined;
|
|
121
|
+
password?: string | undefined;
|
|
122
|
+
currentPassword?: string | undefined;
|
|
123
|
+
next?: string | undefined;
|
|
124
|
+
method?: string | undefined;
|
|
125
|
+
code?: string | undefined;
|
|
126
|
+
credential?: import("@betterportal/framework").JsonObject | undefined;
|
|
127
|
+
}, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>;
|
|
130
|
+
};
|
|
131
|
+
title: string;
|
|
132
|
+
description: string;
|
|
133
|
+
renderers: {
|
|
134
|
+
bootstrap5: {
|
|
135
|
+
pages: ({
|
|
136
|
+
rendererId: string;
|
|
137
|
+
type: "page";
|
|
138
|
+
method: "GET";
|
|
139
|
+
render: typeof accountBootstrap5PageGET.render;
|
|
140
|
+
} | {
|
|
141
|
+
rendererId: string;
|
|
142
|
+
type: "page";
|
|
143
|
+
method: "POST";
|
|
144
|
+
render: typeof accountBootstrap5PageGET.render;
|
|
145
|
+
})[];
|
|
146
|
+
components: never[];
|
|
147
|
+
fragments: never[];
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
statusRenderers?: undefined;
|
|
151
|
+
} | {
|
|
7
152
|
viewId: string;
|
|
8
153
|
path: string;
|
|
9
154
|
methods: ("POST" | "GET")[];
|
|
@@ -17,6 +162,9 @@ export declare const registry: {
|
|
|
17
162
|
description: string;
|
|
18
163
|
schemas: {
|
|
19
164
|
response: import("anyvali").ObjectSchema<{
|
|
165
|
+
challenge: import("anyvali").OptionalSchema<import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>>;
|
|
166
|
+
accountUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
167
|
+
socialUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
20
168
|
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
21
169
|
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
22
170
|
accessToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
@@ -49,7 +197,10 @@ export declare const registry: {
|
|
|
49
197
|
}, {
|
|
50
198
|
"x-bp-refresh"?: string | undefined;
|
|
51
199
|
}, Record<string, unknown>, {
|
|
52
|
-
status: "
|
|
200
|
+
status: "error" | "ok";
|
|
201
|
+
challenge?: import("@betterportal/framework").JsonObject | undefined;
|
|
202
|
+
accountUrl?: string | undefined;
|
|
203
|
+
socialUrl?: string | undefined;
|
|
53
204
|
message?: string | undefined;
|
|
54
205
|
accessToken?: string | undefined;
|
|
55
206
|
refreshToken?: string | undefined;
|
|
@@ -95,6 +246,12 @@ export declare const registry: {
|
|
|
95
246
|
}, {
|
|
96
247
|
readonly operationId: "auth.register.view";
|
|
97
248
|
readonly method: "GET";
|
|
249
|
+
}, {
|
|
250
|
+
readonly operationId: "auth.account.view";
|
|
251
|
+
readonly method: "GET";
|
|
252
|
+
}, {
|
|
253
|
+
readonly operationId: "auth.social.view";
|
|
254
|
+
readonly method: "GET";
|
|
98
255
|
}];
|
|
99
256
|
};
|
|
100
257
|
POST: {
|
|
@@ -104,6 +261,9 @@ export declare const registry: {
|
|
|
104
261
|
description: string;
|
|
105
262
|
schemas: {
|
|
106
263
|
response: import("anyvali").ObjectSchema<{
|
|
264
|
+
challenge: import("anyvali").OptionalSchema<import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>>;
|
|
265
|
+
accountUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
266
|
+
socialUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
107
267
|
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
108
268
|
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
109
269
|
accessToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
@@ -141,7 +301,10 @@ export declare const registry: {
|
|
|
141
301
|
password: string;
|
|
142
302
|
next?: string | undefined;
|
|
143
303
|
}, {
|
|
144
|
-
status: "
|
|
304
|
+
status: "error" | "ok";
|
|
305
|
+
challenge?: import("@betterportal/framework").JsonObject | undefined;
|
|
306
|
+
accountUrl?: string | undefined;
|
|
307
|
+
socialUrl?: string | undefined;
|
|
145
308
|
message?: string | undefined;
|
|
146
309
|
accessToken?: string | undefined;
|
|
147
310
|
refreshToken?: string | undefined;
|
|
@@ -184,7 +347,10 @@ export declare const registry: {
|
|
|
184
347
|
}, {
|
|
185
348
|
"x-bp-refresh"?: string | undefined;
|
|
186
349
|
}, Record<string, unknown>, {
|
|
187
|
-
status: "
|
|
350
|
+
status: "error" | "ok";
|
|
351
|
+
challenge?: import("@betterportal/framework").JsonObject | undefined;
|
|
352
|
+
accountUrl?: string | undefined;
|
|
353
|
+
socialUrl?: string | undefined;
|
|
188
354
|
message?: string | undefined;
|
|
189
355
|
accessToken?: string | undefined;
|
|
190
356
|
refreshToken?: string | undefined;
|
|
@@ -212,7 +378,10 @@ export declare const registry: {
|
|
|
212
378
|
password: string;
|
|
213
379
|
next?: string | undefined;
|
|
214
380
|
}, {
|
|
215
|
-
status: "
|
|
381
|
+
status: "error" | "ok";
|
|
382
|
+
challenge?: import("@betterportal/framework").JsonObject | undefined;
|
|
383
|
+
accountUrl?: string | undefined;
|
|
384
|
+
socialUrl?: string | undefined;
|
|
216
385
|
message?: string | undefined;
|
|
217
386
|
accessToken?: string | undefined;
|
|
218
387
|
refreshToken?: string | undefined;
|
|
@@ -316,8 +485,8 @@ export declare const registry: {
|
|
|
316
485
|
headers: import("anyvali").ObjectSchema<{
|
|
317
486
|
"x-bp-refresh": import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
318
487
|
}>;
|
|
319
|
-
query?: undefined;
|
|
320
488
|
request?: undefined;
|
|
489
|
+
query?: undefined;
|
|
321
490
|
};
|
|
322
491
|
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, {
|
|
323
492
|
"x-bp-refresh"?: string | undefined;
|
|
@@ -391,6 +560,7 @@ export declare const registry: {
|
|
|
391
560
|
response: import("anyvali").ObjectSchema<{
|
|
392
561
|
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
393
562
|
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
563
|
+
refreshToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
394
564
|
accessToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
395
565
|
expiresInSeconds: import("anyvali").OptionalSchema<import("anyvali").IntSchema>;
|
|
396
566
|
}>;
|
|
@@ -407,8 +577,9 @@ export declare const registry: {
|
|
|
407
577
|
}, {
|
|
408
578
|
refreshToken?: string | undefined;
|
|
409
579
|
}, {
|
|
410
|
-
status: "
|
|
580
|
+
status: "error" | "ok";
|
|
411
581
|
message?: string | undefined;
|
|
582
|
+
refreshToken?: string | undefined;
|
|
412
583
|
accessToken?: string | undefined;
|
|
413
584
|
expiresInSeconds?: number | undefined;
|
|
414
585
|
}, import("../index.js").PluginFeature, {
|
|
@@ -431,8 +602,9 @@ export declare const registry: {
|
|
|
431
602
|
}, {
|
|
432
603
|
refreshToken?: string | undefined;
|
|
433
604
|
}, {
|
|
434
|
-
status: "
|
|
605
|
+
status: "error" | "ok";
|
|
435
606
|
message?: string | undefined;
|
|
607
|
+
refreshToken?: string | undefined;
|
|
436
608
|
accessToken?: string | undefined;
|
|
437
609
|
expiresInSeconds?: number | undefined;
|
|
438
610
|
}, import("../index.js").PluginFeature, {
|
|
@@ -478,7 +650,7 @@ export declare const registry: {
|
|
|
478
650
|
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
479
651
|
next?: string | undefined;
|
|
480
652
|
}, Record<string, string>, Record<string, unknown>, {
|
|
481
|
-
status: "
|
|
653
|
+
status: "error" | "ok";
|
|
482
654
|
message?: string | undefined;
|
|
483
655
|
user?: {
|
|
484
656
|
id: string;
|
|
@@ -533,6 +705,7 @@ export declare const registry: {
|
|
|
533
705
|
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
534
706
|
}>;
|
|
535
707
|
request: import("anyvali").ObjectSchema<{
|
|
708
|
+
setupToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
536
709
|
username: import("anyvali").StringSchema;
|
|
537
710
|
password: import("anyvali").StringSchema;
|
|
538
711
|
email: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
@@ -545,10 +718,11 @@ export declare const registry: {
|
|
|
545
718
|
}, Record<string, string>, {
|
|
546
719
|
username: string;
|
|
547
720
|
password: string;
|
|
721
|
+
setupToken?: string | undefined;
|
|
548
722
|
email?: string | undefined;
|
|
549
723
|
name?: string | undefined;
|
|
550
724
|
}, {
|
|
551
|
-
status: "
|
|
725
|
+
status: "error" | "ok";
|
|
552
726
|
message?: string | undefined;
|
|
553
727
|
user?: {
|
|
554
728
|
id: string;
|
|
@@ -580,7 +754,7 @@ export declare const registry: {
|
|
|
580
754
|
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
581
755
|
next?: string | undefined;
|
|
582
756
|
}, Record<string, string>, Record<string, unknown>, {
|
|
583
|
-
status: "
|
|
757
|
+
status: "error" | "ok";
|
|
584
758
|
message?: string | undefined;
|
|
585
759
|
user?: {
|
|
586
760
|
id: string;
|
|
@@ -597,10 +771,11 @@ export declare const registry: {
|
|
|
597
771
|
}, Record<string, string>, {
|
|
598
772
|
username: string;
|
|
599
773
|
password: string;
|
|
774
|
+
setupToken?: string | undefined;
|
|
600
775
|
email?: string | undefined;
|
|
601
776
|
name?: string | undefined;
|
|
602
777
|
}, {
|
|
603
|
-
status: "
|
|
778
|
+
status: "error" | "ok";
|
|
604
779
|
message?: string | undefined;
|
|
605
780
|
user?: {
|
|
606
781
|
id: string;
|
|
@@ -644,6 +819,255 @@ export declare const registry: {
|
|
|
644
819
|
};
|
|
645
820
|
};
|
|
646
821
|
};
|
|
822
|
+
} | {
|
|
823
|
+
viewId: string;
|
|
824
|
+
path: string;
|
|
825
|
+
methods: ("POST" | "GET")[];
|
|
826
|
+
paramNames: never[];
|
|
827
|
+
schemas: {};
|
|
828
|
+
methodRoutes: {
|
|
829
|
+
GET: {
|
|
830
|
+
method: "GET";
|
|
831
|
+
operationId: string;
|
|
832
|
+
title: string;
|
|
833
|
+
description: string;
|
|
834
|
+
schemas: {
|
|
835
|
+
response: import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>;
|
|
836
|
+
query: import("anyvali").ObjectSchema<{
|
|
837
|
+
code: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
838
|
+
state: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
839
|
+
error: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
840
|
+
}>;
|
|
841
|
+
headers?: undefined;
|
|
842
|
+
};
|
|
843
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
844
|
+
code?: string | undefined;
|
|
845
|
+
state?: string | undefined;
|
|
846
|
+
error?: string | undefined;
|
|
847
|
+
}, Record<string, string>, Record<string, unknown>, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
848
|
+
[x: string]: unknown;
|
|
849
|
+
}>;
|
|
850
|
+
auth: {
|
|
851
|
+
required: boolean;
|
|
852
|
+
permissions: never[];
|
|
853
|
+
};
|
|
854
|
+
cacheHints: {
|
|
855
|
+
ttlSeconds: number;
|
|
856
|
+
varyBy: never[];
|
|
857
|
+
};
|
|
858
|
+
demoScenarios: never[];
|
|
859
|
+
dependencies: readonly [{
|
|
860
|
+
readonly operationId: "auth.social";
|
|
861
|
+
readonly method: "POST";
|
|
862
|
+
}, {
|
|
863
|
+
readonly operationId: "auth.account";
|
|
864
|
+
readonly method: "POST";
|
|
865
|
+
}];
|
|
866
|
+
role?: undefined;
|
|
867
|
+
chrome?: undefined;
|
|
868
|
+
};
|
|
869
|
+
POST: {
|
|
870
|
+
method: "POST";
|
|
871
|
+
operationId: string;
|
|
872
|
+
title: string;
|
|
873
|
+
description: string;
|
|
874
|
+
schemas: {
|
|
875
|
+
response: import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>;
|
|
876
|
+
request: import("anyvali").ObjectSchema<{
|
|
877
|
+
action: import("anyvali").StringSchema;
|
|
878
|
+
connection: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
879
|
+
id: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
880
|
+
secret: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
881
|
+
code: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
882
|
+
}>;
|
|
883
|
+
query?: undefined;
|
|
884
|
+
headers?: undefined;
|
|
885
|
+
};
|
|
886
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, {
|
|
887
|
+
action: string;
|
|
888
|
+
connection?: string | undefined;
|
|
889
|
+
id?: string | undefined;
|
|
890
|
+
secret?: string | undefined;
|
|
891
|
+
code?: string | undefined;
|
|
892
|
+
}, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
893
|
+
[x: string]: unknown;
|
|
894
|
+
}>;
|
|
895
|
+
auth: {
|
|
896
|
+
required: boolean;
|
|
897
|
+
permissions: never[];
|
|
898
|
+
};
|
|
899
|
+
cacheHints: {
|
|
900
|
+
ttlSeconds: number;
|
|
901
|
+
varyBy: never[];
|
|
902
|
+
};
|
|
903
|
+
demoScenarios: never[];
|
|
904
|
+
role?: undefined;
|
|
905
|
+
chrome?: undefined;
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
handlers: {
|
|
909
|
+
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
910
|
+
code?: string | undefined;
|
|
911
|
+
state?: string | undefined;
|
|
912
|
+
error?: string | undefined;
|
|
913
|
+
}, Record<string, string>, Record<string, unknown>, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
914
|
+
[x: string]: unknown;
|
|
915
|
+
}>;
|
|
916
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, {
|
|
917
|
+
action: string;
|
|
918
|
+
connection?: string | undefined;
|
|
919
|
+
id?: string | undefined;
|
|
920
|
+
secret?: string | undefined;
|
|
921
|
+
code?: string | undefined;
|
|
922
|
+
}, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
923
|
+
[x: string]: unknown;
|
|
924
|
+
}>;
|
|
925
|
+
};
|
|
926
|
+
title: string;
|
|
927
|
+
description: string;
|
|
928
|
+
renderers: {
|
|
929
|
+
bootstrap5: {
|
|
930
|
+
pages: {
|
|
931
|
+
rendererId: string;
|
|
932
|
+
type: "page";
|
|
933
|
+
method: "GET";
|
|
934
|
+
render: typeof socialBootstrap5PageGET.render;
|
|
935
|
+
}[];
|
|
936
|
+
components: never[];
|
|
937
|
+
fragments: never[];
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
statusRenderers?: undefined;
|
|
941
|
+
} | {
|
|
942
|
+
viewId: string;
|
|
943
|
+
path: string;
|
|
944
|
+
methods: ("POST" | "GET")[];
|
|
945
|
+
paramNames: never[];
|
|
946
|
+
schemas: {};
|
|
947
|
+
methodRoutes: {
|
|
948
|
+
GET: {
|
|
949
|
+
method: "GET";
|
|
950
|
+
operationId: string;
|
|
951
|
+
title: string;
|
|
952
|
+
description: string;
|
|
953
|
+
schemas: {
|
|
954
|
+
response: import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>;
|
|
955
|
+
query: import("anyvali").ObjectSchema<{
|
|
956
|
+
after: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
957
|
+
mailAfter: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
958
|
+
}>;
|
|
959
|
+
headers?: undefined;
|
|
960
|
+
};
|
|
961
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
962
|
+
after?: string | undefined;
|
|
963
|
+
mailAfter?: string | undefined;
|
|
964
|
+
}, Record<string, string>, Record<string, unknown>, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
965
|
+
[x: string]: unknown;
|
|
966
|
+
}>;
|
|
967
|
+
auth: {
|
|
968
|
+
required: boolean;
|
|
969
|
+
permissions: {
|
|
970
|
+
serviceId: string;
|
|
971
|
+
viewId: string;
|
|
972
|
+
permissions: "read"[];
|
|
973
|
+
}[];
|
|
974
|
+
};
|
|
975
|
+
cacheHints: {
|
|
976
|
+
ttlSeconds: number;
|
|
977
|
+
varyBy: never[];
|
|
978
|
+
};
|
|
979
|
+
demoScenarios: never[];
|
|
980
|
+
dependencies: readonly [{
|
|
981
|
+
readonly operationId: "auth.users.manage";
|
|
982
|
+
readonly method: "POST";
|
|
983
|
+
}];
|
|
984
|
+
role?: undefined;
|
|
985
|
+
chrome?: undefined;
|
|
986
|
+
};
|
|
987
|
+
POST: {
|
|
988
|
+
method: "POST";
|
|
989
|
+
operationId: string;
|
|
990
|
+
title: string;
|
|
991
|
+
description: string;
|
|
992
|
+
schemas: {
|
|
993
|
+
response: import("anyvali").BaseSchema<unknown, import("@betterportal/framework").JsonObject>;
|
|
994
|
+
request: import("anyvali").ObjectSchema<{
|
|
995
|
+
action: import("anyvali").StringSchema;
|
|
996
|
+
id: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
997
|
+
email: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
998
|
+
name: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
999
|
+
enabled: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
1000
|
+
roles: import("anyvali").OptionalSchema<import("anyvali").ArraySchema<import("anyvali").StringSchema>>;
|
|
1001
|
+
members: import("anyvali").OptionalSchema<import("anyvali").ArraySchema<import("anyvali").StringSchema>>;
|
|
1002
|
+
}>;
|
|
1003
|
+
query?: undefined;
|
|
1004
|
+
headers?: undefined;
|
|
1005
|
+
};
|
|
1006
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, {
|
|
1007
|
+
action: string;
|
|
1008
|
+
id?: string | undefined;
|
|
1009
|
+
email?: string | undefined;
|
|
1010
|
+
name?: string | undefined;
|
|
1011
|
+
enabled?: boolean | undefined;
|
|
1012
|
+
roles?: string[] | undefined;
|
|
1013
|
+
members?: string[] | undefined;
|
|
1014
|
+
}, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
1015
|
+
[x: string]: unknown;
|
|
1016
|
+
}>;
|
|
1017
|
+
auth: {
|
|
1018
|
+
required: boolean;
|
|
1019
|
+
elevation: {
|
|
1020
|
+
minimum: "mfa";
|
|
1021
|
+
};
|
|
1022
|
+
permissions: {
|
|
1023
|
+
serviceId: string;
|
|
1024
|
+
viewId: string;
|
|
1025
|
+
permissions: "update"[];
|
|
1026
|
+
}[];
|
|
1027
|
+
};
|
|
1028
|
+
cacheHints: {
|
|
1029
|
+
ttlSeconds: number;
|
|
1030
|
+
varyBy: never[];
|
|
1031
|
+
};
|
|
1032
|
+
demoScenarios: never[];
|
|
1033
|
+
role?: undefined;
|
|
1034
|
+
chrome?: undefined;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
handlers: {
|
|
1038
|
+
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
1039
|
+
after?: string | undefined;
|
|
1040
|
+
mailAfter?: string | undefined;
|
|
1041
|
+
}, Record<string, string>, Record<string, unknown>, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
1042
|
+
[x: string]: unknown;
|
|
1043
|
+
}>;
|
|
1044
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, {
|
|
1045
|
+
action: string;
|
|
1046
|
+
id?: string | undefined;
|
|
1047
|
+
email?: string | undefined;
|
|
1048
|
+
name?: string | undefined;
|
|
1049
|
+
enabled?: boolean | undefined;
|
|
1050
|
+
roles?: string[] | undefined;
|
|
1051
|
+
members?: string[] | undefined;
|
|
1052
|
+
}, import("@betterportal/framework").JsonObject, import("../index.js").PluginFeature, {
|
|
1053
|
+
[x: string]: unknown;
|
|
1054
|
+
}>;
|
|
1055
|
+
};
|
|
1056
|
+
title: string;
|
|
1057
|
+
description: string;
|
|
1058
|
+
renderers: {
|
|
1059
|
+
bootstrap5: {
|
|
1060
|
+
pages: {
|
|
1061
|
+
rendererId: string;
|
|
1062
|
+
type: "page";
|
|
1063
|
+
method: "GET";
|
|
1064
|
+
render: typeof usersBootstrap5PageGET.render;
|
|
1065
|
+
}[];
|
|
1066
|
+
components: never[];
|
|
1067
|
+
fragments: never[];
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
statusRenderers?: undefined;
|
|
647
1071
|
})[];
|
|
648
1072
|
shellFragments: never[];
|
|
649
1073
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-auth-default/.bp-generated/registry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,sBAAsB,MAAM,gDAAgD,CAAC;AAEzF,OAAO,KAAK,4BAA4B,MAAM,6DAA6D,CAAC;AAI5G,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAO3F,OAAO,KAAK,yBAAyB,MAAM,mDAAmD,CAAC;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-auth-default/.bp-generated/registry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,wBAAwB,MAAM,kDAAkD,CAAC;AAK7F,OAAO,KAAK,sBAAsB,MAAM,gDAAgD,CAAC;AAEzF,OAAO,KAAK,4BAA4B,MAAM,6DAA6D,CAAC;AAI5G,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAO3F,OAAO,KAAK,yBAAyB,MAAM,mDAAmD,CAAC;AAM/F,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAI3F,OAAO,KAAK,sBAAsB,MAAM,gDAAgD,CAAC;AAGzF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KW,CAAC"}
|