@absolutejs/auth 0.35.0 → 0.36.0-beta.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/cli/migrate.js +16 -1
- package/dist/cli/migrate.js.map +4 -4
- package/dist/index.d.ts +32 -2
- package/dist/index.js +300 -1
- package/dist/index.js.map +8 -8
- package/dist/oidc/config.d.ts +72 -1
- package/dist/oidc/inMemoryStores.d.ts +2 -1
- package/dist/oidc/postgresStores.d.ts +214 -1
- package/dist/oidc/routes.d.ts +30 -0
- package/dist/oidc/types.d.ts +22 -0
- package/package.json +1 -1
package/dist/cli/migrate.js
CHANGED
|
@@ -2171,6 +2171,20 @@ import {
|
|
|
2171
2171
|
} from "drizzle-orm/pg-core";
|
|
2172
2172
|
var URL_LENGTH = 2048;
|
|
2173
2173
|
var ID_LENGTH7 = 255;
|
|
2174
|
+
var oauthBackchannelAuthRequestsTable = pgTable9("auth_oauth_backchannel_auth_requests", {
|
|
2175
|
+
auth_req_id: varchar9("auth_req_id", { length: ID_LENGTH7 }).primaryKey(),
|
|
2176
|
+
binding_message: text5("binding_message"),
|
|
2177
|
+
client_id: varchar9("client_id", { length: ID_LENGTH7 }).notNull(),
|
|
2178
|
+
created_at_ms: bigint7("created_at_ms", { mode: "number" }).notNull(),
|
|
2179
|
+
expires_at_ms: bigint7("expires_at_ms", { mode: "number" }).notNull(),
|
|
2180
|
+
interval_seconds: bigint7("interval_seconds", {
|
|
2181
|
+
mode: "number"
|
|
2182
|
+
}).notNull(),
|
|
2183
|
+
last_polled_at_ms: bigint7("last_polled_at_ms", { mode: "number" }),
|
|
2184
|
+
scopes: text5("scopes").array().notNull(),
|
|
2185
|
+
status: varchar9("status", { length: 16 }).notNull(),
|
|
2186
|
+
user_sub: varchar9("user_sub", { length: ID_LENGTH7 })
|
|
2187
|
+
});
|
|
2174
2188
|
var oauthClientAssertionJtisTable = pgTable9("auth_oauth_client_assertion_jtis", {
|
|
2175
2189
|
client_id: varchar9("client_id", { length: ID_LENGTH7 }).notNull(),
|
|
2176
2190
|
composite_key: varchar9("composite_key", {
|
|
@@ -2620,6 +2634,7 @@ var blockMigrations = {
|
|
|
2620
2634
|
lockout: initMigration("lockout", [lockoutsTable]),
|
|
2621
2635
|
mfa: initMigration("mfa", [mfaEnrollmentsTable]),
|
|
2622
2636
|
oidc: initMigration("oidc", [
|
|
2637
|
+
oauthBackchannelAuthRequestsTable,
|
|
2623
2638
|
oauthClientAssertionJtisTable,
|
|
2624
2639
|
oauthClientRegistrationTokensTable,
|
|
2625
2640
|
oauthClientsTable,
|
|
@@ -2715,5 +2730,5 @@ ${result.applied.length} migration(s) applied, ${result.skipped.length} skipped.
|
|
|
2715
2730
|
};
|
|
2716
2731
|
await main();
|
|
2717
2732
|
|
|
2718
|
-
//# debugId=
|
|
2733
|
+
//# debugId=C403D6D0396E8FFB64756E2164756E21
|
|
2719
2734
|
//# sourceMappingURL=migrate.js.map
|