@atcute/oauth-types 0.1.0 → 1.0.0

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 (156) hide show
  1. package/README.md +6 -5
  2. package/dist/build-client-metadata.d.ts +18 -160
  3. package/dist/build-client-metadata.d.ts.map +1 -1
  4. package/dist/build-client-metadata.js +73 -3
  5. package/dist/build-client-metadata.js.map +1 -1
  6. package/dist/index.d.ts +31 -30
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +2 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/schemas/atcute-client-shared.d.ts +8 -0
  11. package/dist/schemas/atcute-client-shared.d.ts.map +1 -0
  12. package/dist/schemas/atcute-client-shared.js +15 -0
  13. package/dist/schemas/atcute-client-shared.js.map +1 -0
  14. package/dist/schemas/atcute-confidential-client-metadata.d.ts +228 -4
  15. package/dist/schemas/atcute-confidential-client-metadata.d.ts.map +1 -1
  16. package/dist/schemas/atcute-confidential-client-metadata.js +48 -88
  17. package/dist/schemas/atcute-confidential-client-metadata.js.map +1 -1
  18. package/dist/schemas/atcute-public-client-metadata.d.ts +95 -0
  19. package/dist/schemas/atcute-public-client-metadata.d.ts.map +1 -0
  20. package/dist/schemas/atcute-public-client-metadata.js +74 -0
  21. package/dist/schemas/atcute-public-client-metadata.js.map +1 -0
  22. package/dist/schemas/atproto-authorization-server-metadata.d.ts +786 -4
  23. package/dist/schemas/atproto-authorization-server-metadata.d.ts.map +1 -1
  24. package/dist/schemas/atproto-authorization-server-metadata.js +2 -18
  25. package/dist/schemas/atproto-authorization-server-metadata.js.map +1 -1
  26. package/dist/schemas/atproto-oauth-scope.d.ts +3 -3
  27. package/dist/schemas/atproto-oauth-scope.d.ts.map +1 -1
  28. package/dist/schemas/atproto-oauth-scope.js +2 -2
  29. package/dist/schemas/atproto-oauth-scope.js.map +1 -1
  30. package/dist/schemas/atproto-oauth-token-response.d.ts +17 -17
  31. package/dist/schemas/atproto-oauth-token-response.d.ts.map +1 -1
  32. package/dist/schemas/atproto-oauth-token-response.js +6 -6
  33. package/dist/schemas/atproto-oauth-token-response.js.map +1 -1
  34. package/dist/schemas/atproto-protected-resource-metadata.d.ts +100 -4
  35. package/dist/schemas/atproto-protected-resource-metadata.d.ts.map +1 -1
  36. package/dist/schemas/atproto-protected-resource-metadata.js +2 -11
  37. package/dist/schemas/atproto-protected-resource-metadata.js.map +1 -1
  38. package/dist/schemas/jwk.d.ts +4289 -42
  39. package/dist/schemas/jwk.d.ts.map +1 -1
  40. package/dist/schemas/jwk.js +58 -91
  41. package/dist/schemas/jwk.js.map +1 -1
  42. package/dist/schemas/jwks.d.ts +87 -42
  43. package/dist/schemas/jwks.d.ts.map +1 -1
  44. package/dist/schemas/jwks.js +13 -29
  45. package/dist/schemas/jwks.js.map +1 -1
  46. package/dist/schemas/oauth-authorization-details.d.ts +18 -18
  47. package/dist/schemas/oauth-authorization-details.d.ts.map +1 -1
  48. package/dist/schemas/oauth-authorization-details.js +7 -7
  49. package/dist/schemas/oauth-authorization-details.js.map +1 -1
  50. package/dist/schemas/oauth-authorization-server-metadata.d.ts +462 -48
  51. package/dist/schemas/oauth-authorization-server-metadata.d.ts.map +1 -1
  52. package/dist/schemas/oauth-authorization-server-metadata.js +46 -65
  53. package/dist/schemas/oauth-authorization-server-metadata.js.map +1 -1
  54. package/dist/schemas/oauth-client-id-discoverable.d.ts +2 -2
  55. package/dist/schemas/oauth-client-id-discoverable.d.ts.map +1 -1
  56. package/dist/schemas/oauth-client-id-discoverable.js +20 -22
  57. package/dist/schemas/oauth-client-id-discoverable.js.map +1 -1
  58. package/dist/schemas/oauth-client-id.d.ts +3 -3
  59. package/dist/schemas/oauth-client-id.d.ts.map +1 -1
  60. package/dist/schemas/oauth-client-id.js +2 -2
  61. package/dist/schemas/oauth-client-id.js.map +1 -1
  62. package/dist/schemas/oauth-client-metadata.d.ts +73 -51
  63. package/dist/schemas/oauth-client-metadata.d.ts.map +1 -1
  64. package/dist/schemas/oauth-client-metadata.js +33 -40
  65. package/dist/schemas/oauth-client-metadata.js.map +1 -1
  66. package/dist/schemas/oauth-code-challenge-method.d.ts +3 -3
  67. package/dist/schemas/oauth-code-challenge-method.d.ts.map +1 -1
  68. package/dist/schemas/oauth-code-challenge-method.js +2 -2
  69. package/dist/schemas/oauth-code-challenge-method.js.map +1 -1
  70. package/dist/schemas/oauth-endpoint-auth-method.d.ts +3 -3
  71. package/dist/schemas/oauth-endpoint-auth-method.d.ts.map +1 -1
  72. package/dist/schemas/oauth-endpoint-auth-method.js +10 -2
  73. package/dist/schemas/oauth-endpoint-auth-method.js.map +1 -1
  74. package/dist/schemas/oauth-grant-type.d.ts +3 -3
  75. package/dist/schemas/oauth-grant-type.d.ts.map +1 -1
  76. package/dist/schemas/oauth-grant-type.js +10 -3
  77. package/dist/schemas/oauth-grant-type.js.map +1 -1
  78. package/dist/schemas/oauth-issuer-identifier.d.ts +3 -3
  79. package/dist/schemas/oauth-issuer-identifier.d.ts.map +1 -1
  80. package/dist/schemas/oauth-issuer-identifier.js +16 -9
  81. package/dist/schemas/oauth-issuer-identifier.js.map +1 -1
  82. package/dist/schemas/oauth-par-response.d.ts +5 -5
  83. package/dist/schemas/oauth-par-response.d.ts.map +1 -1
  84. package/dist/schemas/oauth-par-response.js +3 -3
  85. package/dist/schemas/oauth-par-response.js.map +1 -1
  86. package/dist/schemas/oauth-prompt.d.ts +3 -3
  87. package/dist/schemas/oauth-prompt.d.ts.map +1 -1
  88. package/dist/schemas/oauth-prompt.js +2 -2
  89. package/dist/schemas/oauth-prompt.js.map +1 -1
  90. package/dist/schemas/oauth-protected-resource-metadata.d.ts +88 -16
  91. package/dist/schemas/oauth-protected-resource-metadata.d.ts.map +1 -1
  92. package/dist/schemas/oauth-protected-resource-metadata.js +14 -26
  93. package/dist/schemas/oauth-protected-resource-metadata.js.map +1 -1
  94. package/dist/schemas/oauth-redirect-uri.d.ts +5 -5
  95. package/dist/schemas/oauth-redirect-uri.d.ts.map +1 -1
  96. package/dist/schemas/oauth-redirect-uri.js +3 -16
  97. package/dist/schemas/oauth-redirect-uri.js.map +1 -1
  98. package/dist/schemas/oauth-response-mode.d.ts +3 -3
  99. package/dist/schemas/oauth-response-mode.d.ts.map +1 -1
  100. package/dist/schemas/oauth-response-mode.js +2 -2
  101. package/dist/schemas/oauth-response-mode.js.map +1 -1
  102. package/dist/schemas/oauth-response-type.d.ts +3 -3
  103. package/dist/schemas/oauth-response-type.d.ts.map +1 -1
  104. package/dist/schemas/oauth-response-type.js +13 -7
  105. package/dist/schemas/oauth-response-type.js.map +1 -1
  106. package/dist/schemas/oauth-scope.d.ts +3 -3
  107. package/dist/schemas/oauth-scope.d.ts.map +1 -1
  108. package/dist/schemas/oauth-scope.js +2 -2
  109. package/dist/schemas/oauth-scope.js.map +1 -1
  110. package/dist/schemas/oauth-token-response.d.ts +17 -17
  111. package/dist/schemas/oauth-token-response.d.ts.map +1 -1
  112. package/dist/schemas/oauth-token-response.js +7 -7
  113. package/dist/schemas/oauth-token-response.js.map +1 -1
  114. package/dist/schemas/oauth-token-type.d.ts +3 -3
  115. package/dist/schemas/oauth-token-type.d.ts.map +1 -1
  116. package/dist/schemas/oauth-token-type.js +8 -7
  117. package/dist/schemas/oauth-token-type.js.map +1 -1
  118. package/dist/schemas/uri.d.ts +7 -7
  119. package/dist/schemas/uri.d.ts.map +1 -1
  120. package/dist/schemas/uri.js +44 -44
  121. package/dist/schemas/uri.js.map +1 -1
  122. package/dist/schemas/utils.d.ts.map +1 -1
  123. package/dist/schemas/utils.js.map +1 -1
  124. package/dist/scope.d.ts.map +1 -1
  125. package/dist/scope.js.map +1 -1
  126. package/lib/build-client-metadata.ts +92 -6
  127. package/lib/index.ts +38 -30
  128. package/lib/schemas/atcute-client-shared.ts +25 -0
  129. package/lib/schemas/atcute-confidential-client-metadata.ts +81 -111
  130. package/lib/schemas/atcute-public-client-metadata.ts +101 -0
  131. package/lib/schemas/atproto-authorization-server-metadata.ts +22 -23
  132. package/lib/schemas/atproto-oauth-scope.ts +8 -5
  133. package/lib/schemas/atproto-oauth-token-response.ts +10 -9
  134. package/lib/schemas/atproto-protected-resource-metadata.ts +15 -15
  135. package/lib/schemas/jwk.ts +104 -120
  136. package/lib/schemas/jwks.ts +28 -40
  137. package/lib/schemas/oauth-authorization-details.ts +10 -10
  138. package/lib/schemas/oauth-authorization-server-metadata.ts +72 -74
  139. package/lib/schemas/oauth-client-id-discoverable.ts +43 -48
  140. package/lib/schemas/oauth-client-id.ts +3 -3
  141. package/lib/schemas/oauth-client-metadata.ts +45 -49
  142. package/lib/schemas/oauth-code-challenge-method.ts +3 -3
  143. package/lib/schemas/oauth-endpoint-auth-method.ts +11 -11
  144. package/lib/schemas/oauth-grant-type.ts +11 -11
  145. package/lib/schemas/oauth-issuer-identifier.ts +35 -27
  146. package/lib/schemas/oauth-par-response.ts +4 -4
  147. package/lib/schemas/oauth-prompt.ts +3 -9
  148. package/lib/schemas/oauth-protected-resource-metadata.ts +26 -35
  149. package/lib/schemas/oauth-redirect-uri.ts +15 -23
  150. package/lib/schemas/oauth-response-mode.ts +3 -7
  151. package/lib/schemas/oauth-response-type.ts +12 -12
  152. package/lib/schemas/oauth-scope.ts +3 -3
  153. package/lib/schemas/oauth-token-response.ts +10 -10
  154. package/lib/schemas/oauth-token-type.ts +16 -12
  155. package/lib/schemas/uri.ts +89 -76
  156. package/package.json +9 -8
@@ -1,54 +1,98 @@
1
- import * as v from '@badrap/valita';
1
+ import * as v from 'valibot';
2
2
  /**
3
3
  * @see {@link https://datatracker.ietf.org/doc/html/rfc8414}
4
4
  */
5
- export declare const oauthAuthorizationServerMetadataSchema: v.ObjectType<{
6
- issuer: v.Type<string>;
7
- claims_supported: v.Optional<string[]>;
8
- claims_locales_supported: v.Optional<string[]>;
9
- claims_parameter_supported: v.Optional<boolean>;
10
- request_parameter_supported: v.Optional<boolean>;
11
- request_uri_parameter_supported: v.Optional<boolean>;
12
- require_request_uri_registration: v.Optional<boolean>;
13
- scopes_supported: v.Optional<string[]>;
14
- subject_types_supported: v.Optional<string[]>;
15
- response_types_supported: v.Optional<string[]>;
16
- response_modes_supported: v.Optional<string[]>;
17
- grant_types_supported: v.Optional<string[]>;
18
- code_challenge_methods_supported: v.Optional<("S256" | "plain")[]>;
19
- ui_locales_supported: v.Optional<string[]>;
20
- id_token_signing_alg_values_supported: v.Optional<string[]>;
21
- display_values_supported: v.Optional<string[]>;
22
- prompt_values_supported: v.Optional<("consent" | "create" | "login" | "none" | "select_account")[]>;
23
- request_object_signing_alg_values_supported: v.Optional<string[]>;
24
- authorization_response_iss_parameter_supported: v.Optional<boolean>;
25
- authorization_details_types_supported: v.Optional<string[]>;
26
- request_object_encryption_alg_values_supported: v.Optional<string[]>;
27
- request_object_encryption_enc_values_supported: v.Optional<string[]>;
28
- jwks_uri: v.Optional<string>;
29
- authorization_endpoint: v.Type<string>;
30
- token_endpoint: v.Type<string>;
31
- token_endpoint_auth_methods_supported: v.Optional<string[]>;
32
- token_endpoint_auth_signing_alg_values_supported: v.Optional<string[]>;
33
- revocation_endpoint: v.Optional<string>;
34
- revocation_endpoint_auth_methods_supported: v.Optional<string[]>;
35
- revocation_endpoint_auth_signing_alg_values_supported: v.Optional<string[]>;
36
- introspection_endpoint: v.Optional<string>;
37
- introspection_endpoint_auth_methods_supported: v.Optional<string[]>;
38
- introspection_endpoint_auth_signing_alg_values_supported: v.Optional<string[]>;
39
- pushed_authorization_request_endpoint: v.Optional<string>;
40
- pushed_authorization_request_endpoint_auth_methods_supported: v.Optional<string[]>;
41
- pushed_authorization_request_endpoint_auth_signing_alg_values_supported: v.Optional<string[]>;
42
- require_pushed_authorization_requests: v.Optional<boolean>;
43
- userinfo_endpoint: v.Optional<string>;
44
- end_session_endpoint: v.Optional<string>;
45
- registration_endpoint: v.Optional<string>;
46
- dpop_signing_alg_values_supported: v.Optional<string[]>;
47
- protected_resources: v.Optional<string[]>;
48
- client_id_metadata_document_supported: v.Optional<boolean>;
5
+ export declare const oauthAuthorizationServerMetadataSchema: v.LooseObjectSchema<{
6
+ readonly issuer: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, v.RawCheckAction<string>]>;
7
+ readonly claims_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
8
+ readonly claims_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
9
+ readonly claims_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10
+ readonly request_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11
+ readonly request_uri_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
12
+ readonly require_request_uri_registration: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
13
+ readonly scopes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
14
+ readonly subject_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
15
+ readonly response_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
16
+ readonly response_modes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
17
+ readonly grant_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
18
+ readonly code_challenge_methods_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["S256", "plain"], undefined>, undefined>, undefined>;
19
+ readonly ui_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
20
+ readonly id_token_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
21
+ readonly display_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
22
+ readonly prompt_values_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["none", "login", "consent", "select_account", "create"], undefined>, undefined>, undefined>;
23
+ readonly request_object_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
24
+ readonly authorization_response_iss_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
25
+ readonly authorization_details_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
26
+ readonly request_object_encryption_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
27
+ readonly request_object_encryption_enc_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
28
+ readonly jwks_uri: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
29
+ readonly authorization_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
30
+ readonly token_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
31
+ readonly token_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
32
+ readonly token_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
33
+ readonly revocation_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
34
+ readonly revocation_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
35
+ readonly revocation_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
36
+ readonly introspection_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
37
+ readonly introspection_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
38
+ readonly introspection_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
39
+ readonly pushed_authorization_request_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
40
+ readonly pushed_authorization_request_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
41
+ readonly pushed_authorization_request_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
42
+ readonly require_pushed_authorization_requests: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
43
+ readonly userinfo_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
44
+ readonly end_session_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
45
+ readonly registration_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
46
+ readonly dpop_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
47
+ readonly protected_resources: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>, undefined>;
48
+ readonly client_id_metadata_document_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
49
49
  }, undefined>;
50
- export type OAuthAuthorizationServerMetadata = v.Infer<typeof oauthAuthorizationServerMetadataSchema>;
51
- export declare const oauthAuthorizationServerMetadataValidator: v.Type<{
50
+ export type OAuthAuthorizationServerMetadata = v.InferOutput<typeof oauthAuthorizationServerMetadataSchema>;
51
+ export declare const oauthAuthorizationServerMetadataValidator: v.SchemaWithPipe<readonly [v.LooseObjectSchema<{
52
+ readonly issuer: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, v.RawCheckAction<string>]>;
53
+ readonly claims_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
54
+ readonly claims_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
55
+ readonly claims_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
56
+ readonly request_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
57
+ readonly request_uri_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
58
+ readonly require_request_uri_registration: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
59
+ readonly scopes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
60
+ readonly subject_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
61
+ readonly response_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
62
+ readonly response_modes_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
63
+ readonly grant_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
64
+ readonly code_challenge_methods_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["S256", "plain"], undefined>, undefined>, undefined>;
65
+ readonly ui_locales_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
66
+ readonly id_token_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
67
+ readonly display_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
68
+ readonly prompt_values_supported: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["none", "login", "consent", "select_account", "create"], undefined>, undefined>, undefined>;
69
+ readonly request_object_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
70
+ readonly authorization_response_iss_parameter_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
71
+ readonly authorization_details_types_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
72
+ readonly request_object_encryption_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
73
+ readonly request_object_encryption_enc_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
74
+ readonly jwks_uri: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
75
+ readonly authorization_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
76
+ readonly token_endpoint: v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">;
77
+ readonly token_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
78
+ readonly token_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
79
+ readonly revocation_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
80
+ readonly revocation_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
81
+ readonly revocation_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
82
+ readonly introspection_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
83
+ readonly introspection_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
84
+ readonly introspection_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
85
+ readonly pushed_authorization_request_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
86
+ readonly pushed_authorization_request_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
87
+ readonly pushed_authorization_request_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
88
+ readonly require_pushed_authorization_requests: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
89
+ readonly userinfo_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
90
+ readonly end_session_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
91
+ readonly registration_endpoint: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>;
92
+ readonly dpop_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
93
+ readonly protected_resources: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "must be a valid url">]>, v.RawCheckAction<string>]>], "url must use http: or https: protocol">, undefined>, undefined>;
94
+ readonly client_id_metadata_document_supported: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
95
+ }, undefined>, v.BaseValidation<{
52
96
  issuer: string;
53
97
  claims_supported?: string[] | undefined;
54
98
  claims_locales_supported?: string[] | undefined;
@@ -92,5 +136,375 @@ export declare const oauthAuthorizationServerMetadataValidator: v.Type<{
92
136
  dpop_signing_alg_values_supported?: string[] | undefined;
93
137
  protected_resources?: string[] | undefined;
94
138
  client_id_metadata_document_supported?: boolean | undefined;
95
- }>;
139
+ } & {
140
+ [key: string]: unknown;
141
+ }, {
142
+ issuer: string;
143
+ claims_supported?: string[] | undefined;
144
+ claims_locales_supported?: string[] | undefined;
145
+ claims_parameter_supported?: boolean | undefined;
146
+ request_parameter_supported?: boolean | undefined;
147
+ request_uri_parameter_supported?: boolean | undefined;
148
+ require_request_uri_registration?: boolean | undefined;
149
+ scopes_supported?: string[] | undefined;
150
+ subject_types_supported?: string[] | undefined;
151
+ response_types_supported?: string[] | undefined;
152
+ response_modes_supported?: string[] | undefined;
153
+ grant_types_supported?: string[] | undefined;
154
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
155
+ ui_locales_supported?: string[] | undefined;
156
+ id_token_signing_alg_values_supported?: string[] | undefined;
157
+ display_values_supported?: string[] | undefined;
158
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
159
+ request_object_signing_alg_values_supported?: string[] | undefined;
160
+ authorization_response_iss_parameter_supported?: boolean | undefined;
161
+ authorization_details_types_supported?: string[] | undefined;
162
+ request_object_encryption_alg_values_supported?: string[] | undefined;
163
+ request_object_encryption_enc_values_supported?: string[] | undefined;
164
+ jwks_uri?: string | undefined;
165
+ authorization_endpoint: string;
166
+ token_endpoint: string;
167
+ token_endpoint_auth_methods_supported?: string[] | undefined;
168
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
169
+ revocation_endpoint?: string | undefined;
170
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
171
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
172
+ introspection_endpoint?: string | undefined;
173
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
174
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
175
+ pushed_authorization_request_endpoint?: string | undefined;
176
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
177
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
178
+ require_pushed_authorization_requests?: boolean | undefined;
179
+ userinfo_endpoint?: string | undefined;
180
+ end_session_endpoint?: string | undefined;
181
+ registration_endpoint?: string | undefined;
182
+ dpop_signing_alg_values_supported?: string[] | undefined;
183
+ protected_resources?: string[] | undefined;
184
+ client_id_metadata_document_supported?: boolean | undefined;
185
+ } & {
186
+ [key: string]: unknown;
187
+ }, v.CheckIssue<{
188
+ issuer: string;
189
+ claims_supported?: string[] | undefined;
190
+ claims_locales_supported?: string[] | undefined;
191
+ claims_parameter_supported?: boolean | undefined;
192
+ request_parameter_supported?: boolean | undefined;
193
+ request_uri_parameter_supported?: boolean | undefined;
194
+ require_request_uri_registration?: boolean | undefined;
195
+ scopes_supported?: string[] | undefined;
196
+ subject_types_supported?: string[] | undefined;
197
+ response_types_supported?: string[] | undefined;
198
+ response_modes_supported?: string[] | undefined;
199
+ grant_types_supported?: string[] | undefined;
200
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
201
+ ui_locales_supported?: string[] | undefined;
202
+ id_token_signing_alg_values_supported?: string[] | undefined;
203
+ display_values_supported?: string[] | undefined;
204
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
205
+ request_object_signing_alg_values_supported?: string[] | undefined;
206
+ authorization_response_iss_parameter_supported?: boolean | undefined;
207
+ authorization_details_types_supported?: string[] | undefined;
208
+ request_object_encryption_alg_values_supported?: string[] | undefined;
209
+ request_object_encryption_enc_values_supported?: string[] | undefined;
210
+ jwks_uri?: string | undefined;
211
+ authorization_endpoint: string;
212
+ token_endpoint: string;
213
+ token_endpoint_auth_methods_supported?: string[] | undefined;
214
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
215
+ revocation_endpoint?: string | undefined;
216
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
217
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
218
+ introspection_endpoint?: string | undefined;
219
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
220
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
221
+ pushed_authorization_request_endpoint?: string | undefined;
222
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
223
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
224
+ require_pushed_authorization_requests?: boolean | undefined;
225
+ userinfo_endpoint?: string | undefined;
226
+ end_session_endpoint?: string | undefined;
227
+ registration_endpoint?: string | undefined;
228
+ dpop_signing_alg_values_supported?: string[] | undefined;
229
+ protected_resources?: string[] | undefined;
230
+ client_id_metadata_document_supported?: boolean | undefined;
231
+ } & {
232
+ [key: string]: unknown;
233
+ }>>, v.BaseValidation<{
234
+ issuer: string;
235
+ claims_supported?: string[] | undefined;
236
+ claims_locales_supported?: string[] | undefined;
237
+ claims_parameter_supported?: boolean | undefined;
238
+ request_parameter_supported?: boolean | undefined;
239
+ request_uri_parameter_supported?: boolean | undefined;
240
+ require_request_uri_registration?: boolean | undefined;
241
+ scopes_supported?: string[] | undefined;
242
+ subject_types_supported?: string[] | undefined;
243
+ response_types_supported?: string[] | undefined;
244
+ response_modes_supported?: string[] | undefined;
245
+ grant_types_supported?: string[] | undefined;
246
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
247
+ ui_locales_supported?: string[] | undefined;
248
+ id_token_signing_alg_values_supported?: string[] | undefined;
249
+ display_values_supported?: string[] | undefined;
250
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
251
+ request_object_signing_alg_values_supported?: string[] | undefined;
252
+ authorization_response_iss_parameter_supported?: boolean | undefined;
253
+ authorization_details_types_supported?: string[] | undefined;
254
+ request_object_encryption_alg_values_supported?: string[] | undefined;
255
+ request_object_encryption_enc_values_supported?: string[] | undefined;
256
+ jwks_uri?: string | undefined;
257
+ authorization_endpoint: string;
258
+ token_endpoint: string;
259
+ token_endpoint_auth_methods_supported?: string[] | undefined;
260
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
261
+ revocation_endpoint?: string | undefined;
262
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
263
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
264
+ introspection_endpoint?: string | undefined;
265
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
266
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
267
+ pushed_authorization_request_endpoint?: string | undefined;
268
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
269
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
270
+ require_pushed_authorization_requests?: boolean | undefined;
271
+ userinfo_endpoint?: string | undefined;
272
+ end_session_endpoint?: string | undefined;
273
+ registration_endpoint?: string | undefined;
274
+ dpop_signing_alg_values_supported?: string[] | undefined;
275
+ protected_resources?: string[] | undefined;
276
+ client_id_metadata_document_supported?: boolean | undefined;
277
+ } & {
278
+ [key: string]: unknown;
279
+ }, {
280
+ issuer: string;
281
+ claims_supported?: string[] | undefined;
282
+ claims_locales_supported?: string[] | undefined;
283
+ claims_parameter_supported?: boolean | undefined;
284
+ request_parameter_supported?: boolean | undefined;
285
+ request_uri_parameter_supported?: boolean | undefined;
286
+ require_request_uri_registration?: boolean | undefined;
287
+ scopes_supported?: string[] | undefined;
288
+ subject_types_supported?: string[] | undefined;
289
+ response_types_supported?: string[] | undefined;
290
+ response_modes_supported?: string[] | undefined;
291
+ grant_types_supported?: string[] | undefined;
292
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
293
+ ui_locales_supported?: string[] | undefined;
294
+ id_token_signing_alg_values_supported?: string[] | undefined;
295
+ display_values_supported?: string[] | undefined;
296
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
297
+ request_object_signing_alg_values_supported?: string[] | undefined;
298
+ authorization_response_iss_parameter_supported?: boolean | undefined;
299
+ authorization_details_types_supported?: string[] | undefined;
300
+ request_object_encryption_alg_values_supported?: string[] | undefined;
301
+ request_object_encryption_enc_values_supported?: string[] | undefined;
302
+ jwks_uri?: string | undefined;
303
+ authorization_endpoint: string;
304
+ token_endpoint: string;
305
+ token_endpoint_auth_methods_supported?: string[] | undefined;
306
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
307
+ revocation_endpoint?: string | undefined;
308
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
309
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
310
+ introspection_endpoint?: string | undefined;
311
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
312
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
313
+ pushed_authorization_request_endpoint?: string | undefined;
314
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
315
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
316
+ require_pushed_authorization_requests?: boolean | undefined;
317
+ userinfo_endpoint?: string | undefined;
318
+ end_session_endpoint?: string | undefined;
319
+ registration_endpoint?: string | undefined;
320
+ dpop_signing_alg_values_supported?: string[] | undefined;
321
+ protected_resources?: string[] | undefined;
322
+ client_id_metadata_document_supported?: boolean | undefined;
323
+ } & {
324
+ [key: string]: unknown;
325
+ }, v.CheckIssue<{
326
+ issuer: string;
327
+ claims_supported?: string[] | undefined;
328
+ claims_locales_supported?: string[] | undefined;
329
+ claims_parameter_supported?: boolean | undefined;
330
+ request_parameter_supported?: boolean | undefined;
331
+ request_uri_parameter_supported?: boolean | undefined;
332
+ require_request_uri_registration?: boolean | undefined;
333
+ scopes_supported?: string[] | undefined;
334
+ subject_types_supported?: string[] | undefined;
335
+ response_types_supported?: string[] | undefined;
336
+ response_modes_supported?: string[] | undefined;
337
+ grant_types_supported?: string[] | undefined;
338
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
339
+ ui_locales_supported?: string[] | undefined;
340
+ id_token_signing_alg_values_supported?: string[] | undefined;
341
+ display_values_supported?: string[] | undefined;
342
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
343
+ request_object_signing_alg_values_supported?: string[] | undefined;
344
+ authorization_response_iss_parameter_supported?: boolean | undefined;
345
+ authorization_details_types_supported?: string[] | undefined;
346
+ request_object_encryption_alg_values_supported?: string[] | undefined;
347
+ request_object_encryption_enc_values_supported?: string[] | undefined;
348
+ jwks_uri?: string | undefined;
349
+ authorization_endpoint: string;
350
+ token_endpoint: string;
351
+ token_endpoint_auth_methods_supported?: string[] | undefined;
352
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
353
+ revocation_endpoint?: string | undefined;
354
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
355
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
356
+ introspection_endpoint?: string | undefined;
357
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
358
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
359
+ pushed_authorization_request_endpoint?: string | undefined;
360
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
361
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
362
+ require_pushed_authorization_requests?: boolean | undefined;
363
+ userinfo_endpoint?: string | undefined;
364
+ end_session_endpoint?: string | undefined;
365
+ registration_endpoint?: string | undefined;
366
+ dpop_signing_alg_values_supported?: string[] | undefined;
367
+ protected_resources?: string[] | undefined;
368
+ client_id_metadata_document_supported?: boolean | undefined;
369
+ } & {
370
+ [key: string]: unknown;
371
+ }>>, v.BaseValidation<{
372
+ issuer: string;
373
+ claims_supported?: string[] | undefined;
374
+ claims_locales_supported?: string[] | undefined;
375
+ claims_parameter_supported?: boolean | undefined;
376
+ request_parameter_supported?: boolean | undefined;
377
+ request_uri_parameter_supported?: boolean | undefined;
378
+ require_request_uri_registration?: boolean | undefined;
379
+ scopes_supported?: string[] | undefined;
380
+ subject_types_supported?: string[] | undefined;
381
+ response_types_supported?: string[] | undefined;
382
+ response_modes_supported?: string[] | undefined;
383
+ grant_types_supported?: string[] | undefined;
384
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
385
+ ui_locales_supported?: string[] | undefined;
386
+ id_token_signing_alg_values_supported?: string[] | undefined;
387
+ display_values_supported?: string[] | undefined;
388
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
389
+ request_object_signing_alg_values_supported?: string[] | undefined;
390
+ authorization_response_iss_parameter_supported?: boolean | undefined;
391
+ authorization_details_types_supported?: string[] | undefined;
392
+ request_object_encryption_alg_values_supported?: string[] | undefined;
393
+ request_object_encryption_enc_values_supported?: string[] | undefined;
394
+ jwks_uri?: string | undefined;
395
+ authorization_endpoint: string;
396
+ token_endpoint: string;
397
+ token_endpoint_auth_methods_supported?: string[] | undefined;
398
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
399
+ revocation_endpoint?: string | undefined;
400
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
401
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
402
+ introspection_endpoint?: string | undefined;
403
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
404
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
405
+ pushed_authorization_request_endpoint?: string | undefined;
406
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
407
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
408
+ require_pushed_authorization_requests?: boolean | undefined;
409
+ userinfo_endpoint?: string | undefined;
410
+ end_session_endpoint?: string | undefined;
411
+ registration_endpoint?: string | undefined;
412
+ dpop_signing_alg_values_supported?: string[] | undefined;
413
+ protected_resources?: string[] | undefined;
414
+ client_id_metadata_document_supported?: boolean | undefined;
415
+ } & {
416
+ [key: string]: unknown;
417
+ }, {
418
+ issuer: string;
419
+ claims_supported?: string[] | undefined;
420
+ claims_locales_supported?: string[] | undefined;
421
+ claims_parameter_supported?: boolean | undefined;
422
+ request_parameter_supported?: boolean | undefined;
423
+ request_uri_parameter_supported?: boolean | undefined;
424
+ require_request_uri_registration?: boolean | undefined;
425
+ scopes_supported?: string[] | undefined;
426
+ subject_types_supported?: string[] | undefined;
427
+ response_types_supported?: string[] | undefined;
428
+ response_modes_supported?: string[] | undefined;
429
+ grant_types_supported?: string[] | undefined;
430
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
431
+ ui_locales_supported?: string[] | undefined;
432
+ id_token_signing_alg_values_supported?: string[] | undefined;
433
+ display_values_supported?: string[] | undefined;
434
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
435
+ request_object_signing_alg_values_supported?: string[] | undefined;
436
+ authorization_response_iss_parameter_supported?: boolean | undefined;
437
+ authorization_details_types_supported?: string[] | undefined;
438
+ request_object_encryption_alg_values_supported?: string[] | undefined;
439
+ request_object_encryption_enc_values_supported?: string[] | undefined;
440
+ jwks_uri?: string | undefined;
441
+ authorization_endpoint: string;
442
+ token_endpoint: string;
443
+ token_endpoint_auth_methods_supported?: string[] | undefined;
444
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
445
+ revocation_endpoint?: string | undefined;
446
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
447
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
448
+ introspection_endpoint?: string | undefined;
449
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
450
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
451
+ pushed_authorization_request_endpoint?: string | undefined;
452
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
453
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
454
+ require_pushed_authorization_requests?: boolean | undefined;
455
+ userinfo_endpoint?: string | undefined;
456
+ end_session_endpoint?: string | undefined;
457
+ registration_endpoint?: string | undefined;
458
+ dpop_signing_alg_values_supported?: string[] | undefined;
459
+ protected_resources?: string[] | undefined;
460
+ client_id_metadata_document_supported?: boolean | undefined;
461
+ } & {
462
+ [key: string]: unknown;
463
+ }, v.CheckIssue<{
464
+ issuer: string;
465
+ claims_supported?: string[] | undefined;
466
+ claims_locales_supported?: string[] | undefined;
467
+ claims_parameter_supported?: boolean | undefined;
468
+ request_parameter_supported?: boolean | undefined;
469
+ request_uri_parameter_supported?: boolean | undefined;
470
+ require_request_uri_registration?: boolean | undefined;
471
+ scopes_supported?: string[] | undefined;
472
+ subject_types_supported?: string[] | undefined;
473
+ response_types_supported?: string[] | undefined;
474
+ response_modes_supported?: string[] | undefined;
475
+ grant_types_supported?: string[] | undefined;
476
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
477
+ ui_locales_supported?: string[] | undefined;
478
+ id_token_signing_alg_values_supported?: string[] | undefined;
479
+ display_values_supported?: string[] | undefined;
480
+ prompt_values_supported?: ("consent" | "create" | "login" | "none" | "select_account")[] | undefined;
481
+ request_object_signing_alg_values_supported?: string[] | undefined;
482
+ authorization_response_iss_parameter_supported?: boolean | undefined;
483
+ authorization_details_types_supported?: string[] | undefined;
484
+ request_object_encryption_alg_values_supported?: string[] | undefined;
485
+ request_object_encryption_enc_values_supported?: string[] | undefined;
486
+ jwks_uri?: string | undefined;
487
+ authorization_endpoint: string;
488
+ token_endpoint: string;
489
+ token_endpoint_auth_methods_supported?: string[] | undefined;
490
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
491
+ revocation_endpoint?: string | undefined;
492
+ revocation_endpoint_auth_methods_supported?: string[] | undefined;
493
+ revocation_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
494
+ introspection_endpoint?: string | undefined;
495
+ introspection_endpoint_auth_methods_supported?: string[] | undefined;
496
+ introspection_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
497
+ pushed_authorization_request_endpoint?: string | undefined;
498
+ pushed_authorization_request_endpoint_auth_methods_supported?: string[] | undefined;
499
+ pushed_authorization_request_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
500
+ require_pushed_authorization_requests?: boolean | undefined;
501
+ userinfo_endpoint?: string | undefined;
502
+ end_session_endpoint?: string | undefined;
503
+ registration_endpoint?: string | undefined;
504
+ dpop_signing_alg_values_supported?: string[] | undefined;
505
+ protected_resources?: string[] | undefined;
506
+ client_id_metadata_document_supported?: boolean | undefined;
507
+ } & {
508
+ [key: string]: unknown;
509
+ }>>]>;
96
510
  //# sourceMappingURL=oauth-authorization-server-metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../../lib/schemas/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,gBAAgB,CAAC;AAOpC;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA2DjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BrD,CAAC"}
1
+ {"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../../lib/schemas/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAO7B;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA2DjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAE5G,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyBrD,CAAC"}