@crossauth/sveltekit 0.0.39 → 0.0.40
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/dist/index.cjs +1 -1
- package/dist/index.js +1710 -1538
- package/dist/sveltekitoauthserver.d.ts +8 -2
- package/package.json +3 -3
|
@@ -341,11 +341,14 @@ export declare class SvelteKitAuthorizationServer {
|
|
|
341
341
|
readonly getCsrfTokenEndpoint: {
|
|
342
342
|
get: (event: RequestEvent) => Promise<Response>;
|
|
343
343
|
};
|
|
344
|
+
storeSessionData(event: RequestEvent, sessionData: {
|
|
345
|
+
[key: string]: any;
|
|
346
|
+
}, sessionDataName: string): Promise<void>;
|
|
347
|
+
private redirectError;
|
|
344
348
|
/**
|
|
345
349
|
* `load` and `actions` functions for the authorize endpoint.
|
|
346
350
|
*
|
|
347
|
-
* See class description for details.
|
|
348
|
-
* protection to rely on Sveltekit's.
|
|
351
|
+
* See class description for details.
|
|
349
352
|
*/
|
|
350
353
|
readonly authorizeEndpoint: {
|
|
351
354
|
load: (event: RequestEvent) => Promise<AuthorizePageData>;
|
|
@@ -362,6 +365,9 @@ export declare class SvelteKitAuthorizationServer {
|
|
|
362
365
|
readonly tokenEndpoint: {
|
|
363
366
|
post: (event: RequestEvent) => Promise<Response>;
|
|
364
367
|
};
|
|
368
|
+
readonly upstreamRedirectUriEndpoint: {
|
|
369
|
+
get: (event: RequestEvent) => Promise<void | Response>;
|
|
370
|
+
};
|
|
365
371
|
/**
|
|
366
372
|
* `get` and `post` functions for the mfa/authenticators endpoint.
|
|
367
373
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossauth/sveltekit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"minimatch": "^10.0.1",
|
|
47
47
|
"qrcode": "^1.5.4",
|
|
48
48
|
"vite-plugin-dts": "^3.6.4",
|
|
49
|
-
"@crossauth/
|
|
50
|
-
"@crossauth/
|
|
49
|
+
"@crossauth/common": "^0.0.40",
|
|
50
|
+
"@crossauth/backend": "^0.0.40"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"preparex": "svelte-kit sync",
|