@absolutejs/auth 0.75.1 → 0.75.3

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.
@@ -35,6 +35,7 @@ export declare const agentAuthPlugin: (config?: AgentAuthConfig) => Elysia<"", "
35
35
  scopes_supported: string[];
36
36
  resource_name?: string | undefined;
37
37
  resource_logo_uri?: string | undefined;
38
+ dpop_bound_access_tokens_required?: boolean | undefined;
38
39
  authorization_servers: string[];
39
40
  bearer_methods_supported: string[];
40
41
  };
@@ -149,6 +150,7 @@ export declare const agentAuthRoutes: (config?: AgentAuthConfig) => Elysia<"", "
149
150
  scopes_supported: string[];
150
151
  resource_name?: string | undefined;
151
152
  resource_logo_uri?: string | undefined;
153
+ dpop_bound_access_tokens_required?: boolean | undefined;
152
154
  authorization_servers: string[];
153
155
  bearer_methods_supported: string[];
154
156
  };
@@ -2827,6 +2827,7 @@ var oauthCodesTable = pgTable10("auth_oauth_codes", {
2827
2827
  user_id: varchar10("user_id", { length: ID_LENGTH8 }).notNull()
2828
2828
  });
2829
2829
  var oauthDeviceAuthorizationsTable = pgTable10("auth_oauth_device_authorizations", {
2830
+ audience: varchar10("audience", { length: 2048 }),
2830
2831
  client_id: varchar10("client_id", { length: ID_LENGTH8 }).notNull(),
2831
2832
  created_at_ms: bigint8("created_at_ms", { mode: "number" }).notNull(),
2832
2833
  device_code_hash: varchar10("device_code_hash", {
@@ -3341,6 +3342,10 @@ var oidcSocketTicketsMigration = {
3341
3342
  id: "0004_socket_tickets",
3342
3343
  sql: tablesToInitSql([oauthSocketTicketsTable])
3343
3344
  };
3345
+ var oidcDeviceAudienceMigration = {
3346
+ id: "0005_device_resource_audience",
3347
+ sql: 'ALTER TABLE "auth_oauth_device_authorizations" ADD COLUMN IF NOT EXISTS "audience" varchar(2048);'
3348
+ };
3344
3349
  var sessionOAuthSubjectMigration = {
3345
3350
  id: "0002_oauth_subject",
3346
3351
  sql: [
@@ -3416,7 +3421,8 @@ var blockMigrations = {
3416
3421
  ]).migrations,
3417
3422
  oidcResourceAudienceMigration,
3418
3423
  oidcRefreshTokenFamiliesMigration,
3419
- oidcSocketTicketsMigration
3424
+ oidcSocketTicketsMigration,
3425
+ oidcDeviceAudienceMigration
3420
3426
  ]
3421
3427
  },
3422
3428
  organizations: initMigration("organizations", [
@@ -3635,5 +3641,5 @@ var main = async () => {
3635
3641
  };
3636
3642
  await main();
3637
3643
 
3638
- //# debugId=3B381D4CCB9C631A64756E2164756E21
3644
+ //# debugId=A94ED948A86827BA64756E2164756E21
3639
3645
  //# sourceMappingURL=migrate.js.map