@owlmeans/auth-common 0.1.18-rc.20 → 0.1.18-rc.22

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @owlmeans/auth-common
2
2
 
3
- Predefined authentication entrypoints, guards, and constants shared between server and client packages.
3
+ Predefined authentication protocols, guards, and constants shared between server and client packages.
4
4
 
5
5
  ## Overview
6
6
 
7
- - Exports standard auth entrypoint definitions (login, init, rely, dispatcher) ready to register in any app
7
+ - Exports the immutable `authProtocols` and `managerProtocols` trees for login, init, rely, and dispatcher flows
8
8
  - Provides `DEFAULT_GUARD` and `GUARD_ED25519` constants for protecting routes
9
9
  - Implements the Basic ED25519 signature guard service for cryptographic request authentication
10
10
  - Headers: `BED255_NONCE_HEADER`, `BED255_TIME_HEADER` for auth challenge/response
@@ -12,19 +12,20 @@ Predefined authentication entrypoints, guards, and constants shared between serv
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- bun add @owlmeans/auth-common@^0.1.18-rc.12
15
+ bun add @owlmeans/auth-common@^0.1.18-rc.21
16
16
  ```
17
17
 
18
18
  ## Usage
19
19
 
20
- Register the built-in auth entrypoints and protect a route:
20
+ Import the shared declarations and bind them only through the server or browser package that owns
21
+ the runtime behaviour:
21
22
 
22
23
  ```typescript
23
- import { entrypoints } from '@owlmeans/auth-common'
24
+ import { authProtocols } from '@owlmeans/auth-common'
24
25
  import { GUARD_ED25519, DEFAULT_GUARD } from '@owlmeans/auth-common'
25
26
 
26
- // Add auth entrypoints to your app (includes /authentication, /login, /dispatcher routes)
27
- await main(context, [...entrypoints, ...appEntrypoints])
27
+ // Call the exact registered declaration; do not look up auth routes by an alias string.
28
+ await context.entrypoint(authProtocols.dispatcherAuthenticate).call({ body: token })
28
29
  ```
29
30
 
30
31
  Protect a route with the ED25519 signature guard (re-exported via `@owlmeans/server-app`):
@@ -43,9 +44,9 @@ const adminProtocol = protocol(
43
44
 
44
45
  ## API
45
46
 
46
- ### `entrypoints`
47
+ ### `authProtocols`
47
48
 
48
- Array of pre-built `CommonEntrypoint` instances covering the standard auth flow:
49
+ Immutable shared declarations covering the standard auth flow:
49
50
  - `AUTHEN` — backend `/authentication` base route
50
51
  - `AUTHEN_INIT` — POST `/authentication/init` (allowance request)
51
52
  - `AUTHEN_AUTHEN` — POST `/authentication/authenticate` (credential submission)
@@ -53,6 +54,14 @@ Array of pre-built `CommonEntrypoint` instances covering the standard auth flow:
53
54
  - `CAUTHEN`, `CAUTHEN_AUTHEN` — frontend auth routes
54
55
  - `DISPATCHER` — frontend dispatcher route (sticky, handles redirect auth tokens)
55
56
 
57
+ `@owlmeans/server-auth`, `@owlmeans/client-auth`, and the OIDC packages export local runtime
58
+ binding arrays for the declarations they serve. Keep those arrays local to the runtime; application
59
+ code uses this tree's protocol objects.
60
+
61
+ ### `managerProtocols`
62
+
63
+ Immutable shared manager protocol tree for profile-to-organization mapping and auth delegation.
64
+
56
65
  ### Guard Constants
57
66
 
58
67
  ```typescript
@@ -78,8 +87,8 @@ BED255_CASHE_RESOURCE // resource alias for nonce cache
78
87
  ## Related Packages
79
88
 
80
89
  - [`@owlmeans/auth`](../auth) — auth type definitions and schemas
81
- - [`@owlmeans/server-auth`](../server-auth) — server guard implementation
82
- - [`@owlmeans/client-auth`](../client-auth) — client auth service
90
+ - [`@owlmeans/server-auth`](../server-auth) — server bindings and guard implementation
91
+ - [`@owlmeans/client-auth`](../client-auth) — browser bindings and auth service
83
92
 
84
93
  <!-- owlmeans:agent-guidance:start -->
85
94
  ## Agent guidance
@@ -89,7 +98,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
89
98
  your project's skill store (`.agents/skills/`):
90
99
 
91
100
  ```sh
92
- npx @owlmeans/agent-skills@^0.1.18-rc.19
101
+ npx @owlmeans/agent-skills@^0.1.18-rc.21
93
102
  ```
94
103
 
95
104
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/auth-common",
4
- "version": "0.1.18-rc.20",
5
- "generatedAt": "2026-09-12T13:51:53.528Z",
4
+ "version": "0.1.18-rc.22",
5
+ "generatedAt": "2026-09-15T12:21:31.900Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: auth-common
3
- description: How to use @owlmeans/auth-common — the auth vocabulary both sides of the wire share, covering guard aliases (DEFAULT_GUARD, GUARD_ED25519), the shared auth entrypoint list, the Ed25519 signature guard, the TRUSTED-record trust() helper, and the organization-entity resolver contract (ENTITY_RESOLVER, entityKeyOf, attachEntity). Auto-invoked when importing guard constants, the shared auth entrypoints, or entity-resolution helpers.
3
+ description: How to use @owlmeans/auth-common — the auth vocabulary both sides of the wire share, covering guard aliases (DEFAULT_GUARD, GUARD_ED25519), the shared auth protocol trees, the Ed25519 signature guard, the TRUSTED-record trust() helper, and the organization-entity resolver contract (ENTITY_RESOLVER, entityKeyOf, attachEntity). Auto-invoked when importing guard constants, shared auth protocols, or entity-resolution helpers.
4
4
  user-invocable: false
5
5
  ---
6
6
  <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
@@ -8,10 +8,10 @@ user-invocable: false
8
8
  # @owlmeans/auth-common
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/auth-common": "^0.1.18-rc.20"` in `dependencies`
11
+ **Install:** `"@owlmeans/auth-common": "^0.1.18-rc.22"` in `dependencies`
12
12
 
13
13
  Everything a server and a browser must agree on to talk authentication: aliases, the shared
14
- entrypoint declarations, the signature guard, and the contract for resolving the organization
14
+ protocol declarations, the signature guard, and the contract for resolving the organization
15
15
  entity a token names.
16
16
 
17
17
  ## Key Exports
@@ -35,8 +35,8 @@ entity a token names.
35
35
 
36
36
  | Export | Description |
37
37
  |--------|-------------|
38
- | `authEntrypoints` | The shared auth protocol tree — `AUTHEN*`, `CAUTHEN*`, `DISPATCHER`, `DISPATCHER_SURROGATE`, `DISPATCHER_AUTHEN`. Server and client packages bind the entries they serve |
39
- | `managerEntrypoints` | The auth-manager web API entrypoints (profile → entity slug, auth delegation) |
38
+ | `authProtocols` | The shared auth protocol tree — `AUTHEN*`, `CAUTHEN*`, `DISPATCHER`, `DISPATCHER_SURROGATE`, `DISPATCHER_AUTHEN`. Server and client packages bind the entries they serve |
39
+ | `managerProtocols` | The auth-manager web API protocol tree (profile → entity slug, auth delegation) |
40
40
  | `makeBasicEd25519Guard(resource, opts?)` | The `GUARD_ED25519` guard service: signs outgoing requests as a client, verifies time/nonce/signature as a server |
41
41
  | `authMiddleware` | Loading-stage context middleware that attaches the guard's token to every guarded backend entrypoint's `invoke`/`call` |
42
42
  | `SurrogateQuery`, `SurrogateQuerySchema` | The surrogate window's `intent` / `next` / `method` query |
@@ -138,6 +138,6 @@ depends on the value.
138
138
 
139
139
  - `@owlmeans/auth` — types, errors, entrypoint aliases
140
140
  - `@owlmeans/entrypoint` — `entrypoint` / `guard` / `gate`, `GuardService`, `ResolvedEntity`
141
- - `@owlmeans/route` — route builders for the shared entrypoint list
141
+ - `@owlmeans/route` — route builders for the shared protocol trees
142
142
  - `@owlmeans/basic-keys` — key pairs behind `trust()` and the Ed25519 guard
143
143
  - `@owlmeans/basic-ids`, `@owlmeans/context`, `@owlmeans/resource`, `@owlmeans/client-entrypoint`
@@ -1 +1 @@
1
- {"version":3,"file":"entrypoints.js","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,sBAAsB,EAAE,qBAAqB,EAC9F,eAAe,EAAE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,UAAU,EAClG,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,kBAAkB,EACrF,MAAM,gBAAgB,CAAA;AAEvB,8CAA8C;AAC9C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EACzG,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,CAAY,eAAe,CAAC,EAAE,EAAE,KAAK,EAAa,CAAC,CAAC;CACrF,CAAA;AAED,+CAA+C;AAC/C,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE;QACP,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;QAC1F,UAAU,EAAE,YAAY,CAAC,KAAK,CAC9B,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,eAAe,EAC3C,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,CAC9C,CAAC;KACH;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;QACpF,QAAQ,EAAE,YAAY,CAAC,KAAK,CAC5B,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,WAAW,EAClC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,CAC3C,CAAC;KACH;CACF,CAAA;AAED,uCAAuC;AACvC,4DAA4D;AAC5D,qGAAqG;AACrG,gCAAgC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/auth-common",
3
- "version": "0.1.18-rc.20",
3
+ "version": "0.1.18-rc.22",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -29,19 +29,19 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@owlmeans/auth": "^0.1.18-rc.16",
33
- "@owlmeans/auth-common": "^0.1.18-rc.20",
34
- "@owlmeans/basic-ids": "^0.1.18-rc.16",
35
- "@owlmeans/basic-keys": "^0.1.18-rc.19",
36
- "@owlmeans/client-entrypoint": "^0.1.18-rc.20",
37
- "@owlmeans/context": "^0.1.18-rc.15",
38
- "@owlmeans/entrypoint": "^0.1.18-rc.18",
39
- "@owlmeans/resource": "^0.1.18-rc.16",
40
- "@owlmeans/route": "^0.1.18-rc.16"
32
+ "@owlmeans/auth": "^0.1.18-rc.18",
33
+ "@owlmeans/auth-common": "^0.1.18-rc.22",
34
+ "@owlmeans/basic-ids": "^0.1.18-rc.18",
35
+ "@owlmeans/basic-keys": "^0.1.18-rc.21",
36
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.22",
37
+ "@owlmeans/context": "^0.1.18-rc.17",
38
+ "@owlmeans/entrypoint": "^0.1.18-rc.20",
39
+ "@owlmeans/resource": "^0.1.18-rc.18",
40
+ "@owlmeans/route": "^0.1.18-rc.18"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@owlmeans/dep-config": "workspace:*",
44
- "@owlmeans/test-auth": "^0.1.18-rc.20",
44
+ "@owlmeans/test-auth": "^0.1.18-rc.22",
45
45
  "@types/bun": "^1.4.0",
46
46
  "nodemon": "^3.1.14",
47
47
  "typescript": "^7.0.2"
@@ -20,7 +20,7 @@ export const authProtocols = {
20
20
  authenticate: protocol(route(AUTHEN_AUTHEN, '/authenticate', backend(AUTHEN, RouteMethod.POST)),
21
21
  contract.request({ body: typed<AuthCredentials>(AuthCredentialsSchema) }, typed<AuthToken>())),
22
22
  rely: protocol(route(AUTHEN_RELY, '/rely', socket(AUTHEN)),
23
- contract.request({ query: typed<Partial<AuthToken>>(OptionalAuthTokenSchema) }, typed())),
23
+ contract.request({ query: typed<Partial<AuthToken>>(OptionalAuthTokenSchema) }, typed<undefined>())),
24
24
  client: openProtocol(route(CAUTHEN, '/authentication', frontend())),
25
25
  login: openProtocol(route(CAUTHEN_AUTHEN, '/login', frontend(CAUTHEN))),
26
26
  loginDefault: openProtocol(route(CAUTHEN_AUTHEN_DEFAULT, '/', frontend(CAUTHEN_AUTHEN, true))),