@owlmeans/server-auth 0.1.18-rc.60 → 0.1.18-rc.62

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
@@ -13,7 +13,7 @@ account/profile records `@owlmeans/server-auth-identity`, and the browser side `
13
13
  ## Installation
14
14
 
15
15
  ```bash
16
- bun add @owlmeans/server-auth@^0.1.18-rc.60
16
+ bun add @owlmeans/server-auth@^0.1.18-rc.62
17
17
  ```
18
18
 
19
19
  ## Concepts
@@ -254,7 +254,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
254
254
  your project's skill store (`.agents/skills/`):
255
255
 
256
256
  ```sh
257
- npx @owlmeans/agent-skills@^0.1.18-rc.57
257
+ npx @owlmeans/agent-skills@^0.1.18-rc.59
258
258
  ```
259
259
 
260
260
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 3,
3
3
  "package": "@owlmeans/server-auth",
4
- "version": "0.1.18-rc.60",
5
- "generatedAt": "2026-10-20T23:19:58.616Z",
4
+ "version": "0.1.18-rc.62",
5
+ "generatedAt": "2026-10-26T22:23:53.838Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/server-auth
9
9
 
10
10
  **Layer:** Server
11
- **Install:** `"@owlmeans/server-auth": "^0.1.18-rc.60"` in `dependencies`
11
+ **Install:** `"@owlmeans/server-auth": "^0.1.18-rc.62"` in `dependencies`
12
12
 
13
13
  Two halves, deliberately split by subpath:
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/server-auth",
3
- "version": "0.1.18-rc.60",
3
+ "version": "0.1.18-rc.62",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -37,31 +37,31 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@noble/hashes": "^2.4.0",
40
- "@owlmeans/api": "^0.1.18-rc.52",
41
- "@owlmeans/api-config-server": "^0.1.18-rc.56",
40
+ "@owlmeans/api": "^0.1.18-rc.54",
41
+ "@owlmeans/api-config-server": "^0.1.18-rc.58",
42
42
  "@owlmeans/auth": "^0.1.18-rc.42",
43
- "@owlmeans/auth-common": "^0.1.18-rc.52",
44
- "@owlmeans/basic-envelope": "^0.1.18-rc.51",
45
- "@owlmeans/basic-ids": "^0.1.18-rc.41",
46
- "@owlmeans/basic-keys": "^0.1.18-rc.53",
43
+ "@owlmeans/auth-common": "^0.1.18-rc.54",
44
+ "@owlmeans/basic-envelope": "^0.1.18-rc.53",
45
+ "@owlmeans/basic-ids": "^0.1.18-rc.42",
46
+ "@owlmeans/basic-keys": "^0.1.18-rc.55",
47
47
  "@owlmeans/client-config": "^0.1.18-rc.46",
48
- "@owlmeans/client-entrypoint": "^0.1.18-rc.52",
48
+ "@owlmeans/client-entrypoint": "^0.1.18-rc.54",
49
49
  "@owlmeans/config": "^0.1.18-rc.45",
50
50
  "@owlmeans/context": "^0.1.18-rc.35",
51
51
  "@owlmeans/kluster": "^0.1.18-rc.45",
52
52
  "@owlmeans/log": "^0.1.18-rc.4",
53
53
  "@owlmeans/entrypoint": "^0.1.18-rc.42",
54
- "@owlmeans/redis-resource": "^0.1.18-rc.48",
54
+ "@owlmeans/redis-resource": "^0.1.18-rc.49",
55
55
  "@owlmeans/resource": "^0.1.18-rc.41",
56
56
  "@owlmeans/route": "^0.1.18-rc.36",
57
- "@owlmeans/server-api": "^0.1.18-rc.56",
58
- "@owlmeans/server-auth-identity": "^0.1.18-rc.52",
59
- "@owlmeans/server-auth-session": "^0.1.18-rc.21",
57
+ "@owlmeans/server-api": "^0.1.18-rc.58",
58
+ "@owlmeans/server-auth-identity": "^0.1.18-rc.54",
59
+ "@owlmeans/server-auth-session": "^0.1.18-rc.22",
60
60
  "@owlmeans/server-context": "^0.1.18-rc.45",
61
61
  "@owlmeans/server-entrypoint": "^0.1.18-rc.41",
62
62
  "@owlmeans/server-route": "^0.1.18-rc.35",
63
- "@owlmeans/server-socket": "^0.1.18-rc.60",
64
- "@owlmeans/socket": "^0.1.18-rc.45",
63
+ "@owlmeans/server-socket": "^0.1.18-rc.62",
64
+ "@owlmeans/socket": "^0.1.18-rc.46",
65
65
  "@owlmeans/static-resource": "^0.1.18-rc.40",
66
66
  "@scure/base": "^2.4.0"
67
67
  },
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@owlmeans/dep-config": "workspace:*",
73
- "@owlmeans/test-auth": "^0.1.18-rc.51",
73
+ "@owlmeans/test-auth": "^0.1.18-rc.53",
74
74
  "@types/bun": "^1.4.2",
75
75
  "@types/node": "^26.6.4",
76
76
  "nodemon": "^3.1.14",
@@ -38,7 +38,7 @@ The manager is built on the OwlMeans entrypoint system, providing:
38
38
  This manager app is part of the `@owlmeans/server-auth` package:
39
39
 
40
40
  ```bash
41
- npm install @owlmeans/server-auth@^0.1.18-rc.60
41
+ npm install @owlmeans/server-auth@^0.1.18-rc.62
42
42
  ```
43
43
 
44
44
  ## API Reference
@@ -1,18 +0,0 @@
1
- import type { AllowanceRequest, AllowanceResponse, AuthCredentials, AuthToken } from '@owlmeans/auth';
2
- import type { EntrypointProtocol } from '@owlmeans/entrypoint';
3
- export declare const authenticationInit: (protocol: EntrypointProtocol<{
4
- body: AllowanceRequest;
5
- }, AllowanceResponse>) => import("@owlmeans/server-entrypoint").BoundEntrypointHandler<EntrypointProtocol<{
6
- body: AllowanceRequest;
7
- }, AllowanceResponse>>;
8
- export declare const authenticate: (protocol: EntrypointProtocol<{
9
- body: AuthCredentials;
10
- }, AuthToken>) => import("@owlmeans/server-entrypoint").BoundEntrypointHandler<EntrypointProtocol<{
11
- body: AuthCredentials;
12
- }, AuthToken>>;
13
- export declare const rely: (protocol: EntrypointProtocol<{
14
- query: Partial<AuthToken>;
15
- }, undefined>) => import("@owlmeans/server-entrypoint").BoundEntrypointHandler<EntrypointProtocol<{
16
- query: Partial<AuthToken>;
17
- }, undefined>>;
18
- //# sourceMappingURL=manager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../src/manager/actions/manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AACrG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAQ9D,eAAO,MAAM,kBAAkB,aAAc,kBAAkB,CAAC;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,EAAE,iBAAiB,CAAC;UAAtC,gBAAgB;sBAGvF,CAAA;AAED,eAAO,MAAM,YAAY,aAAc,kBAAkB,CAAC;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,EAAE,SAAS,CAAC;UAA7B,eAAe;cAGhF,CAAA;AAED,eAAO,MAAM,IAAI,aAAc,kBAAkB,CAAC;IAAE,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;CAAE,EAAE,SAAS,CAAC;WAAhC,OAAO,CAAC,SAAS,CAAC;cAK5E,CAAA"}
@@ -1,11 +0,0 @@
1
- import { handlers } from '@owlmeans/server-api';
2
- import { makeAuthModel } from '../model.js';
3
- import { connection } from '@owlmeans/server-socket';
4
- const api = handlers();
5
- export const authenticationInit = (protocol) => api.body(protocol, async (body, context) => await makeAuthModel(context).init(body));
6
- export const authenticate = (protocol) => api.body(protocol, async (body, context) => await makeAuthModel(context).authenticate(body));
7
- export const rely = (protocol) => connection(protocol,
8
- // @TODO Request will contain information is there requrest
9
- // privileged or not (privileged request implies auth provider)
10
- async (conn, context, request) => await makeAuthModel(context).rely(conn, request.auth));
11
- //# sourceMappingURL=manager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../src/manager/actions/manager.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEpD,MAAM,GAAG,GAAG,QAAQ,EAAyB,CAAA;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,QAA2E,EAAE,EAAE,CAChH,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAC3C,MAAM,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACxC,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAkE,EAAE,EAAE,CACjG,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAC3C,MAAM,aAAa,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAChD,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,QAAsE,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ;AACjH,4DAA4D;AAC5D,+DAA+D;AAC/D,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,CAC/B,MAAM,aAAa,CAAC,OAAgC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CACjF,CAAA"}
@@ -1,8 +0,0 @@
1
- /** Ownership of atomic replay protection for a verified authentication challenge. */
2
- export declare enum AuthChallengeReplayPolicy {
3
- /** Default: the auth manager consumes the challenge before plugin authentication. */
4
- Manager = "manager",
5
- /** The plugin owns bounded attempts and atomic success consumption. */
6
- Plugin = "plugin"
7
- }
8
- //# sourceMappingURL=replay-policy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"replay-policy.d.ts","sourceRoot":"","sources":["../../../src/manager/plugins/replay-policy.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,oBAAY,yBAAyB;IACnC,qFAAqF;IACrF,OAAO,YAAY;IACnB,uEAAuE;IACvE,MAAM,WAAW;CAClB"}
@@ -1,9 +0,0 @@
1
- /** Ownership of atomic replay protection for a verified authentication challenge. */
2
- export var AuthChallengeReplayPolicy;
3
- (function (AuthChallengeReplayPolicy) {
4
- /** Default: the auth manager consumes the challenge before plugin authentication. */
5
- AuthChallengeReplayPolicy["Manager"] = "manager";
6
- /** The plugin owns bounded attempts and atomic success consumption. */
7
- AuthChallengeReplayPolicy["Plugin"] = "plugin";
8
- })(AuthChallengeReplayPolicy || (AuthChallengeReplayPolicy = {}));
9
- //# sourceMappingURL=replay-policy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"replay-policy.js","sourceRoot":"","sources":["../../../src/manager/plugins/replay-policy.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,CAAN,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,qFAAqF;IACrF,gDAAmB,CAAA;IACnB,uEAAuE;IACvE,8CAAiB,CAAA;AACnB,CAAC,EALW,yBAAyB,KAAzB,yBAAyB,QAKpC"}