@ankhorage/auth 0.1.2 → 0.1.4

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
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Ankhorage Auth
5
5
 
6
- ![license: MIT](./paradox/badges/license.svg) ![npm: v0.1.2](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: checked](./paradox/badges/tests.svg) ![paradox: canonical](./paradox/badges/docs.svg)
6
+ ![license: MIT](./paradox/badges/license.svg) ![npm: v0.1.4](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: checked](./paradox/badges/tests.svg) ![paradox: canonical](./paradox/badges/docs.svg)
7
7
 
8
8
  Provider-neutral authentication ports and capability catalog for Ankhorage.
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/auth",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Provider-neutral authentication ports and capability catalog for Ankhorage applications.",
5
5
  "homepage": "https://github.com/ankhorage/auth#readme",
6
6
  "bugs": {
@@ -1357,8 +1357,7 @@
1357
1357
  ]
1358
1358
  },
1359
1359
  "dependencies": {
1360
- "@ankhorage/capability": "0.2.1",
1361
- "@ankhorage/contracts": "25.1.0"
1360
+ "@ankhorage/contracts": "26.0.0"
1362
1361
  },
1363
1362
  "scripts": {
1364
1363
  "build": "bun run package:sync && tsc -p tsconfig.build.json",
@@ -1380,7 +1379,8 @@
1380
1379
  "version-packages": "ankhorage-changeset version"
1381
1380
  },
1382
1381
  "devDependencies": {
1383
- "@ankhorage/devtools": "^2.3.14",
1382
+ "@ankhorage/capability": "0.2.1",
1383
+ "@ankhorage/devtools": "^2.3.18",
1384
1384
  "@ankhorage/doctor": "0.14.13",
1385
1385
  "@ankhorage/paradox": "^0.3.3",
1386
1386
  "@types/bun": "^1.4.2",
@@ -0,0 +1,41 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "library",
4
+ "title": "Ankhorage Authentication",
5
+ "summary": "Defines provider-neutral authentication ports and the authentication capability catalog for independent Ankhorage applications and adapters.",
6
+ "purpose": "Provide stable authentication operations and boundary types so provider adapters can implement sign-in, sessions, password recovery, OTP, and OAuth without coupling consumers to a specific identity provider.",
7
+ "domain": "authentication capabilities and provider-neutral ports",
8
+ "responsibilities": [
9
+ "Publish the authentication capability catalog for sign-in, sign-up, sign-out, sessions, password recovery, OTP, and OAuth authorization.",
10
+ "Define the AuthPort boundary implemented by provider-specific authentication adapters.",
11
+ "Use portable authentication contracts from @ankhorage/contracts/auth at the public package boundary."
12
+ ],
13
+ "boundaries": [
14
+ "Does not implement a concrete identity-provider SDK, session store, or user directory.",
15
+ "Does not select, configure, or compose provider adapters for an application.",
16
+ "Does not own application-specific authorization policy or business workflows."
17
+ ],
18
+ "audience": [
19
+ "Application and runtime authors that invoke provider-neutral authentication capabilities.",
20
+ "Maintainers of provider adapters that implement the AuthPort boundary."
21
+ ],
22
+ "useCases": [
23
+ "Describe a sign-in or sign-up operation independently of the selected identity provider.",
24
+ "Invoke session, password-reset, OTP, or OAuth authorization flows through a common capability catalog.",
25
+ "Implement a provider adapter against the public AuthPort and published authentication contracts."
26
+ ],
27
+ "architecture": {
28
+ "role": "Provider-neutral authentication boundary library with an explicit port and capability catalog.",
29
+ "invariants": [
30
+ "Concrete provider behavior remains behind adapters rather than in this package.",
31
+ "Authentication inputs and results use published portable contracts.",
32
+ "Consumers depend on public package exports rather than provider-specific internals."
33
+ ]
34
+ },
35
+ "constraints": {
36
+ "limitations": [
37
+ "Applications must choose and configure a concrete provider adapter separately.",
38
+ "The package does not persist sessions or credentials."
39
+ ]
40
+ }
41
+ }