@udibo/oauth2 0.5.0 → 0.5.1

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Contract test suite for a Udibo tenant's authorization answers: what
2
+ * Contract test suite for a Udibo Identity tenant's authorization answers: what
3
3
  * introspection reports about a signed-in person, what `GET /api/memberships`
4
4
  * lists for them, and what `POST /api/check` and `POST /api/check/batch`
5
5
  * answer.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Contract test suite for a Udibo tenant's authorization answers: what
2
+ * Contract test suite for a Udibo Identity tenant's authorization answers: what
3
3
  * introspection reports about a signed-in person, what `GET /api/memberships`
4
4
  * lists for them, and what `POST /api/check` and `POST /api/check/batch`
5
5
  * answer.
@@ -32,7 +32,7 @@ import { encodeBasicAuth } from "../../utils/basic-auth.js";
32
32
  * safe as long as nothing else uses that namespace.
33
33
  */
34
34
  export function runTenantContractTests(options) {
35
- describe(options.describeName ?? "Udibo tenant contract", () => {
35
+ describe(options.describeName ?? "Udibo Identity tenant contract", () => {
36
36
  let tenant;
37
37
  let metadata;
38
38
  let send;
@@ -26,10 +26,10 @@
26
26
  * user / client / scope types. Suitable for tests, examples, and
27
27
  * prototypes — never for production.
28
28
  *
29
- * - **A fake Udibo tenant.** {@link createFakeTenant} answers a tenant's
29
+ * - **A fake Udibo Identity tenant.** {@link createFakeTenant} answers a tenant's
30
30
  * protocol surface and its `/api/check` questions over `fetch`, with the
31
31
  * claims a real tenant issues — permissions, the organization picked at
32
- * sign-in, and resource grants — so an app built on a Udibo tenant can test
32
+ * sign-in, and resource grants — so an app built on a Udibo Identity tenant can test
33
33
  * its own routes without running the identity service.
34
34
  *
35
35
  * Nothing in this module is an OAuth2 primitive — only testing support.
@@ -26,10 +26,10 @@
26
26
  * user / client / scope types. Suitable for tests, examples, and
27
27
  * prototypes — never for production.
28
28
  *
29
- * - **A fake Udibo tenant.** {@link createFakeTenant} answers a tenant's
29
+ * - **A fake Udibo Identity tenant.** {@link createFakeTenant} answers a tenant's
30
30
  * protocol surface and its `/api/check` questions over `fetch`, with the
31
31
  * claims a real tenant issues — permissions, the organization picked at
32
- * sign-in, and resource grants — so an app built on a Udibo tenant can test
32
+ * sign-in, and resource grants — so an app built on a Udibo Identity tenant can test
33
33
  * its own routes without running the identity service.
34
34
  *
35
35
  * Nothing in this module is an OAuth2 primitive — only testing support.
@@ -102,7 +102,7 @@ export interface FakeTenantOptions {
102
102
  issuer: string;
103
103
  }
104
104
  /**
105
- * A stand-in for a Udibo tenant, for testing an app that signs in against one
105
+ * A stand-in for a Udibo Identity tenant, for testing an app that signs in against one
106
106
  * without running the identity service. It answers the tenant's protocol
107
107
  * surface — discovery, authorize, token, introspection, UserInfo, JWKS — the
108
108
  * caller's own `GET /api/memberships`, and the two authorization questions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@udibo/oauth2",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A flexible OAuth2 toolkit: framework-agnostic authorization & resource servers, a typed client, Hono adapters (including a backend-for-frontend), and React bindings.",
5
5
  "repository": {
6
6
  "type": "git",