@structured-id/proto 0.17.0 → 0.19.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 (157) hide show
  1. package/CHANGELOG.md +14 -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 +102 -0
  64. package/dist/generated/sid/v1/authn/auth.client.js +88 -21
  65. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  66. package/dist/generated/sid/v1/authn/auth.d.ts +300 -11
  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/flows.js +26 -26
  70. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  71. package/dist/generated/sid/v1/authn/issuer.client.d.ts +8 -2
  72. package/dist/generated/sid/v1/authn/issuer.client.js +4 -1
  73. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  74. package/dist/generated/sid/v1/authn/issuer.d.ts +13 -6
  75. package/dist/generated/sid/v1/authn/issuer.js +19 -19
  76. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  77. package/dist/generated/sid/v1/authn/password_history.client.d.ts +2 -2
  78. package/dist/generated/sid/v1/authn/password_history.client.js +1 -1
  79. package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
  80. package/dist/generated/sid/v1/authn/password_history.d.ts +15 -0
  81. package/dist/generated/sid/v1/authn/password_history.js +11 -3
  82. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  83. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  84. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  85. package/dist/generated/sid/v1/authz/authz.client.d.ts +60 -0
  86. package/dist/generated/sid/v1/authz/authz.client.js +49 -17
  87. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  88. package/dist/generated/sid/v1/authz/authz.d.ts +195 -2
  89. package/dist/generated/sid/v1/authz/authz.js +322 -29
  90. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  91. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  92. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  93. package/dist/generated/sid/v1/authz/governance.js +4 -4
  94. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  95. package/dist/generated/sid/v1/common/access.d.ts +219 -0
  96. package/dist/generated/sid/v1/common/access.js +285 -0
  97. package/dist/generated/sid/v1/common/access.js.map +1 -0
  98. package/dist/generated/sid/v1/common/errors.d.ts +45 -0
  99. package/dist/generated/sid/v1/common/errors.js +45 -0
  100. package/dist/generated/sid/v1/common/errors.js.map +1 -1
  101. package/dist/generated/sid/v1/common/maintenance.d.ts +50 -0
  102. package/dist/generated/sid/v1/common/maintenance.js +56 -0
  103. package/dist/generated/sid/v1/common/maintenance.js.map +1 -0
  104. package/dist/generated/sid/v1/common/operation.js +1 -1
  105. package/dist/generated/sid/v1/common/operation.js.map +1 -1
  106. package/dist/generated/sid/v1/events/event_stream.js +2 -2
  107. package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
  108. package/dist/generated/sid/v1/federation/entry.client.d.ts +190 -0
  109. package/dist/generated/sid/v1/federation/entry.client.js +123 -0
  110. package/dist/generated/sid/v1/federation/entry.client.js.map +1 -0
  111. package/dist/generated/sid/v1/federation/entry.d.ts +490 -0
  112. package/dist/generated/sid/v1/federation/entry.js +795 -0
  113. package/dist/generated/sid/v1/federation/entry.js.map +1 -0
  114. package/dist/generated/sid/v1/federation/platform_ca.client.d.ts +77 -0
  115. package/dist/generated/sid/v1/federation/platform_ca.client.js +47 -0
  116. package/dist/generated/sid/v1/federation/platform_ca.client.js.map +1 -0
  117. package/dist/generated/sid/v1/federation/platform_ca.d.ts +186 -0
  118. package/dist/generated/sid/v1/federation/platform_ca.js +285 -0
  119. package/dist/generated/sid/v1/federation/platform_ca.js.map +1 -0
  120. package/dist/generated/sid/v1/federation/site.client.d.ts +99 -0
  121. package/dist/generated/sid/v1/federation/site.client.js +62 -0
  122. package/dist/generated/sid/v1/federation/site.client.js.map +1 -0
  123. package/dist/generated/sid/v1/federation/site.d.ts +219 -0
  124. package/dist/generated/sid/v1/federation/site.js +416 -0
  125. package/dist/generated/sid/v1/federation/site.js.map +1 -0
  126. package/dist/generated/sid/v1/federation/site_admission.client.d.ts +71 -0
  127. package/dist/generated/sid/v1/federation/site_admission.client.js +42 -0
  128. package/dist/generated/sid/v1/federation/site_admission.client.js.map +1 -0
  129. package/dist/generated/sid/v1/federation/site_admission.d.ts +36 -0
  130. package/dist/generated/sid/v1/federation/site_admission.js +64 -0
  131. package/dist/generated/sid/v1/federation/site_admission.js.map +1 -0
  132. package/dist/generated/sid/v1/federation/upstream.d.ts +33 -2
  133. package/dist/generated/sid/v1/federation/upstream.js +49 -9
  134. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  135. package/dist/generated/sid/v1/identity/identity.client.d.ts +6 -0
  136. package/dist/generated/sid/v1/identity/identity.client.js +3 -0
  137. package/dist/generated/sid/v1/identity/identity.client.js.map +1 -1
  138. package/dist/generated/sid/v1/identity/identity.d.ts +19 -1
  139. package/dist/generated/sid/v1/identity/identity.js +49 -31
  140. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  141. package/dist/generated/sid/v1/machine/machine_user.js +14 -14
  142. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  143. package/dist/generated/sid/v1/machine/pat.js +7 -7
  144. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  145. package/dist/generated/sid/v1/projects/projects.d.ts +32 -6
  146. package/dist/generated/sid/v1/projects/projects.js +34 -27
  147. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  148. package/dist/generated/sid/v1/scim/scim.js +28 -28
  149. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  150. package/dist/generated/sid/v1/test/test.client.d.ts +2 -0
  151. package/dist/generated/sid/v1/test/test.client.js +1 -0
  152. package/dist/generated/sid/v1/test/test.client.js.map +1 -1
  153. package/dist/generated/sid/v1/test/test.js +12 -12
  154. package/dist/generated/sid/v1/test/test.js.map +1 -1
  155. package/dist/generated/sid/v1/ui/public_settings.js +2 -2
  156. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
  157. package/package.json +4 -4
@@ -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,OAA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,6HAA6H,EAAE,EAAE,EAAE,CAAC,EAAE,qBAAqB,EAAE,CAAC,EAAE,QAAQ,EAAE;IAChS,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,0HAA0H,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,kBAAkB,EAAE;IACjS,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,mIAAmI,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,6BAA6B,EAAE;IACrT,EAAE,IAAI,EAAE,0BAA0B,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,oJAAoJ,EAAE,EAAE,EAAE,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,QAAQ,EAAE;CAC1X,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.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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AAE,qBAAqB,EAAE,CAAC,EAAE,QAAQ,EAAE;IAC5a,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,uEAAuE,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,0HAA0H,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,kBAAkB,EAAE;IAC5Y,EAAE,IAAI,EAAE,uBAAuB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,uEAAuE,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,mIAAmI,EAAE,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,CAAC,EAAE,6BAA6B,EAAE;IACha,EAAE,IAAI,EAAE,0BAA0B,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,2GAA2G,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,oJAAoJ,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";
@@ -310,6 +320,9 @@ export interface IAuthServiceClient {
310
320
  */
311
321
  submitDeferredZkProof(input: SubmitDeferredZkProofRequest, options?: RpcOptions): UnaryCall<SubmitDeferredZkProofRequest, SubmitDeferredZkProofResponse>;
312
322
  /**
323
+ * A sign-in's policy may require this enrollment before it completes, so
324
+ * it is a step of signing in.
325
+ *
313
326
  * @generated from protobuf rpc: StartTotpEnrollment
314
327
  */
315
328
  startTotpEnrollment(input: StartTotpEnrollmentRequest, options?: RpcOptions): UnaryCall<StartTotpEnrollmentRequest, TotpEnrollmentChallenge>;
@@ -353,6 +366,49 @@ export interface IAuthServiceClient {
353
366
  * @generated from protobuf rpc: ResendOtp
354
367
  */
355
368
  resendOtp(input: ResendOtpRequest, options?: RpcOptions): UnaryCall<ResendOtpRequest, ResendOtpResponse>;
369
+ /**
370
+ * Admits the registration under the enrollment policy (instance claim,
371
+ * registration switch, enrollment mode, invite) before anything about the
372
+ * address is told, then mails a code to it. When admitted, an address
373
+ * already registered is refused before a code is created or sent
374
+ * (ALREADY_EXISTS, EMAIL_ALREADY_REGISTERED).
375
+ *
376
+ * @generated from protobuf rpc: StartEmailRegistration
377
+ */
378
+ startEmailRegistration(input: StartEmailRegistrationRequest, options?: RpcOptions): UnaryCall<StartEmailRegistrationRequest, StartEmailRegistrationResponse>;
379
+ /**
380
+ * A new code for the registration a start opened, replacing its previous
381
+ * one; refused like a start while registration is not admitted.
382
+ *
383
+ * @generated from protobuf rpc: ResendEmailRegistration
384
+ */
385
+ resendEmailRegistration(input: ResendEmailRegistrationRequest, options?: RpcOptions): UnaryCall<ResendEmailRegistrationRequest, ResendEmailRegistrationResponse>;
386
+ /**
387
+ * Confirms the address with its code and opens the registration's
388
+ * context: an HttpOnly cookie for a browser (with the CSRF token of its
389
+ * later steps in the answer) or `authorization` metadata for a native
390
+ * client, never a token in the body. The context admits the registration's
391
+ * first passkey only: no account call, consent or grant.
392
+ *
393
+ * @generated from protobuf rpc: VerifyEmailRegistration
394
+ */
395
+ verifyEmailRegistration(input: VerifyEmailRegistrationRequest, options?: RpcOptions): UnaryCall<VerifyEmailRegistrationRequest, VerifyEmailRegistrationResponse>;
396
+ /**
397
+ * Starts the registration's first passkey, admitted by its context only;
398
+ * an existing account's passkeys are managed by WebAuthnRegistration*.
399
+ *
400
+ * @generated from protobuf rpc: PasskeyRegistrationStart
401
+ */
402
+ passkeyRegistrationStart(input: PasskeyRegistrationStartRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationStartRequest, PasskeyRegistrationStartResponse>;
403
+ /**
404
+ * Commits the account with its confirmed address and its first passkey in
405
+ * one operation, rechecking the registration's admission and the address.
406
+ * A retry by the same context answers the recorded credential; no second
407
+ * key and no session.
408
+ *
409
+ * @generated from protobuf rpc: PasskeyRegistrationFinish
410
+ */
411
+ passkeyRegistrationFinish(input: PasskeyRegistrationFinishRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationFinishRequest, PasskeyRegistrationFinishResponse>;
356
412
  /**
357
413
  * @generated from protobuf rpc: ResendEmailVerification
358
414
  */
@@ -654,6 +710,9 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
654
710
  */
655
711
  submitDeferredZkProof(input: SubmitDeferredZkProofRequest, options?: RpcOptions): UnaryCall<SubmitDeferredZkProofRequest, SubmitDeferredZkProofResponse>;
656
712
  /**
713
+ * A sign-in's policy may require this enrollment before it completes, so
714
+ * it is a step of signing in.
715
+ *
657
716
  * @generated from protobuf rpc: StartTotpEnrollment
658
717
  */
659
718
  startTotpEnrollment(input: StartTotpEnrollmentRequest, options?: RpcOptions): UnaryCall<StartTotpEnrollmentRequest, TotpEnrollmentChallenge>;
@@ -697,6 +756,49 @@ export declare class AuthServiceClient implements IAuthServiceClient, ServiceInf
697
756
  * @generated from protobuf rpc: ResendOtp
698
757
  */
699
758
  resendOtp(input: ResendOtpRequest, options?: RpcOptions): UnaryCall<ResendOtpRequest, ResendOtpResponse>;
759
+ /**
760
+ * Admits the registration under the enrollment policy (instance claim,
761
+ * registration switch, enrollment mode, invite) before anything about the
762
+ * address is told, then mails a code to it. When admitted, an address
763
+ * already registered is refused before a code is created or sent
764
+ * (ALREADY_EXISTS, EMAIL_ALREADY_REGISTERED).
765
+ *
766
+ * @generated from protobuf rpc: StartEmailRegistration
767
+ */
768
+ startEmailRegistration(input: StartEmailRegistrationRequest, options?: RpcOptions): UnaryCall<StartEmailRegistrationRequest, StartEmailRegistrationResponse>;
769
+ /**
770
+ * A new code for the registration a start opened, replacing its previous
771
+ * one; refused like a start while registration is not admitted.
772
+ *
773
+ * @generated from protobuf rpc: ResendEmailRegistration
774
+ */
775
+ resendEmailRegistration(input: ResendEmailRegistrationRequest, options?: RpcOptions): UnaryCall<ResendEmailRegistrationRequest, ResendEmailRegistrationResponse>;
776
+ /**
777
+ * Confirms the address with its code and opens the registration's
778
+ * context: an HttpOnly cookie for a browser (with the CSRF token of its
779
+ * later steps in the answer) or `authorization` metadata for a native
780
+ * client, never a token in the body. The context admits the registration's
781
+ * first passkey only: no account call, consent or grant.
782
+ *
783
+ * @generated from protobuf rpc: VerifyEmailRegistration
784
+ */
785
+ verifyEmailRegistration(input: VerifyEmailRegistrationRequest, options?: RpcOptions): UnaryCall<VerifyEmailRegistrationRequest, VerifyEmailRegistrationResponse>;
786
+ /**
787
+ * Starts the registration's first passkey, admitted by its context only;
788
+ * an existing account's passkeys are managed by WebAuthnRegistration*.
789
+ *
790
+ * @generated from protobuf rpc: PasskeyRegistrationStart
791
+ */
792
+ passkeyRegistrationStart(input: PasskeyRegistrationStartRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationStartRequest, PasskeyRegistrationStartResponse>;
793
+ /**
794
+ * Commits the account with its confirmed address and its first passkey in
795
+ * one operation, rechecking the registration's admission and the address.
796
+ * A retry by the same context answers the recorded credential; no second
797
+ * key and no session.
798
+ *
799
+ * @generated from protobuf rpc: PasskeyRegistrationFinish
800
+ */
801
+ passkeyRegistrationFinish(input: PasskeyRegistrationFinishRequest, options?: RpcOptions): UnaryCall<PasskeyRegistrationFinishRequest, PasskeyRegistrationFinishResponse>;
700
802
  /**
701
803
  * @generated from protobuf rpc: ResendEmailVerification
702
804
  */
@@ -287,6 +287,9 @@ export class AuthServiceClient {
287
287
  }
288
288
  // ── MFA TOTP ──
289
289
  /**
290
+ * A sign-in's policy may require this enrollment before it completes, so
291
+ * it is a step of signing in.
292
+ *
290
293
  * @generated from protobuf rpc: StartTotpEnrollment
291
294
  */
292
295
  startTotpEnrollment(input, options) {
@@ -363,26 +366,90 @@ export class AuthServiceClient {
363
366
  const method = this.methods[37], opt = this._transport.mergeOptions(options);
364
367
  return stackIntercept("unary", this._transport, method, opt, input);
365
368
  }
369
+ // ── Passwordless registration (email code, first passkey) ──
370
+ //
371
+ // A new local account whose first credential is a passkey: an email code
372
+ // confirms the address and opens the registration's context, which admits
373
+ // only that registration's first passkey. Registering the key opens no
374
+ // session; the account then signs in with it (WebAuthnAuthentication*).
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, options) {
385
+ const method = this.methods[38], opt = this._transport.mergeOptions(options);
386
+ return stackIntercept("unary", this._transport, method, opt, input);
387
+ }
388
+ /**
389
+ * A new code for the registration a start opened, replacing its previous
390
+ * one; refused like a start while registration is not admitted.
391
+ *
392
+ * @generated from protobuf rpc: ResendEmailRegistration
393
+ */
394
+ resendEmailRegistration(input, options) {
395
+ const method = this.methods[39], opt = this._transport.mergeOptions(options);
396
+ return stackIntercept("unary", this._transport, method, opt, input);
397
+ }
398
+ /**
399
+ * Confirms the address with its code and opens the registration's
400
+ * context: an HttpOnly cookie for a browser (with the CSRF token of its
401
+ * later steps in the answer) or `authorization` metadata for a native
402
+ * client, never a token in the body. The context admits the registration's
403
+ * first passkey only: no account call, consent or grant.
404
+ *
405
+ * @generated from protobuf rpc: VerifyEmailRegistration
406
+ */
407
+ verifyEmailRegistration(input, options) {
408
+ const method = this.methods[40], opt = this._transport.mergeOptions(options);
409
+ return stackIntercept("unary", this._transport, method, opt, input);
410
+ }
411
+ /**
412
+ * Starts the registration's first passkey, admitted by its context only;
413
+ * an existing account's passkeys are managed by WebAuthnRegistration*.
414
+ *
415
+ * @generated from protobuf rpc: PasskeyRegistrationStart
416
+ */
417
+ passkeyRegistrationStart(input, options) {
418
+ const method = this.methods[41], opt = this._transport.mergeOptions(options);
419
+ return stackIntercept("unary", this._transport, method, opt, input);
420
+ }
421
+ /**
422
+ * Commits the account with its confirmed address and its first passkey in
423
+ * one operation, rechecking the registration's admission and the address.
424
+ * A retry by the same context answers the recorded credential; no second
425
+ * key and no session.
426
+ *
427
+ * @generated from protobuf rpc: PasskeyRegistrationFinish
428
+ */
429
+ passkeyRegistrationFinish(input, options) {
430
+ const method = this.methods[42], opt = this._transport.mergeOptions(options);
431
+ return stackIntercept("unary", this._transport, method, opt, input);
432
+ }
366
433
  // ── Email/Phone verification ──
367
434
  /**
368
435
  * @generated from protobuf rpc: ResendEmailVerification
369
436
  */
370
437
  resendEmailVerification(input, options) {
371
- const method = this.methods[38], opt = this._transport.mergeOptions(options);
438
+ const method = this.methods[43], opt = this._transport.mergeOptions(options);
372
439
  return stackIntercept("unary", this._transport, method, opt, input);
373
440
  }
374
441
  /**
375
442
  * @generated from protobuf rpc: VerifyPhone
376
443
  */
377
444
  verifyPhone(input, options) {
378
- const method = this.methods[39], opt = this._transport.mergeOptions(options);
445
+ const method = this.methods[44], opt = this._transport.mergeOptions(options);
379
446
  return stackIntercept("unary", this._transport, method, opt, input);
380
447
  }
381
448
  /**
382
449
  * @generated from protobuf rpc: ResendPhoneVerification
383
450
  */
384
451
  resendPhoneVerification(input, options) {
385
- const method = this.methods[40], opt = this._transport.mergeOptions(options);
452
+ const method = this.methods[45], opt = this._transport.mergeOptions(options);
386
453
  return stackIntercept("unary", this._transport, method, opt, input);
387
454
  }
388
455
  // ── IdP linking ──
@@ -390,7 +457,7 @@ export class AuthServiceClient {
390
457
  * @generated from protobuf rpc: ConfirmIdpLink
391
458
  */
392
459
  confirmIdpLink(input, options) {
393
- const method = this.methods[41], opt = this._transport.mergeOptions(options);
460
+ const method = this.methods[46], opt = this._transport.mergeOptions(options);
394
461
  return stackIntercept("unary", this._transport, method, opt, input);
395
462
  }
396
463
  // ── Organization selector (multi-org login) ──
@@ -398,14 +465,14 @@ export class AuthServiceClient {
398
465
  * @generated from protobuf rpc: ListUserOrganizations
399
466
  */
400
467
  listUserOrganizations(input, options) {
401
- const method = this.methods[42], opt = this._transport.mergeOptions(options);
468
+ const method = this.methods[47], opt = this._transport.mergeOptions(options);
402
469
  return stackIntercept("unary", this._transport, method, opt, input);
403
470
  }
404
471
  /**
405
472
  * @generated from protobuf rpc: SelectOrganization
406
473
  */
407
474
  selectOrganization(input, options) {
408
- const method = this.methods[43], opt = this._transport.mergeOptions(options);
475
+ const method = this.methods[48], opt = this._transport.mergeOptions(options);
409
476
  return stackIntercept("unary", this._transport, method, opt, input);
410
477
  }
411
478
  // ── Terms acceptance ──
@@ -413,14 +480,14 @@ export class AuthServiceClient {
413
480
  * @generated from protobuf rpc: GetTerms
414
481
  */
415
482
  getTerms(input, options) {
416
- const method = this.methods[44], opt = this._transport.mergeOptions(options);
483
+ const method = this.methods[49], opt = this._transport.mergeOptions(options);
417
484
  return stackIntercept("unary", this._transport, method, opt, input);
418
485
  }
419
486
  /**
420
487
  * @generated from protobuf rpc: AcceptTerms
421
488
  */
422
489
  acceptTerms(input, options) {
423
- const method = this.methods[45], opt = this._transport.mergeOptions(options);
490
+ const method = this.methods[50], opt = this._transport.mergeOptions(options);
424
491
  return stackIntercept("unary", this._transport, method, opt, input);
425
492
  }
426
493
  // ── CIBA consent ──
@@ -428,14 +495,14 @@ export class AuthServiceClient {
428
495
  * @generated from protobuf rpc: ApproveCiba
429
496
  */
430
497
  approveCiba(input, options) {
431
- const method = this.methods[46], opt = this._transport.mergeOptions(options);
498
+ const method = this.methods[51], opt = this._transport.mergeOptions(options);
432
499
  return stackIntercept("unary", this._transport, method, opt, input);
433
500
  }
434
501
  /**
435
502
  * @generated from protobuf rpc: DenyCiba
436
503
  */
437
504
  denyCiba(input, options) {
438
- const method = this.methods[47], opt = this._transport.mergeOptions(options);
505
+ const method = this.methods[52], opt = this._transport.mergeOptions(options);
439
506
  return stackIntercept("unary", this._transport, method, opt, input);
440
507
  }
441
508
  // ── Captcha ──
@@ -443,7 +510,7 @@ export class AuthServiceClient {
443
510
  * @generated from protobuf rpc: VerifyCaptcha
444
511
  */
445
512
  verifyCaptcha(input, options) {
446
- const method = this.methods[48], opt = this._transport.mergeOptions(options);
513
+ const method = this.methods[53], opt = this._transport.mergeOptions(options);
447
514
  return stackIntercept("unary", this._transport, method, opt, input);
448
515
  }
449
516
  // ── Dynamic prompt (custom auth steps) ──
@@ -451,14 +518,14 @@ export class AuthServiceClient {
451
518
  * @generated from protobuf rpc: GetDynamicPrompt
452
519
  */
453
520
  getDynamicPrompt(input, options) {
454
- const method = this.methods[49], opt = this._transport.mergeOptions(options);
521
+ const method = this.methods[54], opt = this._transport.mergeOptions(options);
455
522
  return stackIntercept("unary", this._transport, method, opt, input);
456
523
  }
457
524
  /**
458
525
  * @generated from protobuf rpc: SubmitDynamicPrompt
459
526
  */
460
527
  submitDynamicPrompt(input, options) {
461
- const method = this.methods[50], opt = this._transport.mergeOptions(options);
528
+ const method = this.methods[55], opt = this._transport.mergeOptions(options);
462
529
  return stackIntercept("unary", this._transport, method, opt, input);
463
530
  }
464
531
  // ── Step-up authentication ──
@@ -468,7 +535,7 @@ export class AuthServiceClient {
468
535
  * @generated from protobuf rpc: RequestStepUp
469
536
  */
470
537
  requestStepUp(input, options) {
471
- const method = this.methods[51], opt = this._transport.mergeOptions(options);
538
+ const method = this.methods[56], opt = this._transport.mergeOptions(options);
472
539
  return stackIntercept("unary", this._transport, method, opt, input);
473
540
  }
474
541
  /**
@@ -477,7 +544,7 @@ export class AuthServiceClient {
477
544
  * @generated from protobuf rpc: CompleteStepUp
478
545
  */
479
546
  completeStepUp(input, options) {
480
- const method = this.methods[52], opt = this._transport.mergeOptions(options);
547
+ const method = this.methods[57], opt = this._transport.mergeOptions(options);
481
548
  return stackIntercept("unary", this._transport, method, opt, input);
482
549
  }
483
550
  // ── MFA credential management ──
@@ -488,7 +555,7 @@ export class AuthServiceClient {
488
555
  * @generated from protobuf rpc: DeleteMfaCredential
489
556
  */
490
557
  deleteMfaCredential(input, options) {
491
- const method = this.methods[53], opt = this._transport.mergeOptions(options);
558
+ const method = this.methods[58], opt = this._transport.mergeOptions(options);
492
559
  return stackIntercept("unary", this._transport, method, opt, input);
493
560
  }
494
561
  // ── Account deletion confirmation ──
@@ -496,7 +563,7 @@ export class AuthServiceClient {
496
563
  * @generated from protobuf rpc: ConfirmAccountDeletion
497
564
  */
498
565
  confirmAccountDeletion(input, options) {
499
- const method = this.methods[54], opt = this._transport.mergeOptions(options);
566
+ const method = this.methods[59], opt = this._transport.mergeOptions(options);
500
567
  return stackIntercept("unary", this._transport, method, opt, input);
501
568
  }
502
569
  /**
@@ -505,14 +572,14 @@ export class AuthServiceClient {
505
572
  * @generated from protobuf rpc: RequestPasswordReset
506
573
  */
507
574
  requestPasswordReset(input, options) {
508
- const method = this.methods[55], opt = this._transport.mergeOptions(options);
575
+ const method = this.methods[60], opt = this._transport.mergeOptions(options);
509
576
  return stackIntercept("unary", this._transport, method, opt, input);
510
577
  }
511
578
  /**
512
579
  * @generated from protobuf rpc: VerifyPasswordReset
513
580
  */
514
581
  verifyPasswordReset(input, options) {
515
- const method = this.methods[56], opt = this._transport.mergeOptions(options);
582
+ const method = this.methods[61], opt = this._transport.mergeOptions(options);
516
583
  return stackIntercept("unary", this._transport, method, opt, input);
517
584
  }
518
585
  /**
@@ -522,7 +589,7 @@ export class AuthServiceClient {
522
589
  * @generated from protobuf rpc: ExecutePasswordReset
523
590
  */
524
591
  executePasswordReset(input, options) {
525
- const method = this.methods[57], opt = this._transport.mergeOptions(options);
592
+ const method = this.methods[62], opt = this._transport.mergeOptions(options);
526
593
  return stackIntercept("unary", this._transport, method, opt, input);
527
594
  }
528
595
  /**
@@ -532,7 +599,7 @@ export class AuthServiceClient {
532
599
  * @generated from protobuf rpc: CompletePasswordReset
533
600
  */
534
601
  completePasswordReset(input, options) {
535
- const method = this.methods[58], opt = this._transport.mergeOptions(options);
602
+ const method = this.methods[63], opt = this._transport.mergeOptions(options);
536
603
  return stackIntercept("unary", this._transport, method, opt, input);
537
604
  }
538
605
  }