@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
@@ -418,10 +418,10 @@ export const EndApplicationSessionResponse = new EndApplicationSessionResponse$T
418
418
  * @generated ServiceType for protobuf service sid.v1.authn.ApplicationSessionService
419
419
  */
420
420
  export const ApplicationSessionService = new ServiceType("sid.v1.authn.ApplicationSessionService", [
421
- { name: "StartSignIn", options: { "google.api.http": { get: "/auth/login" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A710.12: each call records its own single-use sign-in state; nothing else changes before its callback" } }, I: StartSignInRequest, O: HttpBody },
422
- { name: "CompleteSignIn", options: { "google.api.http": { get: "/auth/callback" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A710.12: the sign-in its state names is consumed by its completion; a repeat is refused and creates no session" } }, I: CompleteSignInRequest, O: HttpBody },
423
- { name: "GetApplicationSession", idempotency: "IDEMPOTENT", options: { "sid.v1.common.retry": { natural: "the call only moves the session's idle window to now: a repeat moves it to the same point again and changes nothing else" } }, I: GetApplicationSessionRequest, O: ApplicationSession },
424
- { name: "EndApplicationSession", idempotency: "IDEMPOTENT", options: { "sid.v1.common.retry": { natural: "an ended session stays ended and is never resumed: a repeat finds no session, ends nothing more and answers GRANT_OUTCOME_UNKNOWN" } }, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse },
425
- { name: "ReceiveBackChannelLogout", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/auth/backchannel-logout", body: "body" }, "sid.v1.common.retry": { natural: "an ended issuer session stays ended here: a repeat of the token, or a later token naming the same session, ends nothing more and answers 200 again" } }, I: BackChannelLogoutRequest, O: HttpBody }
421
+ { name: "StartSignIn", options: { "google.api.http": { get: "/auth/login" }, "sid.v1.common.access": { open: "RFC 6749 \u00A74.1.1: the browser starts a sign-in before it has a session" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A710.12: each call records its own single-use sign-in state; nothing else changes before its callback" } }, I: StartSignInRequest, O: HttpBody },
422
+ { name: "CompleteSignIn", options: { "google.api.http": { get: "/auth/callback" }, "sid.v1.common.access": { open: "RFC 6749 \u00A74.1.2: the issuer's authorization response and its recorded state authenticate the call" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A710.12: the sign-in its state names is consumed by its completion; a repeat is refused and creates no session" } }, I: CompleteSignInRequest, O: HttpBody },
423
+ { name: "GetApplicationSession", idempotency: "IDEMPOTENT", options: { "sid.v1.common.access": { open: "the application session's own protected cookie authenticates the call" }, "sid.v1.common.retry": { natural: "the call only moves the session's idle window to now: a repeat moves it to the same point again and changes nothing else" } }, I: GetApplicationSessionRequest, O: ApplicationSession },
424
+ { name: "EndApplicationSession", idempotency: "IDEMPOTENT", options: { "sid.v1.common.access": { open: "the application session's own protected cookie authenticates the call" }, "sid.v1.common.retry": { natural: "an ended session stays ended and is never resumed: a repeat finds no session, ends nothing more and answers GRANT_OUTCOME_UNKNOWN" } }, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse },
425
+ { name: "ReceiveBackChannelLogout", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/auth/backchannel-logout", body: "body" }, "sid.v1.common.access": { open: "OpenID Connect Back-Channel Logout 1.0 \u00A72.6: the issuer's signed logout token authenticates the call" }, "sid.v1.common.retry": { natural: "an ended issuer session stays ended here: a repeat of the token, or a later token naming the same session, ends nothing more and answers 200 again" } }, I: BackChannelLogoutRequest, O: HttpBody }
426
426
  ]);
427
427
  //# sourceMappingURL=application_session.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application_session.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/application_session.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,iHAAiH;AACjH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAiI3D;;;;GAIG;AACH,MAAM,CAAN,IAAY,YA+BX;AA/BD,WAAY,YAAY;IACpB;;OAEG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IACH,qDAAW,CAAA;IACX;;;;;OAKG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IACH,+CAAQ,CAAA;IACR;;;;;OAKG;IACH,qDAAW,CAAA;AACf,CAAC,EA/BW,YAAY,KAAZ,YAAY,QA+BvB;AACD,2FAA2F;AAC3F,MAAM,6BAA8B,SAAQ,WAAqC;IAC7E;QACI,KAAK,CAAC,uCAAuC,EAAE;YAC3C,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE;SAC9D,CAAC,CAAC;IACP,CAAC;IACD,MAAM,CAAC,KAAgD;QACnD,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,gBAAiB,CAAC,CA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client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/application_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { HttpBody } from \"../../../google/api/httpbody.js\";\n/**\n * @generated from protobuf message sid.v1.authn.BackChannelLogoutRequest\n */\nexport interface BackChannelLogoutRequest {\n /**\n * The issuer's POST as it arrived: the `application/x-www-form-urlencoded`\n * form carrying `logout_token` (Back-Channel Logout 1.0 §2.5), sent by the\n * issuer, never by a browser.\n *\n * @generated from protobuf field: google.api.HttpBody body = 1\n */\n body?: HttpBody;\n}\n/**\n * @generated from protobuf message sid.v1.authn.StartSignInRequest\n */\nexport interface StartSignInRequest {\n /**\n * Where on the application's origin to return after sign-in: a local path\n * starting with a single `/`. Anything else (another origin, `//host`,\n * `/\\host`, control characters) returns to `/` (RFC 9700 §4.11). Supplied\n * by the page that sends the browser here.\n *\n * @generated from protobuf field: string rd = 1\n */\n rd: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.CompleteSignInRequest\n */\nexport interface CompleteSignInRequest {\n /**\n * The `state` the sign-in sent, as the issuer returned it (RFC 6749\n * §4.1.2). Names the recorded sign-in; anything but a value this adapter\n * issued is refused.\n *\n * @generated from protobuf field: string state = 1\n */\n state: string;\n /**\n * The authorization code, absent when the issuer answered an error.\n *\n * @generated from protobuf field: optional string code = 2\n */\n code?: string;\n /**\n * The issuer's error code (RFC 6749 §4.1.2.1), when it refused.\n *\n * @generated from protobuf field: optional string error = 3\n */\n error?: string;\n /**\n * The issuer that answered (RFC 9207 §2); must be the connection's issuer.\n *\n * @generated from protobuf field: optional string iss = 4\n */\n iss?: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.GetApplicationSessionRequest\n */\nexport interface GetApplicationSessionRequest {\n}\n/**\n * The signed-in user as this application's issuer names it, and the session's\n * CSRF token.\n *\n * @generated from protobuf message sid.v1.authn.ApplicationSession\n */\nexport interface ApplicationSession {\n /**\n * The user's subject at this application (`sub` of the issuer's tokens for\n * it): recipient-scoped and opaque; its shape does not say what kind of\n * identifier it is.\n *\n * @generated from protobuf field: string sub = 1\n */\n sub: string;\n /**\n * Email address from the sign-in's ID token, when disclosed to this\n * application.\n *\n * @generated from protobuf field: optional string email = 2\n */\n email?: string;\n /**\n * Display name from the sign-in's ID token, when disclosed.\n *\n * @generated from protobuf field: optional string name = 3\n */\n name?: string;\n /**\n * Username from the sign-in's ID token, when disclosed.\n *\n * @generated from protobuf field: optional string preferred_username = 4\n */\n preferredUsername?: string;\n /**\n * Authentication context class of the sign-in (`acr`, OIDC Core 1.0 §2).\n *\n * @generated from protobuf field: string acr = 5\n */\n acr: string;\n /**\n * The session's synchronizer token: echoed in `x-csrf-token` on every\n * state-changing call of this session. Bound to this session only; not a\n * credential by itself.\n *\n * @generated from protobuf field: string csrf_token = 6\n */\n csrfToken: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EndApplicationSessionRequest\n */\nexport interface EndApplicationSessionRequest {\n}\n/**\n * @generated from protobuf message sid.v1.authn.EndApplicationSessionResponse\n */\nexport interface EndApplicationSessionResponse {\n /**\n * What became of the issuer's grant behind the ended session.\n *\n * @generated from protobuf field: sid.v1.authn.GrantOutcome grant = 1\n */\n grant: GrantOutcome;\n}\n/**\n * What became of the grant behind an ended application session.\n *\n * @generated from protobuf enum sid.v1.authn.GrantOutcome\n */\nexport enum GrantOutcome {\n /**\n * @generated from protobuf enum value: GRANT_OUTCOME_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * The issuer revoked it: its refresh token no longer works.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_REVOKED = 1;\n */\n REVOKED = 1,\n /**\n * A grant stood behind the session and the issuer did not revoke it; it\n * lives until it expires, though nobody holds its token any more.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_NOT_REVOKED = 2;\n */\n NOT_REVOKED = 2,\n /**\n * No grant stood behind the session.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_NONE = 3;\n */\n NONE = 3,\n /**\n * Not known: the session was already gone, or the revocation's answer was\n * lost after it may have taken effect.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_UNKNOWN = 4;\n */\n UNKNOWN = 4\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass BackChannelLogoutRequest$Type extends MessageType<BackChannelLogoutRequest> {\n constructor() {\n super(\"sid.v1.authn.BackChannelLogoutRequest\", [\n { no: 1, name: \"body\", kind: \"message\", T: () => HttpBody }\n ]);\n }\n create(value?: PartialMessage<BackChannelLogoutRequest>): BackChannelLogoutRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<BackChannelLogoutRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BackChannelLogoutRequest): BackChannelLogoutRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* google.api.HttpBody body */ 1:\n message.body = HttpBody.internalBinaryRead(reader, reader.uint32(), options, message.body);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: BackChannelLogoutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.api.HttpBody body = 1; */\n if (message.body)\n HttpBody.internalBinaryWrite(message.body, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.BackChannelLogoutRequest\n */\nexport const BackChannelLogoutRequest = new BackChannelLogoutRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StartSignInRequest$Type extends MessageType<StartSignInRequest> {\n constructor() {\n super(\"sid.v1.authn.StartSignInRequest\", [\n { no: 1, name: \"rd\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StartSignInRequest>): StartSignInRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rd = \"\";\n if (value !== undefined)\n reflectionMergePartial<StartSignInRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartSignInRequest): StartSignInRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string rd */ 1:\n message.rd = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: StartSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string rd = 1; */\n if (message.rd !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.rd);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.StartSignInRequest\n */\nexport const StartSignInRequest = new StartSignInRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CompleteSignInRequest$Type extends MessageType<CompleteSignInRequest> {\n constructor() {\n super(\"sid.v1.authn.CompleteSignInRequest\", [\n { no: 1, name: \"state\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"code\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"error\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"iss\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<CompleteSignInRequest>): CompleteSignInRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.state = \"\";\n if (value !== undefined)\n reflectionMergePartial<CompleteSignInRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CompleteSignInRequest): CompleteSignInRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string state */ 1:\n message.state = reader.string();\n break;\n case /* optional string code */ 2:\n message.code = reader.string();\n break;\n case /* optional string error */ 3:\n message.error = reader.string();\n break;\n case /* optional string iss */ 4:\n message.iss = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: CompleteSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string state = 1; */\n if (message.state !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.state);\n /* optional string code = 2; */\n if (message.code !== undefined)\n writer.tag(2, WireType.LengthDelimited).string(message.code);\n /* optional string error = 3; */\n if (message.error !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.error);\n /* optional string iss = 4; */\n if (message.iss !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.iss);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.CompleteSignInRequest\n */\nexport const CompleteSignInRequest = new CompleteSignInRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetApplicationSessionRequest$Type extends MessageType<GetApplicationSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.GetApplicationSessionRequest\", []);\n }\n create(value?: PartialMessage<GetApplicationSessionRequest>): GetApplicationSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetApplicationSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetApplicationSessionRequest): GetApplicationSessionRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetApplicationSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.GetApplicationSessionRequest\n */\nexport const GetApplicationSessionRequest = new GetApplicationSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ApplicationSession$Type extends MessageType<ApplicationSession> {\n constructor() {\n super(\"sid.v1.authn.ApplicationSession\", [\n { no: 1, name: \"sub\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"email\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"preferred_username\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"acr\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"csrf_token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ApplicationSession>): ApplicationSession {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.sub = \"\";\n message.acr = \"\";\n message.csrfToken = \"\";\n if (value !== undefined)\n reflectionMergePartial<ApplicationSession>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ApplicationSession): ApplicationSession {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string sub */ 1:\n message.sub = reader.string();\n break;\n case /* optional string email */ 2:\n message.email = reader.string();\n break;\n case /* optional string name */ 3:\n message.name = reader.string();\n break;\n case /* optional string preferred_username */ 4:\n message.preferredUsername = reader.string();\n break;\n case /* string acr */ 5:\n message.acr = reader.string();\n break;\n case /* string csrf_token */ 6:\n message.csrfToken = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ApplicationSession, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string sub = 1; */\n if (message.sub !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.sub);\n /* optional string email = 2; */\n if (message.email !== undefined)\n writer.tag(2, WireType.LengthDelimited).string(message.email);\n /* optional string name = 3; */\n if (message.name !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.name);\n /* optional string preferred_username = 4; */\n if (message.preferredUsername !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.preferredUsername);\n /* string acr = 5; */\n if (message.acr !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.acr);\n /* string csrf_token = 6; */\n if (message.csrfToken !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.csrfToken);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.ApplicationSession\n */\nexport const ApplicationSession = new ApplicationSession$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndApplicationSessionRequest$Type extends MessageType<EndApplicationSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.EndApplicationSessionRequest\", []);\n }\n create(value?: PartialMessage<EndApplicationSessionRequest>): EndApplicationSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<EndApplicationSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndApplicationSessionRequest): EndApplicationSessionRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: EndApplicationSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionRequest\n */\nexport const EndApplicationSessionRequest = new EndApplicationSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndApplicationSessionResponse$Type extends MessageType<EndApplicationSessionResponse> {\n constructor() {\n super(\"sid.v1.authn.EndApplicationSessionResponse\", [\n { no: 1, name: \"grant\", kind: \"enum\", T: () => [\"sid.v1.authn.GrantOutcome\", GrantOutcome, \"GRANT_OUTCOME_\"] }\n ]);\n }\n create(value?: PartialMessage<EndApplicationSessionResponse>): EndApplicationSessionResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.grant = 0;\n if (value !== undefined)\n reflectionMergePartial<EndApplicationSessionResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndApplicationSessionResponse): EndApplicationSessionResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.authn.GrantOutcome grant */ 1:\n message.grant = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: EndApplicationSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.authn.GrantOutcome grant = 1; */\n if (message.grant !== 0)\n writer.tag(1, WireType.Varint).int32(message.grant);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionResponse\n */\nexport const EndApplicationSessionResponse = new EndApplicationSessionResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport const ApplicationSessionService = new ServiceType(\"sid.v1.authn.ApplicationSessionService\", [\n { name: \"StartSignIn\", options: { \"google.api.http\": { get: \"/auth/login\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: each call records its own single-use sign-in state; nothing else changes before its callback\" } }, I: StartSignInRequest, O: HttpBody },\n { name: \"CompleteSignIn\", options: { \"google.api.http\": { get: \"/auth/callback\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: the sign-in its state names is consumed by its completion; a repeat is refused and creates no session\" } }, I: CompleteSignInRequest, O: HttpBody },\n { name: \"GetApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.retry\": { natural: \"the call only moves the session's idle window to now: a repeat moves it to the same point again and changes nothing else\" } }, I: GetApplicationSessionRequest, O: ApplicationSession },\n { name: \"EndApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.retry\": { natural: \"an ended session stays ended and is never resumed: a repeat finds no session, ends nothing more and answers GRANT_OUTCOME_UNKNOWN\" } }, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse },\n { name: \"ReceiveBackChannelLogout\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/auth/backchannel-logout\", body: \"body\" }, \"sid.v1.common.retry\": { natural: \"an ended issuer session stays ended here: a repeat of the token, or a later token naming the same session, ends nothing more and answers 200 again\" } }, I: BackChannelLogoutRequest, O: HttpBody }\n]);\n"]}
1
+ {"version":3,"file":"application_session.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/application_session.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,iHAAiH;AACjH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAiI3D;;;;GAIG;AACH,MAAM,CAAN,IAAY,YA+BX;AA/BD,WAAY,YAAY;IACpB;;OAEG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IACH,qDAAW,CAAA;IACX;;;;;OAKG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IACH,+CAAQ,CAAA;IACR;;;;;OAKG;IACH,qDAAW,CAAA;AACf,CAAC,EA/BW,YAAY,KAAZ,YAAY,QA+BvB;AACD,2FAA2F;AAC3F,MAAM,6BAA8B,SAAQ,WAAqC;IAC7E;QACI,KAAK,CAAC,uCAAuC,EAAE;YAC3C,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE;SAC9D,CAAC,CAAC;IACP,CAAC;IACD,MAAM,CAAC,KAAgD;QACnD,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,gBAAiB,CAAC,CAAC,CAAC;QACnE,IAAI,KAAK,KAAK,SAAS;YACnB,sBAAsB,CAA2B,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QAC3E,OAAO,OAAO,CAAC;IACnB,CAAC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EAAE,EAAE,EAAE,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,QAAQ,EAAE;CACzgB,CAAC,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/application_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { HttpBody } from \"../../../google/api/httpbody.js\";\n/**\n * @generated from protobuf message sid.v1.authn.BackChannelLogoutRequest\n */\nexport interface BackChannelLogoutRequest {\n /**\n * The issuer's POST as it arrived: the `application/x-www-form-urlencoded`\n * form carrying `logout_token` (Back-Channel Logout 1.0 §2.5), sent by the\n * issuer, never by a browser.\n *\n * @generated from protobuf field: google.api.HttpBody body = 1\n */\n body?: HttpBody;\n}\n/**\n * @generated from protobuf message sid.v1.authn.StartSignInRequest\n */\nexport interface StartSignInRequest {\n /**\n * Where on the application's origin to return after sign-in: a local path\n * starting with a single `/`. Anything else (another origin, `//host`,\n * `/\\host`, control characters) returns to `/` (RFC 9700 §4.11). Supplied\n * by the page that sends the browser here.\n *\n * @generated from protobuf field: string rd = 1\n */\n rd: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.CompleteSignInRequest\n */\nexport interface CompleteSignInRequest {\n /**\n * The `state` the sign-in sent, as the issuer returned it (RFC 6749\n * §4.1.2). Names the recorded sign-in; anything but a value this adapter\n * issued is refused.\n *\n * @generated from protobuf field: string state = 1\n */\n state: string;\n /**\n * The authorization code, absent when the issuer answered an error.\n *\n * @generated from protobuf field: optional string code = 2\n */\n code?: string;\n /**\n * The issuer's error code (RFC 6749 §4.1.2.1), when it refused.\n *\n * @generated from protobuf field: optional string error = 3\n */\n error?: string;\n /**\n * The issuer that answered (RFC 9207 §2); must be the connection's issuer.\n *\n * @generated from protobuf field: optional string iss = 4\n */\n iss?: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.GetApplicationSessionRequest\n */\nexport interface GetApplicationSessionRequest {\n}\n/**\n * The signed-in user as this application's issuer names it, and the session's\n * CSRF token.\n *\n * @generated from protobuf message sid.v1.authn.ApplicationSession\n */\nexport interface ApplicationSession {\n /**\n * The user's subject at this application (`sub` of the issuer's tokens for\n * it): recipient-scoped and opaque; its shape does not say what kind of\n * identifier it is.\n *\n * @generated from protobuf field: string sub = 1\n */\n sub: string;\n /**\n * Email address from the sign-in's ID token, when disclosed to this\n * application.\n *\n * @generated from protobuf field: optional string email = 2\n */\n email?: string;\n /**\n * Display name from the sign-in's ID token, when disclosed.\n *\n * @generated from protobuf field: optional string name = 3\n */\n name?: string;\n /**\n * Username from the sign-in's ID token, when disclosed.\n *\n * @generated from protobuf field: optional string preferred_username = 4\n */\n preferredUsername?: string;\n /**\n * Authentication context class of the sign-in (`acr`, OIDC Core 1.0 §2).\n *\n * @generated from protobuf field: string acr = 5\n */\n acr: string;\n /**\n * The session's synchronizer token: echoed in `x-csrf-token` on every\n * state-changing call of this session. Bound to this session only; not a\n * credential by itself.\n *\n * @generated from protobuf field: string csrf_token = 6\n */\n csrfToken: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EndApplicationSessionRequest\n */\nexport interface EndApplicationSessionRequest {\n}\n/**\n * @generated from protobuf message sid.v1.authn.EndApplicationSessionResponse\n */\nexport interface EndApplicationSessionResponse {\n /**\n * What became of the issuer's grant behind the ended session.\n *\n * @generated from protobuf field: sid.v1.authn.GrantOutcome grant = 1\n */\n grant: GrantOutcome;\n}\n/**\n * What became of the grant behind an ended application session.\n *\n * @generated from protobuf enum sid.v1.authn.GrantOutcome\n */\nexport enum GrantOutcome {\n /**\n * @generated from protobuf enum value: GRANT_OUTCOME_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * The issuer revoked it: its refresh token no longer works.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_REVOKED = 1;\n */\n REVOKED = 1,\n /**\n * A grant stood behind the session and the issuer did not revoke it; it\n * lives until it expires, though nobody holds its token any more.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_NOT_REVOKED = 2;\n */\n NOT_REVOKED = 2,\n /**\n * No grant stood behind the session.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_NONE = 3;\n */\n NONE = 3,\n /**\n * Not known: the session was already gone, or the revocation's answer was\n * lost after it may have taken effect.\n *\n * @generated from protobuf enum value: GRANT_OUTCOME_UNKNOWN = 4;\n */\n UNKNOWN = 4\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass BackChannelLogoutRequest$Type extends MessageType<BackChannelLogoutRequest> {\n constructor() {\n super(\"sid.v1.authn.BackChannelLogoutRequest\", [\n { no: 1, name: \"body\", kind: \"message\", T: () => HttpBody }\n ]);\n }\n create(value?: PartialMessage<BackChannelLogoutRequest>): BackChannelLogoutRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<BackChannelLogoutRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BackChannelLogoutRequest): BackChannelLogoutRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* google.api.HttpBody body */ 1:\n message.body = HttpBody.internalBinaryRead(reader, reader.uint32(), options, message.body);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: BackChannelLogoutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* google.api.HttpBody body = 1; */\n if (message.body)\n HttpBody.internalBinaryWrite(message.body, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.BackChannelLogoutRequest\n */\nexport const BackChannelLogoutRequest = new BackChannelLogoutRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StartSignInRequest$Type extends MessageType<StartSignInRequest> {\n constructor() {\n super(\"sid.v1.authn.StartSignInRequest\", [\n { no: 1, name: \"rd\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<StartSignInRequest>): StartSignInRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.rd = \"\";\n if (value !== undefined)\n reflectionMergePartial<StartSignInRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartSignInRequest): StartSignInRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string rd */ 1:\n message.rd = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: StartSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string rd = 1; */\n if (message.rd !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.rd);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.StartSignInRequest\n */\nexport const StartSignInRequest = new StartSignInRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CompleteSignInRequest$Type extends MessageType<CompleteSignInRequest> {\n constructor() {\n super(\"sid.v1.authn.CompleteSignInRequest\", [\n { no: 1, name: \"state\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"code\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"error\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"iss\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<CompleteSignInRequest>): CompleteSignInRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.state = \"\";\n if (value !== undefined)\n reflectionMergePartial<CompleteSignInRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CompleteSignInRequest): CompleteSignInRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string state */ 1:\n message.state = reader.string();\n break;\n case /* optional string code */ 2:\n message.code = reader.string();\n break;\n case /* optional string error */ 3:\n message.error = reader.string();\n break;\n case /* optional string iss */ 4:\n message.iss = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: CompleteSignInRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string state = 1; */\n if (message.state !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.state);\n /* optional string code = 2; */\n if (message.code !== undefined)\n writer.tag(2, WireType.LengthDelimited).string(message.code);\n /* optional string error = 3; */\n if (message.error !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.error);\n /* optional string iss = 4; */\n if (message.iss !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.iss);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.CompleteSignInRequest\n */\nexport const CompleteSignInRequest = new CompleteSignInRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetApplicationSessionRequest$Type extends MessageType<GetApplicationSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.GetApplicationSessionRequest\", []);\n }\n create(value?: PartialMessage<GetApplicationSessionRequest>): GetApplicationSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetApplicationSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetApplicationSessionRequest): GetApplicationSessionRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetApplicationSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.GetApplicationSessionRequest\n */\nexport const GetApplicationSessionRequest = new GetApplicationSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ApplicationSession$Type extends MessageType<ApplicationSession> {\n constructor() {\n super(\"sid.v1.authn.ApplicationSession\", [\n { no: 1, name: \"sub\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"email\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"preferred_username\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"acr\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"csrf_token\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ApplicationSession>): ApplicationSession {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.sub = \"\";\n message.acr = \"\";\n message.csrfToken = \"\";\n if (value !== undefined)\n reflectionMergePartial<ApplicationSession>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ApplicationSession): ApplicationSession {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string sub */ 1:\n message.sub = reader.string();\n break;\n case /* optional string email */ 2:\n message.email = reader.string();\n break;\n case /* optional string name */ 3:\n message.name = reader.string();\n break;\n case /* optional string preferred_username */ 4:\n message.preferredUsername = reader.string();\n break;\n case /* string acr */ 5:\n message.acr = reader.string();\n break;\n case /* string csrf_token */ 6:\n message.csrfToken = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ApplicationSession, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string sub = 1; */\n if (message.sub !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.sub);\n /* optional string email = 2; */\n if (message.email !== undefined)\n writer.tag(2, WireType.LengthDelimited).string(message.email);\n /* optional string name = 3; */\n if (message.name !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.name);\n /* optional string preferred_username = 4; */\n if (message.preferredUsername !== undefined)\n writer.tag(4, WireType.LengthDelimited).string(message.preferredUsername);\n /* string acr = 5; */\n if (message.acr !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.acr);\n /* string csrf_token = 6; */\n if (message.csrfToken !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.csrfToken);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.ApplicationSession\n */\nexport const ApplicationSession = new ApplicationSession$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndApplicationSessionRequest$Type extends MessageType<EndApplicationSessionRequest> {\n constructor() {\n super(\"sid.v1.authn.EndApplicationSessionRequest\", []);\n }\n create(value?: PartialMessage<EndApplicationSessionRequest>): EndApplicationSessionRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<EndApplicationSessionRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndApplicationSessionRequest): EndApplicationSessionRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: EndApplicationSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionRequest\n */\nexport const EndApplicationSessionRequest = new EndApplicationSessionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EndApplicationSessionResponse$Type extends MessageType<EndApplicationSessionResponse> {\n constructor() {\n super(\"sid.v1.authn.EndApplicationSessionResponse\", [\n { no: 1, name: \"grant\", kind: \"enum\", T: () => [\"sid.v1.authn.GrantOutcome\", GrantOutcome, \"GRANT_OUTCOME_\"] }\n ]);\n }\n create(value?: PartialMessage<EndApplicationSessionResponse>): EndApplicationSessionResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.grant = 0;\n if (value !== undefined)\n reflectionMergePartial<EndApplicationSessionResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndApplicationSessionResponse): EndApplicationSessionResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* sid.v1.authn.GrantOutcome grant */ 1:\n message.grant = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: EndApplicationSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.authn.GrantOutcome grant = 1; */\n if (message.grant !== 0)\n writer.tag(1, WireType.Varint).int32(message.grant);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message sid.v1.authn.EndApplicationSessionResponse\n */\nexport const EndApplicationSessionResponse = new EndApplicationSessionResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport const ApplicationSessionService = new ServiceType(\"sid.v1.authn.ApplicationSessionService\", [\n { name: \"StartSignIn\", options: { \"google.api.http\": { get: \"/auth/login\" }, \"sid.v1.common.access\": { open: \"RFC 6749 \\u00A74.1.1: the browser starts a sign-in before it has a session\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: each call records its own single-use sign-in state; nothing else changes before its callback\" } }, I: StartSignInRequest, O: HttpBody },\n { name: \"CompleteSignIn\", options: { \"google.api.http\": { get: \"/auth/callback\" }, \"sid.v1.common.access\": { open: \"RFC 6749 \\u00A74.1.2: the issuer's authorization response and its recorded state authenticate the call\" }, \"sid.v1.common.retry\": { ceremony: \"RFC 6749 \\u00A710.12: the sign-in its state names is consumed by its completion; a repeat is refused and creates no session\" } }, I: CompleteSignInRequest, O: HttpBody },\n { name: \"GetApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.access\": { open: \"the application session's own protected cookie authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"the call only moves the session's idle window to now: a repeat moves it to the same point again and changes nothing else\" } }, I: GetApplicationSessionRequest, O: ApplicationSession },\n { name: \"EndApplicationSession\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.access\": { open: \"the application session's own protected cookie authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"an ended session stays ended and is never resumed: a repeat finds no session, ends nothing more and answers GRANT_OUTCOME_UNKNOWN\" } }, I: EndApplicationSessionRequest, O: EndApplicationSessionResponse },\n { name: \"ReceiveBackChannelLogout\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/auth/backchannel-logout\", body: \"body\" }, \"sid.v1.common.access\": { open: \"OpenID Connect Back-Channel Logout 1.0 \\u00A72.6: the issuer's signed logout token authenticates the call\" }, \"sid.v1.common.retry\": { natural: \"an ended issuer session stays ended here: a repeat of the token, or a later token naming the same session, ends nothing more and answers 200 again\" } }, I: BackChannelLogoutRequest, O: HttpBody }\n]);\n"]}
@@ -41,6 +41,16 @@ import type { VerifyPhoneResponse } from "./auth.js";
41
41
  import type { VerifyPhoneRequest } from "./auth.js";
42
42
  import type { ResendEmailVerificationResponse } from "./auth.js";
43
43
  import type { ResendEmailVerificationRequest } from "./auth.js";
44
+ import type { PasskeyRegistrationFinishResponse } from "./auth.js";
45
+ import type { PasskeyRegistrationFinishRequest } from "./auth.js";
46
+ import type { PasskeyRegistrationStartResponse } from "./auth.js";
47
+ import type { PasskeyRegistrationStartRequest } from "./auth.js";
48
+ import type { VerifyEmailRegistrationResponse } from "./auth.js";
49
+ import type { VerifyEmailRegistrationRequest } from "./auth.js";
50
+ import type { ResendEmailRegistrationResponse } from "./auth.js";
51
+ import type { ResendEmailRegistrationRequest } from "./auth.js";
52
+ import type { StartEmailRegistrationResponse } from "./auth.js";
53
+ import type { StartEmailRegistrationRequest } from "./auth.js";
44
54
  import type { ResendOtpResponse } from "./auth.js";
45
55
  import type { ResendOtpRequest } from "./auth.js";
46
56
  import type { VerifyOtpResponse } from "./auth.js";
@@ -201,9 +211,14 @@ export interface IAuthServiceClient {
201
211
  * are that issuer's endpoints: `/i/{issuer_handle}/oauth2/*`, as advertised
202
212
  * in its discovery document. There is no issuer-less OAuth surface; SID's
203
213
  * own sign-in sessions are issued by the authentication RPCs above, not
204
- * here. The sign-in UI calls OAuth2Authorize with the signed-in user's
205
- * token after consent and redirects the browser itself; the issuer's
206
- * browser authorization endpoint (OidcProviderService) runs the same logic.
214
+ * here. The issuer's browser authorization endpoint (OidcProviderService)
215
+ * runs the same logic. Both enforce one consent gate: a code is issued only
216
+ * when a current recorded consent of the selected identity covers the
217
+ * client, resource and scopes, and `prompt=consent` needs a decision
218
+ * recorded for this request. Otherwise the call is FAILED_PRECONDITION
219
+ * with ErrorInfo reason CONSENT_REQUIRED; a caller showing its own consent
220
+ * screen does not count as a recorded decision (the browser records one
221
+ * through AuthFlowService).
207
222
  *
208
223
  * @generated from protobuf rpc: OAuth2Authorize
209
224
  */
@@ -212,8 +227,9 @@ export interface IAuthServiceClient {
212
227
  * The context of the authorization request a sign-in page was sent to
213
228
  * complete: the server checks the request against its saved state (the
214
229
  * addressed issuer, a client registered under it, the client's exact
215
- * registered redirect URI) and answers where the page runs its ceremonies.
216
- * Nothing is consumed or changed, so showing or reloading the page reads it
230
+ * registered redirect URI) and answers the issuer and the client's name.
231
+ * The page runs its ceremonies at the address it read the context through,
232
+ * never at one derived from the issuer URL. Nothing is consumed or changed, so showing or reloading the page reads it
217
233
  * again. A request that does not match saved state is refused before the
218
234
  * page asks for any credential: INVALID_ARGUMENT, ErrorInfo reason
219
235
  * INVALID_FIELD_VALUE, BadRequest field `authorization_request`.
@@ -310,6 +326,9 @@ export interface IAuthServiceClient {
310
326
  */
311
327
  submitDeferredZkProof(input: SubmitDeferredZkProofRequest, options?: RpcOptions): UnaryCall<SubmitDeferredZkProofRequest, SubmitDeferredZkProofResponse>;
312
328
  /**
329
+ * A sign-in's policy may require this enrollment before it completes, so
330
+ * it is a step of signing in.
331
+ *
313
332
  * @generated from protobuf rpc: StartTotpEnrollment
314
333
  */
315
334
  startTotpEnrollment(input: StartTotpEnrollmentRequest, options?: RpcOptions): UnaryCall<StartTotpEnrollmentRequest, TotpEnrollmentChallenge>;
@@ -353,6 +372,49 @@ export interface IAuthServiceClient {
353
372
  * @generated from protobuf rpc: ResendOtp
354
373
  */
355
374
  resendOtp(input: ResendOtpRequest, options?: RpcOptions): UnaryCall<ResendOtpRequest, ResendOtpResponse>;
375
+ /**
376
+ * Admits the registration under the enrollment policy (instance claim,
377
+ * registration switch, enrollment mode, invite) before anything about the
378
+ * address is told, then mails a code to it. When admitted, an address
379
+ * already registered is refused before a code is created or sent
380
+ * (ALREADY_EXISTS, EMAIL_ALREADY_REGISTERED).
381
+ *
382
+ * @generated from protobuf rpc: StartEmailRegistration
383
+ */
384
+ startEmailRegistration(input: StartEmailRegistrationRequest, options?: RpcOptions): UnaryCall<StartEmailRegistrationRequest, StartEmailRegistrationResponse>;
385
+ /**
386
+ * A new code for the registration a start opened, replacing its previous
387
+ * one; refused like a start while registration is not admitted.
388
+ *
389
+ * @generated from protobuf rpc: ResendEmailRegistration
390
+ */
391
+ resendEmailRegistration(input: ResendEmailRegistrationRequest, options?: RpcOptions): UnaryCall<ResendEmailRegistrationRequest, ResendEmailRegistrationResponse>;
392
+ /**
393
+ * Confirms the address with its code and opens the registration's
394
+ * context: an HttpOnly cookie for a browser (with the CSRF token of its
395
+ * later steps in the answer) or `authorization` metadata for a native
396
+ * client, never a token in the body. The context admits the registration's
397
+ * first passkey only: no account call, consent or grant.
398
+ *
399
+ * @generated from protobuf rpc: VerifyEmailRegistration
400
+ */
401
+ verifyEmailRegistration(input: VerifyEmailRegistrationRequest, options?: RpcOptions): UnaryCall<VerifyEmailRegistrationRequest, VerifyEmailRegistrationResponse>;
402
+ /**
403
+ * Starts the registration's first passkey, admitted by its context only;
404
+ * an existing account's passkeys are managed by WebAuthnRegistration*.
405
+ *
406
+ * @generated from protobuf rpc: PasskeyRegistrationStart
407
+ */
408
+ passkeyRegistrationStart(input: PasskeyRegistrationStartRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationStartRequest, PasskeyRegistrationStartResponse>;
409
+ /**
410
+ * Commits the account with its confirmed address and its first passkey in
411
+ * one operation, rechecking the registration's admission and the address.
412
+ * A retry by the same context answers the recorded credential; no second
413
+ * key and no session.
414
+ *
415
+ * @generated from protobuf rpc: PasskeyRegistrationFinish
416
+ */
417
+ passkeyRegistrationFinish(input: PasskeyRegistrationFinishRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationFinishRequest, PasskeyRegistrationFinishResponse>;
356
418
  /**
357
419
  * @generated from protobuf rpc: ResendEmailVerification
358
420
  */
@@ -545,9 +607,14 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
545
607
  * are that issuer's endpoints: `/i/{issuer_handle}/oauth2/*`, as advertised
546
608
  * in its discovery document. There is no issuer-less OAuth surface; SID's
547
609
  * own sign-in sessions are issued by the authentication RPCs above, not
548
- * here. The sign-in UI calls OAuth2Authorize with the signed-in user's
549
- * token after consent and redirects the browser itself; the issuer's
550
- * browser authorization endpoint (OidcProviderService) runs the same logic.
610
+ * here. The issuer's browser authorization endpoint (OidcProviderService)
611
+ * runs the same logic. Both enforce one consent gate: a code is issued only
612
+ * when a current recorded consent of the selected identity covers the
613
+ * client, resource and scopes, and `prompt=consent` needs a decision
614
+ * recorded for this request. Otherwise the call is FAILED_PRECONDITION
615
+ * with ErrorInfo reason CONSENT_REQUIRED; a caller showing its own consent
616
+ * screen does not count as a recorded decision (the browser records one
617
+ * through AuthFlowService).
551
618
  *
552
619
  * @generated from protobuf rpc: OAuth2Authorize
553
620
  */
@@ -556,8 +623,9 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
556
623
  * The context of the authorization request a sign-in page was sent to
557
624
  * complete: the server checks the request against its saved state (the
558
625
  * addressed issuer, a client registered under it, the client's exact
559
- * registered redirect URI) and answers where the page runs its ceremonies.
560
- * Nothing is consumed or changed, so showing or reloading the page reads it
626
+ * registered redirect URI) and answers the issuer and the client's name.
627
+ * The page runs its ceremonies at the address it read the context through,
628
+ * never at one derived from the issuer URL. Nothing is consumed or changed, so showing or reloading the page reads it
561
629
  * again. A request that does not match saved state is refused before the
562
630
  * page asks for any credential: INVALID_ARGUMENT, ErrorInfo reason
563
631
  * INVALID_FIELD_VALUE, BadRequest field `authorization_request`.
@@ -654,6 +722,9 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
654
722
  */
655
723
  submitDeferredZkProof(input: SubmitDeferredZkProofRequest, options?: RpcOptions): UnaryCall<SubmitDeferredZkProofRequest, SubmitDeferredZkProofResponse>;
656
724
  /**
725
+ * A sign-in's policy may require this enrollment before it completes, so
726
+ * it is a step of signing in.
727
+ *
657
728
  * @generated from protobuf rpc: StartTotpEnrollment
658
729
  */
659
730
  startTotpEnrollment(input: StartTotpEnrollmentRequest, options?: RpcOptions): UnaryCall<StartTotpEnrollmentRequest, TotpEnrollmentChallenge>;
@@ -697,6 +768,49 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
697
768
  * @generated from protobuf rpc: ResendOtp
698
769
  */
699
770
  resendOtp(input: ResendOtpRequest, options?: RpcOptions): UnaryCall<ResendOtpRequest, ResendOtpResponse>;
771
+ /**
772
+ * Admits the registration under the enrollment policy (instance claim,
773
+ * registration switch, enrollment mode, invite) before anything about the
774
+ * address is told, then mails a code to it. When admitted, an address
775
+ * already registered is refused before a code is created or sent
776
+ * (ALREADY_EXISTS, EMAIL_ALREADY_REGISTERED).
777
+ *
778
+ * @generated from protobuf rpc: StartEmailRegistration
779
+ */
780
+ startEmailRegistration(input: StartEmailRegistrationRequest, options?: RpcOptions): UnaryCall<StartEmailRegistrationRequest, StartEmailRegistrationResponse>;
781
+ /**
782
+ * A new code for the registration a start opened, replacing its previous
783
+ * one; refused like a start while registration is not admitted.
784
+ *
785
+ * @generated from protobuf rpc: ResendEmailRegistration
786
+ */
787
+ resendEmailRegistration(input: ResendEmailRegistrationRequest, options?: RpcOptions): UnaryCall<ResendEmailRegistrationRequest, ResendEmailRegistrationResponse>;
788
+ /**
789
+ * Confirms the address with its code and opens the registration's
790
+ * context: an HttpOnly cookie for a browser (with the CSRF token of its
791
+ * later steps in the answer) or `authorization` metadata for a native
792
+ * client, never a token in the body. The context admits the registration's
793
+ * first passkey only: no account call, consent or grant.
794
+ *
795
+ * @generated from protobuf rpc: VerifyEmailRegistration
796
+ */
797
+ verifyEmailRegistration(input: VerifyEmailRegistrationRequest, options?: RpcOptions): UnaryCall<VerifyEmailRegistrationRequest, VerifyEmailRegistrationResponse>;
798
+ /**
799
+ * Starts the registration's first passkey, admitted by its context only;
800
+ * an existing account's passkeys are managed by WebAuthnRegistration*.
801
+ *
802
+ * @generated from protobuf rpc: PasskeyRegistrationStart
803
+ */
804
+ passkeyRegistrationStart(input: PasskeyRegistrationStartRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationStartRequest, PasskeyRegistrationStartResponse>;
805
+ /**
806
+ * Commits the account with its confirmed address and its first passkey in
807
+ * one operation, rechecking the registration's admission and the address.
808
+ * A retry by the same context answers the recorded credential; no second
809
+ * key and no session.
810
+ *
811
+ * @generated from protobuf rpc: PasskeyRegistrationFinish
812
+ */
813
+ passkeyRegistrationFinish(input: PasskeyRegistrationFinishRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationFinishRequest, PasskeyRegistrationFinishResponse>;
700
814
  /**
701
815
  * @generated from protobuf rpc: ResendEmailVerification
702
816
  */