@gatwech/auth 1.0.0-beta.21 → 1.0.0-beta.23
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/adapters/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/{admin-BzUJL6tr.mjs → admin-rd-xHhnP.mjs} +1 -1
- package/dist/{anonymous-BjlTk4gl.mjs → anonymous-qSasVeIe.mjs} +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/{api-Dk8Yj_J5.mjs → api-BV65Y-Rk.mjs} +5 -0
- package/dist/{audit-log-DgqHJ-uv.mjs → audit-log-DhRRCMrv.mjs} +21 -6
- package/dist/{auth-BoEA9bN7.mjs → auth-DtOjarwu.mjs} +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/plugins/index.d.mts +46 -46
- package/dist/client/react/index.d.mts +15 -15
- package/dist/{client-Da7tq8m6.d.mts → client-CDaFOX7A.d.mts} +4 -4
- package/dist/{client-B00gkznv.d.mts → client-D8XKNpua.d.mts} +1 -1
- package/dist/cookies/index.d.mts +2 -2
- package/dist/db/index.d.mts +1 -1
- package/dist/{email-otp-Dw0DypjQ.mjs → email-otp-BmgAht1S.mjs} +1 -1
- package/dist/{generic-oauth-DFj27JY8.mjs → generic-oauth-C5_AXj2z.mjs} +1 -1
- package/dist/{haveibeenpwned-CzNda7Tn.mjs → haveibeenpwned-_3a5amT-.mjs} +1 -1
- package/dist/{index-C-IDh5yy.d.mts → index-382PsmkK.d.mts} +2 -2
- package/dist/{index-BjCQ3jmE.d.mts → index-3lfPQHhX.d.mts} +118 -118
- package/dist/{index-CMG4Pnen.d.mts → index-B4aWSJEd.d.mts} +6 -6
- package/dist/{index-BWYXZVsV.d.mts → index-B5r4oL5q.d.mts} +5 -5
- package/dist/{index-BKy-8t2n.d.mts → index-B7iZf_Dl.d.mts} +449 -112
- package/dist/{index-VUyESU4p.d.mts → index-BhYE1_9j.d.mts} +1 -1
- package/dist/{index-IX1to9TB.d.mts → index-Blq8KrTy.d.mts} +33 -33
- package/dist/{index-oNlp4SvD.d.mts → index-C-z4TCHD.d.mts} +10 -10
- package/dist/{index-D1OZ2e4m.d.mts → index-C8F7PsET.d.mts} +13 -13
- package/dist/{index-TrOnY3pM.d.mts → index-CExSHSFz.d.mts} +169 -169
- package/dist/{index-iRoaTsOj.d.mts → index-CIxFDcfQ.d.mts} +2 -2
- package/dist/{index-BECNG13R.d.mts → index-COFPq-mg.d.mts} +13 -13
- package/dist/{index-YeXSxzhX.d.mts → index-CWwQ1Q7t.d.mts} +17 -17
- package/dist/{index-CbBQdS-u.d.mts → index-CWxKeTtE.d.mts} +6 -6
- package/dist/{index-cPt-00xm.d.mts → index-D0SgItjY.d.mts} +6 -6
- package/dist/{index-Bhc37y9F.d.mts → index-DCliG2n6.d.mts} +3 -3
- package/dist/{index-CM1rFdwV.d.mts → index-DPVukjga.d.mts} +9 -9
- package/dist/{index-WV7VzW2H.d.mts → index-DUu0ieh6.d.mts} +8 -8
- package/dist/{index-Bxive_YT.d.mts → index-De2a2OyC.d.mts} +9 -9
- package/dist/{index-CpH-1sse.d.mts → index-Dg6Ftb6f.d.mts} +9 -9
- package/dist/{index-Dt2I0G4X.d.mts → index-Dgyj1fTk.d.mts} +7 -7
- package/dist/{index-CTqynuxm.d.mts → index-DxIqV3rU.d.mts} +4 -4
- package/dist/{index-jEkJ2Zfk.d.mts → index-DxRAXHrZ.d.mts} +6 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/integrations/next-js.d.mts +4 -4
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/react-start.d.mts +4 -4
- package/dist/{jwt-DBN2mu0r.mjs → jwt-Czv-v097.mjs} +1 -1
- package/dist/{magic-link-D9Em1aOR.mjs → magic-link-CJgE0Ngn.mjs} +1 -1
- package/dist/{multi-session-Dno_8DxC.mjs → multi-session-bveCXtQW.mjs} +1 -1
- package/dist/{oauth-proxy-DW-zt8wv.mjs → oauth-proxy-69n1xA8L.mjs} +1 -1
- package/dist/oauth2/index.d.mts +1 -1
- package/dist/oauth2/index.mjs +1 -1
- package/dist/{one-tap-CodeyQb8.mjs → one-tap-Cm1eHuqi.mjs} +1 -1
- package/dist/{organization-D4QMpChF.mjs → organization-BK3ks97y.mjs} +1 -1
- package/dist/plugins/admin/index.d.mts +2 -2
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.mjs +2 -2
- package/dist/plugins/audit-log/client.d.mts +23 -23
- package/dist/plugins/audit-log/index.d.mts +22 -22
- package/dist/plugins/audit-log/index.mjs +3 -3
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.mjs +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +2 -2
- package/dist/plugins/index.d.mts +22 -22
- package/dist/plugins/index.mjs +17 -17
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.mjs +2 -2
- package/dist/plugins/magic-link/index.d.mts +1 -1
- package/dist/plugins/magic-link/index.mjs +2 -2
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.mjs +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +2 -2
- package/dist/plugins/one-tap/index.d.mts +1 -1
- package/dist/plugins/one-tap/index.mjs +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.mjs +17 -17
- package/dist/plugins/organization/index.d.mts +2 -2
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sentinel/client.d.mts +23 -23
- package/dist/plugins/sentinel/index.d.mts +22 -22
- package/dist/plugins/sentinel/index.mjs +4 -4
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.mjs +2 -2
- package/dist/{plugins-yF8CFUDR.mjs → plugins-RSPSU3ro.mjs} +1 -1
- package/dist/{registry-CqG_3Qnx.mjs → registry-GztLf62p.mjs} +14 -2
- package/dist/{sentinel-B4Wo79HK.mjs → sentinel-CYtaI3eO.mjs} +264 -9
- package/dist/src/plugins/audit-log/events.d.ts +1 -0
- package/dist/src/plugins/audit-log/index.d.ts +45 -0
- package/dist/src/plugins/sentinel/actions.d.ts +2 -0
- package/dist/src/plugins/sentinel/geo.d.ts +11 -0
- package/dist/src/plugins/sentinel/index.d.ts +248 -3
- package/dist/src/plugins/sentinel/schema.d.ts +37 -0
- package/dist/src/plugins/sentinel/store.d.ts +34 -0
- package/dist/src/plugins/sentinel/types.d.ts +7 -0
- package/dist/src/utils/has-role.d.ts +5 -0
- package/dist/test-utils/index.d.mts +1044 -1044
- package/dist/test-utils/index.mjs +18 -18
- package/dist/types/index.d.mts +1 -1
- package/dist/{username-BHNvcvsY.mjs → username-DCp6yugu.mjs} +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as better_call158 from "better-call";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/magic-link/index.d.ts
|
|
@@ -89,7 +89,7 @@ declare const magicLink: (options: MagicLinkopts) => {
|
|
|
89
89
|
} & {
|
|
90
90
|
asResponse?: boolean;
|
|
91
91
|
returnHeaders?: boolean;
|
|
92
|
-
use?:
|
|
92
|
+
use?: better_call158.Middleware[];
|
|
93
93
|
path?: string;
|
|
94
94
|
} & {
|
|
95
95
|
asResponse?: AsResponse | undefined;
|
|
@@ -175,7 +175,7 @@ declare const magicLink: (options: MagicLinkopts) => {
|
|
|
175
175
|
} & {
|
|
176
176
|
asResponse?: boolean;
|
|
177
177
|
returnHeaders?: boolean;
|
|
178
|
-
use?:
|
|
178
|
+
use?: better_call158.Middleware[];
|
|
179
179
|
path?: string;
|
|
180
180
|
} & {
|
|
181
181
|
asResponse?: AsResponse | undefined;
|
|
@@ -214,7 +214,7 @@ declare const magicLink: (options: MagicLinkopts) => {
|
|
|
214
214
|
errorCallbackURL: z$1.ZodOptional<z$1.ZodString>;
|
|
215
215
|
newUserCallbackURL: z$1.ZodOptional<z$1.ZodString>;
|
|
216
216
|
}, z$1.core.$strip>;
|
|
217
|
-
use: ((inputContext:
|
|
217
|
+
use: ((inputContext: better_call158.MiddlewareInputContext<better_call158.MiddlewareOptions>) => Promise<void>)[];
|
|
218
218
|
requireHeaders: true;
|
|
219
219
|
metadata: {
|
|
220
220
|
openapi: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as better_call227 from "better-call";
|
|
3
3
|
import * as z$1 from "zod";
|
|
4
4
|
import { StringValue } from "ms";
|
|
5
5
|
|
|
@@ -180,7 +180,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
180
180
|
} & {
|
|
181
181
|
asResponse?: boolean;
|
|
182
182
|
returnHeaders?: boolean;
|
|
183
|
-
use?:
|
|
183
|
+
use?: better_call227.Middleware[];
|
|
184
184
|
path?: string;
|
|
185
185
|
} & {
|
|
186
186
|
asResponse?: AsResponse | undefined;
|
|
@@ -303,7 +303,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
303
303
|
} & {
|
|
304
304
|
asResponse?: boolean;
|
|
305
305
|
returnHeaders?: boolean;
|
|
306
|
-
use?:
|
|
306
|
+
use?: better_call227.Middleware[];
|
|
307
307
|
path?: string;
|
|
308
308
|
} & {
|
|
309
309
|
asResponse?: AsResponse | undefined;
|
|
@@ -407,7 +407,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
407
407
|
} & {
|
|
408
408
|
asResponse?: boolean;
|
|
409
409
|
returnHeaders?: boolean;
|
|
410
|
-
use?:
|
|
410
|
+
use?: better_call227.Middleware[];
|
|
411
411
|
path?: string;
|
|
412
412
|
} & {
|
|
413
413
|
asResponse?: AsResponse | undefined;
|
|
@@ -484,7 +484,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
484
484
|
} & {
|
|
485
485
|
asResponse?: boolean;
|
|
486
486
|
returnHeaders?: boolean;
|
|
487
|
-
use?:
|
|
487
|
+
use?: better_call227.Middleware[];
|
|
488
488
|
path?: string;
|
|
489
489
|
} & {
|
|
490
490
|
asResponse?: AsResponse | undefined;
|
|
@@ -556,7 +556,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
556
556
|
} & {
|
|
557
557
|
asResponse?: boolean;
|
|
558
558
|
returnHeaders?: boolean;
|
|
559
|
-
use?:
|
|
559
|
+
use?: better_call227.Middleware[];
|
|
560
560
|
path?: string;
|
|
561
561
|
} & {
|
|
562
562
|
asResponse?: AsResponse | undefined;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as UnionToIntersection, u as Prettify } from "./helper-BgOIGHsu.mjs";
|
|
2
|
-
import { A as Where, An as generateId, B as InferPluginsFromClient, C as AdapterInstance, Cn as StandardSchemaV1, D as DBAdapterSchemaCreation, Dn as getTelemetryAuthConfig, E as DBAdapterInstance, En as getCurrentAdapter, F as ClientStore, G as PayvoAuthClientPlugin, H as InferUserFromClient, I as InferActions, K as SessionQueryParams, L as InferAdditionalFromClient, M as AtomListener, Mn as generateState, N as ClientAtomListener, Nn as parseState, O as DBTransactionAdapter, P as ClientOptions, Q as APIError, R as InferClientAPI, S as Adapter, T as DBAdapter, Tn as createTelemetry, U as IsSignal, V as InferSessionFromClient, W as PayvoAuthClientOptions, X as WithJsDoc, Y as Auth, Z as payvoAuth, _ as Verification, a as PayvoAuthRateLimitOptions, b as InferAPI, c as AdditionalSessionFieldsOutput, d as InferPluginTypes, f as InferSession, g as User, h as Session, i as PayvoAuthPlugin, j as init, jn as HIDE_METADATA, k as TransactionAdapter, kn as capitalizeFirstLetter, l as AdditionalUserFieldsInput, m as RateLimit, n as PayvoAuthCookies, o as Account, p as InferUser, q as Store, r as PayvoAuthOptions, s as AdditionalSessionFieldsInput, t as PayvoAuthAdvancedOptions, u as AdditionalUserFieldsOutput, v as FilterActions, w as AdapterSchemaCreation, wn as TelemetryEvent, x as InferSessionAPI, y as FilteredAPI, z as InferErrorCodes } from "./index-
|
|
2
|
+
import { A as Where, An as generateId, B as InferPluginsFromClient, C as AdapterInstance, Cn as StandardSchemaV1, D as DBAdapterSchemaCreation, Dn as getTelemetryAuthConfig, E as DBAdapterInstance, En as getCurrentAdapter, F as ClientStore, G as PayvoAuthClientPlugin, H as InferUserFromClient, I as InferActions, K as SessionQueryParams, L as InferAdditionalFromClient, M as AtomListener, Mn as generateState, N as ClientAtomListener, Nn as parseState, O as DBTransactionAdapter, P as ClientOptions, Q as APIError, R as InferClientAPI, S as Adapter, T as DBAdapter, Tn as createTelemetry, U as IsSignal, V as InferSessionFromClient, W as PayvoAuthClientOptions, X as WithJsDoc, Y as Auth, Z as payvoAuth, _ as Verification, a as PayvoAuthRateLimitOptions, b as InferAPI, c as AdditionalSessionFieldsOutput, d as InferPluginTypes, f as InferSession, g as User, h as Session, i as PayvoAuthPlugin, j as init, jn as HIDE_METADATA, k as TransactionAdapter, kn as capitalizeFirstLetter, l as AdditionalUserFieldsInput, m as RateLimit, n as PayvoAuthCookies, o as Account, p as InferUser, q as Store, r as PayvoAuthOptions, s as AdditionalSessionFieldsInput, t as PayvoAuthAdvancedOptions, u as AdditionalUserFieldsOutput, v as FilterActions, w as AdapterSchemaCreation, wn as TelemetryEvent, x as InferSessionAPI, y as FilteredAPI, z as InferErrorCodes } from "./index-3lfPQHhX.mjs";
|
|
3
3
|
import "./types-DNQ9XQrB.mjs";
|
|
4
4
|
import "./index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import { n as InferPluginErrorCodes, t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as parseState, n as HIDE_METADATA, r as generateState, t as generateId } from "./utils-B03WRaGi.mjs";
|
|
2
2
|
import "./url-VB2gAbTI.mjs";
|
|
3
|
-
import { t as APIError } from "./api-
|
|
3
|
+
import { t as APIError } from "./api-BV65Y-Rk.mjs";
|
|
4
4
|
import "./get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "./json-D0TBLy4q.mjs";
|
|
6
6
|
import "./crypto-CCyta8xj.mjs";
|
|
@@ -16,7 +16,7 @@ import { t as capitalizeFirstLetter } from "./misc-fKH4d5XQ.mjs";
|
|
|
16
16
|
import "./session-BB3oqApE.mjs";
|
|
17
17
|
import "./adapter-factory-xbLUJt85.mjs";
|
|
18
18
|
import "./kysely-adapter-BidlNTiV.mjs";
|
|
19
|
-
import { t as payvoAuth } from "./auth-
|
|
19
|
+
import { t as payvoAuth } from "./auth-DtOjarwu.mjs";
|
|
20
20
|
import "./password-5CdcAVaH.mjs";
|
|
21
21
|
import { getCurrentAdapter } from "@gatwech/core/context";
|
|
22
22
|
import { createTelemetry, getTelemetryAuthConfig } from "@gatwech/telemetry";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _gatwech_core0 from "@gatwech/core";
|
|
2
|
+
import * as better_call91 from "better-call";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/next-js.d.ts
|
|
5
5
|
declare function toNextJsHandler(auth: {
|
|
@@ -12,8 +12,8 @@ declare const nextCookies: () => {
|
|
|
12
12
|
id: "next-cookies";
|
|
13
13
|
hooks: {
|
|
14
14
|
after: {
|
|
15
|
-
matcher(ctx:
|
|
16
|
-
handler: (inputContext:
|
|
15
|
+
matcher(ctx: _gatwech_core0.HookEndpointContext): true;
|
|
16
|
+
handler: (inputContext: better_call91.MiddlewareInputContext<better_call91.MiddlewareOptions>) => Promise<void>;
|
|
17
17
|
}[];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _gatwech_core28 from "@gatwech/core";
|
|
2
|
+
import * as better_call130 from "better-call";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/react-start.d.ts
|
|
5
5
|
declare const reactStartCookies: () => {
|
|
6
6
|
id: "react-start-cookies";
|
|
7
7
|
hooks: {
|
|
8
8
|
after: {
|
|
9
|
-
matcher(ctx:
|
|
10
|
-
handler: (inputContext:
|
|
9
|
+
matcher(ctx: _gatwech_core28.HookEndpointContext): true;
|
|
10
|
+
handler: (inputContext: better_call130.MiddlewareInputContext<better_call130.MiddlewareOptions>) => Promise<void>;
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as APIError } from "./api-
|
|
1
|
+
import { t as APIError } from "./api-BV65Y-Rk.mjs";
|
|
2
2
|
import { n as symmetricEncrypt, t as symmetricDecrypt } from "./crypto-CCyta8xj.mjs";
|
|
3
3
|
import { n as mergeSchema } from "./date-CMr04reD.mjs";
|
|
4
4
|
import { u as sessionMiddleware } from "./session-BB3oqApE.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as originCheck } from "./api-
|
|
1
|
+
import { R as originCheck } from "./api-BV65Y-Rk.mjs";
|
|
2
2
|
import { t as generateRandomString } from "./random-32E3cU5o.mjs";
|
|
3
3
|
import { c as setSessionCookie } from "./cookies-BuvlgcA-.mjs";
|
|
4
4
|
import { BASE_ERROR_CODES } from "@gatwech/core/error";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as APIError } from "./api-
|
|
1
|
+
import { t as APIError } from "./api-BV65Y-Rk.mjs";
|
|
2
2
|
import { c as setSessionCookie, l as parseSetCookieHeader, n as deleteSessionCookie, o as parseCookies } from "./cookies-BuvlgcA-.mjs";
|
|
3
3
|
import { u as sessionMiddleware } from "./session-BB3oqApE.mjs";
|
|
4
4
|
import { defineErrorCodes } from "@gatwech/core/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as getOrigin } from "./url-VB2gAbTI.mjs";
|
|
2
|
-
import { R as originCheck } from "./api-
|
|
2
|
+
import { R as originCheck } from "./api-BV65Y-Rk.mjs";
|
|
3
3
|
import { n as symmetricEncrypt, t as symmetricDecrypt } from "./crypto-CCyta8xj.mjs";
|
|
4
4
|
import { env } from "@gatwech/core/env";
|
|
5
5
|
import { createAuthEndpoint, createAuthMiddleware } from "@gatwech/core/api";
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../helper-BgOIGHsu.mjs";
|
|
2
|
-
import { Mn as generateState, Nn as parseState, g as User, o as Account } from "../index-
|
|
2
|
+
import { Mn as generateState, Nn as parseState, g as User, o as Account } from "../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../plugins-Dy_FrD4Y.mjs";
|
package/dist/oauth2/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as parseState, r as generateState } from "../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../url-VB2gAbTI.mjs";
|
|
3
|
-
import { F as decryptOAuthToken, I as setTokenUtil, O as handleOAuthUserInfo } from "../api-
|
|
3
|
+
import { F as decryptOAuthToken, I as setTokenUtil, O as handleOAuthUserInfo } from "../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../crypto-CCyta8xj.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as generateId } from "./utils-B03WRaGi.mjs";
|
|
2
|
-
import { t as APIError$1 } from "./api-
|
|
2
|
+
import { t as APIError$1 } from "./api-BV65Y-Rk.mjs";
|
|
3
3
|
import { c as setSessionCookie } from "./cookies-BuvlgcA-.mjs";
|
|
4
4
|
import { t as getDate } from "./date-CMr04reD.mjs";
|
|
5
5
|
import { i as toZodSchema } from "./db-CV59HpEF.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../../index-
|
|
7
|
+
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../../index-Blq8KrTy.mjs";
|
|
8
8
|
export { AdminOptions, InferAdminRolesFromOption, SessionWithImpersonatedBy, UserWithRole, admin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../../url-VB2gAbTI.mjs";
|
|
3
|
-
import "../../api-
|
|
3
|
+
import "../../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../../crypto-CCyta8xj.mjs";
|
|
@@ -17,7 +17,7 @@ import "../../session-BB3oqApE.mjs";
|
|
|
17
17
|
import "../../plugin-helper-RJJBTOba.mjs";
|
|
18
18
|
import "../../access-BM6jSA5j.mjs";
|
|
19
19
|
import "../../access-bhklJd7m.mjs";
|
|
20
|
-
import { t as admin } from "../../admin-
|
|
20
|
+
import { t as admin } from "../../admin-rd-xHhnP.mjs";
|
|
21
21
|
import "../../has-permission-Bvg8de8g.mjs";
|
|
22
22
|
|
|
23
23
|
export { admin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../../index-
|
|
6
|
+
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../../index-B4aWSJEd.mjs";
|
|
7
7
|
export { AnonymousOptions, UserWithAnonymous, anonymous };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../../url-VB2gAbTI.mjs";
|
|
3
|
-
import "../../api-
|
|
3
|
+
import "../../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../../crypto-CCyta8xj.mjs";
|
|
@@ -14,6 +14,6 @@ import "../../get-tables-CKvSyDST.mjs";
|
|
|
14
14
|
import "../../types-DCPpFKUB.mjs";
|
|
15
15
|
import "../../misc-fKH4d5XQ.mjs";
|
|
16
16
|
import "../../session-BB3oqApE.mjs";
|
|
17
|
-
import { t as anonymous } from "../../anonymous-
|
|
17
|
+
import { t as anonymous } from "../../anonymous-qSasVeIe.mjs";
|
|
18
18
|
|
|
19
19
|
export { anonymous };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import "../../index-
|
|
9
|
-
import "../../index-
|
|
10
|
-
import "../../index-
|
|
11
|
-
import "../../index-
|
|
12
|
-
import "../../index-
|
|
13
|
-
import "../../index-
|
|
14
|
-
import "../../index-
|
|
15
|
-
import "../../index-
|
|
16
|
-
import "../../index-
|
|
17
|
-
import "../../index-
|
|
18
|
-
import "../../index-
|
|
19
|
-
import "../../index-
|
|
20
|
-
import "../../index-
|
|
21
|
-
import "../../index-
|
|
22
|
-
import "../../index-
|
|
7
|
+
import "../../index-Blq8KrTy.mjs";
|
|
8
|
+
import "../../index-B4aWSJEd.mjs";
|
|
9
|
+
import "../../index-B7iZf_Dl.mjs";
|
|
10
|
+
import "../../index-CWxKeTtE.mjs";
|
|
11
|
+
import "../../index-382PsmkK.mjs";
|
|
12
|
+
import "../../index-D0SgItjY.mjs";
|
|
13
|
+
import "../../index-DxRAXHrZ.mjs";
|
|
14
|
+
import "../../index-C8F7PsET.mjs";
|
|
15
|
+
import "../../index-DUu0ieh6.mjs";
|
|
16
|
+
import "../../index-DCliG2n6.mjs";
|
|
17
|
+
import "../../index-DPVukjga.mjs";
|
|
18
|
+
import "../../index-DxIqV3rU.mjs";
|
|
19
|
+
import "../../index-Dg6Ftb6f.mjs";
|
|
20
|
+
import "../../index-C-z4TCHD.mjs";
|
|
21
|
+
import "../../index-CIxFDcfQ.mjs";
|
|
22
|
+
import "../../index-B5r4oL5q.mjs";
|
|
23
23
|
import "../../index-QmocqGM-.mjs";
|
|
24
|
-
import "../../index-
|
|
25
|
-
import "../../index-
|
|
26
|
-
import "../../index-
|
|
27
|
-
import "../../index-
|
|
28
|
-
import "../../index-
|
|
29
|
-
import { t as auditLogClient } from "../../client-
|
|
24
|
+
import "../../index-CExSHSFz.mjs";
|
|
25
|
+
import "../../index-Dgyj1fTk.mjs";
|
|
26
|
+
import "../../index-CWwQ1Q7t.mjs";
|
|
27
|
+
import "../../index-COFPq-mg.mjs";
|
|
28
|
+
import "../../index-De2a2OyC.mjs";
|
|
29
|
+
import { t as auditLogClient } from "../../client-D8XKNpua.mjs";
|
|
30
30
|
export { auditLogClient };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import "../../index-
|
|
9
|
-
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, M as VERIFICATION_PATHS, O as CREDENTIAL_SIGN_IN_PATHS, T as ALL_EVENT_TYPES, j as SIGN_IN_PATHS, k as PATH_EVENTS, n as auditLog, t as AUDIT_LOG_ERROR_CODES, w as AuditLogOptions } from "../../index-
|
|
10
|
-
import "../../index-
|
|
11
|
-
import "../../index-
|
|
12
|
-
import "../../index-
|
|
13
|
-
import "../../index-
|
|
14
|
-
import "../../index-
|
|
15
|
-
import "../../index-
|
|
16
|
-
import "../../index-
|
|
17
|
-
import "../../index-
|
|
18
|
-
import "../../index-
|
|
19
|
-
import "../../index-
|
|
20
|
-
import "../../index-
|
|
21
|
-
import "../../index-
|
|
22
|
-
import "../../index-
|
|
7
|
+
import "../../index-Blq8KrTy.mjs";
|
|
8
|
+
import "../../index-B4aWSJEd.mjs";
|
|
9
|
+
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, M as VERIFICATION_PATHS, O as CREDENTIAL_SIGN_IN_PATHS, T as ALL_EVENT_TYPES, j as SIGN_IN_PATHS, k as PATH_EVENTS, n as auditLog, t as AUDIT_LOG_ERROR_CODES, w as AuditLogOptions } from "../../index-B7iZf_Dl.mjs";
|
|
10
|
+
import "../../index-CWxKeTtE.mjs";
|
|
11
|
+
import "../../index-382PsmkK.mjs";
|
|
12
|
+
import "../../index-D0SgItjY.mjs";
|
|
13
|
+
import "../../index-DxRAXHrZ.mjs";
|
|
14
|
+
import "../../index-C8F7PsET.mjs";
|
|
15
|
+
import "../../index-DUu0ieh6.mjs";
|
|
16
|
+
import "../../index-DCliG2n6.mjs";
|
|
17
|
+
import "../../index-DPVukjga.mjs";
|
|
18
|
+
import "../../index-DxIqV3rU.mjs";
|
|
19
|
+
import "../../index-Dg6Ftb6f.mjs";
|
|
20
|
+
import "../../index-C-z4TCHD.mjs";
|
|
21
|
+
import "../../index-CIxFDcfQ.mjs";
|
|
22
|
+
import "../../index-B5r4oL5q.mjs";
|
|
23
23
|
import "../../index-QmocqGM-.mjs";
|
|
24
|
-
import "../../index-
|
|
25
|
-
import "../../index-
|
|
26
|
-
import "../../index-
|
|
27
|
-
import "../../index-
|
|
28
|
-
import "../../index-
|
|
24
|
+
import "../../index-CExSHSFz.mjs";
|
|
25
|
+
import "../../index-Dgyj1fTk.mjs";
|
|
26
|
+
import "../../index-CWwQ1Q7t.mjs";
|
|
27
|
+
import "../../index-COFPq-mg.mjs";
|
|
28
|
+
import "../../index-De2a2OyC.mjs";
|
|
29
29
|
export { ALL_EVENT_TYPES, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, AuditEvent, AuditEventType, AuditLogOptions, CREDENTIAL_SIGN_IN_PATHS, PATH_EVENTS, SECURITY_EVENT_TYPES, SIGN_IN_PATHS, VERIFICATION_PATHS, auditLog };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../../url-VB2gAbTI.mjs";
|
|
3
|
-
import "../../api-
|
|
3
|
+
import "../../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../../crypto-CCyta8xj.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../get-tables-CKvSyDST.mjs";
|
|
|
14
14
|
import "../../types-DCPpFKUB.mjs";
|
|
15
15
|
import "../../misc-fKH4d5XQ.mjs";
|
|
16
16
|
import "../../session-BB3oqApE.mjs";
|
|
17
|
-
import { a as CREDENTIAL_SIGN_IN_PATHS, c as SIGN_IN_PATHS, i as AUDIT_EVENT_TYPES, l as VERIFICATION_PATHS, o as PATH_EVENTS, r as ALL_EVENT_TYPES, s as SECURITY_EVENT_TYPES } from "../../registry-
|
|
18
|
-
import { n as auditLog, t as AUDIT_LOG_ERROR_CODES } from "../../audit-log-
|
|
17
|
+
import { a as CREDENTIAL_SIGN_IN_PATHS, c as SIGN_IN_PATHS, i as AUDIT_EVENT_TYPES, l as VERIFICATION_PATHS, o as PATH_EVENTS, r as ALL_EVENT_TYPES, s as SECURITY_EVENT_TYPES } from "../../registry-GztLf62p.mjs";
|
|
18
|
+
import { n as auditLog, t as AUDIT_LOG_ERROR_CODES } from "../../audit-log-DhRRCMrv.mjs";
|
|
19
19
|
|
|
20
20
|
export { ALL_EVENT_TYPES, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, CREDENTIAL_SIGN_IN_PATHS, PATH_EVENTS, SECURITY_EVENT_TYPES, SIGN_IN_PATHS, VERIFICATION_PATHS, auditLog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bearer } from "../../index-
|
|
1
|
+
import { t as bearer } from "../../index-CWxKeTtE.mjs";
|
|
2
2
|
export { bearer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as captcha } from "../../index-
|
|
1
|
+
import { t as captcha } from "../../index-382PsmkK.mjs";
|
|
2
2
|
export { captcha };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as customSession, t as CustomSessionPluginOptions } from "../../index-
|
|
6
|
+
import { n as customSession, t as CustomSessionPluginOptions } from "../../index-D0SgItjY.mjs";
|
|
7
7
|
export { CustomSessionPluginOptions, customSession };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
2
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
3
|
-
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../../index-
|
|
3
|
+
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../../index-DxRAXHrZ.mjs";
|
|
4
4
|
export { $deviceAuthorizationOptionsSchema, DeviceAuthorizationOptions, deviceAuthorization, deviceAuthorizationClient };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../../url-VB2gAbTI.mjs";
|
|
3
|
-
import "../../api-
|
|
3
|
+
import "../../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../../crypto-CCyta8xj.mjs";
|
|
@@ -15,6 +15,6 @@ import "../../types-DCPpFKUB.mjs";
|
|
|
15
15
|
import "../../misc-fKH4d5XQ.mjs";
|
|
16
16
|
import "../../session-BB3oqApE.mjs";
|
|
17
17
|
import "../../plugin-helper-RJJBTOba.mjs";
|
|
18
|
-
import { t as emailOTP } from "../../email-otp-
|
|
18
|
+
import { t as emailOTP } from "../../email-otp-BmgAht1S.mjs";
|
|
19
19
|
|
|
20
20
|
export { emailOTP };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as genericOAuth, t as GenericOAuthConfig } from "../../index-
|
|
6
|
+
import { n as genericOAuth, t as GenericOAuthConfig } from "../../index-DUu0ieh6.mjs";
|
|
7
7
|
export { GenericOAuthConfig, genericOAuth };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../../url-VB2gAbTI.mjs";
|
|
3
|
-
import "../../api-
|
|
3
|
+
import "../../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../../crypto-CCyta8xj.mjs";
|
|
@@ -14,6 +14,6 @@ import "../../get-tables-CKvSyDST.mjs";
|
|
|
14
14
|
import "../../types-DCPpFKUB.mjs";
|
|
15
15
|
import "../../misc-fKH4d5XQ.mjs";
|
|
16
16
|
import "../../session-BB3oqApE.mjs";
|
|
17
|
-
import { t as genericOAuth } from "../../generic-oauth-
|
|
17
|
+
import { t as genericOAuth } from "../../generic-oauth-C5_AXj2z.mjs";
|
|
18
18
|
|
|
19
19
|
export { genericOAuth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../../index-
|
|
1
|
+
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../../index-DCliG2n6.mjs";
|
|
2
2
|
export { HaveIBeenPwnedOptions, getPasswordBreachCount, haveIBeenPwned };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../utils-B03WRaGi.mjs";
|
|
2
2
|
import "../../url-VB2gAbTI.mjs";
|
|
3
|
-
import "../../api-
|
|
3
|
+
import "../../api-BV65Y-Rk.mjs";
|
|
4
4
|
import "../../get-request-ip-DSjrEpGo.mjs";
|
|
5
5
|
import "../../json-D0TBLy4q.mjs";
|
|
6
6
|
import "../../crypto-CCyta8xj.mjs";
|
|
@@ -14,6 +14,6 @@ import "../../get-tables-CKvSyDST.mjs";
|
|
|
14
14
|
import "../../types-DCPpFKUB.mjs";
|
|
15
15
|
import "../../misc-fKH4d5XQ.mjs";
|
|
16
16
|
import "../../session-BB3oqApE.mjs";
|
|
17
|
-
import { n as haveIBeenPwned, t as getPasswordBreachCount } from "../../haveibeenpwned-
|
|
17
|
+
import { n as haveIBeenPwned, t as getPasswordBreachCount } from "../../haveibeenpwned-_3a5amT-.mjs";
|
|
18
18
|
|
|
19
19
|
export { getPasswordBreachCount, haveIBeenPwned };
|
package/dist/plugins/index.d.mts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../helper-BgOIGHsu.mjs";
|
|
2
|
-
import { jn as HIDE_METADATA } from "../index-
|
|
2
|
+
import { jn as HIDE_METADATA } from "../index-3lfPQHhX.mjs";
|
|
3
3
|
import "../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import { n as InferPluginErrorCodes, t as InferOptionSchema } from "../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../index-CxlWnL9c.mjs";
|
|
7
|
-
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../index-
|
|
8
|
-
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../index-
|
|
9
|
-
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, F as API_KEY_TABLE_NAME, I as ERROR_CODES, L as apiKey, M as VERIFICATION_PATHS, N as LastLoginMethodOptions, O as CREDENTIAL_SIGN_IN_PATHS, P as lastLoginMethod, R as defaultKeyHasher, S as SentinelOptions, T as ALL_EVENT_TYPES, _ as haversineDistanceKm, a as createAuthEndpoint, b as GeoLocation, c as sentinel, d as POW_SOLUTION_HEADER, f as createNonce, g as verifySolution, h as solveChallenge, i as AuthMiddleware, j as SIGN_IN_PATHS, k as PATH_EVENTS, l as POW_CHALLENGE_HEADER, m as parsePowHeader, n as auditLog, o as createAuthMiddleware, p as hasLeadingZeroBits, r as AuthEndpoint, s as optionsMiddleware, t as AUDIT_LOG_ERROR_CODES, u as POW_REASON_HEADER, v as normalizeEmail, w as AuditLogOptions, x as SecurityAction, y as SENTINEL_ERROR_CODES } from "../index-
|
|
10
|
-
import { t as bearer } from "../index-
|
|
11
|
-
import { t as captcha } from "../index-
|
|
12
|
-
import { n as customSession, t as CustomSessionPluginOptions } from "../index-
|
|
13
|
-
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../index-
|
|
14
|
-
import { n as emailOTP, t as EmailOTPOptions } from "../index-
|
|
15
|
-
import { n as genericOAuth, t as GenericOAuthConfig } from "../index-
|
|
16
|
-
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../index-
|
|
17
|
-
import { a as JWKOptions, c as JwtOptions, i as getJwtToken, n as createJwk, o as JWSAlgorithms, r as generateExportedKeyPair, s as Jwk, t as jwt } from "../index-
|
|
18
|
-
import { t as magicLink } from "../index-
|
|
19
|
-
import { t as multiSession } from "../index-
|
|
20
|
-
import { n as oAuthProxy, t as OAuthProxyOptions } from "../index-
|
|
21
|
-
import { t as oneTap } from "../index-
|
|
22
|
-
import { t as oneTimeToken } from "../index-
|
|
7
|
+
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../index-Blq8KrTy.mjs";
|
|
8
|
+
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../index-B4aWSJEd.mjs";
|
|
9
|
+
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, F as API_KEY_TABLE_NAME, I as ERROR_CODES, L as apiKey, M as VERIFICATION_PATHS, N as LastLoginMethodOptions, O as CREDENTIAL_SIGN_IN_PATHS, P as lastLoginMethod, R as defaultKeyHasher, S as SentinelOptions, T as ALL_EVENT_TYPES, _ as haversineDistanceKm, a as createAuthEndpoint, b as GeoLocation, c as sentinel, d as POW_SOLUTION_HEADER, f as createNonce, g as verifySolution, h as solveChallenge, i as AuthMiddleware, j as SIGN_IN_PATHS, k as PATH_EVENTS, l as POW_CHALLENGE_HEADER, m as parsePowHeader, n as auditLog, o as createAuthMiddleware, p as hasLeadingZeroBits, r as AuthEndpoint, s as optionsMiddleware, t as AUDIT_LOG_ERROR_CODES, u as POW_REASON_HEADER, v as normalizeEmail, w as AuditLogOptions, x as SecurityAction, y as SENTINEL_ERROR_CODES } from "../index-B7iZf_Dl.mjs";
|
|
10
|
+
import { t as bearer } from "../index-CWxKeTtE.mjs";
|
|
11
|
+
import { t as captcha } from "../index-382PsmkK.mjs";
|
|
12
|
+
import { n as customSession, t as CustomSessionPluginOptions } from "../index-D0SgItjY.mjs";
|
|
13
|
+
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../index-DxRAXHrZ.mjs";
|
|
14
|
+
import { n as emailOTP, t as EmailOTPOptions } from "../index-C8F7PsET.mjs";
|
|
15
|
+
import { n as genericOAuth, t as GenericOAuthConfig } from "../index-DUu0ieh6.mjs";
|
|
16
|
+
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../index-DCliG2n6.mjs";
|
|
17
|
+
import { a as JWKOptions, c as JwtOptions, i as getJwtToken, n as createJwk, o as JWSAlgorithms, r as generateExportedKeyPair, s as Jwk, t as jwt } from "../index-DPVukjga.mjs";
|
|
18
|
+
import { t as magicLink } from "../index-DxIqV3rU.mjs";
|
|
19
|
+
import { t as multiSession } from "../index-Dg6Ftb6f.mjs";
|
|
20
|
+
import { n as oAuthProxy, t as OAuthProxyOptions } from "../index-C-z4TCHD.mjs";
|
|
21
|
+
import { t as oneTap } from "../index-CIxFDcfQ.mjs";
|
|
22
|
+
import { t as oneTimeToken } from "../index-B5r4oL5q.mjs";
|
|
23
23
|
import { a as memberAc, i as defaultStatements, n as defaultAc, o as ownerAc, r as defaultRoles, t as adminAc } from "../index-QmocqGM-.mjs";
|
|
24
|
-
import { A as organizationRoleSchema, C as TeamInput, D as invitationSchema, E as defaultRolesSchema, F as OrganizationOptions, M as roleSchema, N as teamMemberSchema, O as invitationStatus, P as teamSchema, S as Team, T as TeamMemberInput, _ as MemberInput, a as organization, b as OrganizationRole, c as InferMember, d as InferOrganizationZodRolesFromOption, f as InferTeam, g as Member, h as InvitationStatus, i as TeamEndpoints, j as organizationSchema, k as memberSchema, l as InferOrganization, m as InvitationInput, n as OrganizationEndpoints, o as parseRoles, p as Invitation, r as OrganizationPlugin, s as InferInvitation, t as DynamicAccessControlEndpoints, u as InferOrganizationRolesFromOption, v as Organization, w as TeamMember, x as OrganizationSchema, y as OrganizationInput } from "../index-
|
|
25
|
-
import { n as UserWithPhoneNumber, r as phoneNumber, t as PhoneNumberOptions } from "../index-
|
|
26
|
-
import { a as TwoFactorProvider, i as TwoFactorOptions, n as twoFactorClient, o as TwoFactorTable, r as TWO_FACTOR_ERROR_CODES, s as UserWithTwoFactor, t as twoFactor } from "../index-
|
|
27
|
-
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../index-
|
|
28
|
-
import { n as username, r as USERNAME_ERROR_CODES, t as UsernameOptions } from "../index-
|
|
24
|
+
import { A as organizationRoleSchema, C as TeamInput, D as invitationSchema, E as defaultRolesSchema, F as OrganizationOptions, M as roleSchema, N as teamMemberSchema, O as invitationStatus, P as teamSchema, S as Team, T as TeamMemberInput, _ as MemberInput, a as organization, b as OrganizationRole, c as InferMember, d as InferOrganizationZodRolesFromOption, f as InferTeam, g as Member, h as InvitationStatus, i as TeamEndpoints, j as organizationSchema, k as memberSchema, l as InferOrganization, m as InvitationInput, n as OrganizationEndpoints, o as parseRoles, p as Invitation, r as OrganizationPlugin, s as InferInvitation, t as DynamicAccessControlEndpoints, u as InferOrganizationRolesFromOption, v as Organization, w as TeamMember, x as OrganizationSchema, y as OrganizationInput } from "../index-CExSHSFz.mjs";
|
|
25
|
+
import { n as UserWithPhoneNumber, r as phoneNumber, t as PhoneNumberOptions } from "../index-Dgyj1fTk.mjs";
|
|
26
|
+
import { a as TwoFactorProvider, i as TwoFactorOptions, n as twoFactorClient, o as TwoFactorTable, r as TWO_FACTOR_ERROR_CODES, s as UserWithTwoFactor, t as twoFactor } from "../index-CWwQ1Q7t.mjs";
|
|
27
|
+
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../index-COFPq-mg.mjs";
|
|
28
|
+
import { n as username, r as USERNAME_ERROR_CODES, t as UsernameOptions } from "../index-De2a2OyC.mjs";
|
|
29
29
|
export { $deviceAuthorizationOptionsSchema, ALL_EVENT_TYPES, API_KEY_TABLE_NAME, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, AdminOptions, AnonymousOptions, AuditEvent, AuditEventType, AuditLogOptions, AuthEndpoint, AuthMiddleware, CREDENTIAL_SIGN_IN_PATHS, CustomSessionPluginOptions, DeviceAuthorizationOptions, DynamicAccessControlEndpoints, ERROR_CODES, EmailOTPOptions, GenericOAuthConfig, GeoLocation, HIDE_METADATA, HaveIBeenPwnedOptions, InferAdminRolesFromOption, InferInvitation, InferMember, InferOptionSchema, InferOrganization, InferOrganizationRolesFromOption, InferOrganizationZodRolesFromOption, InferPluginErrorCodes, InferTeam, Invitation, InvitationInput, InvitationStatus, JWKOptions, JWSAlgorithms, Jwk, JwtOptions, LastLoginMethodOptions, Member, MemberInput, OAuthProxyOptions, Organization, OrganizationEndpoints, OrganizationInput, OrganizationOptions, OrganizationPlugin, OrganizationRole, OrganizationSchema, PATH_EVENTS, POW_CHALLENGE_HEADER, POW_REASON_HEADER, POW_SOLUTION_HEADER, Passkey, PasskeyOptions, PhoneNumberOptions, SECURITY_EVENT_TYPES, SENTINEL_ERROR_CODES, SIGN_IN_PATHS, SecurityAction, SentinelOptions, SessionWithImpersonatedBy, TWO_FACTOR_ERROR_CODES, Team, TeamEndpoints, TeamInput, TeamMember, TeamMemberInput, TwoFactorOptions, TwoFactorProvider, TwoFactorTable, USERNAME_ERROR_CODES, UserWithAnonymous, UserWithPhoneNumber, UserWithRole, UserWithTwoFactor, UsernameOptions, VERIFICATION_PATHS, admin, adminAc, anonymous, apiKey, auditLog, bearer, captcha, createAuthEndpoint, createAuthMiddleware, createJwk, createNonce, customSession, defaultAc, defaultKeyHasher, defaultRoles, defaultRolesSchema, defaultStatements, deviceAuthorization, deviceAuthorizationClient, emailOTP, generateExportedKeyPair, genericOAuth, getJwtToken, getPasswordBreachCount, hasLeadingZeroBits, haveIBeenPwned, haversineDistanceKm, invitationSchema, invitationStatus, jwt, lastLoginMethod, magicLink, memberAc, memberSchema, multiSession, normalizeEmail, oAuthProxy, oneTap, oneTimeToken, optionsMiddleware, organization, organizationRoleSchema, organizationSchema, ownerAc, parsePowHeader, parseRoles, passkey, phoneNumber, roleSchema, sentinel, solveChallenge, teamMemberSchema, teamSchema, twoFactor, twoFactorClient, username, verifySolution };
|