@adonis-agora/authkit-server 0.78.0 → 0.79.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.
@@ -8,7 +8,7 @@
8
8
  <link rel="preconnect" href="https://fonts.googleapis.com">
9
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
10
  <link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
11
- <script type="module" crossorigin src="/__AUTHKIT_BASE__/assets/index-CIqtoNcO.js"></script>
11
+ <script type="module" crossorigin src="/__AUTHKIT_BASE__/assets/index-LrScaR9C.js"></script>
12
12
  <link rel="stylesheet" crossorigin href="/__AUTHKIT_BASE__/assets/index-DTSmD4RU.css">
13
13
  </head>
14
14
  <body>
@@ -295,6 +295,34 @@ const TABLES = [
295
295
  created_at: (t) => t.dateTime('created_at', { useTz: true, precision: 3 }).nullable(),
296
296
  },
297
297
  },
298
+ {
299
+ name: 'auth_agent_registry',
300
+ /**
301
+ * Agentes liberados (`allowed`) ou bloqueados (`blocked`) pelo console admin,
302
+ * somados ao `defineConfig` — PACT pelo `iss`, Poppy pelo `client_id`.
303
+ */
304
+ create: (t) => {
305
+ t.string('id').primary();
306
+ t.string('protocol', 16).notNullable();
307
+ t.string('identifier', 2048).notNullable();
308
+ t.string('status', 16).notNullable();
309
+ t.string('name').nullable();
310
+ t.string('jwks_uri', 2048).nullable();
311
+ t.string('updated_by').nullable();
312
+ t.dateTime('created_at', { useTz: true, precision: 3 }).notNullable();
313
+ t.dateTime('updated_at', { useTz: true, precision: 3 }).notNullable();
314
+ },
315
+ columns: {
316
+ protocol: (t) => t.string('protocol', 16),
317
+ identifier: (t) => t.string('identifier', 2048),
318
+ status: (t) => t.string('status', 16),
319
+ name: (t) => t.string('name').nullable(),
320
+ jwks_uri: (t) => t.string('jwks_uri', 2048).nullable(),
321
+ updated_by: (t) => t.string('updated_by').nullable(),
322
+ created_at: (t) => t.dateTime('created_at', { useTz: true, precision: 3 }).nullable(),
323
+ updated_at: (t) => t.dateTime('updated_at', { useTz: true, precision: 3 }).nullable(),
324
+ },
325
+ },
298
326
  /*
299
327
  * Personal Agent Protocol (Poppy). Os Account Tokens são grants de
300
328
  * `auth_agent_grants` (prefixo `pgrant_`) com o hash em
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonis-agora/authkit-server",
3
- "version": "0.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "AdonisJS OIDC/OAuth2 provider (Identity Provider) toolkit: ejectable auth server with sessions, rate-limiting, MFA/TOTP, audit log, federated logout and OpenTelemetry metrics.",
5
5
  "license": "MIT",
6
6
  "author": "dudousxd",
@@ -113,7 +113,7 @@
113
113
  "qrcode": "1.5.4"
114
114
  },
115
115
  "devDependencies": {
116
- "@adonis-agora/authkit-react": "0.23.0",
116
+ "@adonis-agora/authkit-react": "0.24.0",
117
117
  "@adonis-agora/durable": "0.40.0",
118
118
  "@adonis-agora/telescope": "0.21.1",
119
119
  "@adonisjs/ally": "6.3.0",