@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
@@ -4440,6 +4440,539 @@ class ResendOtpResponse$Type extends MessageType {
4440
4440
  */
4441
4441
  export const ResendOtpResponse = new ResendOtpResponse$Type();
4442
4442
  // @generated message type with reflection information, may provide speed optimized methods
4443
+ class StartEmailRegistrationRequest$Type extends MessageType {
4444
+ constructor() {
4445
+ super("sid.v1.authn.StartEmailRegistrationRequest", [
4446
+ { no: 1, name: "principal", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4447
+ { no: 2, name: "invite_code", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
4448
+ { no: 3, name: "claim_token", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
4449
+ ]);
4450
+ }
4451
+ create(value) {
4452
+ const message = globalThis.Object.create((this.messagePrototype));
4453
+ message.principal = "";
4454
+ if (value !== undefined)
4455
+ reflectionMergePartial(this, message, value);
4456
+ return message;
4457
+ }
4458
+ internalBinaryRead(reader, length, options, target) {
4459
+ let message = target ?? this.create(), end = reader.pos + length;
4460
+ while (reader.pos < end) {
4461
+ let [fieldNo, wireType] = reader.tag();
4462
+ switch (fieldNo) {
4463
+ case /* string principal */ 1:
4464
+ message.principal = reader.string();
4465
+ break;
4466
+ case /* optional string invite_code */ 2:
4467
+ message.inviteCode = reader.string();
4468
+ break;
4469
+ case /* optional string claim_token */ 3:
4470
+ message.claimToken = reader.string();
4471
+ break;
4472
+ default:
4473
+ let u = options.readUnknownField;
4474
+ if (u === "throw")
4475
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4476
+ let d = reader.skip(wireType);
4477
+ if (u !== false)
4478
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4479
+ }
4480
+ }
4481
+ return message;
4482
+ }
4483
+ internalBinaryWrite(message, writer, options) {
4484
+ /* string principal = 1; */
4485
+ if (message.principal !== "")
4486
+ writer.tag(1, WireType.LengthDelimited).string(message.principal);
4487
+ /* optional string invite_code = 2; */
4488
+ if (message.inviteCode !== undefined)
4489
+ writer.tag(2, WireType.LengthDelimited).string(message.inviteCode);
4490
+ /* optional string claim_token = 3; */
4491
+ if (message.claimToken !== undefined)
4492
+ writer.tag(3, WireType.LengthDelimited).string(message.claimToken);
4493
+ let u = options.writeUnknownFields;
4494
+ if (u !== false)
4495
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4496
+ return writer;
4497
+ }
4498
+ }
4499
+ /**
4500
+ * @generated MessageType for protobuf message sid.v1.authn.StartEmailRegistrationRequest
4501
+ */
4502
+ export const StartEmailRegistrationRequest = new StartEmailRegistrationRequest$Type();
4503
+ // @generated message type with reflection information, may provide speed optimized methods
4504
+ class StartEmailRegistrationResponse$Type extends MessageType {
4505
+ constructor() {
4506
+ super("sid.v1.authn.StartEmailRegistrationResponse", [
4507
+ { no: 1, name: "otp_session_id", kind: "message", T: () => OtpSessionId },
4508
+ { no: 2, name: "masked_target", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4509
+ { no: 3, name: "expires_in_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
4510
+ { no: 4, name: "code_length", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
4511
+ ]);
4512
+ }
4513
+ create(value) {
4514
+ const message = globalThis.Object.create((this.messagePrototype));
4515
+ message.maskedTarget = "";
4516
+ message.expiresInSeconds = 0;
4517
+ message.codeLength = 0;
4518
+ if (value !== undefined)
4519
+ reflectionMergePartial(this, message, value);
4520
+ return message;
4521
+ }
4522
+ internalBinaryRead(reader, length, options, target) {
4523
+ let message = target ?? this.create(), end = reader.pos + length;
4524
+ while (reader.pos < end) {
4525
+ let [fieldNo, wireType] = reader.tag();
4526
+ switch (fieldNo) {
4527
+ case /* sid.v1.ids.OtpSessionId otp_session_id */ 1:
4528
+ message.otpSessionId = OtpSessionId.internalBinaryRead(reader, reader.uint32(), options, message.otpSessionId);
4529
+ break;
4530
+ case /* string masked_target */ 2:
4531
+ message.maskedTarget = reader.string();
4532
+ break;
4533
+ case /* uint32 expires_in_seconds */ 3:
4534
+ message.expiresInSeconds = reader.uint32();
4535
+ break;
4536
+ case /* uint32 code_length */ 4:
4537
+ message.codeLength = reader.uint32();
4538
+ break;
4539
+ default:
4540
+ let u = options.readUnknownField;
4541
+ if (u === "throw")
4542
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4543
+ let d = reader.skip(wireType);
4544
+ if (u !== false)
4545
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4546
+ }
4547
+ }
4548
+ return message;
4549
+ }
4550
+ internalBinaryWrite(message, writer, options) {
4551
+ /* sid.v1.ids.OtpSessionId otp_session_id = 1; */
4552
+ if (message.otpSessionId)
4553
+ OtpSessionId.internalBinaryWrite(message.otpSessionId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
4554
+ /* string masked_target = 2; */
4555
+ if (message.maskedTarget !== "")
4556
+ writer.tag(2, WireType.LengthDelimited).string(message.maskedTarget);
4557
+ /* uint32 expires_in_seconds = 3; */
4558
+ if (message.expiresInSeconds !== 0)
4559
+ writer.tag(3, WireType.Varint).uint32(message.expiresInSeconds);
4560
+ /* uint32 code_length = 4; */
4561
+ if (message.codeLength !== 0)
4562
+ writer.tag(4, WireType.Varint).uint32(message.codeLength);
4563
+ let u = options.writeUnknownFields;
4564
+ if (u !== false)
4565
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4566
+ return writer;
4567
+ }
4568
+ }
4569
+ /**
4570
+ * @generated MessageType for protobuf message sid.v1.authn.StartEmailRegistrationResponse
4571
+ */
4572
+ export const StartEmailRegistrationResponse = new StartEmailRegistrationResponse$Type();
4573
+ // @generated message type with reflection information, may provide speed optimized methods
4574
+ class ResendEmailRegistrationRequest$Type extends MessageType {
4575
+ constructor() {
4576
+ super("sid.v1.authn.ResendEmailRegistrationRequest", [
4577
+ { no: 1, name: "otp_session_id", kind: "message", T: () => OtpSessionId }
4578
+ ]);
4579
+ }
4580
+ create(value) {
4581
+ const message = globalThis.Object.create((this.messagePrototype));
4582
+ if (value !== undefined)
4583
+ reflectionMergePartial(this, message, value);
4584
+ return message;
4585
+ }
4586
+ internalBinaryRead(reader, length, options, target) {
4587
+ let message = target ?? this.create(), end = reader.pos + length;
4588
+ while (reader.pos < end) {
4589
+ let [fieldNo, wireType] = reader.tag();
4590
+ switch (fieldNo) {
4591
+ case /* sid.v1.ids.OtpSessionId otp_session_id */ 1:
4592
+ message.otpSessionId = OtpSessionId.internalBinaryRead(reader, reader.uint32(), options, message.otpSessionId);
4593
+ break;
4594
+ default:
4595
+ let u = options.readUnknownField;
4596
+ if (u === "throw")
4597
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4598
+ let d = reader.skip(wireType);
4599
+ if (u !== false)
4600
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4601
+ }
4602
+ }
4603
+ return message;
4604
+ }
4605
+ internalBinaryWrite(message, writer, options) {
4606
+ /* sid.v1.ids.OtpSessionId otp_session_id = 1; */
4607
+ if (message.otpSessionId)
4608
+ OtpSessionId.internalBinaryWrite(message.otpSessionId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
4609
+ let u = options.writeUnknownFields;
4610
+ if (u !== false)
4611
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4612
+ return writer;
4613
+ }
4614
+ }
4615
+ /**
4616
+ * @generated MessageType for protobuf message sid.v1.authn.ResendEmailRegistrationRequest
4617
+ */
4618
+ export const ResendEmailRegistrationRequest = new ResendEmailRegistrationRequest$Type();
4619
+ // @generated message type with reflection information, may provide speed optimized methods
4620
+ class ResendEmailRegistrationResponse$Type extends MessageType {
4621
+ constructor() {
4622
+ super("sid.v1.authn.ResendEmailRegistrationResponse", [
4623
+ { no: 1, name: "expires_in_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
4624
+ ]);
4625
+ }
4626
+ create(value) {
4627
+ const message = globalThis.Object.create((this.messagePrototype));
4628
+ message.expiresInSeconds = 0;
4629
+ if (value !== undefined)
4630
+ reflectionMergePartial(this, message, value);
4631
+ return message;
4632
+ }
4633
+ internalBinaryRead(reader, length, options, target) {
4634
+ let message = target ?? this.create(), end = reader.pos + length;
4635
+ while (reader.pos < end) {
4636
+ let [fieldNo, wireType] = reader.tag();
4637
+ switch (fieldNo) {
4638
+ case /* uint32 expires_in_seconds */ 1:
4639
+ message.expiresInSeconds = reader.uint32();
4640
+ break;
4641
+ default:
4642
+ let u = options.readUnknownField;
4643
+ if (u === "throw")
4644
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4645
+ let d = reader.skip(wireType);
4646
+ if (u !== false)
4647
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4648
+ }
4649
+ }
4650
+ return message;
4651
+ }
4652
+ internalBinaryWrite(message, writer, options) {
4653
+ /* uint32 expires_in_seconds = 1; */
4654
+ if (message.expiresInSeconds !== 0)
4655
+ writer.tag(1, WireType.Varint).uint32(message.expiresInSeconds);
4656
+ let u = options.writeUnknownFields;
4657
+ if (u !== false)
4658
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4659
+ return writer;
4660
+ }
4661
+ }
4662
+ /**
4663
+ * @generated MessageType for protobuf message sid.v1.authn.ResendEmailRegistrationResponse
4664
+ */
4665
+ export const ResendEmailRegistrationResponse = new ResendEmailRegistrationResponse$Type();
4666
+ // @generated message type with reflection information, may provide speed optimized methods
4667
+ class VerifyEmailRegistrationRequest$Type extends MessageType {
4668
+ constructor() {
4669
+ super("sid.v1.authn.VerifyEmailRegistrationRequest", [
4670
+ { no: 1, name: "otp_session_id", kind: "message", T: () => OtpSessionId },
4671
+ { no: 2, name: "code", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4672
+ ]);
4673
+ }
4674
+ create(value) {
4675
+ const message = globalThis.Object.create((this.messagePrototype));
4676
+ message.code = "";
4677
+ if (value !== undefined)
4678
+ reflectionMergePartial(this, message, value);
4679
+ return message;
4680
+ }
4681
+ internalBinaryRead(reader, length, options, target) {
4682
+ let message = target ?? this.create(), end = reader.pos + length;
4683
+ while (reader.pos < end) {
4684
+ let [fieldNo, wireType] = reader.tag();
4685
+ switch (fieldNo) {
4686
+ case /* sid.v1.ids.OtpSessionId otp_session_id */ 1:
4687
+ message.otpSessionId = OtpSessionId.internalBinaryRead(reader, reader.uint32(), options, message.otpSessionId);
4688
+ break;
4689
+ case /* string code */ 2:
4690
+ message.code = reader.string();
4691
+ break;
4692
+ default:
4693
+ let u = options.readUnknownField;
4694
+ if (u === "throw")
4695
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4696
+ let d = reader.skip(wireType);
4697
+ if (u !== false)
4698
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4699
+ }
4700
+ }
4701
+ return message;
4702
+ }
4703
+ internalBinaryWrite(message, writer, options) {
4704
+ /* sid.v1.ids.OtpSessionId otp_session_id = 1; */
4705
+ if (message.otpSessionId)
4706
+ OtpSessionId.internalBinaryWrite(message.otpSessionId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
4707
+ /* string code = 2; */
4708
+ if (message.code !== "")
4709
+ writer.tag(2, WireType.LengthDelimited).string(message.code);
4710
+ let u = options.writeUnknownFields;
4711
+ if (u !== false)
4712
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4713
+ return writer;
4714
+ }
4715
+ }
4716
+ /**
4717
+ * @generated MessageType for protobuf message sid.v1.authn.VerifyEmailRegistrationRequest
4718
+ */
4719
+ export const VerifyEmailRegistrationRequest = new VerifyEmailRegistrationRequest$Type();
4720
+ // @generated message type with reflection information, may provide speed optimized methods
4721
+ class VerifyEmailRegistrationResponse$Type extends MessageType {
4722
+ constructor() {
4723
+ super("sid.v1.authn.VerifyEmailRegistrationResponse", [
4724
+ { no: 1, name: "expires_in", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
4725
+ { no: 2, name: "browser_csrf", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
4726
+ ]);
4727
+ }
4728
+ create(value) {
4729
+ const message = globalThis.Object.create((this.messagePrototype));
4730
+ message.expiresIn = 0n;
4731
+ if (value !== undefined)
4732
+ reflectionMergePartial(this, message, value);
4733
+ return message;
4734
+ }
4735
+ internalBinaryRead(reader, length, options, target) {
4736
+ let message = target ?? this.create(), end = reader.pos + length;
4737
+ while (reader.pos < end) {
4738
+ let [fieldNo, wireType] = reader.tag();
4739
+ switch (fieldNo) {
4740
+ case /* int64 expires_in */ 1:
4741
+ message.expiresIn = reader.int64().toBigInt();
4742
+ break;
4743
+ case /* optional string browser_csrf */ 2:
4744
+ message.browserCsrf = reader.string();
4745
+ break;
4746
+ default:
4747
+ let u = options.readUnknownField;
4748
+ if (u === "throw")
4749
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4750
+ let d = reader.skip(wireType);
4751
+ if (u !== false)
4752
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4753
+ }
4754
+ }
4755
+ return message;
4756
+ }
4757
+ internalBinaryWrite(message, writer, options) {
4758
+ /* int64 expires_in = 1; */
4759
+ if (message.expiresIn !== 0n)
4760
+ writer.tag(1, WireType.Varint).int64(message.expiresIn);
4761
+ /* optional string browser_csrf = 2; */
4762
+ if (message.browserCsrf !== undefined)
4763
+ writer.tag(2, WireType.LengthDelimited).string(message.browserCsrf);
4764
+ let u = options.writeUnknownFields;
4765
+ if (u !== false)
4766
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4767
+ return writer;
4768
+ }
4769
+ }
4770
+ /**
4771
+ * @generated MessageType for protobuf message sid.v1.authn.VerifyEmailRegistrationResponse
4772
+ */
4773
+ export const VerifyEmailRegistrationResponse = new VerifyEmailRegistrationResponse$Type();
4774
+ // @generated message type with reflection information, may provide speed optimized methods
4775
+ class PasskeyRegistrationStartRequest$Type extends MessageType {
4776
+ constructor() {
4777
+ super("sid.v1.authn.PasskeyRegistrationStartRequest", [
4778
+ { no: 1, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
4779
+ ]);
4780
+ }
4781
+ create(value) {
4782
+ const message = globalThis.Object.create((this.messagePrototype));
4783
+ if (value !== undefined)
4784
+ reflectionMergePartial(this, message, value);
4785
+ return message;
4786
+ }
4787
+ internalBinaryRead(reader, length, options, target) {
4788
+ let message = target ?? this.create(), end = reader.pos + length;
4789
+ while (reader.pos < end) {
4790
+ let [fieldNo, wireType] = reader.tag();
4791
+ switch (fieldNo) {
4792
+ case /* optional string label */ 1:
4793
+ message.label = reader.string();
4794
+ break;
4795
+ default:
4796
+ let u = options.readUnknownField;
4797
+ if (u === "throw")
4798
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4799
+ let d = reader.skip(wireType);
4800
+ if (u !== false)
4801
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4802
+ }
4803
+ }
4804
+ return message;
4805
+ }
4806
+ internalBinaryWrite(message, writer, options) {
4807
+ /* optional string label = 1; */
4808
+ if (message.label !== undefined)
4809
+ writer.tag(1, WireType.LengthDelimited).string(message.label);
4810
+ let u = options.writeUnknownFields;
4811
+ if (u !== false)
4812
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4813
+ return writer;
4814
+ }
4815
+ }
4816
+ /**
4817
+ * @generated MessageType for protobuf message sid.v1.authn.PasskeyRegistrationStartRequest
4818
+ */
4819
+ export const PasskeyRegistrationStartRequest = new PasskeyRegistrationStartRequest$Type();
4820
+ // @generated message type with reflection information, may provide speed optimized methods
4821
+ class PasskeyRegistrationStartResponse$Type extends MessageType {
4822
+ constructor() {
4823
+ super("sid.v1.authn.PasskeyRegistrationStartResponse", [
4824
+ { no: 1, name: "challenge", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
4825
+ { no: 2, name: "options", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
4826
+ ]);
4827
+ }
4828
+ create(value) {
4829
+ const message = globalThis.Object.create((this.messagePrototype));
4830
+ message.challenge = new Uint8Array(0);
4831
+ message.options = new Uint8Array(0);
4832
+ if (value !== undefined)
4833
+ reflectionMergePartial(this, message, value);
4834
+ return message;
4835
+ }
4836
+ internalBinaryRead(reader, length, options, target) {
4837
+ let message = target ?? this.create(), end = reader.pos + length;
4838
+ while (reader.pos < end) {
4839
+ let [fieldNo, wireType] = reader.tag();
4840
+ switch (fieldNo) {
4841
+ case /* bytes challenge */ 1:
4842
+ message.challenge = reader.bytes();
4843
+ break;
4844
+ case /* bytes options */ 2:
4845
+ message.options = reader.bytes();
4846
+ break;
4847
+ default:
4848
+ let u = options.readUnknownField;
4849
+ if (u === "throw")
4850
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4851
+ let d = reader.skip(wireType);
4852
+ if (u !== false)
4853
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4854
+ }
4855
+ }
4856
+ return message;
4857
+ }
4858
+ internalBinaryWrite(message, writer, options) {
4859
+ /* bytes challenge = 1; */
4860
+ if (message.challenge.length)
4861
+ writer.tag(1, WireType.LengthDelimited).bytes(message.challenge);
4862
+ /* bytes options = 2; */
4863
+ if (message.options.length)
4864
+ writer.tag(2, WireType.LengthDelimited).bytes(message.options);
4865
+ let u = options.writeUnknownFields;
4866
+ if (u !== false)
4867
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4868
+ return writer;
4869
+ }
4870
+ }
4871
+ /**
4872
+ * @generated MessageType for protobuf message sid.v1.authn.PasskeyRegistrationStartResponse
4873
+ */
4874
+ export const PasskeyRegistrationStartResponse = new PasskeyRegistrationStartResponse$Type();
4875
+ // @generated message type with reflection information, may provide speed optimized methods
4876
+ class PasskeyRegistrationFinishRequest$Type extends MessageType {
4877
+ constructor() {
4878
+ super("sid.v1.authn.PasskeyRegistrationFinishRequest", [
4879
+ { no: 1, name: "credential", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
4880
+ { no: 2, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
4881
+ ]);
4882
+ }
4883
+ create(value) {
4884
+ const message = globalThis.Object.create((this.messagePrototype));
4885
+ message.credential = new Uint8Array(0);
4886
+ if (value !== undefined)
4887
+ reflectionMergePartial(this, message, value);
4888
+ return message;
4889
+ }
4890
+ internalBinaryRead(reader, length, options, target) {
4891
+ let message = target ?? this.create(), end = reader.pos + length;
4892
+ while (reader.pos < end) {
4893
+ let [fieldNo, wireType] = reader.tag();
4894
+ switch (fieldNo) {
4895
+ case /* bytes credential */ 1:
4896
+ message.credential = reader.bytes();
4897
+ break;
4898
+ case /* optional string label */ 2:
4899
+ message.label = reader.string();
4900
+ break;
4901
+ default:
4902
+ let u = options.readUnknownField;
4903
+ if (u === "throw")
4904
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4905
+ let d = reader.skip(wireType);
4906
+ if (u !== false)
4907
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4908
+ }
4909
+ }
4910
+ return message;
4911
+ }
4912
+ internalBinaryWrite(message, writer, options) {
4913
+ /* bytes credential = 1; */
4914
+ if (message.credential.length)
4915
+ writer.tag(1, WireType.LengthDelimited).bytes(message.credential);
4916
+ /* optional string label = 2; */
4917
+ if (message.label !== undefined)
4918
+ writer.tag(2, WireType.LengthDelimited).string(message.label);
4919
+ let u = options.writeUnknownFields;
4920
+ if (u !== false)
4921
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4922
+ return writer;
4923
+ }
4924
+ }
4925
+ /**
4926
+ * @generated MessageType for protobuf message sid.v1.authn.PasskeyRegistrationFinishRequest
4927
+ */
4928
+ export const PasskeyRegistrationFinishRequest = new PasskeyRegistrationFinishRequest$Type();
4929
+ // @generated message type with reflection information, may provide speed optimized methods
4930
+ class PasskeyRegistrationFinishResponse$Type extends MessageType {
4931
+ constructor() {
4932
+ super("sid.v1.authn.PasskeyRegistrationFinishResponse", [
4933
+ { no: 1, name: "credential_id", kind: "message", T: () => CredentialId }
4934
+ ]);
4935
+ }
4936
+ create(value) {
4937
+ const message = globalThis.Object.create((this.messagePrototype));
4938
+ if (value !== undefined)
4939
+ reflectionMergePartial(this, message, value);
4940
+ return message;
4941
+ }
4942
+ internalBinaryRead(reader, length, options, target) {
4943
+ let message = target ?? this.create(), end = reader.pos + length;
4944
+ while (reader.pos < end) {
4945
+ let [fieldNo, wireType] = reader.tag();
4946
+ switch (fieldNo) {
4947
+ case /* sid.v1.ids.CredentialId credential_id */ 1:
4948
+ message.credentialId = CredentialId.internalBinaryRead(reader, reader.uint32(), options, message.credentialId);
4949
+ break;
4950
+ default:
4951
+ let u = options.readUnknownField;
4952
+ if (u === "throw")
4953
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
4954
+ let d = reader.skip(wireType);
4955
+ if (u !== false)
4956
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
4957
+ }
4958
+ }
4959
+ return message;
4960
+ }
4961
+ internalBinaryWrite(message, writer, options) {
4962
+ /* sid.v1.ids.CredentialId credential_id = 1; */
4963
+ if (message.credentialId)
4964
+ CredentialId.internalBinaryWrite(message.credentialId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
4965
+ let u = options.writeUnknownFields;
4966
+ if (u !== false)
4967
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
4968
+ return writer;
4969
+ }
4970
+ }
4971
+ /**
4972
+ * @generated MessageType for protobuf message sid.v1.authn.PasskeyRegistrationFinishResponse
4973
+ */
4974
+ export const PasskeyRegistrationFinishResponse = new PasskeyRegistrationFinishResponse$Type();
4975
+ // @generated message type with reflection information, may provide speed optimized methods
4443
4976
  class ResendEmailVerificationRequest$Type extends MessageType {
4444
4977
  constructor() {
4445
4978
  super("sid.v1.authn.ResendEmailVerificationRequest", [
@@ -6883,64 +7416,69 @@ export const CompletePasswordResetResponse = new CompletePasswordResetResponse$T
6883
7416
  * @generated ServiceType for protobuf service sid.v1.authn.AuthService
6884
7417
  */
6885
7418
  export const AuthService = new ServiceType("sid.v1.authn.AuthService", [
6886
- { name: "OpaqueLoginStart", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/opaque/login/start", body: "*" } }, I: OpaqueLoginStartRequest, O: OpaqueLoginStartResponse },
6887
- { name: "OpaqueLoginFinish", options: { "google.api.http": { post: "/v1/auth/opaque/login/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A76: the login state is consumed by its finish; a repeat finds none and creates no session" } }, I: OpaqueLoginFinishRequest, O: OpaqueLoginFinishResponse },
6888
- { name: "OpaqueZkppRegistrationStart", options: { "google.api.http": { post: "/v1/auth/opaque-zkpp/registration/start", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A75: each start opens its own pending registration; nothing is registered before its finish" } }, I: OpaqueZkppRegistrationStartRequest, O: OpaqueZkppRegistrationStartResponse },
6889
- { name: "OpaqueZkppRegistrationFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/opaque-zkpp/registration/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A75: the registration's pending operation is consumed by its commit, which records its own outcome for a retry of the same operation" } }, I: OpaqueZkppRegistrationFinishRequest, O: OpaqueZkppRegistrationFinishResponse },
6890
- { name: "PasswordChangeChallenge", options: { "google.api.http": { post: "/v1/auth/password/change/challenge", body: "*" }, "sid.v1.common.retry": { ceremony: "each challenge opens its own pending change; nothing changes before its finish" } }, I: PasswordChangeChallengeRequest, O: PasswordChangeChallengeResponse },
6891
- { name: "PasswordChangeExecute", options: { "google.api.http": { post: "/v1/auth/password/change/execute", body: "*" }, "sid.v1.common.retry": { ceremony: "an OPAQUE step of the change (RFC 9807 \u00A75): it changes no account state, and the change commits only in its single-use finish" } }, I: PasswordChangeExecuteRequest, O: PasswordChangeExecuteResponse },
6892
- { name: "PasswordChangeFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/password/change/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "the change's pending operation is consumed by its commit: a repeat finds none and changes nothing" } }, I: PasswordChangeFinishRequest, O: Empty },
6893
- { name: "GetPasswordChangeRequirement", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/password/change/requirement" } }, I: Empty, O: Duration },
6894
- { name: "WebAuthnRegistrationStart", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/webauthn/registration/start", body: "*" } }, I: WebAuthnRegistrationStartRequest, O: WebAuthnRegistrationStartResponse },
6895
- { name: "WebAuthnRegistrationFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/webauthn/registration/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: the challenge is single-use; a repeat finds it spent and registers nothing" } }, I: WebAuthnRegistrationFinishRequest, O: WebAuthnRegistrationFinishResponse },
6896
- { name: "WebAuthnAuthenticationStart", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/webauthn/authentication/start", body: "*" } }, I: WebAuthnAuthenticationStartRequest, O: WebAuthnAuthenticationStartResponse },
6897
- { name: "WebAuthnAuthenticationFinish", options: { "google.api.http": { post: "/v1/auth/webauthn/authentication/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: the challenge is single-use; a repeat finds it spent and creates no session" } }, I: WebAuthnAuthenticationFinishRequest, O: WebAuthnAuthenticationFinishResponse },
6898
- { name: "OAuth2Authorize", options: { "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2: each authorization request issues its own single-use code" } }, I: OAuth2AuthorizeRequest, O: OAuth2AuthorizeResponse },
6899
- { name: "GetSignInContext", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/sign-in/context", body: "*" } }, I: GetSignInContextRequest, O: SignInContext },
6900
- { name: "OAuth2Token", options: { "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2 and \u00A710.4: a code or rotated refresh token is consumed once; a second use is refused, never answered with tokens" } }, I: OAuth2TokenRequest, O: OAuth2TokenResponse },
6901
- { name: "OAuth2Introspect", idempotency: "IDEMPOTENT", options: { "sid.v1.common.retry": { ceremony: "RFC 7523 \u00A73: a client assertion's jti is admitted once; the answer otherwise only reads the token" } }, I: OAuth2IntrospectRequest, O: OAuth2IntrospectResponse },
6902
- { name: "OAuth2Revoke", idempotency: "IDEMPOTENT", options: { "sid.v1.common.retry": { ceremony: "RFC 7009 \u00A72.2: revoking a revoked or unknown token answers success and changes nothing" } }, I: OAuth2RevokeRequest, O: OAuth2RevokeResponse },
6903
- { name: "StartDeviceAuthorization", options: { "sid.v1.common.retry": { ceremony: "RFC 8628 \u00A73.2: each request issues its own device and user codes" } }, I: DeviceAuthorizationRequest, O: DeviceAuthorizationResponse },
6904
- { name: "SubmitDeviceUserCode", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/oauth2/device/submit", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 8628 \u00A73.3: a user code is decided once; a repeat is refused as decided and changes nothing" } }, I: SubmitDeviceUserCodeRequest, O: SubmitDeviceUserCodeResponse },
6905
- { name: "RequestMagicLink", options: { "google.api.http": { post: "/v1/auth/magic-link/request", body: "*" }, "sid.v1.common.retry": { ceremony: "each request issues its own single-use link under the delivery rate limit; no account state changes" } }, I: RequestMagicLinkRequest, O: RequestMagicLinkResponse },
6906
- { name: "VerifyMagicLink", options: { "google.api.http": { post: "/v1/auth/magic-link/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "the link is single-use: a repeat finds it spent and creates no session" } }, I: VerifyMagicLinkRequest, O: VerifyMagicLinkResponse },
6907
- { name: "LegacyMigrateStart", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/legacy/migrate/start", body: "*" } }, I: LegacyMigrateStartRequest, O: LegacyMigrateStartResponse },
6908
- { name: "LegacyMigrateFinish", options: { "google.api.http": { post: "/v1/auth/legacy/migrate/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "the migration state is taken by its first finish: a repeat finds none and replaces nothing" } }, I: LegacyMigrateFinishRequest, O: LegacyMigrateFinishResponse },
6909
- { name: "RefreshNativeSession", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/native-session/refresh", body: "*" }, "sid.v1.common.retry": { ceremony: "a generation rotates once: a retry of the same exchange within the redelivery window, with any credential of the rotated generation and a fresh proof, answers the committed generation; after the window, or for another exchange, a rotated credential is refused" } }, I: RefreshNativeSessionRequest, O: RefreshNativeSessionResponse },
6910
- { name: "ValidateSession", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/sessions/validate", body: "*" } }, I: ValidateSessionRequest, O: ValidateSessionResponse },
6911
- { name: "ResolvePrincipal", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/resolve", body: "*" } }, I: ResolvePrincipalRequest, O: ResolvePrincipalResponse },
6912
- { name: "GetZkppPolicy", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/opaque-zkpp/policy" } }, I: GetZkppPolicyRequest, O: GetZkppPolicyResponse },
6913
- { name: "SubmitDeferredZkProof", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/zk-proof/deferred", body: "*" }, "sid.v1.common.retry": { natural: "a credential's deferred proof is recorded once and never withdrawn: a repeat finds it proven, records nothing and answers as the first" } }, I: SubmitDeferredZkProofRequest, O: SubmitDeferredZkProofResponse },
6914
- { name: "StartTotpEnrollment", options: { "google.api.http": { post: "/v1/auth/mfa/totp/enroll/start", body: "*" }, "sid.v1.common.retry": { ceremony: "each start opens its own pending enrollment; nothing is enrolled before its finish" } }, I: StartTotpEnrollmentRequest, O: TotpEnrollmentChallenge },
6915
- { name: "FinishTotpEnrollment", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/mfa/totp/enroll/finish", body: "*" }, "sid.v1.common.retry": { ceremony: "the pending enrollment is taken by its first finish: a repeat finds none and enrolls nothing" } }, I: FinishTotpEnrollmentRequest, O: FinishTotpEnrollmentResponse },
6916
- { name: "VerifyTotp", options: { "google.api.http": { post: "/v1/auth/mfa/totp/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "RFC 6238 \u00A75.2: a time step's code is accepted once; a replayed code is refused" } }, I: VerifyTotpRequest, O: MfaVerifyResponse },
6917
- { name: "VerifySmsMfa", options: { "google.api.http": { post: "/v1/auth/mfa/sms/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "the SMS code is consumed by its first valid use; wrong codes count toward the challenge's attempt limit" } }, I: VerifySmsMfaRequest, O: MfaVerifyResponse },
6918
- { name: "ResendSmsMfa", options: { "google.api.http": { post: "/v1/auth/mfa/sms/resend", body: "*" }, "sid.v1.common.retry": { ceremony: "a new code replaces the challenge's previous one under the rate limit; no account state changes" } }, I: ResendSmsMfaRequest, O: ResendSmsMfaResponse },
6919
- { name: "GenerateRecoveryCodes", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/mfa/recovery/generate", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: GenerateRecoveryCodesRequest, O: GenerateRecoveryCodesResponse },
6920
- { name: "VerifyRecoveryCode", options: { "google.api.http": { post: "/v1/auth/mfa/recovery/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "each recovery code is consumed once; a repeat of a used code is refused" } }, I: VerifyRecoveryCodeRequest, O: MfaVerifyResponse },
6921
- { name: "RequestOtp", options: { "google.api.http": { post: "/v1/auth/otp/request", body: "*" }, "sid.v1.common.retry": { ceremony: "each request opens its own code session under the rate limit; no account state changes" } }, I: RequestOtpRequest, O: RequestOtpResponse },
6922
- { name: "VerifyOtp", options: { "google.api.http": { post: "/v1/auth/otp/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "the code session is consumed by its first valid code; wrong codes count toward its attempt limit" } }, I: VerifyOtpRequest, O: VerifyOtpResponse },
6923
- { name: "ResendOtp", options: { "google.api.http": { post: "/v1/auth/otp/resend", body: "*" }, "sid.v1.common.retry": { ceremony: "a new code replaces the session's previous one under the rate limit; no account state changes" } }, I: ResendOtpRequest, O: ResendOtpResponse },
6924
- { name: "ResendEmailVerification", options: { "google.api.http": { post: "/v1/auth/email/verify/resend", body: "*" }, "sid.v1.common.retry": { ceremony: "each request sends a new single-use verification link replacing the previous one, under the delivery rate limit; no account state changes" } }, I: ResendEmailVerificationRequest, O: ResendEmailVerificationResponse },
6925
- { name: "VerifyPhone", options: { "google.api.http": { post: "/v1/auth/phone/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "the verification code is consumed by its first valid use; wrong codes count toward its attempt limit" } }, I: VerifyPhoneRequest, O: VerifyPhoneResponse },
6926
- { name: "ResendPhoneVerification", options: { "google.api.http": { post: "/v1/auth/phone/verify/resend", body: "*" }, "sid.v1.common.retry": { ceremony: "a new code replaces the previous one under the rate limit; no account state changes" } }, I: ResendPhoneVerificationRequest, O: ResendPhoneVerificationResponse },
6927
- { name: "ConfirmIdpLink", options: { "google.api.http": { post: "/v1/auth/idp/link/confirm", body: "*" }, "sid.v1.common.retry": { ceremony: "the pending link is taken by its confirmation: a repeat finds none and links nothing" } }, I: ConfirmIdpLinkRequest, O: ConfirmIdpLinkResponse },
6928
- { name: "ListUserOrganizations", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/orgs" } }, I: ListUserOrganizationsRequest, O: ListUserOrganizationsResponse },
6929
- { name: "SelectOrganization", options: { "google.api.http": { post: "/v1/auth/orgs/select", body: "*" }, "sid.v1.common.retry": { ceremony: "the pending sign-in's selection step is consumed once: a repeat finds the sign-in completed and issues nothing" } }, I: SelectOrganizationRequest, O: SelectOrganizationResponse },
6930
- { name: "GetTerms", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/terms" } }, I: GetTermsRequest, O: GetTermsResponse },
6931
- { name: "AcceptTerms", options: { "google.api.http": { post: "/v1/auth/terms/accept", body: "*" }, "sid.v1.common.retry": { ceremony: "the pending sign-in's terms step is consumed by its acceptance: a repeat finds the step done and issues nothing" } }, I: AcceptTermsRequest, O: AcceptTermsResponse },
6932
- { name: "ApproveCiba", options: { "google.api.http": { post: "/v1/auth/ciba/approve", body: "*" }, "sid.v1.common.retry": { ceremony: "OpenID CIBA Core 1.0: an authentication request is decided once by its user; a repeat is refused as decided and changes nothing" } }, I: ApproveCibaRequest, O: CibaConsentResponse },
6933
- { name: "DenyCiba", options: { "google.api.http": { post: "/v1/auth/ciba/deny", body: "*" }, "sid.v1.common.retry": { ceremony: "OpenID CIBA Core 1.0: an authentication request is decided once by its user; a repeat is refused as decided and changes nothing" } }, I: DenyCibaRequest, O: CibaConsentResponse },
6934
- { name: "VerifyCaptcha", options: { "google.api.http": { post: "/v1/auth/captcha/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "a solution counts once, for the challenge a sign-in was asked" } }, I: VerifyCaptchaRequest, O: VerifyCaptchaResponse },
6935
- { name: "GetDynamicPrompt", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/prompt/{prompt_id}" } }, I: GetDynamicPromptRequest, O: DynamicPrompt },
6936
- { name: "SubmitDynamicPrompt", options: { "google.api.http": { post: "/v1/auth/prompt/{prompt_id}/submit", body: "*" }, "sid.v1.common.retry": { ceremony: "the prompt step is consumed by its first submission: a repeat finds it answered and changes nothing" } }, I: SubmitDynamicPromptRequest, O: SubmitDynamicPromptResponse },
6937
- { name: "RequestStepUp", options: { "google.api.http": { post: "/v1/auth/step-up/request", body: "*" }, "sid.v1.common.retry": { ceremony: "each request opens its own single-use challenge; nothing is elevated before it completes" } }, I: RequestStepUpRequest, O: StepUpChallenge },
6938
- { name: "CompleteStepUp", options: { "google.api.http": { post: "/v1/auth/step-up/complete", body: "*" }, "sid.v1.common.retry": { ceremony: "its proof counts once: a TOTP time step, recovery code or passkey challenge is spent by its first use, so a repeat elevates nothing" } }, I: CompleteStepUpRequest, O: CompleteStepUpResponse },
6939
- { name: "DeleteMfaCredential", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/mfa/credentials:delete", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: DeleteMfaCredentialRequest, O: DeleteMfaCredentialResponse },
6940
- { name: "ConfirmAccountDeletion", options: { "google.api.http": { post: "/v1/auth/delete-confirm", body: "*" }, "sid.v1.common.retry": { ceremony: "the deletion confirmation token is single-use: a repeat finds it spent and deletes nothing more" } }, I: ConfirmAccountDeletionRequest, O: ConfirmAccountDeletionResponse },
6941
- { name: "RequestPasswordReset", options: { "google.api.http": { post: "/v1/auth/password/reset/request", body: "*" }, "sid.v1.common.retry": { ceremony: "each request issues its own single-use reset link under the delivery rate limit; no account state changes" } }, I: RequestPasswordResetRequest, O: RequestPasswordResetResponse },
6942
- { name: "VerifyPasswordReset", options: { "google.api.http": { post: "/v1/auth/password/reset/verify", body: "*" }, "sid.v1.common.retry": { ceremony: "the reset link is consumed once into a reset session" } }, I: VerifyPasswordResetRequest, O: VerifyPasswordResetResponse },
6943
- { name: "ExecutePasswordReset", options: { "google.api.http": { post: "/v1/auth/password/reset/execute", body: "*" }, "sid.v1.common.retry": { ceremony: "an OPAQUE step of the reset (RFC 9807 \u00A75): it changes no account state, and the reset commits only in its single-use completion" } }, I: ExecutePasswordResetRequest, O: ExecutePasswordResetResponse },
6944
- { name: "CompletePasswordReset", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/password/reset/complete", body: "*" }, "sid.v1.common.retry": { ceremony: "the reset session is consumed by the password it sets, and its result is recorded under the reset's operation: a retry of that operation gets the recorded answer and changes nothing" } }, I: CompletePasswordResetRequest, O: CompletePasswordResetResponse }
7419
+ { name: "OpaqueLoginStart", options: { "google.api.http": { post: "/v1/auth/opaque/login/start", body: "*" }, "sid.v1.common.access": { open: "RFC 9807 \u00A76: the sign-in ceremony that establishes a session" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A76: each start stores its own login state; a repeat opens another attempt and changes no account state" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: OpaqueLoginStartRequest, O: OpaqueLoginStartResponse },
7420
+ { name: "OpaqueLoginFinish", options: { "google.api.http": { post: "/v1/auth/opaque/login/finish", body: "*" }, "sid.v1.common.access": { open: "RFC 9807 \u00A76: the sign-in ceremony that establishes a session" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A76: the login state is consumed by its finish; a repeat finds none and creates no session" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: OpaqueLoginFinishRequest, O: OpaqueLoginFinishResponse },
7421
+ { name: "OpaqueZkppRegistrationStart", options: { "google.api.http": { post: "/v1/auth/opaque-zkpp/registration/start", body: "*" }, "sid.v1.common.access": { open: "RFC 9807 \u00A75: self-registration, admitted by the enrollment policy and the registration's own state" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A75: each start opens its own pending registration; nothing is registered before its finish" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: OpaqueZkppRegistrationStartRequest, O: OpaqueZkppRegistrationStartResponse },
7422
+ { name: "OpaqueZkppRegistrationFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/opaque-zkpp/registration/finish", body: "*" }, "sid.v1.common.access": { open: "RFC 9807 \u00A75: self-registration, admitted by the enrollment policy and the registration's own state" }, "sid.v1.common.retry": { ceremony: "RFC 9807 \u00A75: the registration's pending operation is consumed by its commit, which records its own outcome for a retry of the same operation" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: OpaqueZkppRegistrationFinishRequest, O: OpaqueZkppRegistrationFinishResponse },
7423
+ { name: "PasswordChangeChallenge", options: { "google.api.http": { post: "/v1/auth/password/change/challenge", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "each challenge opens its own pending change; nothing changes before its finish" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: PasswordChangeChallengeRequest, O: PasswordChangeChallengeResponse },
7424
+ { name: "PasswordChangeExecute", options: { "google.api.http": { post: "/v1/auth/password/change/execute", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "an OPAQUE step of the change (RFC 9807 \u00A75): it changes no account state, and the change commits only in its single-use finish" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: PasswordChangeExecuteRequest, O: PasswordChangeExecuteResponse },
7425
+ { name: "PasswordChangeFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/password/change/finish", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "the change's pending operation is consumed by its commit: a repeat finds none and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: PasswordChangeFinishRequest, O: Empty },
7426
+ { name: "GetPasswordChangeRequirement", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/password/change/requirement" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.read"] } }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_READ" }, I: Empty, O: Duration },
7427
+ { name: "WebAuthnRegistrationStart", options: { "google.api.http": { post: "/v1/auth/webauthn/registration/start", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: each start stores its own single-use challenge; a repeat opens another ceremony and registers nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: WebAuthnRegistrationStartRequest, O: WebAuthnRegistrationStartResponse },
7428
+ { name: "WebAuthnRegistrationFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/webauthn/registration/finish", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: the challenge is single-use; a repeat finds it spent and registers nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: WebAuthnRegistrationFinishRequest, O: WebAuthnRegistrationFinishResponse },
7429
+ { name: "WebAuthnAuthenticationStart", options: { "google.api.http": { post: "/v1/auth/webauthn/authentication/start", body: "*" }, "sid.v1.common.access": { open: "WebAuthn \u00A77.2: the sign-in ceremony that establishes a session" }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: each start stores its own single-use challenge; a repeat opens another ceremony and creates no session" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: WebAuthnAuthenticationStartRequest, O: WebAuthnAuthenticationStartResponse },
7430
+ { name: "WebAuthnAuthenticationFinish", options: { "google.api.http": { post: "/v1/auth/webauthn/authentication/finish", body: "*" }, "sid.v1.common.access": { open: "WebAuthn \u00A77.2: the sign-in ceremony that establishes a session" }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: the challenge is single-use; a repeat finds it spent and creates no session" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: WebAuthnAuthenticationFinishRequest, O: WebAuthnAuthenticationFinishResponse },
7431
+ { name: "OAuth2Authorize", options: { "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2: each authorization request issues its own single-use code" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: OAuth2AuthorizeRequest, O: OAuth2AuthorizeResponse },
7432
+ { name: "GetSignInContext", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/sign-in/context", body: "*" }, "sid.v1.common.access": { open: "the sign-in page reads the authorization request it completes before anyone signs in" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: GetSignInContextRequest, O: SignInContext },
7433
+ { name: "OAuth2Token", options: { "sid.v1.common.access": { open: "RFC 6749 \u00A73.2: token issuance; the client authenticates with the request (\u00A72.3) and the grant proves the rest" }, "sid.v1.common.retry": { ceremony: "RFC 6749 \u00A74.1.2 and \u00A710.4: a code or rotated refresh token is consumed once; a second use is refused, never answered with tokens" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: OAuth2TokenRequest, O: OAuth2TokenResponse },
7434
+ { name: "OAuth2Introspect", idempotency: "IDEMPOTENT", options: { "sid.v1.common.access": { open: "RFC 7662 \u00A72.1: the inspector authenticates as a client with the request and is authorized for the token's resource" }, "sid.v1.common.retry": { ceremony: "RFC 7523 \u00A73: a client assertion's jti is admitted once; the answer otherwise only reads the token" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_ISSUED_CREDENTIAL" }, I: OAuth2IntrospectRequest, O: OAuth2IntrospectResponse },
7435
+ { name: "OAuth2Revoke", idempotency: "IDEMPOTENT", options: { "sid.v1.common.access": { open: "RFC 7009 \u00A72.1: the client that obtained the token authenticates with the request" }, "sid.v1.common.retry": { ceremony: "RFC 7009 \u00A72.2: revoking a revoked or unknown token answers success and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_ISSUED_CREDENTIAL" }, I: OAuth2RevokeRequest, O: OAuth2RevokeResponse },
7436
+ { name: "StartDeviceAuthorization", options: { "sid.v1.common.access": { open: "RFC 8628 \u00A73.1: the device asks for codes before any user signs in" }, "sid.v1.common.retry": { ceremony: "RFC 8628 \u00A73.2: each request issues its own device and user codes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: DeviceAuthorizationRequest, O: DeviceAuthorizationResponse },
7437
+ { name: "SubmitDeviceUserCode", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/oauth2/device/submit", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.retry": { ceremony: "RFC 8628 \u00A73.3: a user code is decided once; a repeat is refused as decided and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: SubmitDeviceUserCodeRequest, O: SubmitDeviceUserCodeResponse },
7438
+ { name: "RequestMagicLink", options: { "google.api.http": { post: "/v1/auth/magic-link/request", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the link is sent before anyone signs in" }, "sid.v1.common.retry": { ceremony: "each request issues its own single-use link under the delivery rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: RequestMagicLinkRequest, O: RequestMagicLinkResponse },
7439
+ { name: "VerifyMagicLink", options: { "google.api.http": { post: "/v1/auth/magic-link/verify", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the single-use link authenticates the call" }, "sid.v1.common.retry": { ceremony: "the link is single-use: a repeat finds it spent and creates no session" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: VerifyMagicLinkRequest, O: VerifyMagicLinkResponse },
7440
+ { name: "LegacyMigrateStart", options: { "google.api.http": { post: "/v1/auth/legacy/migrate/start", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the imported password authenticates the call" }, "sid.v1.common.retry": { ceremony: "each start stores its own migration attempt; a repeat opens another and changes no account state" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: LegacyMigrateStartRequest, O: LegacyMigrateStartResponse },
7441
+ { name: "LegacyMigrateFinish", options: { "google.api.http": { post: "/v1/auth/legacy/migrate/finish", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: its migration state authenticates the call" }, "sid.v1.common.retry": { ceremony: "the migration state is taken by its first finish: a repeat finds none and replaces nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: LegacyMigrateFinishRequest, O: LegacyMigrateFinishResponse },
7442
+ { name: "RefreshNativeSession", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/native-session/refresh", body: "*" }, "sid.v1.common.access": { open: "the native session's credential and its key proof in the request metadata authenticate the call" }, "sid.v1.common.retry": { ceremony: "a generation rotates once: a retry of the same exchange within the redelivery window, with any credential of the rotated generation and a fresh proof, answers the committed generation; after the window, or for another exchange, a rotated credential is refused" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: RefreshNativeSessionRequest, O: RefreshNativeSessionResponse },
7443
+ { name: "ValidateSession", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/sessions/validate", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION"] } }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_ISSUED_CREDENTIAL" }, I: ValidateSessionRequest, O: ValidateSessionResponse },
7444
+ { name: "ResolvePrincipal", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { post: "/v1/auth/resolve", body: "*" }, "sid.v1.common.access": { open: "the first step of signing in: it answers before anyone signs in, without enumerating accounts" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: ResolvePrincipalRequest, O: ResolvePrincipalResponse },
7445
+ { name: "GetZkppPolicy", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/opaque-zkpp/policy" }, "sid.v1.common.access": { open: "the password policy a registration proves, read before anyone has an account" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_READ" }, I: GetZkppPolicyRequest, O: GetZkppPolicyResponse },
7446
+ { name: "SubmitDeferredZkProof", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/zk-proof/deferred", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { natural: "a credential's deferred proof is recorded once and never withdrawn: a repeat finds it proven, records nothing and answers as the first" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: SubmitDeferredZkProofRequest, O: SubmitDeferredZkProofResponse },
7447
+ { name: "StartTotpEnrollment", options: { "google.api.http": { post: "/v1/auth/mfa/totp/enroll/start", body: "*" }, "sid.v1.common.access": { open: "a step of a sign-in its policy requires, authenticated by the sign-in's pending token; in the user's own session the enrollment ceremony decides" }, "sid.v1.common.retry": { ceremony: "each start opens its own pending enrollment; nothing is enrolled before its finish" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: StartTotpEnrollmentRequest, O: TotpEnrollmentChallenge },
7448
+ { name: "FinishTotpEnrollment", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/mfa/totp/enroll/finish", body: "*" }, "sid.v1.common.access": { open: "a step of a sign-in its policy requires, authenticated by the sign-in's pending token; in the user's own session the enrollment ceremony decides" }, "sid.v1.common.retry": { ceremony: "the pending enrollment is taken by its first finish: a repeat finds none and enrolls nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: FinishTotpEnrollmentRequest, O: FinishTotpEnrollmentResponse },
7449
+ { name: "VerifyTotp", options: { "google.api.http": { post: "/v1/auth/mfa/totp/verify", body: "*" }, "sid.v1.common.access": { open: "the second factor of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "RFC 6238 \u00A75.2: a time step's code is accepted once; a replayed code is refused" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: VerifyTotpRequest, O: MfaVerifyResponse },
7450
+ { name: "VerifySmsMfa", options: { "google.api.http": { post: "/v1/auth/mfa/sms/verify", body: "*" }, "sid.v1.common.access": { open: "the second factor of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "the SMS code is consumed by its first valid use; wrong codes count toward the challenge's attempt limit" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: VerifySmsMfaRequest, O: MfaVerifyResponse },
7451
+ { name: "ResendSmsMfa", options: { "google.api.http": { post: "/v1/auth/mfa/sms/resend", body: "*" }, "sid.v1.common.access": { open: "the second factor of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "a new code replaces the challenge's previous one under the rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: ResendSmsMfaRequest, O: ResendSmsMfaResponse },
7452
+ { name: "GenerateRecoveryCodes", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/mfa/recovery/generate", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { keyed: true }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: GenerateRecoveryCodesRequest, O: GenerateRecoveryCodesResponse },
7453
+ { name: "VerifyRecoveryCode", options: { "google.api.http": { post: "/v1/auth/mfa/recovery/verify", body: "*" }, "sid.v1.common.access": { open: "the second factor of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "each recovery code is consumed once; a repeat of a used code is refused" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: VerifyRecoveryCodeRequest, O: MfaVerifyResponse },
7454
+ { name: "RequestOtp", options: { "google.api.http": { post: "/v1/auth/otp/request", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the code is sent before anyone signs in" }, "sid.v1.common.retry": { ceremony: "each request opens its own code session under the rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: RequestOtpRequest, O: RequestOtpResponse },
7455
+ { name: "VerifyOtp", options: { "google.api.http": { post: "/v1/auth/otp/verify", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the code session authenticates the call" }, "sid.v1.common.retry": { ceremony: "the code session is consumed by its first valid code; wrong codes count toward its attempt limit" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: VerifyOtpRequest, O: VerifyOtpResponse },
7456
+ { name: "ResendOtp", options: { "google.api.http": { post: "/v1/auth/otp/resend", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the code session authenticates the call" }, "sid.v1.common.retry": { ceremony: "a new code replaces the session's previous one under the rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: ResendOtpRequest, O: ResendOtpResponse },
7457
+ { name: "StartEmailRegistration", options: { "google.api.http": { post: "/v1/auth/registration/email/start", body: "*" }, "sid.v1.common.access": { open: "self-registration: admitted by the enrollment policy and the registration's own state" }, "sid.v1.common.retry": { ceremony: "each start opens its own code session under the rate limit; nothing is registered before its passkey finish" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: StartEmailRegistrationRequest, O: StartEmailRegistrationResponse },
7458
+ { name: "ResendEmailRegistration", options: { "google.api.http": { post: "/v1/auth/registration/email/resend", body: "*" }, "sid.v1.common.access": { open: "self-registration: the registration's code session authenticates the call" }, "sid.v1.common.retry": { ceremony: "a new code replaces the registration's previous one under the rate limit; nothing is registered" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: ResendEmailRegistrationRequest, O: ResendEmailRegistrationResponse },
7459
+ { name: "VerifyEmailRegistration", options: { "google.api.http": { post: "/v1/auth/registration/email/verify", body: "*" }, "sid.v1.common.access": { open: "self-registration: the registration's code session authenticates the call" }, "sid.v1.common.retry": { ceremony: "the code session is consumed by its first valid code; wrong codes count toward its attempt limit" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: VerifyEmailRegistrationRequest, O: VerifyEmailRegistrationResponse },
7460
+ { name: "PasskeyRegistrationStart", options: { "google.api.http": { post: "/v1/auth/registration/passkey/start", body: "*" }, "sid.v1.common.access": { open: "WebAuthn \u00A77.1: the first passkey of a self-registration, admitted by the registration's context" }, "sid.v1.common.retry": { ceremony: "WebAuthn \u00A713.4.3: each start stores its own single-use challenge; a repeat opens another ceremony and registers nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: PasskeyRegistrationStartRequest, O: PasskeyRegistrationStartResponse },
7461
+ { name: "PasskeyRegistrationFinish", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/registration/passkey/finish", body: "*" }, "sid.v1.common.access": { open: "WebAuthn \u00A77.1: the first passkey of a self-registration, admitted by the registration's context" }, "sid.v1.common.retry": { ceremony: "the registration is consumed by its commit, which records its own outcome for a retry by the same registration context" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: PasskeyRegistrationFinishRequest, O: PasskeyRegistrationFinishResponse },
7462
+ { name: "ResendEmailVerification", options: { "google.api.http": { post: "/v1/auth/email/verify/resend", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "each request sends a new single-use verification link replacing the previous one, under the delivery rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: ResendEmailVerificationRequest, O: ResendEmailVerificationResponse },
7463
+ { name: "VerifyPhone", options: { "google.api.http": { post: "/v1/auth/phone/verify", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "the verification code is consumed by its first valid use; wrong codes count toward its attempt limit" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: VerifyPhoneRequest, O: VerifyPhoneResponse },
7464
+ { name: "ResendPhoneVerification", options: { "google.api.http": { post: "/v1/auth/phone/verify/resend", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "a new code replaces the previous one under the rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: ResendPhoneVerificationRequest, O: ResendPhoneVerificationResponse },
7465
+ { name: "ConfirmIdpLink", options: { "google.api.http": { post: "/v1/auth/idp/link/confirm", body: "*" }, "sid.v1.common.access": { open: "a sign-in ceremony: the pending link of an upstream sign-in authenticates the call" }, "sid.v1.common.retry": { ceremony: "the pending link is taken by its confirmation: a repeat finds none and links nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: ConfirmIdpLinkRequest, O: ConfirmIdpLinkResponse },
7466
+ { name: "ListUserOrganizations", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/orgs" }, "sid.v1.common.access": { open: "a step of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: ListUserOrganizationsRequest, O: ListUserOrganizationsResponse },
7467
+ { name: "SelectOrganization", options: { "google.api.http": { post: "/v1/auth/orgs/select", body: "*" }, "sid.v1.common.access": { open: "a step of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "the pending sign-in's selection step is consumed once: a repeat finds the sign-in completed and issues nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: SelectOrganizationRequest, O: SelectOrganizationResponse },
7468
+ { name: "GetTerms", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/terms" }, "sid.v1.common.access": { open: "a step of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: GetTermsRequest, O: GetTermsResponse },
7469
+ { name: "AcceptTerms", options: { "google.api.http": { post: "/v1/auth/terms/accept", body: "*" }, "sid.v1.common.access": { open: "a step of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "the pending sign-in's terms step is consumed by its acceptance: a repeat finds the step done and issues nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: AcceptTermsRequest, O: AcceptTermsResponse },
7470
+ { name: "ApproveCiba", options: { "google.api.http": { post: "/v1/auth/ciba/approve", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "OpenID CIBA Core 1.0: an authentication request is decided once by its user; a repeat is refused as decided and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: ApproveCibaRequest, O: CibaConsentResponse },
7471
+ { name: "DenyCiba", options: { "google.api.http": { post: "/v1/auth/ciba/deny", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "OpenID CIBA Core 1.0: an authentication request is decided once by its user; a repeat is refused as decided and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: DenyCibaRequest, O: CibaConsentResponse },
7472
+ { name: "VerifyCaptcha", options: { "google.api.http": { post: "/v1/auth/captcha/verify", body: "*" }, "sid.v1.common.access": { open: "a step of signing in, answered before anyone signs in" }, "sid.v1.common.retry": { ceremony: "a solution counts once, for the challenge a sign-in was asked" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: VerifyCaptchaRequest, O: VerifyCaptchaResponse },
7473
+ { name: "GetDynamicPrompt", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/auth/prompt/{prompt_id}" }, "sid.v1.common.access": { open: "a step of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: GetDynamicPromptRequest, O: DynamicPrompt },
7474
+ { name: "SubmitDynamicPrompt", options: { "google.api.http": { post: "/v1/auth/prompt/{prompt_id}/submit", body: "*" }, "sid.v1.common.access": { open: "a step of a pending sign-in, authenticated by its pending token" }, "sid.v1.common.retry": { ceremony: "the prompt step is consumed by its first submission: a repeat finds it answered and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: SubmitDynamicPromptRequest, O: SubmitDynamicPromptResponse },
7475
+ { name: "RequestStepUp", options: { "google.api.http": { post: "/v1/auth/step-up/request", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { ceremony: "each request opens its own single-use challenge; nothing is elevated before it completes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: RequestStepUpRequest, O: StepUpChallenge },
7476
+ { name: "CompleteStepUp", options: { "google.api.http": { post: "/v1/auth/step-up/complete", body: "*" }, "sid.v1.common.access": { open: "the caller's current session, or the token its committed step-up stopped, which receives only what that step-up committed" }, "sid.v1.common.retry": { ceremony: "its proof counts once: a TOTP time step, recovery code or passkey challenge is spent by its first use, so a repeat elevates nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_SIGN_IN" }, I: CompleteStepUpRequest, O: CompleteStepUpResponse },
7477
+ { name: "DeleteMfaCredential", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/mfa/credentials:delete", body: "*" }, "sid.v1.common.access": { protected: { credentials: ["CREDENTIAL_KIND_OWN_SESSION", "CREDENTIAL_KIND_ACCOUNT_API"], scopes: ["account.write"] } }, "sid.v1.common.retry": { keyed: true }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: DeleteMfaCredentialRequest, O: DeleteMfaCredentialResponse },
7478
+ { name: "ConfirmAccountDeletion", options: { "google.api.http": { post: "/v1/auth/delete-confirm", body: "*" }, "sid.v1.common.access": { open: "the single-use deletion confirmation token authenticates the call" }, "sid.v1.common.retry": { ceremony: "the deletion confirmation token is single-use: a repeat finds it spent and deletes nothing more" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: ConfirmAccountDeletionRequest, O: ConfirmAccountDeletionResponse },
7479
+ { name: "RequestPasswordReset", options: { "google.api.http": { post: "/v1/auth/password/reset/request", body: "*" }, "sid.v1.common.access": { open: "recovery for a user who cannot sign in: the link is sent without enumerating accounts" }, "sid.v1.common.retry": { ceremony: "each request issues its own single-use reset link under the delivery rate limit; no account state changes" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: RequestPasswordResetRequest, O: RequestPasswordResetResponse },
7480
+ { name: "VerifyPasswordReset", options: { "google.api.http": { post: "/v1/auth/password/reset/verify", body: "*" }, "sid.v1.common.access": { open: "recovery: the single-use reset link authenticates the call" }, "sid.v1.common.retry": { ceremony: "the reset link is consumed once into a reset session" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: VerifyPasswordResetRequest, O: VerifyPasswordResetResponse },
7481
+ { name: "ExecutePasswordReset", options: { "google.api.http": { post: "/v1/auth/password/reset/execute", body: "*" }, "sid.v1.common.access": { open: "recovery: the verified reset session authenticates the call" }, "sid.v1.common.retry": { ceremony: "an OPAQUE step of the reset (RFC 9807 \u00A75): it changes no account state, and the reset commits only in its single-use completion" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: ExecutePasswordResetRequest, O: ExecutePasswordResetResponse },
7482
+ { name: "CompletePasswordReset", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/password/reset/complete", body: "*" }, "sid.v1.common.access": { open: "recovery: the verified reset session authenticates the call" }, "sid.v1.common.retry": { ceremony: "the reset session is consumed by the password it sets, and its result is recorded under the reset's operation: a retry of that operation gets the recorded answer and changes nothing" }, "sid.v1.common.maintenance": "MAINTENANCE_PURPOSE_CHANGE" }, I: CompletePasswordResetRequest, O: CompletePasswordResetResponse }
6945
7483
  ]);
6946
7484
  //# sourceMappingURL=auth.js.map