@structured-id/proto 0.18.0 → 0.20.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 (168) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/generated/sid/v1/account/account.client.d.ts +14 -2
  3. package/dist/generated/sid/v1/account/account.client.js +7 -1
  4. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  5. package/dist/generated/sid/v1/account/account.js +28 -28
  6. package/dist/generated/sid/v1/account/account.js.map +1 -1
  7. package/dist/generated/sid/v1/admin/admin.client.d.ts +2 -0
  8. package/dist/generated/sid/v1/admin/admin.client.js +1 -0
  9. package/dist/generated/sid/v1/admin/admin.client.js.map +1 -1
  10. package/dist/generated/sid/v1/admin/admin.js +7 -7
  11. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  12. package/dist/generated/sid/v1/admin/admin_roles.js +11 -11
  13. package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/analytics.js +5 -5
  15. package/dist/generated/sid/v1/admin/analytics.js.map +1 -1
  16. package/dist/generated/sid/v1/admin/branding.js +8 -8
  17. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  18. package/dist/generated/sid/v1/admin/enrollment.client.js +3 -0
  19. package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
  20. package/dist/generated/sid/v1/admin/enrollment.js +10 -10
  21. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  22. package/dist/generated/sid/v1/admin/events.js +10 -10
  23. package/dist/generated/sid/v1/admin/events.js.map +1 -1
  24. package/dist/generated/sid/v1/admin/flow.js +8 -8
  25. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  26. package/dist/generated/sid/v1/admin/keys.js +6 -6
  27. package/dist/generated/sid/v1/admin/keys.js.map +1 -1
  28. package/dist/generated/sid/v1/admin/login_experience.js +7 -7
  29. package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
  30. package/dist/generated/sid/v1/admin/migration.js +7 -7
  31. package/dist/generated/sid/v1/admin/migration.js.map +1 -1
  32. package/dist/generated/sid/v1/admin/notifications.client.d.ts +6 -0
  33. package/dist/generated/sid/v1/admin/notifications.client.js +3 -0
  34. package/dist/generated/sid/v1/admin/notifications.client.js.map +1 -1
  35. package/dist/generated/sid/v1/admin/notifications.js +6 -6
  36. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  37. package/dist/generated/sid/v1/admin/operations.js +14 -14
  38. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  39. package/dist/generated/sid/v1/admin/organizations.js +2 -2
  40. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  41. package/dist/generated/sid/v1/admin/provisioning.js +10 -10
  42. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  43. package/dist/generated/sid/v1/admin/scopes.js +11 -11
  44. package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
  45. package/dist/generated/sid/v1/admin/security.js +25 -25
  46. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  47. package/dist/generated/sid/v1/admin/sessions.js +5 -5
  48. package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
  49. package/dist/generated/sid/v1/admin/settings.d.ts +269 -12
  50. package/dist/generated/sid/v1/admin/settings.js +315 -53
  51. package/dist/generated/sid/v1/admin/settings.js.map +1 -1
  52. package/dist/generated/sid/v1/admin/user_profile.js +2 -2
  53. package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
  54. package/dist/generated/sid/v1/admin/webhooks.js +16 -16
  55. package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
  56. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +12 -0
  57. package/dist/generated/sid/v1/attestation/attestation.client.js +6 -0
  58. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  59. package/dist/generated/sid/v1/attestation/attestation.js +6 -6
  60. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  61. package/dist/generated/sid/v1/authn/application_session.js +5 -5
  62. package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
  63. package/dist/generated/sid/v1/authn/auth.client.d.ts +124 -10
  64. package/dist/generated/sid/v1/authn/auth.client.js +99 -26
  65. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  66. package/dist/generated/sid/v1/authn/auth.d.ts +306 -13
  67. package/dist/generated/sid/v1/authn/auth.js +597 -59
  68. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  69. package/dist/generated/sid/v1/authn/auth_flow.client.d.ts +140 -0
  70. package/dist/generated/sid/v1/authn/auth_flow.client.js +81 -0
  71. package/dist/generated/sid/v1/authn/auth_flow.client.js.map +1 -0
  72. package/dist/generated/sid/v1/authn/auth_flow.d.ts +418 -0
  73. package/dist/generated/sid/v1/authn/auth_flow.js +623 -0
  74. package/dist/generated/sid/v1/authn/auth_flow.js.map +1 -0
  75. package/dist/generated/sid/v1/authn/flows.js +26 -26
  76. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  77. package/dist/generated/sid/v1/authn/issuer.client.d.ts +8 -2
  78. package/dist/generated/sid/v1/authn/issuer.client.js +4 -1
  79. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  80. package/dist/generated/sid/v1/authn/issuer.d.ts +13 -6
  81. package/dist/generated/sid/v1/authn/issuer.js +19 -19
  82. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  83. package/dist/generated/sid/v1/authn/password_history.client.d.ts +2 -2
  84. package/dist/generated/sid/v1/authn/password_history.client.js +1 -1
  85. package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
  86. package/dist/generated/sid/v1/authn/password_history.d.ts +15 -0
  87. package/dist/generated/sid/v1/authn/password_history.js +11 -3
  88. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  89. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  90. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  91. package/dist/generated/sid/v1/authz/authz.client.d.ts +60 -0
  92. package/dist/generated/sid/v1/authz/authz.client.js +49 -17
  93. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  94. package/dist/generated/sid/v1/authz/authz.d.ts +195 -2
  95. package/dist/generated/sid/v1/authz/authz.js +322 -29
  96. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  97. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  98. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  99. package/dist/generated/sid/v1/authz/governance.js +4 -4
  100. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  101. package/dist/generated/sid/v1/common/access.d.ts +219 -0
  102. package/dist/generated/sid/v1/common/access.js +285 -0
  103. package/dist/generated/sid/v1/common/access.js.map +1 -0
  104. package/dist/generated/sid/v1/common/claims.d.ts +138 -0
  105. package/dist/generated/sid/v1/common/claims.js +168 -0
  106. package/dist/generated/sid/v1/common/claims.js.map +1 -0
  107. package/dist/generated/sid/v1/common/errors.d.ts +45 -0
  108. package/dist/generated/sid/v1/common/errors.js +45 -0
  109. package/dist/generated/sid/v1/common/errors.js.map +1 -1
  110. package/dist/generated/sid/v1/common/maintenance.d.ts +50 -0
  111. package/dist/generated/sid/v1/common/maintenance.js +56 -0
  112. package/dist/generated/sid/v1/common/maintenance.js.map +1 -0
  113. package/dist/generated/sid/v1/common/operation.js +1 -1
  114. package/dist/generated/sid/v1/common/operation.js.map +1 -1
  115. package/dist/generated/sid/v1/events/event_stream.js +2 -2
  116. package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
  117. package/dist/generated/sid/v1/federation/entry.client.d.ts +190 -0
  118. package/dist/generated/sid/v1/federation/entry.client.js +123 -0
  119. package/dist/generated/sid/v1/federation/entry.client.js.map +1 -0
  120. package/dist/generated/sid/v1/federation/entry.d.ts +490 -0
  121. package/dist/generated/sid/v1/federation/entry.js +795 -0
  122. package/dist/generated/sid/v1/federation/entry.js.map +1 -0
  123. package/dist/generated/sid/v1/federation/platform_ca.client.d.ts +77 -0
  124. package/dist/generated/sid/v1/federation/platform_ca.client.js +47 -0
  125. package/dist/generated/sid/v1/federation/platform_ca.client.js.map +1 -0
  126. package/dist/generated/sid/v1/federation/platform_ca.d.ts +186 -0
  127. package/dist/generated/sid/v1/federation/platform_ca.js +285 -0
  128. package/dist/generated/sid/v1/federation/platform_ca.js.map +1 -0
  129. package/dist/generated/sid/v1/federation/site.client.d.ts +99 -0
  130. package/dist/generated/sid/v1/federation/site.client.js +62 -0
  131. package/dist/generated/sid/v1/federation/site.client.js.map +1 -0
  132. package/dist/generated/sid/v1/federation/site.d.ts +219 -0
  133. package/dist/generated/sid/v1/federation/site.js +416 -0
  134. package/dist/generated/sid/v1/federation/site.js.map +1 -0
  135. package/dist/generated/sid/v1/federation/site_admission.client.d.ts +71 -0
  136. package/dist/generated/sid/v1/federation/site_admission.client.js +42 -0
  137. package/dist/generated/sid/v1/federation/site_admission.client.js.map +1 -0
  138. package/dist/generated/sid/v1/federation/site_admission.d.ts +36 -0
  139. package/dist/generated/sid/v1/federation/site_admission.js +64 -0
  140. package/dist/generated/sid/v1/federation/site_admission.js.map +1 -0
  141. package/dist/generated/sid/v1/federation/upstream.js +8 -8
  142. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  143. package/dist/generated/sid/v1/identity/identity.client.d.ts +6 -0
  144. package/dist/generated/sid/v1/identity/identity.client.js +3 -0
  145. package/dist/generated/sid/v1/identity/identity.client.js.map +1 -1
  146. package/dist/generated/sid/v1/identity/identity.d.ts +19 -1
  147. package/dist/generated/sid/v1/identity/identity.js +49 -31
  148. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  149. package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
  150. package/dist/generated/sid/v1/ids/ids.js +1 -0
  151. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  152. package/dist/generated/sid/v1/machine/machine_user.js +14 -14
  153. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  154. package/dist/generated/sid/v1/machine/pat.js +7 -7
  155. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  156. package/dist/generated/sid/v1/projects/projects.d.ts +78 -6
  157. package/dist/generated/sid/v1/projects/projects.js +107 -29
  158. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  159. package/dist/generated/sid/v1/scim/scim.js +28 -28
  160. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  161. package/dist/generated/sid/v1/test/test.client.d.ts +2 -0
  162. package/dist/generated/sid/v1/test/test.client.js +1 -0
  163. package/dist/generated/sid/v1/test/test.client.js.map +1 -1
  164. package/dist/generated/sid/v1/test/test.js +12 -12
  165. package/dist/generated/sid/v1/test/test.js.map +1 -1
  166. package/dist/generated/sid/v1/ui/public_settings.js +2 -2
  167. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
  168. package/package.json +7 -7
@@ -21,7 +21,10 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
21
21
  * OidcProviderService publishes one issuer's metadata and signing keys to its
22
22
  * relying parties. Every document belongs to the issuer the handle names; an
23
23
  * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and
24
- * never falls back to another issuer. There is no issuer-less document.
24
+ * never falls back to another issuer. Each route also has a root binding with
25
+ * no handle, served by the installation's root-addressed base issuer only:
26
+ * without one it is NOT_FOUND the same way, and no issuer is derived from the
27
+ * request's host.
25
28
  *
26
29
  * @generated from protobuf service sid.v1.authn.OidcProviderService
27
30
  */
@@ -179,7 +182,10 @@ export interface IOidcProviderServiceClient {
179
182
  * OidcProviderService publishes one issuer's metadata and signing keys to its
180
183
  * relying parties. Every document belongs to the issuer the handle names; an
181
184
  * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and
182
- * never falls back to another issuer. There is no issuer-less document.
185
+ * never falls back to another issuer. Each route also has a root binding with
186
+ * no handle, served by the installation's root-addressed base issuer only:
187
+ * without one it is NOT_FOUND the same way, and no issuer is derived from the
188
+ * request's host.
183
189
  *
184
190
  * @generated from protobuf service sid.v1.authn.OidcProviderService
185
191
  */
@@ -9,7 +9,10 @@ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
9
9
  * OidcProviderService publishes one issuer's metadata and signing keys to its
10
10
  * relying parties. Every document belongs to the issuer the handle names; an
11
11
  * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and
12
- * never falls back to another issuer. There is no issuer-less document.
12
+ * never falls back to another issuer. Each route also has a root binding with
13
+ * no handle, served by the installation's root-addressed base issuer only:
14
+ * without one it is NOT_FOUND the same way, and no issuer is derived from the
15
+ * request's host.
13
16
  *
14
17
  * @generated from protobuf service sid.v1.authn.OidcProviderService
15
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"issuer.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/issuer.client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,oGAAoG;AACpG,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAShD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAQlD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAmL1D;;;;;;;GAOG;AACH,MAAM,OAAO,yBAAyB;IAIL;IAH7B,QAAQ,GAAG,mBAAmB,CAAC,QAAQ,CAAC;IACxC,OAAO,GAAG,mBAAmB,CAAC,OAAO,CAAC;IACtC,OAAO,GAAG,mBAAmB,CAAC,OAAO,CAAC;IACtC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;OAOG;IACH,mBAAmB,CAAC,KAA0B,EAAE,OAAoB;QAChE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAwC,OAAO,EAAE,IAAI,CAAC,UAAU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AH7B,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IACtC,OAAO,GAAG,iBAAiB,CAAC,OAAO,CAAC;IACpC,OAAO,GAAG,iBAAiB,CAAC,OAAO,CAAC;IACpC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;OAOG;IACH,aAAa,CAAC,KAA2B,EAAE,OAAoB;QAC3D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAmC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1G,CAAC;IACD;;;;;;;;OAQG;IACH,oBAAoB,CAAC,KAAkC,EAAE,OAAoB;QACzE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAuD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9H,CAAC;IACD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,gBAAgB,CAAC,KAA8B,EAAE,OAAoB;QACjE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxG,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/issuer.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { OidcIssuerService } from \"./issuer.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { AdmitSenderProofRequest } from \"./issuer.js\";\nimport type { ProtectedResourceTarget } from \"./issuer.js\";\nimport type { GetProtectedResourceRequest } from \"./issuer.js\";\nimport type { OidcIssuer } from \"./issuer.js\";\nimport type { GetOidcIssuerRequest } from \"./issuer.js\";\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { OidcProviderService } from \"./issuer.js\";\nimport type { RegistrationRequest } from \"./issuer.js\";\nimport type { EndSessionRequest } from \"./issuer.js\";\nimport type { ProtocolRequest } from \"./issuer.js\";\nimport type { HttpBody } from \"../../../google/api/httpbody.js\";\nimport type { OAuth2AuthorizeRequest } from \"./auth.js\";\nimport type { UserInfo } from \"./issuer.js\";\nimport type { JsonWebKeySet } from \"./issuer.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ProviderMetadata } from \"./issuer.js\";\nimport type { IssuerHandleRequest } from \"./issuer.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * OidcProviderService publishes one issuer's metadata and signing keys to its\n * relying parties. Every document belongs to the issuer the handle names; an\n * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and\n * never falls back to another issuer. There is no issuer-less document.\n *\n * @generated from protobuf service sid.v1.authn.OidcProviderService\n */\nexport interface IOidcProviderServiceClient {\n /**\n * The issuer's metadata (OpenID Connect Discovery 1.0 §3–4, RFC 8414 §2–3).\n * One document answers both discovery algorithms: the OIDC location under\n * the issuer path and the RFC 8414 well-known location with the issuer path\n * appended.\n *\n * @generated from protobuf rpc: GetProviderMetadata\n */\n getProviderMetadata(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, ProviderMetadata>;\n /**\n * The issuer's JSON Web Key Set (RFC 7517 §5): the public keys that verify\n * its tokens. The response metadata carries `cache-control` for HTTP caches.\n *\n * @generated from protobuf rpc: GetJwks\n */\n getJwks(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, JsonWebKeySet>;\n /**\n * UserInfo (OIDC Core 1.0 §5.3) over GET. The access token travels in the\n * `authorization` metadata, `Bearer` (RFC 6750 §2.1) or `DPoP` with a proof\n * in the `dpop` metadata (RFC 9449 §7.1); only tokens this issuer signed are\n * accepted. A refused token is UNAUTHENTICATED with a `www-authenticate`\n * response metadata challenge (RFC 6750 §3, RFC 9449 §7.1). GET and POST\n * are separate RPCs because a DPoP proof names the request method. A DPoP\n * proof is recorded against replay, so the call is not free of effects; a\n * repeat with the same proof is refused.\n *\n * @generated from protobuf rpc: GetUserInfo\n */\n getUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo>;\n /**\n * UserInfo over POST (OIDC Core 1.0 §5.3.1); the same answer as GetUserInfo.\n *\n * @generated from protobuf rpc: PostUserInfo\n */\n postUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo>;\n /**\n * The browser authorization endpoint (RFC 6749 §3.1) over GET, the query\n * parameters bound to the request fields. The answer is an HTTP redirect\n * (`x-http-code` 303 and `location` response metadata, RFC 9700 §4.11): to\n * the client's registered redirect URI with `code` or `error`, `state` and\n * `iss` (RFC 9207 §2), or, when the user must sign in first, to the sign-in\n * page with this request to return to. A request whose client or exact\n * redirect URI is not established is answered with a page and never\n * redirected (RFC 6749 §4.1.2.1). The signed-in user's token, when a\n * gateway holds one, travels in the `authorization` metadata.\n *\n * @generated from protobuf rpc: GetAuthorize\n */\n getAuthorize(input: OAuth2AuthorizeRequest, options?: RpcOptions): UnaryCall<OAuth2AuthorizeRequest, HttpBody>;\n /**\n * The authorization endpoint over POST with a form body (OIDC Core 1.0\n * §3.1.2.1); the same answer as GetAuthorize. Parameters it does not know\n * are ignored (RFC 6749 §3.1).\n *\n * @generated from protobuf rpc: PostAuthorize\n */\n postAuthorize(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * RP-Initiated Logout (OIDC RP-Initiated Logout 1.0 §2) over GET. The\n * browser's IdP session is read from its `__Host-sid_session` cookie\n * (`cookie` metadata). A valid `id_token_hint` of this issuer ends the\n * application session it names; when that session reuses the browser's\n * IdP session, single sign-on ends too and the answer clears the cookie.\n * Otherwise ending the browser's IdP session needs the user's confirmation\n * (§2): the answer is a page with a form that confirms it by POST. A\n * `post_logout_redirect_uri` is followed only for a valid `id_token_hint`\n * whose client registered exactly that URI (§3): the answer is then a 303\n * to it with `state`, or, while the browser's IdP session remains, the\n * confirmation page, which returns there after either choice. Otherwise the\n * answer is a page.\n *\n * @generated from protobuf rpc: GetEndSession\n */\n getEndSession(input: EndSessionRequest, options?: RpcOptions): UnaryCall<EndSessionRequest, HttpBody>;\n /**\n * RP-Initiated Logout over POST with a form body: the same parameters as\n * GetEndSession, plus `confirmation`, the one-time value of the\n * confirmation page's form, which ends the browser's IdP session it was\n * issued for and returns to the post-logout redirect URI that page was\n * shown for, if any.\n *\n * @generated from protobuf rpc: PostEndSession\n */\n postEndSession(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n // The endpoints below are the HTTP form of AuthService's OAuth RPCs, with\n // the same logic: the request body is the `application/x-www-form-urlencoded`\n // form the RFC defines, the answer is the RFC's JSON with its HTTP status in\n // the `x-http-code` response metadata and its headers (`cache-control`,\n // `pragma`, `www-authenticate`) as response metadata. A refusal is an OK\n // gRPC call carrying the RFC error body; typed gRPC clients use AuthService.\n // HTTP Basic client authentication travels in the `authorization` metadata,\n // a DPoP proof in `dpop`.\n\n /**\n * Token endpoint (RFC 6749 §3.2): every grant, including the device_code\n * grant (RFC 8628 §3.4). Success is RFC 6749 §5.1 JSON with\n * `cache-control: no-store`; a refusal is RFC 6749 §5.2 or RFC 8628 §3.5\n * JSON, 401 with a `www-authenticate` challenge for `invalid_client` when\n * the client used HTTP Basic, 400 otherwise.\n *\n * @generated from protobuf rpc: Token\n */\n token(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Token introspection (RFC 7662 §2): RFC 7662 §2.2 JSON, `{\"active\":false}`\n * for any token this issuer does not vouch for. A client assertion is\n * recorded against replay, so the call is not free of effects.\n *\n * @generated from protobuf rpc: Introspect\n */\n introspect(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Token revocation (RFC 7009 §2): 200 with an empty body, also for a token\n * that is unknown or already revoked (RFC 7009 §2.2).\n *\n * @generated from protobuf rpc: Revoke\n */\n revoke(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Device authorization (RFC 8628 §3.1): RFC 8628 §3.2 JSON; a refusal is\n * RFC 6749 §5.2 JSON as at the token endpoint.\n *\n * @generated from protobuf rpc: DeviceAuthorization\n */\n deviceAuthorization(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n // The registration endpoints below are the HTTP form of ProjectService's\n // dynamic registration RPCs, with the same logic. Bodies are\n // `application/json` client metadata (RFC 7591 §2); the initial access\n // token or registration access token travels as a bearer token in the\n // `authorization` metadata. A refusal is an OK gRPC call carrying the RFC\n // error body with its HTTP status in `x-http-code`.\n\n /**\n * Client registration (RFC 7591 §3.1). Success is 201 with every\n * registered metadata value, the credentials and the management location\n * (RFC 7591 §3.2.1, RFC 7592 §3); invalid metadata is 400 with\n * `invalid_client_metadata` or `invalid_redirect_uri` (RFC 7591 §3.2.2); a\n * missing or invalid initial access token is 401 (RFC 6750 §3.1).\n *\n * @generated from protobuf rpc: Register\n */\n register(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Read a registration (RFC 7592 §2.1): the client's current metadata as at\n * registration, without its secret. An invalid registration access token,\n * or a client this issuer does not have, is 401 (RFC 7592 §2.1).\n *\n * @generated from protobuf rpc: ReadRegistration\n */\n readRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody>;\n /**\n * Update a registration (RFC 7592 §2.2): the body replaces the client's\n * metadata and is validated as a registration; a refused update changes\n * nothing.\n *\n * @generated from protobuf rpc: UpdateRegistration\n */\n updateRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody>;\n /**\n * Delete a registration (RFC 7592 §2.3): 204 with no body.\n *\n * @generated from protobuf rpc: DeleteRegistration\n */\n deleteRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody>;\n}\n/**\n * OidcProviderService publishes one issuer's metadata and signing keys to its\n * relying parties. Every document belongs to the issuer the handle names; an\n * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and\n * never falls back to another issuer. There is no issuer-less document.\n *\n * @generated from protobuf service sid.v1.authn.OidcProviderService\n */\nexport class OidcProviderServiceClient implements IOidcProviderServiceClient, ServiceInfo {\n typeName = OidcProviderService.typeName;\n methods = OidcProviderService.methods;\n options = OidcProviderService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * The issuer's metadata (OpenID Connect Discovery 1.0 §3–4, RFC 8414 §2–3).\n * One document answers both discovery algorithms: the OIDC location under\n * the issuer path and the RFC 8414 well-known location with the issuer path\n * appended.\n *\n * @generated from protobuf rpc: GetProviderMetadata\n */\n getProviderMetadata(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, ProviderMetadata> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, ProviderMetadata>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The issuer's JSON Web Key Set (RFC 7517 §5): the public keys that verify\n * its tokens. The response metadata carries `cache-control` for HTTP caches.\n *\n * @generated from protobuf rpc: GetJwks\n */\n getJwks(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, JsonWebKeySet> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, JsonWebKeySet>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * UserInfo (OIDC Core 1.0 §5.3) over GET. The access token travels in the\n * `authorization` metadata, `Bearer` (RFC 6750 §2.1) or `DPoP` with a proof\n * in the `dpop` metadata (RFC 9449 §7.1); only tokens this issuer signed are\n * accepted. A refused token is UNAUTHENTICATED with a `www-authenticate`\n * response metadata challenge (RFC 6750 §3, RFC 9449 §7.1). GET and POST\n * are separate RPCs because a DPoP proof names the request method. A DPoP\n * proof is recorded against replay, so the call is not free of effects; a\n * repeat with the same proof is refused.\n *\n * @generated from protobuf rpc: GetUserInfo\n */\n getUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, UserInfo>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * UserInfo over POST (OIDC Core 1.0 §5.3.1); the same answer as GetUserInfo.\n *\n * @generated from protobuf rpc: PostUserInfo\n */\n postUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, UserInfo>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The browser authorization endpoint (RFC 6749 §3.1) over GET, the query\n * parameters bound to the request fields. The answer is an HTTP redirect\n * (`x-http-code` 303 and `location` response metadata, RFC 9700 §4.11): to\n * the client's registered redirect URI with `code` or `error`, `state` and\n * `iss` (RFC 9207 §2), or, when the user must sign in first, to the sign-in\n * page with this request to return to. A request whose client or exact\n * redirect URI is not established is answered with a page and never\n * redirected (RFC 6749 §4.1.2.1). The signed-in user's token, when a\n * gateway holds one, travels in the `authorization` metadata.\n *\n * @generated from protobuf rpc: GetAuthorize\n */\n getAuthorize(input: OAuth2AuthorizeRequest, options?: RpcOptions): UnaryCall<OAuth2AuthorizeRequest, HttpBody> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<OAuth2AuthorizeRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The authorization endpoint over POST with a form body (OIDC Core 1.0\n * §3.1.2.1); the same answer as GetAuthorize. Parameters it does not know\n * are ignored (RFC 6749 §3.1).\n *\n * @generated from protobuf rpc: PostAuthorize\n */\n postAuthorize(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * RP-Initiated Logout (OIDC RP-Initiated Logout 1.0 §2) over GET. The\n * browser's IdP session is read from its `__Host-sid_session` cookie\n * (`cookie` metadata). A valid `id_token_hint` of this issuer ends the\n * application session it names; when that session reuses the browser's\n * IdP session, single sign-on ends too and the answer clears the cookie.\n * Otherwise ending the browser's IdP session needs the user's confirmation\n * (§2): the answer is a page with a form that confirms it by POST. A\n * `post_logout_redirect_uri` is followed only for a valid `id_token_hint`\n * whose client registered exactly that URI (§3): the answer is then a 303\n * to it with `state`, or, while the browser's IdP session remains, the\n * confirmation page, which returns there after either choice. Otherwise the\n * answer is a page.\n *\n * @generated from protobuf rpc: GetEndSession\n */\n getEndSession(input: EndSessionRequest, options?: RpcOptions): UnaryCall<EndSessionRequest, HttpBody> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<EndSessionRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * RP-Initiated Logout over POST with a form body: the same parameters as\n * GetEndSession, plus `confirmation`, the one-time value of the\n * confirmation page's form, which ends the browser's IdP session it was\n * issued for and returns to the post-logout redirect URI that page was\n * shown for, if any.\n *\n * @generated from protobuf rpc: PostEndSession\n */\n postEndSession(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n // The endpoints below are the HTTP form of AuthService's OAuth RPCs, with\n // the same logic: the request body is the `application/x-www-form-urlencoded`\n // form the RFC defines, the answer is the RFC's JSON with its HTTP status in\n // the `x-http-code` response metadata and its headers (`cache-control`,\n // `pragma`, `www-authenticate`) as response metadata. A refusal is an OK\n // gRPC call carrying the RFC error body; typed gRPC clients use AuthService.\n // HTTP Basic client authentication travels in the `authorization` metadata,\n // a DPoP proof in `dpop`.\n\n /**\n * Token endpoint (RFC 6749 §3.2): every grant, including the device_code\n * grant (RFC 8628 §3.4). Success is RFC 6749 §5.1 JSON with\n * `cache-control: no-store`; a refusal is RFC 6749 §5.2 or RFC 8628 §3.5\n * JSON, 401 with a `www-authenticate` challenge for `invalid_client` when\n * the client used HTTP Basic, 400 otherwise.\n *\n * @generated from protobuf rpc: Token\n */\n token(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Token introspection (RFC 7662 §2): RFC 7662 §2.2 JSON, `{\"active\":false}`\n * for any token this issuer does not vouch for. A client assertion is\n * recorded against replay, so the call is not free of effects.\n *\n * @generated from protobuf rpc: Introspect\n */\n introspect(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Token revocation (RFC 7009 §2): 200 with an empty body, also for a token\n * that is unknown or already revoked (RFC 7009 §2.2).\n *\n * @generated from protobuf rpc: Revoke\n */\n revoke(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Device authorization (RFC 8628 §3.1): RFC 8628 §3.2 JSON; a refusal is\n * RFC 6749 §5.2 JSON as at the token endpoint.\n *\n * @generated from protobuf rpc: DeviceAuthorization\n */\n deviceAuthorization(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n // The registration endpoints below are the HTTP form of ProjectService's\n // dynamic registration RPCs, with the same logic. Bodies are\n // `application/json` client metadata (RFC 7591 §2); the initial access\n // token or registration access token travels as a bearer token in the\n // `authorization` metadata. A refusal is an OK gRPC call carrying the RFC\n // error body with its HTTP status in `x-http-code`.\n\n /**\n * Client registration (RFC 7591 §3.1). Success is 201 with every\n * registered metadata value, the credentials and the management location\n * (RFC 7591 §3.2.1, RFC 7592 §3); invalid metadata is 400 with\n * `invalid_client_metadata` or `invalid_redirect_uri` (RFC 7591 §3.2.2); a\n * missing or invalid initial access token is 401 (RFC 6750 §3.1).\n *\n * @generated from protobuf rpc: Register\n */\n register(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Read a registration (RFC 7592 §2.1): the client's current metadata as at\n * registration, without its secret. An invalid registration access token,\n * or a client this issuer does not have, is 401 (RFC 7592 §2.1).\n *\n * @generated from protobuf rpc: ReadRegistration\n */\n readRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegistrationRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update a registration (RFC 7592 §2.2): the body replaces the client's\n * metadata and is validated as a registration; a refused update changes\n * nothing.\n *\n * @generated from protobuf rpc: UpdateRegistration\n */\n updateRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegistrationRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Delete a registration (RFC 7592 §2.3): 204 with no body.\n *\n * @generated from protobuf rpc: DeleteRegistration\n */\n deleteRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegistrationRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n}\n/**\n * OidcIssuerService lets services that verify an issuer's tokens resolve the\n * issuer and its keys by handle, and the registered resource a token must be\n * issued for.\n *\n * Internal only, no HTTP annotation: relying parties use OidcProviderService.\n *\n * @generated from protobuf service sid.v1.authn.OidcIssuerService\n */\nexport interface IOidcIssuerServiceClient {\n /**\n * Look up an issuer by handle. An unknown handle is NOT_FOUND with\n * ErrorInfo reason OIDC_ISSUER_NOT_FOUND and a ResourceInfo naming the\n * handle; the caller refuses the request and never falls back to another\n * issuer.\n *\n * @generated from protobuf rpc: GetOidcIssuer\n */\n getOidcIssuer(input: GetOidcIssuerRequest, options?: RpcOptions): UnaryCall<GetOidcIssuerRequest, OidcIssuer>;\n /**\n * Resolve the protected resource a route of the ingress configuration names\n * before a token is accepted for it. The resource must be registered under\n * this issuer: an unknown issuer or indicator is NOT_FOUND with ErrorInfo\n * reason RESOURCE_NOT_FOUND and a ResourceInfo naming the indicator. The\n * caller refuses the route and never falls back to another target.\n *\n * @generated from protobuf rpc: GetProtectedResource\n */\n getProtectedResource(input: GetProtectedResourceRequest, options?: RpcOptions): UnaryCall<GetProtectedResourceRequest, ProtectedResourceTarget>;\n /**\n * Admit one original request's sender proof at the issuer of its token\n * (RFC 9449 §11.1), for a request the verifier answers without a\n * permission question. The caller authenticates with its own client\n * credential and must be configured as the verifier of the resource for\n * the proof's kind; anyone else is PERMISSION_DENIED with ErrorInfo\n * reason INSUFFICIENT_PERMISSIONS. The token must be this issuer's, for the\n * resource, and bound to the confirmed key.\n *\n * A proof is admitted for one request. A repeat of the same request (the\n * same `request_id` with the same token, method, URI and resource) within\n * the confirmation's window answers OK again without extending the\n * admission; the proof presented for any other request, or with any of\n * these changed, is UNAUTHENTICATED with ErrorInfo reason TOKEN_INVALID\n * and `oauthError` `invalid_dpop_proof`. When the\n * admission cannot be decided the call is UNAVAILABLE, and the verifier\n * refuses the original request; it never admits it on its own.\n *\n * @generated from protobuf rpc: AdmitSenderProof\n */\n admitSenderProof(input: AdmitSenderProofRequest, options?: RpcOptions): UnaryCall<AdmitSenderProofRequest, Empty>;\n}\n/**\n * OidcIssuerService lets services that verify an issuer's tokens resolve the\n * issuer and its keys by handle, and the registered resource a token must be\n * issued for.\n *\n * Internal only, no HTTP annotation: relying parties use OidcProviderService.\n *\n * @generated from protobuf service sid.v1.authn.OidcIssuerService\n */\nexport class OidcIssuerServiceClient implements IOidcIssuerServiceClient, ServiceInfo {\n typeName = OidcIssuerService.typeName;\n methods = OidcIssuerService.methods;\n options = OidcIssuerService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Look up an issuer by handle. An unknown handle is NOT_FOUND with\n * ErrorInfo reason OIDC_ISSUER_NOT_FOUND and a ResourceInfo naming the\n * handle; the caller refuses the request and never falls back to another\n * issuer.\n *\n * @generated from protobuf rpc: GetOidcIssuer\n */\n getOidcIssuer(input: GetOidcIssuerRequest, options?: RpcOptions): UnaryCall<GetOidcIssuerRequest, OidcIssuer> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetOidcIssuerRequest, OidcIssuer>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Resolve the protected resource a route of the ingress configuration names\n * before a token is accepted for it. The resource must be registered under\n * this issuer: an unknown issuer or indicator is NOT_FOUND with ErrorInfo\n * reason RESOURCE_NOT_FOUND and a ResourceInfo naming the indicator. The\n * caller refuses the route and never falls back to another target.\n *\n * @generated from protobuf rpc: GetProtectedResource\n */\n getProtectedResource(input: GetProtectedResourceRequest, options?: RpcOptions): UnaryCall<GetProtectedResourceRequest, ProtectedResourceTarget> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetProtectedResourceRequest, ProtectedResourceTarget>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Admit one original request's sender proof at the issuer of its token\n * (RFC 9449 §11.1), for a request the verifier answers without a\n * permission question. The caller authenticates with its own client\n * credential and must be configured as the verifier of the resource for\n * the proof's kind; anyone else is PERMISSION_DENIED with ErrorInfo\n * reason INSUFFICIENT_PERMISSIONS. The token must be this issuer's, for the\n * resource, and bound to the confirmed key.\n *\n * A proof is admitted for one request. A repeat of the same request (the\n * same `request_id` with the same token, method, URI and resource) within\n * the confirmation's window answers OK again without extending the\n * admission; the proof presented for any other request, or with any of\n * these changed, is UNAUTHENTICATED with ErrorInfo reason TOKEN_INVALID\n * and `oauthError` `invalid_dpop_proof`. When the\n * admission cannot be decided the call is UNAVAILABLE, and the verifier\n * refuses the original request; it never admits it on its own.\n *\n * @generated from protobuf rpc: AdmitSenderProof\n */\n admitSenderProof(input: AdmitSenderProofRequest, options?: RpcOptions): UnaryCall<AdmitSenderProofRequest, Empty> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<AdmitSenderProofRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
1
+ {"version":3,"file":"issuer.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/issuer.client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,oGAAoG;AACpG,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,OAAoB;QACzE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAuD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC9H,CAAC;IACD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,gBAAgB,CAAC,KAA8B,EAAE,OAAoB;QACjE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxG,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/issuer.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { OidcIssuerService } from \"./issuer.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { AdmitSenderProofRequest } from \"./issuer.js\";\nimport type { ProtectedResourceTarget } from \"./issuer.js\";\nimport type { GetProtectedResourceRequest } from \"./issuer.js\";\nimport type { OidcIssuer } from \"./issuer.js\";\nimport type { GetOidcIssuerRequest } from \"./issuer.js\";\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { OidcProviderService } from \"./issuer.js\";\nimport type { RegistrationRequest } from \"./issuer.js\";\nimport type { EndSessionRequest } from \"./issuer.js\";\nimport type { ProtocolRequest } from \"./issuer.js\";\nimport type { HttpBody } from \"../../../google/api/httpbody.js\";\nimport type { OAuth2AuthorizeRequest } from \"./auth.js\";\nimport type { UserInfo } from \"./issuer.js\";\nimport type { JsonWebKeySet } from \"./issuer.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ProviderMetadata } from \"./issuer.js\";\nimport type { IssuerHandleRequest } from \"./issuer.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * OidcProviderService publishes one issuer's metadata and signing keys to its\n * relying parties. Every document belongs to the issuer the handle names; an\n * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and\n * never falls back to another issuer. Each route also has a root binding with\n * no handle, served by the installation's root-addressed base issuer only:\n * without one it is NOT_FOUND the same way, and no issuer is derived from the\n * request's host.\n *\n * @generated from protobuf service sid.v1.authn.OidcProviderService\n */\nexport interface IOidcProviderServiceClient {\n /**\n * The issuer's metadata (OpenID Connect Discovery 1.0 §3–4, RFC 8414 §2–3).\n * One document answers both discovery algorithms: the OIDC location under\n * the issuer path and the RFC 8414 well-known location with the issuer path\n * appended.\n *\n * @generated from protobuf rpc: GetProviderMetadata\n */\n getProviderMetadata(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, ProviderMetadata>;\n /**\n * The issuer's JSON Web Key Set (RFC 7517 §5): the public keys that verify\n * its tokens. The response metadata carries `cache-control` for HTTP caches.\n *\n * @generated from protobuf rpc: GetJwks\n */\n getJwks(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, JsonWebKeySet>;\n /**\n * UserInfo (OIDC Core 1.0 §5.3) over GET. The access token travels in the\n * `authorization` metadata, `Bearer` (RFC 6750 §2.1) or `DPoP` with a proof\n * in the `dpop` metadata (RFC 9449 §7.1); only tokens this issuer signed are\n * accepted. A refused token is UNAUTHENTICATED with a `www-authenticate`\n * response metadata challenge (RFC 6750 §3, RFC 9449 §7.1). GET and POST\n * are separate RPCs because a DPoP proof names the request method. A DPoP\n * proof is recorded against replay, so the call is not free of effects; a\n * repeat with the same proof is refused.\n *\n * @generated from protobuf rpc: GetUserInfo\n */\n getUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo>;\n /**\n * UserInfo over POST (OIDC Core 1.0 §5.3.1); the same answer as GetUserInfo.\n *\n * @generated from protobuf rpc: PostUserInfo\n */\n postUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo>;\n /**\n * The browser authorization endpoint (RFC 6749 §3.1) over GET, the query\n * parameters bound to the request fields. The answer is an HTTP redirect\n * (`x-http-code` 303 and `location` response metadata, RFC 9700 §4.11): to\n * the client's registered redirect URI with `code` or `error`, `state` and\n * `iss` (RFC 9207 §2), or, when the user must sign in first, to the sign-in\n * page with this request to return to. A request whose client or exact\n * redirect URI is not established is answered with a page and never\n * redirected (RFC 6749 §4.1.2.1). The signed-in user's token, when a\n * gateway holds one, travels in the `authorization` metadata.\n *\n * @generated from protobuf rpc: GetAuthorize\n */\n getAuthorize(input: OAuth2AuthorizeRequest, options?: RpcOptions): UnaryCall<OAuth2AuthorizeRequest, HttpBody>;\n /**\n * The authorization endpoint over POST with a form body (OIDC Core 1.0\n * §3.1.2.1); the same answer as GetAuthorize. Parameters it does not know\n * are ignored (RFC 6749 §3.1).\n *\n * @generated from protobuf rpc: PostAuthorize\n */\n postAuthorize(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * RP-Initiated Logout (OIDC RP-Initiated Logout 1.0 §2) over GET. The\n * browser's IdP session is read from its `__Host-sid_session` cookie\n * (`cookie` metadata). A valid `id_token_hint` of this issuer ends the\n * application session it names; when that session reuses the browser's\n * IdP session, single sign-on ends too and the answer clears the cookie.\n * Otherwise ending the browser's IdP session needs the user's confirmation\n * (§2): the answer is a page with a form that confirms it by POST. A\n * `post_logout_redirect_uri` is followed only for a valid `id_token_hint`\n * whose client registered exactly that URI (§3): the answer is then a 303\n * to it with `state`, or, while the browser's IdP session remains, the\n * confirmation page, which returns there after either choice. Otherwise the\n * answer is a page.\n *\n * @generated from protobuf rpc: GetEndSession\n */\n getEndSession(input: EndSessionRequest, options?: RpcOptions): UnaryCall<EndSessionRequest, HttpBody>;\n /**\n * RP-Initiated Logout over POST with a form body: the same parameters as\n * GetEndSession, plus `confirmation`, the one-time value of the\n * confirmation page's form, which ends the browser's IdP session it was\n * issued for and returns to the post-logout redirect URI that page was\n * shown for, if any.\n *\n * @generated from protobuf rpc: PostEndSession\n */\n postEndSession(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n // The endpoints below are the HTTP form of AuthService's OAuth RPCs, with\n // the same logic: the request body is the `application/x-www-form-urlencoded`\n // form the RFC defines, the answer is the RFC's JSON with its HTTP status in\n // the `x-http-code` response metadata and its headers (`cache-control`,\n // `pragma`, `www-authenticate`) as response metadata. A refusal is an OK\n // gRPC call carrying the RFC error body; typed gRPC clients use AuthService.\n // HTTP Basic client authentication travels in the `authorization` metadata,\n // a DPoP proof in `dpop`.\n\n /**\n * Token endpoint (RFC 6749 §3.2): every grant, including the device_code\n * grant (RFC 8628 §3.4). Success is RFC 6749 §5.1 JSON with\n * `cache-control: no-store`; a refusal is RFC 6749 §5.2 or RFC 8628 §3.5\n * JSON, 401 with a `www-authenticate` challenge for `invalid_client` when\n * the client used HTTP Basic, 400 otherwise.\n *\n * @generated from protobuf rpc: Token\n */\n token(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Token introspection (RFC 7662 §2): RFC 7662 §2.2 JSON, `{\"active\":false}`\n * for any token this issuer does not vouch for. A client assertion is\n * recorded against replay, so the call is not free of effects.\n *\n * @generated from protobuf rpc: Introspect\n */\n introspect(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Token revocation (RFC 7009 §2): 200 with an empty body, also for a token\n * that is unknown or already revoked (RFC 7009 §2.2).\n *\n * @generated from protobuf rpc: Revoke\n */\n revoke(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Device authorization (RFC 8628 §3.1): RFC 8628 §3.2 JSON; a refusal is\n * RFC 6749 §5.2 JSON as at the token endpoint.\n *\n * @generated from protobuf rpc: DeviceAuthorization\n */\n deviceAuthorization(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n // The registration endpoints below are the HTTP form of ProjectService's\n // dynamic registration RPCs, with the same logic. Bodies are\n // `application/json` client metadata (RFC 7591 §2); the initial access\n // token or registration access token travels as a bearer token in the\n // `authorization` metadata. A refusal is an OK gRPC call carrying the RFC\n // error body with its HTTP status in `x-http-code`.\n\n /**\n * Client registration (RFC 7591 §3.1). Success is 201 with every\n * registered metadata value, the credentials and the management location\n * (RFC 7591 §3.2.1, RFC 7592 §3); invalid metadata is 400 with\n * `invalid_client_metadata` or `invalid_redirect_uri` (RFC 7591 §3.2.2); a\n * missing or invalid initial access token is 401 (RFC 6750 §3.1).\n *\n * @generated from protobuf rpc: Register\n */\n register(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody>;\n /**\n * Read a registration (RFC 7592 §2.1): the client's current metadata as at\n * registration, without its secret. An invalid registration access token,\n * or a client this issuer does not have, is 401 (RFC 7592 §2.1).\n *\n * @generated from protobuf rpc: ReadRegistration\n */\n readRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody>;\n /**\n * Update a registration (RFC 7592 §2.2): the body replaces the client's\n * metadata and is validated as a registration; a refused update changes\n * nothing.\n *\n * @generated from protobuf rpc: UpdateRegistration\n */\n updateRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody>;\n /**\n * Delete a registration (RFC 7592 §2.3): 204 with no body.\n *\n * @generated from protobuf rpc: DeleteRegistration\n */\n deleteRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody>;\n}\n/**\n * OidcProviderService publishes one issuer's metadata and signing keys to its\n * relying parties. Every document belongs to the issuer the handle names; an\n * unknown handle is NOT_FOUND with ErrorInfo reason OIDC_ISSUER_NOT_FOUND and\n * never falls back to another issuer. Each route also has a root binding with\n * no handle, served by the installation's root-addressed base issuer only:\n * without one it is NOT_FOUND the same way, and no issuer is derived from the\n * request's host.\n *\n * @generated from protobuf service sid.v1.authn.OidcProviderService\n */\nexport class OidcProviderServiceClient implements IOidcProviderServiceClient, ServiceInfo {\n typeName = OidcProviderService.typeName;\n methods = OidcProviderService.methods;\n options = OidcProviderService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * The issuer's metadata (OpenID Connect Discovery 1.0 §3–4, RFC 8414 §2–3).\n * One document answers both discovery algorithms: the OIDC location under\n * the issuer path and the RFC 8414 well-known location with the issuer path\n * appended.\n *\n * @generated from protobuf rpc: GetProviderMetadata\n */\n getProviderMetadata(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, ProviderMetadata> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, ProviderMetadata>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The issuer's JSON Web Key Set (RFC 7517 §5): the public keys that verify\n * its tokens. The response metadata carries `cache-control` for HTTP caches.\n *\n * @generated from protobuf rpc: GetJwks\n */\n getJwks(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, JsonWebKeySet> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, JsonWebKeySet>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * UserInfo (OIDC Core 1.0 §5.3) over GET. The access token travels in the\n * `authorization` metadata, `Bearer` (RFC 6750 §2.1) or `DPoP` with a proof\n * in the `dpop` metadata (RFC 9449 §7.1); only tokens this issuer signed are\n * accepted. A refused token is UNAUTHENTICATED with a `www-authenticate`\n * response metadata challenge (RFC 6750 §3, RFC 9449 §7.1). GET and POST\n * are separate RPCs because a DPoP proof names the request method. A DPoP\n * proof is recorded against replay, so the call is not free of effects; a\n * repeat with the same proof is refused.\n *\n * @generated from protobuf rpc: GetUserInfo\n */\n getUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, UserInfo>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * UserInfo over POST (OIDC Core 1.0 §5.3.1); the same answer as GetUserInfo.\n *\n * @generated from protobuf rpc: PostUserInfo\n */\n postUserInfo(input: IssuerHandleRequest, options?: RpcOptions): UnaryCall<IssuerHandleRequest, UserInfo> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<IssuerHandleRequest, UserInfo>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The browser authorization endpoint (RFC 6749 §3.1) over GET, the query\n * parameters bound to the request fields. The answer is an HTTP redirect\n * (`x-http-code` 303 and `location` response metadata, RFC 9700 §4.11): to\n * the client's registered redirect URI with `code` or `error`, `state` and\n * `iss` (RFC 9207 §2), or, when the user must sign in first, to the sign-in\n * page with this request to return to. A request whose client or exact\n * redirect URI is not established is answered with a page and never\n * redirected (RFC 6749 §4.1.2.1). The signed-in user's token, when a\n * gateway holds one, travels in the `authorization` metadata.\n *\n * @generated from protobuf rpc: GetAuthorize\n */\n getAuthorize(input: OAuth2AuthorizeRequest, options?: RpcOptions): UnaryCall<OAuth2AuthorizeRequest, HttpBody> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<OAuth2AuthorizeRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The authorization endpoint over POST with a form body (OIDC Core 1.0\n * §3.1.2.1); the same answer as GetAuthorize. Parameters it does not know\n * are ignored (RFC 6749 §3.1).\n *\n * @generated from protobuf rpc: PostAuthorize\n */\n postAuthorize(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * RP-Initiated Logout (OIDC RP-Initiated Logout 1.0 §2) over GET. The\n * browser's IdP session is read from its `__Host-sid_session` cookie\n * (`cookie` metadata). A valid `id_token_hint` of this issuer ends the\n * application session it names; when that session reuses the browser's\n * IdP session, single sign-on ends too and the answer clears the cookie.\n * Otherwise ending the browser's IdP session needs the user's confirmation\n * (§2): the answer is a page with a form that confirms it by POST. A\n * `post_logout_redirect_uri` is followed only for a valid `id_token_hint`\n * whose client registered exactly that URI (§3): the answer is then a 303\n * to it with `state`, or, while the browser's IdP session remains, the\n * confirmation page, which returns there after either choice. Otherwise the\n * answer is a page.\n *\n * @generated from protobuf rpc: GetEndSession\n */\n getEndSession(input: EndSessionRequest, options?: RpcOptions): UnaryCall<EndSessionRequest, HttpBody> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<EndSessionRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * RP-Initiated Logout over POST with a form body: the same parameters as\n * GetEndSession, plus `confirmation`, the one-time value of the\n * confirmation page's form, which ends the browser's IdP session it was\n * issued for and returns to the post-logout redirect URI that page was\n * shown for, if any.\n *\n * @generated from protobuf rpc: PostEndSession\n */\n postEndSession(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n // The endpoints below are the HTTP form of AuthService's OAuth RPCs, with\n // the same logic: the request body is the `application/x-www-form-urlencoded`\n // form the RFC defines, the answer is the RFC's JSON with its HTTP status in\n // the `x-http-code` response metadata and its headers (`cache-control`,\n // `pragma`, `www-authenticate`) as response metadata. A refusal is an OK\n // gRPC call carrying the RFC error body; typed gRPC clients use AuthService.\n // HTTP Basic client authentication travels in the `authorization` metadata,\n // a DPoP proof in `dpop`.\n\n /**\n * Token endpoint (RFC 6749 §3.2): every grant, including the device_code\n * grant (RFC 8628 §3.4). Success is RFC 6749 §5.1 JSON with\n * `cache-control: no-store`; a refusal is RFC 6749 §5.2 or RFC 8628 §3.5\n * JSON, 401 with a `www-authenticate` challenge for `invalid_client` when\n * the client used HTTP Basic, 400 otherwise.\n *\n * @generated from protobuf rpc: Token\n */\n token(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Token introspection (RFC 7662 §2): RFC 7662 §2.2 JSON, `{\"active\":false}`\n * for any token this issuer does not vouch for. A client assertion is\n * recorded against replay, so the call is not free of effects.\n *\n * @generated from protobuf rpc: Introspect\n */\n introspect(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Token revocation (RFC 7009 §2): 200 with an empty body, also for a token\n * that is unknown or already revoked (RFC 7009 §2.2).\n *\n * @generated from protobuf rpc: Revoke\n */\n revoke(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Device authorization (RFC 8628 §3.1): RFC 8628 §3.2 JSON; a refusal is\n * RFC 6749 §5.2 JSON as at the token endpoint.\n *\n * @generated from protobuf rpc: DeviceAuthorization\n */\n deviceAuthorization(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n // The registration endpoints below are the HTTP form of ProjectService's\n // dynamic registration RPCs, with the same logic. Bodies are\n // `application/json` client metadata (RFC 7591 §2); the initial access\n // token or registration access token travels as a bearer token in the\n // `authorization` metadata. A refusal is an OK gRPC call carrying the RFC\n // error body with its HTTP status in `x-http-code`.\n\n /**\n * Client registration (RFC 7591 §3.1). Success is 201 with every\n * registered metadata value, the credentials and the management location\n * (RFC 7591 §3.2.1, RFC 7592 §3); invalid metadata is 400 with\n * `invalid_client_metadata` or `invalid_redirect_uri` (RFC 7591 §3.2.2); a\n * missing or invalid initial access token is 401 (RFC 6750 §3.1).\n *\n * @generated from protobuf rpc: Register\n */\n register(input: ProtocolRequest, options?: RpcOptions): UnaryCall<ProtocolRequest, HttpBody> {\n const method = this.methods[12], opt = this._transport.mergeOptions(options);\n return stackIntercept<ProtocolRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Read a registration (RFC 7592 §2.1): the client's current metadata as at\n * registration, without its secret. An invalid registration access token,\n * or a client this issuer does not have, is 401 (RFC 7592 §2.1).\n *\n * @generated from protobuf rpc: ReadRegistration\n */\n readRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody> {\n const method = this.methods[13], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegistrationRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update a registration (RFC 7592 §2.2): the body replaces the client's\n * metadata and is validated as a registration; a refused update changes\n * nothing.\n *\n * @generated from protobuf rpc: UpdateRegistration\n */\n updateRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody> {\n const method = this.methods[14], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegistrationRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Delete a registration (RFC 7592 §2.3): 204 with no body.\n *\n * @generated from protobuf rpc: DeleteRegistration\n */\n deleteRegistration(input: RegistrationRequest, options?: RpcOptions): UnaryCall<RegistrationRequest, HttpBody> {\n const method = this.methods[15], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegistrationRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n}\n/**\n * OidcIssuerService lets services that verify an issuer's tokens resolve the\n * issuer and its keys by handle, and the registered resource a token must be\n * issued for.\n *\n * Internal only, no HTTP annotation: relying parties use OidcProviderService.\n *\n * @generated from protobuf service sid.v1.authn.OidcIssuerService\n */\nexport interface IOidcIssuerServiceClient {\n /**\n * Look up an issuer by handle. An unknown handle is NOT_FOUND with\n * ErrorInfo reason OIDC_ISSUER_NOT_FOUND and a ResourceInfo naming the\n * handle; the caller refuses the request and never falls back to another\n * issuer.\n *\n * @generated from protobuf rpc: GetOidcIssuer\n */\n getOidcIssuer(input: GetOidcIssuerRequest, options?: RpcOptions): UnaryCall<GetOidcIssuerRequest, OidcIssuer>;\n /**\n * Resolve the protected resource a route of the ingress configuration names\n * before a token is accepted for it. The resource must be registered under\n * this issuer: an unknown issuer or indicator is NOT_FOUND with ErrorInfo\n * reason RESOURCE_NOT_FOUND and a ResourceInfo naming the indicator. The\n * caller refuses the route and never falls back to another target.\n *\n * @generated from protobuf rpc: GetProtectedResource\n */\n getProtectedResource(input: GetProtectedResourceRequest, options?: RpcOptions): UnaryCall<GetProtectedResourceRequest, ProtectedResourceTarget>;\n /**\n * Admit one original request's sender proof at the issuer of its token\n * (RFC 9449 §11.1), for a request the verifier answers without a\n * permission question. The caller authenticates with its own client\n * credential and must be configured as the verifier of the resource for\n * the proof's kind; anyone else is PERMISSION_DENIED with ErrorInfo\n * reason INSUFFICIENT_PERMISSIONS. The token must be this issuer's, for the\n * resource, and bound to the confirmed key.\n *\n * A proof is admitted for one request. A repeat of the same request (the\n * same `request_id` with the same token, method, URI and resource) within\n * the confirmation's window answers OK again without extending the\n * admission; the proof presented for any other request, or with any of\n * these changed, is UNAUTHENTICATED with ErrorInfo reason TOKEN_INVALID\n * and `oauthError` `invalid_dpop_proof`. When the\n * admission cannot be decided the call is UNAVAILABLE, and the verifier\n * refuses the original request; it never admits it on its own.\n *\n * @generated from protobuf rpc: AdmitSenderProof\n */\n admitSenderProof(input: AdmitSenderProofRequest, options?: RpcOptions): UnaryCall<AdmitSenderProofRequest, Empty>;\n}\n/**\n * OidcIssuerService lets services that verify an issuer's tokens resolve the\n * issuer and its keys by handle, and the registered resource a token must be\n * issued for.\n *\n * Internal only, no HTTP annotation: relying parties use OidcProviderService.\n *\n * @generated from protobuf service sid.v1.authn.OidcIssuerService\n */\nexport class OidcIssuerServiceClient implements IOidcIssuerServiceClient, ServiceInfo {\n typeName = OidcIssuerService.typeName;\n methods = OidcIssuerService.methods;\n options = OidcIssuerService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Look up an issuer by handle. An unknown handle is NOT_FOUND with\n * ErrorInfo reason OIDC_ISSUER_NOT_FOUND and a ResourceInfo naming the\n * handle; the caller refuses the request and never falls back to another\n * issuer.\n *\n * @generated from protobuf rpc: GetOidcIssuer\n */\n getOidcIssuer(input: GetOidcIssuerRequest, options?: RpcOptions): UnaryCall<GetOidcIssuerRequest, OidcIssuer> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetOidcIssuerRequest, OidcIssuer>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Resolve the protected resource a route of the ingress configuration names\n * before a token is accepted for it. The resource must be registered under\n * this issuer: an unknown issuer or indicator is NOT_FOUND with ErrorInfo\n * reason RESOURCE_NOT_FOUND and a ResourceInfo naming the indicator. The\n * caller refuses the route and never falls back to another target.\n *\n * @generated from protobuf rpc: GetProtectedResource\n */\n getProtectedResource(input: GetProtectedResourceRequest, options?: RpcOptions): UnaryCall<GetProtectedResourceRequest, ProtectedResourceTarget> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetProtectedResourceRequest, ProtectedResourceTarget>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Admit one original request's sender proof at the issuer of its token\n * (RFC 9449 §11.1), for a request the verifier answers without a\n * permission question. The caller authenticates with its own client\n * credential and must be configured as the verifier of the resource for\n * the proof's kind; anyone else is PERMISSION_DENIED with ErrorInfo\n * reason INSUFFICIENT_PERMISSIONS. The token must be this issuer's, for the\n * resource, and bound to the confirmed key.\n *\n * A proof is admitted for one request. A repeat of the same request (the\n * same `request_id` with the same token, method, URI and resource) within\n * the confirmation's window answers OK again without extending the\n * admission; the proof presented for any other request, or with any of\n * these changed, is UNAUTHENTICATED with ErrorInfo reason TOKEN_INVALID\n * and `oauthError` `invalid_dpop_proof`. When the\n * admission cannot be decided the call is UNAVAILABLE, and the verifier\n * refuses the original request; it never admits it on its own.\n *\n * @generated from protobuf rpc: AdmitSenderProof\n */\n admitSenderProof(input: AdmitSenderProofRequest, options?: RpcOptions): UnaryCall<AdmitSenderProofRequest, Empty> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<AdmitSenderProofRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
@@ -17,7 +17,8 @@ import { HttpBody } from "../../../google/api/httpbody.js";
17
17
  export interface RegistrationRequest {
18
18
  /**
19
19
  * The opaque issuer handle: the `<handle>` path segment of the issuer URL
20
- * `https://<host>/i/<handle>`. 32 lowercase hex characters.
20
+ * `https://<host>/i/<handle>`. 32 lowercase hex characters; empty on the
21
+ * root route, which names the installation's root-addressed base issuer.
21
22
  *
22
23
  * @generated from protobuf field: string issuer_handle = 1
23
24
  */
@@ -46,7 +47,8 @@ export interface RegistrationRequest {
46
47
  export interface EndSessionRequest {
47
48
  /**
48
49
  * The opaque issuer handle: the `<handle>` path segment of the issuer URL
49
- * `https://<host>/i/<handle>`. 32 lowercase hex characters.
50
+ * `https://<host>/i/<handle>`. 32 lowercase hex characters; empty on the
51
+ * root route, which names the installation's root-addressed base issuer.
50
52
  *
51
53
  * @generated from protobuf field: string issuer_handle = 1
52
54
  */
@@ -90,7 +92,8 @@ export interface EndSessionRequest {
90
92
  export interface ProtocolRequest {
91
93
  /**
92
94
  * The opaque issuer handle: the `<handle>` path segment of the issuer URL
93
- * `https://<host>/i/<handle>`. 32 lowercase hex characters.
95
+ * `https://<host>/i/<handle>`. 32 lowercase hex characters; empty on the
96
+ * root route, which names the installation's root-addressed base issuer.
94
97
  *
95
98
  * @generated from protobuf field: string issuer_handle = 1
96
99
  */
@@ -191,7 +194,8 @@ export interface IssuerHandleRequest {
191
194
  /**
192
195
  * The opaque issuer handle: the `<handle>` path segment of the issuer URL
193
196
  * `https://<host>/i/<handle>`. 32 lowercase hex characters, allocated by
194
- * the server at issuer creation and never reused.
197
+ * the server at issuer creation and never reused; empty on the root route,
198
+ * which names the installation's root-addressed base issuer.
195
199
  *
196
200
  * @generated from protobuf field: string issuer_handle = 1
197
201
  */
@@ -473,7 +477,9 @@ export interface GetOidcIssuerRequest {
473
477
  /**
474
478
  * The opaque issuer handle: the `<handle>` path segment of the issuer URL
475
479
  * `https://<host>/i/<handle>` that received the request. 32 lowercase hex
476
- * characters, allocated by the server at issuer creation and never reused.
480
+ * characters, allocated by the server at issuer creation and never reused;
481
+ * empty names the installation's root-addressed base issuer, whose URL is
482
+ * the root origin (NOT_FOUND when the base issuer is not root-addressed).
477
483
  *
478
484
  * @generated from protobuf field: string handle = 1
479
485
  */
@@ -510,7 +516,8 @@ export interface OidcIssuer {
510
516
  export interface GetProtectedResourceRequest {
511
517
  /**
512
518
  * Handle of the issuer the resource is registered under: the `<handle>`
513
- * path segment of the issuer URL `https://<host>/i/<handle>`.
519
+ * path segment of the issuer URL `https://<host>/i/<handle>`; empty names
520
+ * the installation's root-addressed base issuer.
514
521
  *
515
522
  * @generated from protobuf field: string issuer_handle = 1
516
523
  */
@@ -1089,29 +1089,29 @@ export const IssuerPublicKey = new IssuerPublicKey$Type();
1089
1089
  * @generated ServiceType for protobuf service sid.v1.authn.OidcProviderService
1090
1090
  */
1091
1091
  export const OidcProviderService = new ServiceType("sid.v1.authn.OidcProviderService", [
1092
- { name: "GetProviderMetadata", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/i/{issuer_handle}/.well-known/openid-configuration", additionalBindings: [{ get: "/.well-known/oauth-authorization-server/i/{issuer_handle}" }] } }, I: IssuerHandleRequest, O: ProviderMetadata },
1093
- { name: "GetJwks", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/i/{issuer_handle}/jwks" } }, I: IssuerHandleRequest, O: JsonWebKeySet },
1094
- { name: "GetUserInfo", idempotency: "IDEMPOTENT", options: { "google.api.http": { get: "/i/{issuer_handle}/userinfo" }, "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a DPoP proof is admitted once; the request otherwise only reads" } }, I: IssuerHandleRequest, O: UserInfo },
1095
- { name: "PostUserInfo", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/i/{issuer_handle}/userinfo", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a DPoP proof is admitted once; the request otherwise only reads" } }, I: IssuerHandleRequest, O: UserInfo },
1096
- { name: "GetAuthorize", options: { "google.api.http": { get: "/i/{issuer_handle}/oauth2/authorize" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2: each authorization request issues its own single-use code" } }, I: OAuth2AuthorizeRequest, O: HttpBody },
1097
- { name: "PostAuthorize", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/authorize", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2: each authorization request issues its own single-use code" } }, I: ProtocolRequest, O: HttpBody },
1098
- { name: "GetEndSession", options: { "google.api.http": { get: "/i/{issuer_handle}/oauth2/end-session" }, "sid.v1.common.retry": { ceremony: "OpenID RP-Initiated Logout 1.0: an ended session stays ended; a repeat finds nothing to end and signs nobody else out, and a confirmation is answered once" } }, I: EndSessionRequest, O: HttpBody },
1099
- { name: "PostEndSession", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/end-session", body: "body" }, "sid.v1.common.retry": { ceremony: "OpenID RP-Initiated Logout 1.0: an ended session stays ended; a repeat finds nothing to end and signs nobody else out, and a confirmation is answered once" } }, I: ProtocolRequest, O: HttpBody },
1100
- { name: "Token", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/token", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2 and \u00A710.4: a code or rotated refresh token is consumed once; a second use is refused, never answered with tokens" } }, I: ProtocolRequest, O: HttpBody },
1101
- { name: "Introspect", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/introspect", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 7523 \u00A73: a client assertion's jti is admitted once; the answer otherwise only reads the token" } }, I: ProtocolRequest, O: HttpBody },
1102
- { name: "Revoke", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/revoke", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 7009 \u00A72.2: revoking a revoked or unknown token answers success and changes nothing" } }, I: ProtocolRequest, O: HttpBody },
1103
- { name: "DeviceAuthorization", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/device", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 8628 \u00A73.2: each request issues its own device and user codes" } }, I: ProtocolRequest, O: HttpBody },
1104
- { name: "Register", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/register", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 7591 \u00A73: the client presents no operation key; each registration issues a new client, its secret and registration access token once" } }, I: ProtocolRequest, O: HttpBody },
1105
- { name: "ReadRegistration", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/i/{issuer_handle}/oauth2/register/{client_id}" } }, I: RegistrationRequest, O: HttpBody },
1106
- { name: "UpdateRegistration", idempotency: "IDEMPOTENT", options: { "google.api.http": { put: "/i/{issuer_handle}/oauth2/register/{client_id}", body: "body" }, "sid.v1.common.retry": { ceremony: "RFC 7592 \u00A72.2: the request carries the client's whole metadata and replaces it, so a repeat leaves the same registration" } }, I: RegistrationRequest, O: HttpBody },
1107
- { name: "DeleteRegistration", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/i/{issuer_handle}/oauth2/register/{client_id}" }, "sid.v1.common.retry": { ceremony: "RFC 7592 \u00A72.3: deletion invalidates the client and its registration access token, so a repeat is refused and changes nothing" } }, I: RegistrationRequest, O: HttpBody }
1092
+ { name: "GetProviderMetadata", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/i/{issuer_handle}/.well-known/openid-configuration", additionalBindings: [{ get: "/.well-known/oauth-authorization-server/i/{issuer_handle}" }, { get: "/.well-known/openid-configuration" }, { get: "/.well-known/oauth-authorization-server" }] }, "sid.v1.common.access": { open: "OpenID Connect Discovery 1.0 \u00A74: public issuer metadata" } }, I: IssuerHandleRequest, O: ProviderMetadata },
1093
+ { name: "GetJwks", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/i/{issuer_handle}/jwks", additionalBindings: [{ get: "/jwks" }] }, "sid.v1.common.access": { open: "RFC 7517 \u00A75: the issuer's public signing keys" } }, I: IssuerHandleRequest, O: JsonWebKeySet },
1094
+ { name: "GetUserInfo", idempotency: "IDEMPOTENT", options: { "google.api.http": { get: "/i/{issuer_handle}/userinfo", additionalBindings: [{ get: "/userinfo" }] }, "sid.v1.common.access": { open: "OpenID Connect Core 1.0 \u00A75.3: a protocol endpoint verifying the access token issued for its own UserInfo resource" }, "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a DPoP proof is admitted once; the request otherwise only reads" } }, I: IssuerHandleRequest, O: UserInfo },
1095
+ { name: "PostUserInfo", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/i/{issuer_handle}/userinfo", body: "*", additionalBindings: [{ post: "/userinfo", body: "*" }] }, "sid.v1.common.access": { open: "OpenID Connect Core 1.0 \u00A75.3: a protocol endpoint verifying the access token issued for its own UserInfo resource" }, "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a DPoP proof is admitted once; the request otherwise only reads" } }, I: IssuerHandleRequest, O: UserInfo },
1096
+ { name: "GetAuthorize", options: { "google.api.http": { get: "/i/{issuer_handle}/oauth2/authorize", additionalBindings: [{ get: "/oauth2/authorize" }] }, "sid.v1.common.access": { open: "RFC 6749 \u00A73.1: the browser's authorization request, answered with the sign-in or the code" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2: each authorization request issues its own single-use code" } }, I: OAuth2AuthorizeRequest, O: HttpBody },
1097
+ { name: "PostAuthorize", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/authorize", body: "body", additionalBindings: [{ post: "/oauth2/authorize", body: "body" }] }, "sid.v1.common.access": { open: "RFC 6749 \u00A73.1: the browser's authorization request, answered with the sign-in or the code" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2: each authorization request issues its own single-use code" } }, I: ProtocolRequest, O: HttpBody },
1098
+ { name: "GetEndSession", options: { "google.api.http": { get: "/i/{issuer_handle}/oauth2/end-session", additionalBindings: [{ get: "/oauth2/end-session" }] }, "sid.v1.common.access": { open: "OpenID Connect RP-Initiated Logout 1.0 \u00A72: the browser's logout request" }, "sid.v1.common.retry": { ceremony: "OpenID RP-Initiated Logout 1.0: an ended session stays ended; a repeat finds nothing to end and signs nobody else out, and a confirmation is answered once" } }, I: EndSessionRequest, O: HttpBody },
1099
+ { name: "PostEndSession", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/end-session", body: "body", additionalBindings: [{ post: "/oauth2/end-session", body: "body" }] }, "sid.v1.common.access": { open: "OpenID Connect RP-Initiated Logout 1.0 \u00A72: the browser's logout request" }, "sid.v1.common.retry": { ceremony: "OpenID RP-Initiated Logout 1.0: an ended session stays ended; a repeat finds nothing to end and signs nobody else out, and a confirmation is answered once" } }, I: ProtocolRequest, O: HttpBody },
1100
+ { name: "Token", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/token", body: "body", additionalBindings: [{ post: "/oauth2/token", body: "body" }] }, "sid.v1.common.access": { open: "RFC 6749 \u00A73.2: token issuance; the client authenticates with the request (\u00A72.3) and the grant proves the rest" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2 and \u00A710.4: a code or rotated refresh token is consumed once; a second use is refused, never answered with tokens" } }, I: ProtocolRequest, O: HttpBody },
1101
+ { name: "Introspect", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/introspect", body: "body", additionalBindings: [{ post: "/oauth2/introspect", body: "body" }] }, "sid.v1.common.access": { open: "RFC 7662 \u00A72.1: the inspector authenticates as a client with the request and is authorized for the token's resource" }, "sid.v1.common.retry": { ceremony: "RFC 7523 \u00A73: a client assertion's jti is admitted once; the answer otherwise only reads the token" } }, I: ProtocolRequest, O: HttpBody },
1102
+ { name: "Revoke", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/revoke", body: "body", additionalBindings: [{ post: "/oauth2/revoke", body: "body" }] }, "sid.v1.common.access": { open: "RFC 7009 \u00A72.1: the client that obtained the token authenticates with the request" }, "sid.v1.common.retry": { ceremony: "RFC 7009 \u00A72.2: revoking a revoked or unknown token answers success and changes nothing" } }, I: ProtocolRequest, O: HttpBody },
1103
+ { name: "DeviceAuthorization", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/device", body: "body", additionalBindings: [{ post: "/oauth2/device", body: "body" }] }, "sid.v1.common.access": { open: "RFC 8628 \u00A73.1: the device asks for codes before any user signs in" }, "sid.v1.common.retry": { ceremony: "RFC 8628 \u00A73.2: each request issues its own device and user codes" } }, I: ProtocolRequest, O: HttpBody },
1104
+ { name: "Register", options: { "google.api.http": { post: "/i/{issuer_handle}/oauth2/register", body: "body", additionalBindings: [{ post: "/oauth2/register", body: "body" }] }, "sid.v1.common.access": { open: "RFC 7591 \u00A73: dynamic registration, admitted by the issuer's registration policy and its initial access token" }, "sid.v1.common.retry": { ceremony: "RFC 7591 \u00A73: the client presents no operation key; each registration issues a new client, its secret and registration access token once" } }, I: ProtocolRequest, O: HttpBody },
1105
+ { name: "ReadRegistration", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/i/{issuer_handle}/oauth2/register/{client_id}", additionalBindings: [{ get: "/oauth2/register/{client_id}" }] }, "sid.v1.common.access": { open: "RFC 7592 \u00A72: the client's registration access token authenticates the call" } }, I: RegistrationRequest, O: HttpBody },
1106
+ { name: "UpdateRegistration", idempotency: "IDEMPOTENT", options: { "google.api.http": { put: "/i/{issuer_handle}/oauth2/register/{client_id}", body: "body", additionalBindings: [{ put: "/oauth2/register/{client_id}", body: "body" }] }, "sid.v1.common.access": { open: "RFC 7592 \u00A72: the client's registration access token authenticates the call" }, "sid.v1.common.retry": { ceremony: "RFC 7592 \u00A72.2: the request carries the client's whole metadata and replaces it, so a repeat leaves the same registration" } }, I: RegistrationRequest, O: HttpBody },
1107
+ { name: "DeleteRegistration", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/i/{issuer_handle}/oauth2/register/{client_id}", additionalBindings: [{ delete: "/oauth2/register/{client_id}" }] }, "sid.v1.common.access": { open: "RFC 7592 \u00A72: the client's registration access token authenticates the call" }, "sid.v1.common.retry": { ceremony: "RFC 7592 \u00A72.3: deletion invalidates the client and its registration access token, so a repeat is refused and changes nothing" } }, I: RegistrationRequest, O: HttpBody }
1108
1108
  ]);
1109
1109
  /**
1110
1110
  * @generated ServiceType for protobuf service sid.v1.authn.OidcIssuerService
1111
1111
  */
1112
1112
  export const OidcIssuerService = new ServiceType("sid.v1.authn.OidcIssuerService", [
1113
- { name: "GetOidcIssuer", idempotency: "NO_SIDE_EFFECTS", options: {}, I: GetOidcIssuerRequest, O: OidcIssuer },
1114
- { name: "GetProtectedResource", idempotency: "NO_SIDE_EFFECTS", options: {}, I: GetProtectedResourceRequest, O: ProtectedResourceTarget },
1115
- { name: "AdmitSenderProof", idempotency: "IDEMPOTENT", options: { "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a proof is admitted once, for one original request; a repeat for that same request confirms the first answer, and any other use of the proof is refused as a replay" } }, I: AdmitSenderProofRequest, O: Empty }
1113
+ { name: "GetOidcIssuer", idempotency: "NO_SIDE_EFFECTS", options: { "sid.v1.common.access": { open: "public trust material a verifier resolves before it can verify any token" } }, I: GetOidcIssuerRequest, O: OidcIssuer },
1114
+ { name: "GetProtectedResource", idempotency: "NO_SIDE_EFFECTS", options: { "sid.v1.common.access": { open: "public registration of a resource a verifier resolves before it can verify any token" } }, I: GetProtectedResourceRequest, O: ProtectedResourceTarget },
1115
+ { name: "AdmitSenderProof", idempotency: "IDEMPOTENT", options: { "sid.v1.common.access": { open: "the verifier authenticates with its own client credential and must be configured for the resource, as stated above" }, "sid.v1.common.retry": { ceremony: "RFC 9449 \u00A711.1: a proof is admitted once, for one original request; a repeat for that same request confirms the first answer, and any other use of the proof is refused as a replay" } }, I: AdmitSenderProofRequest, O: Empty }
1116
1116
  ]);
1117
1117
  //# sourceMappingURL=issuer.js.map