@toa.io/extensions.exposition 1.0.0-alpha.27 → 1.0.0-alpha.29

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.
Files changed (34) hide show
  1. package/components/identity.bans/operations/tsconfig.tsbuildinfo +1 -1
  2. package/components/identity.basic/operations/tsconfig.tsbuildinfo +1 -1
  3. package/components/identity.federation/operations/authenticate.js.map +1 -1
  4. package/components/identity.federation/operations/lib/jwt.d.ts +4 -5
  5. package/components/identity.federation/operations/lib/jwt.js.map +1 -1
  6. package/components/identity.federation/operations/tsconfig.tsbuildinfo +1 -1
  7. package/components/identity.federation/operations/types/configuration.d.ts +15 -0
  8. package/components/identity.federation/operations/types/configuration.js +3 -0
  9. package/components/identity.federation/operations/types/configuration.js.map +1 -0
  10. package/components/identity.federation/operations/{types.d.ts → types/context.d.ts} +3 -3
  11. package/components/identity.federation/operations/types/context.js +3 -0
  12. package/components/identity.federation/operations/types/context.js.map +1 -0
  13. package/components/identity.federation/operations/types/entity.d.ts +6 -0
  14. package/components/identity.federation/operations/{types.js → types/entity.js} +1 -1
  15. package/components/identity.federation/operations/types/entity.js.map +1 -0
  16. package/components/identity.federation/operations/types/index.d.ts +3 -0
  17. package/components/identity.federation/operations/types/index.js +20 -0
  18. package/components/identity.federation/operations/types/index.js.map +1 -0
  19. package/components/identity.federation/source/authenticate.ts +1 -3
  20. package/components/identity.federation/source/lib/jwt.ts +4 -5
  21. package/components/identity.federation/source/types/configuration.ts +16 -0
  22. package/components/identity.federation/source/{types.ts → types/context.ts} +3 -4
  23. package/components/identity.federation/source/types/entity.ts +6 -0
  24. package/components/identity.federation/source/types/index.ts +3 -0
  25. package/components/identity.roles/operations/tsconfig.tsbuildinfo +1 -1
  26. package/components/identity.tokens/operations/tsconfig.tsbuildinfo +1 -1
  27. package/entity.json +0 -0
  28. package/package.json +7 -8
  29. package/transpiled/tsconfig.tsbuildinfo +1 -1
  30. package/components/identity.federation/operations/schemas.d.ts +0 -63
  31. package/components/identity.federation/operations/schemas.js +0 -9
  32. package/components/identity.federation/operations/schemas.js.map +0 -1
  33. package/components/identity.federation/operations/types.js.map +0 -1
  34. package/components/identity.federation/source/schemas.ts +0 -65
@@ -1,65 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * This file was automatically generated by json-schema-to-typescript.
4
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
- * and run json-schema-to-typescript to regenerate this file.
6
- */
7
-
8
- export interface Schemas {
9
- configuration?: {
10
- trust?: TrustConfiguration[];
11
- /**
12
- * Force identities to be explicitly created or incept before being used in authentication
13
- */
14
- explicit_identity_creation?: boolean;
15
- /**
16
- * The value of `sub` of an identity token that will be assigned the `system` Role
17
- */
18
- principal?: {
19
- iss: string;
20
- sub: string;
21
- };
22
- };
23
- entity?: {
24
- /**
25
- * The authority token is valid for
26
- */
27
- authority: string;
28
- /**
29
- * The issuer, or signer, of the token, URI like `https://accounts.google.com`
30
- */
31
- iss: string;
32
- /**
33
- * The ID that represents the principal making the request
34
- */
35
- sub: string;
36
- };
37
- }
38
- export interface TrustConfiguration {
39
- /**
40
- * Allowed origins for a token `iss` field
41
- */
42
- iss: string;
43
- /**
44
- * Acceptable `aud` value(s)
45
- *
46
- * @minItems 1
47
- */
48
- aud?: [string, ...string[]];
49
- /**
50
- * Symmetric encryption secrets
51
- */
52
- secrets?: {
53
- /**
54
- * This interface was referenced by `undefined`'s JSON-Schema definition
55
- * via the `patternProperty` "^HS\d{3}$".
56
- */
57
- [k: string]: {
58
- /**
59
- * This interface was referenced by `undefined`'s JSON-Schema definition
60
- * via the `patternProperty` "^\w+$".
61
- */
62
- [k: string]: string;
63
- };
64
- };
65
- }