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