@aura-stack/auth 0.1.0-rc.9 → 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/dist/@types/index.cjs +15 -15
- package/dist/@types/index.d.ts +7 -31
- package/dist/@types/index.js +1 -1
- package/dist/@types/router.d.cjs +1 -1
- package/dist/@types/router.d.d.ts +7 -7
- package/dist/@types/utility.cjs +15 -15
- package/dist/@types/utility.d.ts +6 -6
- package/dist/@types/utility.js +1 -1
- package/dist/actions/callback/access-token.cjs +143 -143
- package/dist/actions/callback/access-token.d.ts +15 -20
- package/dist/actions/callback/access-token.js +8 -4
- package/dist/actions/callback/callback.cjs +437 -455
- package/dist/actions/callback/callback.d.ts +10 -12
- package/dist/actions/callback/callback.js +16 -12
- package/dist/actions/callback/userinfo.cjs +131 -134
- package/dist/actions/callback/userinfo.d.ts +9 -9
- package/dist/actions/callback/userinfo.js +10 -6
- package/dist/actions/csrfToken/csrfToken.cjs +162 -171
- package/dist/actions/csrfToken/csrfToken.d.ts +3 -3
- package/dist/actions/csrfToken/csrfToken.js +12 -8
- package/dist/actions/index.cjs +746 -773
- package/dist/actions/index.d.ts +13 -13
- package/dist/actions/index.js +34 -18
- package/dist/actions/session/session.cjs +149 -155
- package/dist/actions/session/session.d.ts +3 -3
- package/dist/actions/session/session.js +11 -7
- package/dist/actions/signIn/authorization.cjs +231 -249
- package/dist/actions/signIn/authorization.d.ts +12 -18
- package/dist/actions/signIn/authorization.js +16 -6
- package/dist/actions/signIn/signIn.cjs +396 -423
- package/dist/actions/signIn/signIn.d.ts +10 -10
- package/dist/actions/signIn/signIn.js +14 -10
- package/dist/actions/signOut/signOut.cjs +417 -440
- package/dist/actions/signOut/signOut.d.ts +3 -3
- package/dist/actions/signOut/signOut.js +15 -11
- package/dist/assert.cjs +35 -36
- package/dist/assert.d.ts +4 -4
- package/dist/assert.js +10 -2
- package/dist/chunk-256KIVJL.js +85 -96
- package/dist/chunk-42XB3YCW.js +19 -17
- package/dist/chunk-6SM22VVJ.js +13 -10
- package/dist/chunk-CAKJT3KS.js +84 -69
- package/dist/chunk-E3OXBRYF.js +19 -17
- package/dist/chunk-EBPE35JT.js +28 -26
- package/dist/chunk-FIPU4MLT.js +18 -16
- package/dist/chunk-FJUDBLCP.js +50 -43
- package/dist/chunk-FKRDCWBF.js +19 -17
- package/dist/chunk-GZU3RBTB.js +51 -40
- package/dist/chunk-HGJ4TXY4.js +132 -100
- package/dist/chunk-HMRKN75I.js +63 -63
- package/dist/chunk-IKHPGFCW.js +11 -9
- package/dist/chunk-JAPMIE6S.js +7 -5
- package/dist/chunk-KRNOMBXQ.js +19 -17
- package/dist/chunk-LLR722CL.js +91 -70
- package/dist/chunk-RLT4RFKV.js +39 -30
- package/dist/chunk-SJPDVKUS.js +107 -88
- package/dist/chunk-SMQO5WD7.js +26 -16
- package/dist/chunk-STHEPPUZ.js +8 -6
- package/dist/chunk-UJJ7R56J.js +47 -37
- package/dist/chunk-UTDLUEEG.js +27 -21
- package/dist/chunk-VFTYH33W.js +54 -37
- package/dist/chunk-XXJKNKGQ.js +33 -23
- package/dist/chunk-ZV4BH47P.js +132 -134
- package/dist/cookie.cjs +169 -175
- package/dist/cookie.d.ts +23 -51
- package/dist/cookie.js +34 -34
- package/dist/error.cjs +75 -75
- package/dist/error.d.ts +30 -30
- package/dist/error.js +15 -8
- package/dist/headers.cjs +28 -28
- package/dist/headers.d.ts +2 -2
- package/dist/headers.js +6 -2
- package/dist/index-DpfbvTZ_.d.ts +249 -298
- package/dist/index.cjs +936 -969
- package/dist/index.d.ts +10 -31
- package/dist/index.js +70 -50
- package/dist/jose.cjs +61 -64
- package/dist/jose.d.ts +8 -8
- package/dist/jose.js +9 -5
- package/dist/oauth/bitbucket.cjs +38 -38
- package/dist/oauth/bitbucket.d.ts +7 -7
- package/dist/oauth/bitbucket.js +6 -2
- package/dist/oauth/discord.cjs +48 -48
- package/dist/oauth/discord.d.ts +7 -7
- package/dist/oauth/discord.js +6 -2
- package/dist/oauth/figma.cjs +39 -39
- package/dist/oauth/figma.d.ts +7 -7
- package/dist/oauth/figma.js +6 -2
- package/dist/oauth/github.cjs +31 -31
- package/dist/oauth/github.d.ts +7 -7
- package/dist/oauth/github.js +6 -2
- package/dist/oauth/gitlab.cjs +39 -39
- package/dist/oauth/gitlab.d.ts +7 -7
- package/dist/oauth/gitlab.js +6 -2
- package/dist/oauth/index.cjs +180 -180
- package/dist/oauth/index.d.ts +7 -26
- package/dist/oauth/index.js +36 -9
- package/dist/oauth/spotify.cjs +39 -39
- package/dist/oauth/spotify.d.ts +7 -7
- package/dist/oauth/spotify.js +6 -2
- package/dist/oauth/x.cjs +39 -39
- package/dist/oauth/x.d.ts +7 -7
- package/dist/oauth/x.js +6 -2
- package/dist/response.cjs +27 -27
- package/dist/response.d.ts +2 -2
- package/dist/response.js +6 -2
- package/dist/schemas.cjs +91 -91
- package/dist/schemas.d.ts +93 -126
- package/dist/schemas.js +18 -18
- package/dist/secure.cjs +95 -98
- package/dist/secure.d.ts +17 -17
- package/dist/secure.js +18 -4
- package/dist/utils.cjs +119 -132
- package/dist/utils.d.ts +11 -26
- package/dist/utils.js +21 -21
- package/package.json +2 -2
|
@@ -1,216 +1,207 @@
|
|
|
1
|
-
"use strict"
|
|
2
|
-
var __create = Object.create
|
|
3
|
-
var __defProp = Object.defineProperty
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
|
-
|
|
10
|
-
}
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
)
|
|
29
|
-
)
|
|
30
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod)
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
29
|
|
|
32
30
|
// src/actions/csrfToken/csrfToken.ts
|
|
33
|
-
var csrfToken_exports = {}
|
|
31
|
+
var csrfToken_exports = {};
|
|
34
32
|
__export(csrfToken_exports, {
|
|
35
|
-
|
|
36
|
-
})
|
|
37
|
-
module.exports = __toCommonJS(csrfToken_exports)
|
|
38
|
-
var import_router2 = require("@aura-stack/router")
|
|
33
|
+
csrfTokenAction: () => csrfTokenAction
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(csrfToken_exports);
|
|
36
|
+
var import_router2 = require("@aura-stack/router");
|
|
39
37
|
|
|
40
38
|
// src/secure.ts
|
|
41
|
-
var import_node_crypto = __toESM(require("crypto"), 1)
|
|
39
|
+
var import_node_crypto = __toESM(require("crypto"), 1);
|
|
42
40
|
|
|
43
41
|
// src/utils.ts
|
|
44
|
-
var import_router = require("@aura-stack/router")
|
|
42
|
+
var import_router = require("@aura-stack/router");
|
|
45
43
|
|
|
46
44
|
// src/error.ts
|
|
47
45
|
var AuthError = class extends Error {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
46
|
+
constructor(type, message) {
|
|
47
|
+
super(message);
|
|
48
|
+
this.type = type;
|
|
49
|
+
this.name = "AuthError";
|
|
50
|
+
}
|
|
51
|
+
};
|
|
54
52
|
|
|
55
53
|
// src/secure.ts
|
|
56
54
|
var generateSecure = (length = 32) => {
|
|
57
|
-
|
|
58
|
-
}
|
|
55
|
+
return import_node_crypto.default.randomBytes(length).toString("base64url");
|
|
56
|
+
};
|
|
59
57
|
var createCSRF = async (jose, csrfCookie) => {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
return jose.signJWS({ token })
|
|
67
|
-
} catch {
|
|
68
|
-
const token = generateSecure(32)
|
|
69
|
-
return jose.signJWS({ token })
|
|
58
|
+
try {
|
|
59
|
+
const token = generateSecure(32);
|
|
60
|
+
if (csrfCookie) {
|
|
61
|
+
await jose.verifyJWS(csrfCookie);
|
|
62
|
+
return csrfCookie;
|
|
70
63
|
}
|
|
71
|
-
}
|
|
64
|
+
return jose.signJWS({ token });
|
|
65
|
+
} catch {
|
|
66
|
+
const token = generateSecure(32);
|
|
67
|
+
return jose.signJWS({ token });
|
|
68
|
+
}
|
|
69
|
+
};
|
|
72
70
|
|
|
73
71
|
// src/headers.ts
|
|
74
72
|
var cacheControl = {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
73
|
+
"Cache-Control": "no-store",
|
|
74
|
+
Pragma: "no-cache",
|
|
75
|
+
Expires: "0",
|
|
76
|
+
Vary: "Cookie"
|
|
77
|
+
};
|
|
80
78
|
|
|
81
79
|
// src/cookie.ts
|
|
82
|
-
var import_cookie = require("cookie")
|
|
80
|
+
var import_cookie = require("cookie");
|
|
83
81
|
|
|
84
82
|
// src/assert.ts
|
|
85
83
|
var isRequest = (value) => {
|
|
86
|
-
|
|
87
|
-
}
|
|
84
|
+
return typeof Request !== "undefined" && value instanceof Request;
|
|
85
|
+
};
|
|
88
86
|
|
|
89
87
|
// src/cookie.ts
|
|
90
|
-
var import_cookie2 = require("cookie")
|
|
91
|
-
var COOKIE_NAME = "aura-auth"
|
|
88
|
+
var import_cookie2 = require("cookie");
|
|
89
|
+
var COOKIE_NAME = "aura-auth";
|
|
92
90
|
var defaultCookieOptions = {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
91
|
+
httpOnly: true,
|
|
92
|
+
sameSite: "lax",
|
|
93
|
+
path: "/",
|
|
94
|
+
maxAge: 60 * 60 * 24 * 15
|
|
95
|
+
};
|
|
98
96
|
var defaultStandardCookieConfig = {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
97
|
+
secure: false,
|
|
98
|
+
httpOnly: true,
|
|
99
|
+
prefix: ""
|
|
100
|
+
};
|
|
103
101
|
var defaultSecureCookieConfig = {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
102
|
+
secure: true,
|
|
103
|
+
prefix: "__Secure-"
|
|
104
|
+
};
|
|
107
105
|
var defaultHostCookieConfig = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
}
|
|
106
|
+
secure: true,
|
|
107
|
+
prefix: "__Host-",
|
|
108
|
+
path: "/",
|
|
109
|
+
domain: void 0
|
|
110
|
+
};
|
|
113
111
|
var expiredCookieOptions = {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
112
|
+
...defaultCookieOptions,
|
|
113
|
+
expires: /* @__PURE__ */ new Date(0),
|
|
114
|
+
maxAge: 0
|
|
115
|
+
};
|
|
118
116
|
var defineDefaultCookieOptions = (options) => {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
117
|
+
return {
|
|
118
|
+
name: options?.name ?? COOKIE_NAME,
|
|
119
|
+
prefix: options?.prefix ?? (options?.secure ? "__Secure-" : ""),
|
|
120
|
+
...defaultCookieOptions,
|
|
121
|
+
...options
|
|
122
|
+
};
|
|
123
|
+
};
|
|
126
124
|
var setCookie = (cookieName, value, options) => {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
125
|
+
const { prefix, name } = defineDefaultCookieOptions(options);
|
|
126
|
+
const cookieNameWithPrefix = `${prefix}${name}.${cookieName}`;
|
|
127
|
+
return (0, import_cookie.serialize)(cookieNameWithPrefix, value, {
|
|
128
|
+
...defaultCookieOptions,
|
|
129
|
+
...options
|
|
130
|
+
});
|
|
131
|
+
};
|
|
134
132
|
var getCookie = (petition, cookie, options, optional = false) => {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
throw new AuthError("invalid_request", "No cookies found. There is no active session")
|
|
133
|
+
const cookies = isRequest(petition) ? petition.headers.get("Cookie") : petition.headers.getSetCookie().join("; ");
|
|
134
|
+
if (!cookies) {
|
|
135
|
+
if (optional) {
|
|
136
|
+
return "";
|
|
141
137
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
138
|
+
throw new AuthError("invalid_request", "No cookies found. There is no active session");
|
|
139
|
+
}
|
|
140
|
+
const { name, prefix } = defineDefaultCookieOptions(options);
|
|
141
|
+
const parsedCookies = (0, import_cookie.parse)(cookies);
|
|
142
|
+
const value = parsedCookies[`${prefix}${name}.${cookie}`];
|
|
143
|
+
if (value === void 0) {
|
|
144
|
+
if (optional) {
|
|
145
|
+
return "";
|
|
150
146
|
}
|
|
151
|
-
|
|
152
|
-
}
|
|
147
|
+
throw new AuthError("invalid_request", `Cookie "${cookie}" not found. There is no active session`);
|
|
148
|
+
}
|
|
149
|
+
return value;
|
|
150
|
+
};
|
|
153
151
|
var secureCookieOptions = (request, cookieOptions, trustedProxyHeaders) => {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
152
|
+
const name = cookieOptions.name ?? COOKIE_NAME;
|
|
153
|
+
const isSecure = trustedProxyHeaders ? request.url.startsWith("https://") || request.headers.get("X-Forwarded-Proto") === "https" || request.headers.get("Forwarded")?.includes("proto=https") : request.url.startsWith("https://");
|
|
154
|
+
if (!cookieOptions.options?.httpOnly) {
|
|
155
|
+
console.warn(
|
|
156
|
+
"[WARNING]: Cookie is configured without HttpOnly. This allows JavaScript access via document.cookie and increases XSS risk."
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
if (cookieOptions.options?.domain === "*") {
|
|
160
|
+
console.warn("[WARNING]: Cookie 'Domain' is set to '*', which is insecure. Avoid wildcard domains.");
|
|
161
|
+
}
|
|
162
|
+
if (!isSecure) {
|
|
163
|
+
const options = cookieOptions.options;
|
|
164
|
+
if (options?.secure) {
|
|
165
|
+
console.warn(
|
|
166
|
+
"[WARNING]: The 'Secure' attribute will be disabled for this cookie. Serve over HTTPS to enforce Secure cookies."
|
|
167
|
+
);
|
|
164
168
|
}
|
|
165
|
-
if (
|
|
166
|
-
|
|
169
|
+
if (options?.sameSite == "none") {
|
|
170
|
+
console.warn("[WARNING]: SameSite=None without a secure connection can be blocked by browsers.");
|
|
167
171
|
}
|
|
168
|
-
if (
|
|
169
|
-
|
|
170
|
-
if (options?.secure) {
|
|
171
|
-
console.warn(
|
|
172
|
-
"[WARNING]: The 'Secure' attribute will be disabled for this cookie. Serve over HTTPS to enforce Secure cookies."
|
|
173
|
-
)
|
|
174
|
-
}
|
|
175
|
-
if (options?.sameSite == "none") {
|
|
176
|
-
console.warn("[WARNING]: SameSite=None without a secure connection can be blocked by browsers.")
|
|
177
|
-
}
|
|
178
|
-
if (process.env.NODE_ENV === "production") {
|
|
179
|
-
console.warn("[WARNING]: In production, ensure cookies are served over HTTPS to maintain security.")
|
|
180
|
-
}
|
|
181
|
-
return {
|
|
182
|
-
...defaultCookieOptions,
|
|
183
|
-
...cookieOptions.options,
|
|
184
|
-
sameSite: options?.sameSite === "none" ? "lax" : (options?.sameSite ?? "lax"),
|
|
185
|
-
...defaultStandardCookieConfig,
|
|
186
|
-
name,
|
|
187
|
-
}
|
|
172
|
+
if (process.env.NODE_ENV === "production") {
|
|
173
|
+
console.warn("[WARNING]: In production, ensure cookies are served over HTTPS to maintain security.");
|
|
188
174
|
}
|
|
189
|
-
return
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
175
|
+
return {
|
|
176
|
+
...defaultCookieOptions,
|
|
177
|
+
...cookieOptions.options,
|
|
178
|
+
sameSite: options?.sameSite === "none" ? "lax" : options?.sameSite ?? "lax",
|
|
179
|
+
...defaultStandardCookieConfig,
|
|
180
|
+
name
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
return cookieOptions.strategy === "host" ? {
|
|
184
|
+
...defaultCookieOptions,
|
|
185
|
+
...cookieOptions.options,
|
|
186
|
+
...defaultHostCookieConfig,
|
|
187
|
+
name
|
|
188
|
+
} : { ...defaultCookieOptions, ...cookieOptions.options, ...defaultSecureCookieConfig, name };
|
|
189
|
+
};
|
|
198
190
|
|
|
199
191
|
// src/actions/csrfToken/csrfToken.ts
|
|
200
192
|
var csrfTokenAction = (0, import_router2.createEndpoint)("GET", "/csrfToken", async (ctx) => {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
})
|
|
193
|
+
const {
|
|
194
|
+
request,
|
|
195
|
+
context: { cookies, jose, trustedProxyHeaders }
|
|
196
|
+
} = ctx;
|
|
197
|
+
const cookieOptions = secureCookieOptions(request, { ...cookies, strategy: "host" }, trustedProxyHeaders);
|
|
198
|
+
const existingCSRFToken = getCookie(request, "csrfToken", cookieOptions, true);
|
|
199
|
+
const csrfToken = await createCSRF(jose, existingCSRFToken);
|
|
200
|
+
const headers = new Headers(cacheControl);
|
|
201
|
+
headers.set("Set-Cookie", setCookie("csrfToken", csrfToken, cookieOptions));
|
|
202
|
+
return Response.json({ csrfToken }, { headers });
|
|
203
|
+
});
|
|
212
204
|
// Annotate the CommonJS export names for ESM import in node:
|
|
213
|
-
0 &&
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
})
|
|
205
|
+
0 && (module.exports = {
|
|
206
|
+
csrfTokenAction
|
|
207
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _aura_stack_router from
|
|
1
|
+
import * as _aura_stack_router from '@aura-stack/router';
|
|
2
2
|
|
|
3
|
-
declare const csrfTokenAction: _aura_stack_router.RouteEndpoint<"GET", "/csrfToken", {}
|
|
3
|
+
declare const csrfTokenAction: _aura_stack_router.RouteEndpoint<"GET", "/csrfToken", {}>;
|
|
4
4
|
|
|
5
|
-
export { csrfTokenAction }
|
|
5
|
+
export { csrfTokenAction };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
|
|
1
|
+
import {
|
|
2
|
+
csrfTokenAction
|
|
3
|
+
} from "../../chunk-SMQO5WD7.js";
|
|
4
|
+
import "../../chunk-ZV4BH47P.js";
|
|
5
|
+
import "../../chunk-6SM22VVJ.js";
|
|
6
|
+
import "../../chunk-STHEPPUZ.js";
|
|
7
|
+
import "../../chunk-GZU3RBTB.js";
|
|
8
|
+
import "../../chunk-256KIVJL.js";
|
|
9
|
+
import "../../chunk-FJUDBLCP.js";
|
|
10
|
+
export {
|
|
11
|
+
csrfTokenAction
|
|
12
|
+
};
|