@structured-id/proto 0.7.0 → 0.9.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 (136) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/generated/google/protobuf/descriptor.d.ts +61 -0
  3. package/dist/generated/google/protobuf/descriptor.js +72 -1
  4. package/dist/generated/google/protobuf/descriptor.js.map +1 -1
  5. package/dist/generated/google/protobuf/struct.d.ts +3 -3
  6. package/dist/generated/google/protobuf/struct.js +3 -3
  7. package/dist/generated/google/protobuf/struct.js.map +1 -1
  8. package/dist/generated/sid/v1/account/account.client.d.ts +24 -32
  9. package/dist/generated/sid/v1/account/account.client.js +12 -16
  10. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  11. package/dist/generated/sid/v1/account/account.js +18 -18
  12. package/dist/generated/sid/v1/account/account.js.map +1 -1
  13. package/dist/generated/sid/v1/admin/admin.js +5 -5
  14. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  15. package/dist/generated/sid/v1/admin/admin_roles.js +5 -5
  16. package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
  17. package/dist/generated/sid/v1/admin/branding.client.d.ts +0 -2
  18. package/dist/generated/sid/v1/admin/branding.client.js +0 -1
  19. package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
  20. package/dist/generated/sid/v1/admin/branding.js +4 -4
  21. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  22. package/dist/generated/sid/v1/admin/enrollment.js +4 -4
  23. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  24. package/dist/generated/sid/v1/admin/events.js +1 -1
  25. package/dist/generated/sid/v1/admin/events.js.map +1 -1
  26. package/dist/generated/sid/v1/admin/flow.client.d.ts +8 -4
  27. package/dist/generated/sid/v1/admin/flow.client.js +4 -2
  28. package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
  29. package/dist/generated/sid/v1/admin/flow.js +4 -4
  30. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  31. package/dist/generated/sid/v1/admin/keys.js +3 -3
  32. package/dist/generated/sid/v1/admin/keys.js.map +1 -1
  33. package/dist/generated/sid/v1/admin/login_experience.js +3 -3
  34. package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
  35. package/dist/generated/sid/v1/admin/migration.js +3 -3
  36. package/dist/generated/sid/v1/admin/migration.js.map +1 -1
  37. package/dist/generated/sid/v1/admin/notifications.js +3 -3
  38. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  39. package/dist/generated/sid/v1/admin/operations.js +5 -5
  40. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  41. package/dist/generated/sid/v1/admin/organizations.js +1 -1
  42. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  43. package/dist/generated/sid/v1/admin/provisioning.client.d.ts +16 -16
  44. package/dist/generated/sid/v1/admin/provisioning.client.js +8 -8
  45. package/dist/generated/sid/v1/admin/provisioning.client.js.map +1 -1
  46. package/dist/generated/sid/v1/admin/provisioning.js +6 -6
  47. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  48. package/dist/generated/sid/v1/admin/scopes.js +7 -7
  49. package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
  50. package/dist/generated/sid/v1/admin/security.client.d.ts +10 -4
  51. package/dist/generated/sid/v1/admin/security.client.js +5 -2
  52. package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
  53. package/dist/generated/sid/v1/admin/security.js +9 -9
  54. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  55. package/dist/generated/sid/v1/admin/sessions.js +3 -3
  56. package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
  57. package/dist/generated/sid/v1/admin/settings.js +11 -11
  58. package/dist/generated/sid/v1/admin/settings.js.map +1 -1
  59. package/dist/generated/sid/v1/admin/user_profile.js +1 -1
  60. package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
  61. package/dist/generated/sid/v1/admin/webhooks.js +9 -9
  62. package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
  63. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
  64. package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
  65. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  66. package/dist/generated/sid/v1/attestation/attestation.js +3 -3
  67. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  68. package/dist/generated/sid/v1/authn/application_session.js +4 -4
  69. package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
  70. package/dist/generated/sid/v1/authn/auth.client.d.ts +16 -4
  71. package/dist/generated/sid/v1/authn/auth.client.js +8 -2
  72. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  73. package/dist/generated/sid/v1/authn/auth.d.ts +24 -0
  74. package/dist/generated/sid/v1/authn/auth.js +98 -50
  75. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  76. package/dist/generated/sid/v1/authn/flows.js +16 -16
  77. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  78. package/dist/generated/sid/v1/authn/issuer.client.d.ts +44 -0
  79. package/dist/generated/sid/v1/authn/issuer.client.js +24 -0
  80. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  81. package/dist/generated/sid/v1/authn/issuer.d.ts +40 -0
  82. package/dist/generated/sid/v1/authn/issuer.js +78 -14
  83. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  84. package/dist/generated/sid/v1/authn/password_history.js +2 -2
  85. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  86. package/dist/generated/sid/v1/authn/sender_proof.d.ts +114 -0
  87. package/dist/generated/sid/v1/authn/sender_proof.js +132 -0
  88. package/dist/generated/sid/v1/authn/sender_proof.js.map +1 -0
  89. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  90. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  91. package/dist/generated/sid/v1/authz/authz.client.d.ts +14 -2
  92. package/dist/generated/sid/v1/authz/authz.client.js +7 -1
  93. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  94. package/dist/generated/sid/v1/authz/authz.d.ts +149 -97
  95. package/dist/generated/sid/v1/authz/authz.js +224 -158
  96. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  97. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  98. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  99. package/dist/generated/sid/v1/authz/governance.js +3 -3
  100. package/dist/generated/sid/v1/authz/governance.js.map +1 -1
  101. package/dist/generated/sid/v1/common/errors.d.ts +7 -0
  102. package/dist/generated/sid/v1/common/errors.js +7 -0
  103. package/dist/generated/sid/v1/common/errors.js.map +1 -1
  104. package/dist/generated/sid/v1/common/operation.client.d.ts +47 -0
  105. package/dist/generated/sid/v1/common/operation.client.js +30 -0
  106. package/dist/generated/sid/v1/common/operation.client.js.map +1 -0
  107. package/dist/generated/sid/v1/common/operation.d.ts +126 -0
  108. package/dist/generated/sid/v1/common/operation.js +179 -0
  109. package/dist/generated/sid/v1/common/operation.js.map +1 -0
  110. package/dist/generated/sid/v1/federation/upstream.js +5 -5
  111. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  112. package/dist/generated/sid/v1/identity/identity.js +19 -19
  113. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  114. package/dist/generated/sid/v1/machine/machine_user.client.d.ts +6 -2
  115. package/dist/generated/sid/v1/machine/machine_user.client.js +3 -1
  116. package/dist/generated/sid/v1/machine/machine_user.client.js.map +1 -1
  117. package/dist/generated/sid/v1/machine/machine_user.js +10 -10
  118. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  119. package/dist/generated/sid/v1/machine/pat.client.d.ts +4 -2
  120. package/dist/generated/sid/v1/machine/pat.client.js +2 -1
  121. package/dist/generated/sid/v1/machine/pat.client.js.map +1 -1
  122. package/dist/generated/sid/v1/machine/pat.js +4 -4
  123. package/dist/generated/sid/v1/machine/pat.js.map +1 -1
  124. package/dist/generated/sid/v1/projects/projects.client.d.ts +22 -12
  125. package/dist/generated/sid/v1/projects/projects.client.js +11 -6
  126. package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
  127. package/dist/generated/sid/v1/projects/projects.js +19 -19
  128. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  129. package/dist/generated/sid/v1/scim/scim.js +14 -14
  130. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  131. package/dist/generated/sid/v1/test/test.js +8 -8
  132. package/dist/generated/sid/v1/test/test.js.map +1 -1
  133. package/dist/generated/sid/v1/ui/public_settings.d.ts +9 -0
  134. package/dist/generated/sid/v1/ui/public_settings.js +9 -1
  135. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
  136. package/package.json +4 -4
@@ -747,7 +747,7 @@ export const PasswordRegistrationProof = new PasswordRegistrationProof$Type();
747
747
  * @generated ServiceType for protobuf service sid.v1.authn.PasswordHistoryEvaluatorService
748
748
  */
749
749
  export const PasswordHistoryEvaluatorService = new ServiceType("sid.v1.authn.PasswordHistoryEvaluatorService", [
750
- { name: "EvaluatePasswordHistory", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/password-history/evaluate", body: "*" } }, I: EvaluatePasswordHistoryRequest, O: EvaluatePasswordHistoryResponse },
751
- { name: "PreparePasswordHistory", idempotency: "IDEMPOTENT", options: {}, I: PreparePasswordHistoryRequest, O: PreparePasswordHistoryResponse }
750
+ { name: "EvaluatePasswordHistory", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/auth/password-history/evaluate", body: "*" }, "sid.v1.common.retry": { ceremony: "the password operation the request names keeps its charged answers: an exact repeat returns them, another input is refused, nothing is evaluated after the operation can no longer commit" } }, I: EvaluatePasswordHistoryRequest, O: EvaluatePasswordHistoryResponse },
751
+ { name: "PreparePasswordHistory", idempotency: "IDEMPOTENT", options: { "sid.v1.common.retry": { ceremony: "the password operation the request names keeps its admission: an exact repeat returns the original domains, a repeat with any admission field changed fails" } }, I: PreparePasswordHistoryRequest, O: PreparePasswordHistoryResponse }
752
752
  ]);
753
753
  //# sourceMappingURL=password_history.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"password_history.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/password_history.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,8GAA8G;AAC9G,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,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AA+VpD;;;;GAIG;AACH,MAAM,CAAN,IAAY,wBAyBX;AAzBD,WAAY,wBAAwB;IAChC;;OAEG;IACH,qFAAe,CAAA;IACf;;;;OAIG;IACH,+EAAY,CAAA;IACZ;;;;;OAKG;IACH,qEAAO,CAAA;IACP;;;;;OAKG;IACH,yEAAS,CAAA;AACb,CAAC,EAzBW,wBAAwB,KAAxB,wBAAwB,QAyBnC;AACD,2FAA2F;AAC3F,MAAM,kCAAmC,SAAQ,WAA0C;IACvF;QACI,KAAK,CAAC,4CAA4C,EAAE;YAChD,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,mBAAmB,EAAE;YAC9E,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,CAAC,oBAAoB,EAAE;YAC3E,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,E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,EAAE,CAAC,EAAE,8BAA8B,EAAE,CAAC,EAAE,+BAA+B,EAAE;IAChO,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CAClJ,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/password_history.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 { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { PasswordOperationId } from \"../ids/ids.js\";\n/**\n * @generated from protobuf message sid.v1.authn.PreparePasswordHistoryRequest\n */\nexport interface PreparePasswordHistoryRequest {\n /**\n * The pending operation whose domains are selected, as the credential\n * service stored it.\n *\n * @generated from protobuf field: sid.v1.ids.PasswordOperationId operation_id = 1\n */\n operationId?: PasswordOperationId;\n /**\n * The owner, as the credential service resolved it from the authorized\n * ceremony: its history input domain (PasswordHistoryContext.owner_domain,\n * 32 bytes). The one owner reference the evaluator keys its history keys\n * by; it never receives the owner's account identifier. An end-user client\n * cannot supply it.\n *\n * @generated from protobuf field: bytes owner_domain = 5\n */\n ownerDomain: Uint8Array;\n /**\n * What the operation does to the owner's history.\n *\n * @generated from protobuf field: sid.v1.authn.PasswordHistoryOwnerKind owner_kind = 6\n */\n ownerKind: PasswordHistoryOwnerKind;\n /**\n * When the operation stops being able to commit, as the credential service\n * stored it. The evaluator admits no evaluation after it, and a repeat must\n * name the same instant.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 7\n */\n expiresAt?: Timestamp;\n /**\n * Who the operation's evaluations are charged to: an opaque key the\n * credential service derives from the authorized actor (at most 128\n * bytes), never a value an end-user client chooses.\n *\n * @generated from protobuf field: string charge_key = 8\n */\n chargeKey: string;\n /**\n * The comparison domains (PasswordHistoryDomain.comparison_domain, 32 bytes\n * each) in which the owner still retains at least one entry, as of\n * history_revision. Only the credential service, which holds the entries,\n * knows this; it commits the set with the entries it describes. Each must be\n * a domain the evaluator issued for this owner; an unknown one fails the call.\n *\n * @generated from protobuf field: repeated bytes live_comparison_domains = 2\n */\n liveComparisonDomains: Uint8Array[];\n /**\n * The owner's history revision the live domains belong to: increases with\n * every committed change of the owner's entries or retention, committed with\n * them. The evaluator acts on the newest revision it has accepted for the\n * owner and never retires a key on an older one, so a delayed or retried\n * request cannot retire a key a newer revision still needs.\n *\n * @generated from protobuf field: uint64 history_revision = 3\n */\n historyRevision: bigint;\n /**\n * The owner's earlier operations this revision settles: each one committed\n * (its entries are in the live set) or can no longer commit (aborted or\n * expired), as the credential service, which runs the commit, recorded with\n * the revision. The evaluator releases their pins; an operation not named\n * stays pinned until a later accepted revision names it or its lifetime\n * ends.\n *\n * @generated from protobuf field: repeated sid.v1.ids.PasswordOperationId settled_operations = 4\n */\n settledOperations: PasswordOperationId[];\n}\n/**\n * @generated from protobuf message sid.v1.authn.PreparePasswordHistoryResponse\n */\nexport interface PreparePasswordHistoryResponse {\n /**\n * The operation's comparison domains, in the order its evaluations and\n * proof follow; the credential service returns them to the client in\n * PasswordHistoryContext.domains.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryDomain domains = 1\n */\n domains: PasswordHistoryDomain[];\n /**\n * The public description of each domain's epoch, in the same order: what\n * the credential service keeps with the operation and, once committed,\n * with the owner's history, so the history checker compares without asking\n * the evaluator again. Never sent to an end-user client.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryEpochDescriptor epochs = 2\n */\n epochs: PasswordHistoryEpochDescriptor[];\n}\n/**\n * The immutable public description of one history epoch: everything the\n * history checker needs to recompute the comparison domain and stretch a tag,\n * and nothing that evaluates one. The credential service rejects a\n * descriptor that differs from one it already holds for the same epoch.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryEpochDescriptor\n */\nexport interface PasswordHistoryEpochDescriptor {\n /**\n * The epoch: a UUIDv7, 16 bytes.\n *\n * @generated from protobuf field: bytes epoch_id = 1\n */\n epochId: Uint8Array;\n /**\n * The evaluator's public key k·G: a compressed Pallas point, 32 bytes.\n *\n * @generated from protobuf field: bytes public_key = 2\n */\n publicKey: Uint8Array;\n /**\n * The relation suite the epoch's tags follow (\"pallas-poseidon-v1\").\n *\n * @generated from protobuf field: string suite = 3\n */\n suite: string;\n /**\n * The history KSF of the epoch's entries: Argon2id v1.3 (RFC 9106) with\n * a 32-byte output.\n *\n * @generated from protobuf field: sid.v1.authn.PasswordHistoryKsf ksf = 4\n */\n ksf?: PasswordHistoryKsf;\n /**\n * The KSF salt of every entry under the epoch: 32 bytes.\n *\n * @generated from protobuf field: bytes ksf_salt = 5\n */\n ksfSalt: Uint8Array;\n /**\n * When the evaluator created the epoch's key, before sealing or first use.\n * A history-key write cutoff bars new entries under every epoch created\n * before it; the credential service checks this instant when it commits.\n *\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 6\n */\n createdAt?: Timestamp;\n}\n/**\n * Argon2id v1.3 (RFC 9106 §3.1) parameters of one epoch's history KSF; the\n * output is 32 bytes.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryKsf\n */\nexport interface PasswordHistoryKsf {\n /**\n * Memory, KiB.\n *\n * @generated from protobuf field: uint32 memory_kib = 1\n */\n memoryKib: number;\n /**\n * Passes.\n *\n * @generated from protobuf field: uint32 passes = 2\n */\n passes: number;\n /**\n * Lanes.\n *\n * @generated from protobuf field: uint32 lanes = 3\n */\n lanes: number;\n}\n/**\n * What a client needs to build its history request and proof for one\n * password operation. Returned by the step that prepares the operation\n * (registration start, password-change challenge, password-reset verification).\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryContext\n */\nexport interface PasswordHistoryContext {\n /**\n * The operation this context belongs to. Every later step of the operation\n * (evaluation, OPAQUE start, finish) and every retry carries it. Issued by\n * the server when it prepares the operation.\n *\n * @generated from protobuf field: sid.v1.ids.PasswordOperationId operation_id = 1\n */\n operationId?: PasswordOperationId;\n /**\n * The owner's history input domain: 32 bytes, a Pallas base-field element in\n * little-endian canonical form. The client hashes the password under it into\n * the history input it blinds. Server-derived from the credential owner;\n * opaque to the client and unlinkable across installations and owners.\n *\n * @generated from protobuf field: bytes owner_domain = 2\n */\n ownerDomain: Uint8Array;\n /**\n * The comparison domains the operation must produce a tag for, in the order\n * the evaluations and the proof's tags follow. Server-selected from the\n * owner's retained history; at least one. The client cannot omit or reorder\n * one: the proof commits to this list.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryDomain domains = 3\n */\n domains: PasswordHistoryDomain[];\n /**\n * Password policy version the registration proof must be made for; the\n * verifying key of that version and domain count checks it.\n *\n * @generated from protobuf field: uint32 policy_version = 4\n */\n policyVersion: number;\n}\n/**\n * One comparison domain: the epoch, key and format under which a tag is\n * compared with the entries retained in it.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryDomain\n */\nexport interface PasswordHistoryDomain {\n /**\n * The domain element: 32 bytes, a Pallas base-field element in little-endian\n * canonical form. Enters the tag derivation, so tags of different domains\n * never compare equal.\n *\n * @generated from protobuf field: bytes comparison_domain = 1\n */\n comparisonDomain: Uint8Array;\n /**\n * The evaluator's public key for this domain, k·G: a compressed Pallas point,\n * 32 bytes. The client checks each evaluation proof against it before\n * proving, so a wrong or missing key fails before the costly proof.\n *\n * @generated from protobuf field: bytes evaluator_public_key = 2\n */\n evaluatorPublicKey: Uint8Array;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EvaluatePasswordHistoryRequest\n */\nexport interface EvaluatePasswordHistoryRequest {\n /**\n * The operation whose required domains are evaluated (from PasswordHistoryContext).\n *\n * @generated from protobuf field: sid.v1.ids.PasswordOperationId operation_id = 1\n */\n operationId?: PasswordOperationId;\n /**\n * The blinded history input B = r·H(u): a compressed Pallas point, 32 bytes,\n * not the identity. Client-computed from the password under the operation's\n * owner domain with a fresh nonzero blind r; reveals nothing about the password.\n *\n * @generated from protobuf field: bytes blinded_input = 2\n */\n blindedInput: Uint8Array;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EvaluatePasswordHistoryResponse\n */\nexport interface EvaluatePasswordHistoryResponse {\n /**\n * One evaluation per required comparison domain, in the order of\n * PasswordHistoryContext.domains. Either all are present or the call fails.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryEvaluation evaluations = 1\n */\n evaluations: PasswordHistoryEvaluation[];\n}\n/**\n * The evaluator's answer for one comparison domain.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryEvaluation\n */\nexport interface PasswordHistoryEvaluation {\n /**\n * Z = k·B under this domain's key: a compressed Pallas point, 32 bytes.\n *\n * @generated from protobuf field: bytes evaluated_element = 1\n */\n evaluatedElement: Uint8Array;\n /**\n * Proof that Z uses the key behind this domain's evaluator_public_key\n * (Chaum-Pedersen DLEQ, RFC 9497 §2.2), bound to the operation.\n *\n * @generated from protobuf field: sid.v1.authn.PasswordHistoryEvaluationProof proof = 2\n */\n proof?: PasswordHistoryEvaluationProof;\n}\n/**\n * Chaum-Pedersen proof of log_G(pk) = log_B(Z). Each domain has its own key,\n * so each evaluation carries its own proof.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryEvaluationProof\n */\nexport interface PasswordHistoryEvaluationProof {\n /**\n * Challenge c: a Pallas scalar, 32 bytes little-endian.\n *\n * @generated from protobuf field: bytes challenge = 1\n */\n challenge: Uint8Array;\n /**\n * Response s = nonce − c·k: a Pallas scalar, 32 bytes little-endian.\n *\n * @generated from protobuf field: bytes response = 2\n */\n response: Uint8Array;\n}\n/**\n * A registration proof for the password being installed: its policy, breach\n * and history relation, and that the operation's OPAQUE registration element\n * is the blinded hash of that password. The operation ID and the registration\n * request bytes enter the proof transcript, so it verifies for no other\n * operation or request. Sent with the final registration record, where the\n * history checker verifies it and commits the credential. Absent when the\n * client cannot prove; the credential then installs policy-unverified and does\n * not advance trusted history.\n *\n * @generated from protobuf message sid.v1.authn.PasswordRegistrationProof\n */\nexport interface PasswordRegistrationProof {\n /**\n * Halo2 proof bytes. Client-generated with the OPAQUE registration request.\n *\n * @generated from protobuf field: bytes zkpp_proof = 1\n */\n zkppProof: Uint8Array;\n /**\n * The proof's public instances, 32 bytes each (Pallas base field,\n * little-endian): the OPAQUE registration element M = blind·H(P) (x, y), the\n * owner domain, the comparison domains, the blinded history input (x, y), and\n * per domain the evaluated element (x, y) and the tag. The server checks each\n * against the operation and its registration request; none is accepted from\n * the client on trust.\n *\n * @generated from protobuf field: repeated bytes instances = 2\n */\n instances: Uint8Array[];\n /**\n * The evaluator's proofs (EvaluatePasswordHistoryResponse), one per\n * comparison domain in the order of PasswordHistoryContext.domains, relayed\n * unchanged. The history checker verifies each against the blinded input\n * and evaluated element among `instances` and the domain key it prepared;\n * a missing, reordered or substituted proof fails the finish.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryEvaluationProof evaluation_proofs = 4\n */\n evaluationProofs: PasswordHistoryEvaluationProof[];\n}\n/**\n * What a password operation does to its owner's history.\n *\n * @generated from protobuf enum sid.v1.authn.PasswordHistoryOwnerKind\n */\nexport enum PasswordHistoryOwnerKind {\n /**\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * An owner with an account: its existing history keys apply.\n *\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_EXISTING = 1;\n */\n EXISTING = 1,\n /**\n * An owner the operation creates: it gets its first history key. Fails for\n * an owner that already has one, so it never resets a history.\n *\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_NEW = 2;\n */\n NEW = 2,\n /**\n * A registration start for an identifier someone holds: answered like any\n * other with throwaway keys, and never committed.\n *\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_DECOY = 3;\n */\n DECOY = 3\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreparePasswordHistoryRequest$Type extends MessageType<PreparePasswordHistoryRequest> {\n constructor() {\n super(\"sid.v1.authn.PreparePasswordHistoryRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => PasswordOperationId },\n { no: 5, name: \"owner_domain\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"owner_kind\", kind: \"enum\", T: () => [\"sid.v1.authn.PasswordHistoryOwnerKind\", PasswordHistoryOwnerKind, \"PASSWORD_HISTORY_OWNER_KIND_\"] },\n { no: 7, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 8, name: \"charge_key\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"live_comparison_domains\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"history_revision\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"settled_operations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordOperationId }\n ]);\n }\n create(value?: PartialMessage<PreparePasswordHistoryRequest>): PreparePasswordHistoryRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.ownerDomain = new Uint8Array(0);\n message.ownerKind = 0;\n message.chargeKey = \"\";\n message.liveComparisonDomains = [];\n message.historyRevision = 0n;\n message.settledOperations = [];\n if (value !== undefined)\n reflectionMergePartial<PreparePasswordHistoryRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreparePasswordHistoryRequest): PreparePasswordHistoryRequest {\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.ids.PasswordOperationId operation_id */ 1:\n message.operationId = PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* bytes owner_domain */ 5:\n message.ownerDomain = reader.bytes();\n break;\n case /* sid.v1.authn.PasswordHistoryOwnerKind owner_kind */ 6:\n message.ownerKind = reader.int32();\n break;\n case /* google.protobuf.Timestamp expires_at */ 7:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string charge_key */ 8:\n message.chargeKey = reader.string();\n break;\n case /* repeated bytes live_comparison_domains */ 2:\n message.liveComparisonDomains.push(reader.bytes());\n break;\n case /* uint64 history_revision */ 3:\n message.historyRevision = reader.uint64().toBigInt();\n break;\n case /* repeated sid.v1.ids.PasswordOperationId settled_operations */ 4:\n message.settledOperations.push(PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options));\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: PreparePasswordHistoryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PasswordOperationId operation_id = 1; */\n if (message.operationId)\n PasswordOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* repeated bytes live_comparison_domains = 2; */\n for (let i = 0; i < message.liveComparisonDomains.length; i++)\n writer.tag(2, WireType.LengthDelimited).bytes(message.liveComparisonDomains[i]);\n /* uint64 history_revision = 3; */\n if (message.historyRevision !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.historyRevision);\n /* repeated sid.v1.ids.PasswordOperationId settled_operations = 4; */\n for (let i = 0; i < message.settledOperations.length; i++)\n PasswordOperationId.internalBinaryWrite(message.settledOperations[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* bytes owner_domain = 5; */\n if (message.ownerDomain.length)\n writer.tag(5, WireType.LengthDelimited).bytes(message.ownerDomain);\n /* sid.v1.authn.PasswordHistoryOwnerKind owner_kind = 6; */\n if (message.ownerKind !== 0)\n writer.tag(6, WireType.Varint).int32(message.ownerKind);\n /* google.protobuf.Timestamp expires_at = 7; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(7, WireType.LengthDelimited).fork(), options).join();\n /* string charge_key = 8; */\n if (message.chargeKey !== \"\")\n writer.tag(8, WireType.LengthDelimited).string(message.chargeKey);\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.PreparePasswordHistoryRequest\n */\nexport const PreparePasswordHistoryRequest = new PreparePasswordHistoryRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreparePasswordHistoryResponse$Type extends MessageType<PreparePasswordHistoryResponse> {\n constructor() {\n super(\"sid.v1.authn.PreparePasswordHistoryResponse\", [\n { no: 1, name: \"domains\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryDomain },\n { no: 2, name: \"epochs\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryEpochDescriptor }\n ]);\n }\n create(value?: PartialMessage<PreparePasswordHistoryResponse>): PreparePasswordHistoryResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.domains = [];\n message.epochs = [];\n if (value !== undefined)\n reflectionMergePartial<PreparePasswordHistoryResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreparePasswordHistoryResponse): PreparePasswordHistoryResponse {\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 /* repeated sid.v1.authn.PasswordHistoryDomain domains */ 1:\n message.domains.push(PasswordHistoryDomain.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* repeated sid.v1.authn.PasswordHistoryEpochDescriptor epochs */ 2:\n message.epochs.push(PasswordHistoryEpochDescriptor.internalBinaryRead(reader, reader.uint32(), options));\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: PreparePasswordHistoryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authn.PasswordHistoryDomain domains = 1; */\n for (let i = 0; i < message.domains.length; i++)\n PasswordHistoryDomain.internalBinaryWrite(message.domains[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* repeated sid.v1.authn.PasswordHistoryEpochDescriptor epochs = 2; */\n for (let i = 0; i < message.epochs.length; i++)\n PasswordHistoryEpochDescriptor.internalBinaryWrite(message.epochs[i], writer.tag(2, 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.PreparePasswordHistoryResponse\n */\nexport const PreparePasswordHistoryResponse = new PreparePasswordHistoryResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryEpochDescriptor$Type extends MessageType<PasswordHistoryEpochDescriptor> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryEpochDescriptor\", [\n { no: 1, name: \"epoch_id\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"suite\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"ksf\", kind: \"message\", T: () => PasswordHistoryKsf },\n { no: 5, name: \"ksf_salt\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"created_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryEpochDescriptor>): PasswordHistoryEpochDescriptor {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.epochId = new Uint8Array(0);\n message.publicKey = new Uint8Array(0);\n message.suite = \"\";\n message.ksfSalt = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryEpochDescriptor>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryEpochDescriptor): PasswordHistoryEpochDescriptor {\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 /* bytes epoch_id */ 1:\n message.epochId = reader.bytes();\n break;\n case /* bytes public_key */ 2:\n message.publicKey = reader.bytes();\n break;\n case /* string suite */ 3:\n message.suite = reader.string();\n break;\n case /* sid.v1.authn.PasswordHistoryKsf ksf */ 4:\n message.ksf = PasswordHistoryKsf.internalBinaryRead(reader, reader.uint32(), options, message.ksf);\n break;\n case /* bytes ksf_salt */ 5:\n message.ksfSalt = reader.bytes();\n break;\n case /* google.protobuf.Timestamp created_at */ 6:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\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: PasswordHistoryEpochDescriptor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes epoch_id = 1; */\n if (message.epochId.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.epochId);\n /* bytes public_key = 2; */\n if (message.publicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.publicKey);\n /* string suite = 3; */\n if (message.suite !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.suite);\n /* sid.v1.authn.PasswordHistoryKsf ksf = 4; */\n if (message.ksf)\n PasswordHistoryKsf.internalBinaryWrite(message.ksf, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* bytes ksf_salt = 5; */\n if (message.ksfSalt.length)\n writer.tag(5, WireType.LengthDelimited).bytes(message.ksfSalt);\n /* google.protobuf.Timestamp created_at = 6; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(6, 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.PasswordHistoryEpochDescriptor\n */\nexport const PasswordHistoryEpochDescriptor = new PasswordHistoryEpochDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryKsf$Type extends MessageType<PasswordHistoryKsf> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryKsf\", [\n { no: 1, name: \"memory_kib\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ },\n { no: 2, name: \"passes\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"lanes\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryKsf>): PasswordHistoryKsf {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.memoryKib = 0;\n message.passes = 0;\n message.lanes = 0;\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryKsf>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryKsf): PasswordHistoryKsf {\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 /* uint32 memory_kib */ 1:\n message.memoryKib = reader.uint32();\n break;\n case /* uint32 passes */ 2:\n message.passes = reader.uint32();\n break;\n case /* uint32 lanes */ 3:\n message.lanes = reader.uint32();\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: PasswordHistoryKsf, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint32 memory_kib = 1; */\n if (message.memoryKib !== 0)\n writer.tag(1, WireType.Varint).uint32(message.memoryKib);\n /* uint32 passes = 2; */\n if (message.passes !== 0)\n writer.tag(2, WireType.Varint).uint32(message.passes);\n /* uint32 lanes = 3; */\n if (message.lanes !== 0)\n writer.tag(3, WireType.Varint).uint32(message.lanes);\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.PasswordHistoryKsf\n */\nexport const PasswordHistoryKsf = new PasswordHistoryKsf$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryContext$Type extends MessageType<PasswordHistoryContext> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryContext\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => PasswordOperationId },\n { no: 2, name: \"owner_domain\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"domains\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryDomain },\n { no: 4, name: \"policy_version\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryContext>): PasswordHistoryContext {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.ownerDomain = new Uint8Array(0);\n message.domains = [];\n message.policyVersion = 0;\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryContext>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryContext): PasswordHistoryContext {\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.ids.PasswordOperationId operation_id */ 1:\n message.operationId = PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* bytes owner_domain */ 2:\n message.ownerDomain = reader.bytes();\n break;\n case /* repeated sid.v1.authn.PasswordHistoryDomain domains */ 3:\n message.domains.push(PasswordHistoryDomain.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* uint32 policy_version */ 4:\n message.policyVersion = reader.uint32();\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: PasswordHistoryContext, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PasswordOperationId operation_id = 1; */\n if (message.operationId)\n PasswordOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* bytes owner_domain = 2; */\n if (message.ownerDomain.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.ownerDomain);\n /* repeated sid.v1.authn.PasswordHistoryDomain domains = 3; */\n for (let i = 0; i < message.domains.length; i++)\n PasswordHistoryDomain.internalBinaryWrite(message.domains[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* uint32 policy_version = 4; */\n if (message.policyVersion !== 0)\n writer.tag(4, WireType.Varint).uint32(message.policyVersion);\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.PasswordHistoryContext\n */\nexport const PasswordHistoryContext = new PasswordHistoryContext$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryDomain$Type extends MessageType<PasswordHistoryDomain> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryDomain\", [\n { no: 1, name: \"comparison_domain\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"evaluator_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryDomain>): PasswordHistoryDomain {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.comparisonDomain = new Uint8Array(0);\n message.evaluatorPublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryDomain>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryDomain): PasswordHistoryDomain {\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 /* bytes comparison_domain */ 1:\n message.comparisonDomain = reader.bytes();\n break;\n case /* bytes evaluator_public_key */ 2:\n message.evaluatorPublicKey = reader.bytes();\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: PasswordHistoryDomain, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes comparison_domain = 1; */\n if (message.comparisonDomain.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.comparisonDomain);\n /* bytes evaluator_public_key = 2; */\n if (message.evaluatorPublicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.evaluatorPublicKey);\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.PasswordHistoryDomain\n */\nexport const PasswordHistoryDomain = new PasswordHistoryDomain$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EvaluatePasswordHistoryRequest$Type extends MessageType<EvaluatePasswordHistoryRequest> {\n constructor() {\n super(\"sid.v1.authn.EvaluatePasswordHistoryRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => PasswordOperationId },\n { no: 2, name: \"blinded_input\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<EvaluatePasswordHistoryRequest>): EvaluatePasswordHistoryRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.blindedInput = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<EvaluatePasswordHistoryRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EvaluatePasswordHistoryRequest): EvaluatePasswordHistoryRequest {\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.ids.PasswordOperationId operation_id */ 1:\n message.operationId = PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* bytes blinded_input */ 2:\n message.blindedInput = reader.bytes();\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: EvaluatePasswordHistoryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PasswordOperationId operation_id = 1; */\n if (message.operationId)\n PasswordOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* bytes blinded_input = 2; */\n if (message.blindedInput.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.blindedInput);\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.EvaluatePasswordHistoryRequest\n */\nexport const EvaluatePasswordHistoryRequest = new EvaluatePasswordHistoryRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EvaluatePasswordHistoryResponse$Type extends MessageType<EvaluatePasswordHistoryResponse> {\n constructor() {\n super(\"sid.v1.authn.EvaluatePasswordHistoryResponse\", [\n { no: 1, name: \"evaluations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryEvaluation }\n ]);\n }\n create(value?: PartialMessage<EvaluatePasswordHistoryResponse>): EvaluatePasswordHistoryResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.evaluations = [];\n if (value !== undefined)\n reflectionMergePartial<EvaluatePasswordHistoryResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EvaluatePasswordHistoryResponse): EvaluatePasswordHistoryResponse {\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 /* repeated sid.v1.authn.PasswordHistoryEvaluation evaluations */ 1:\n message.evaluations.push(PasswordHistoryEvaluation.internalBinaryRead(reader, reader.uint32(), options));\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: EvaluatePasswordHistoryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authn.PasswordHistoryEvaluation evaluations = 1; */\n for (let i = 0; i < message.evaluations.length; i++)\n PasswordHistoryEvaluation.internalBinaryWrite(message.evaluations[i], 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.EvaluatePasswordHistoryResponse\n */\nexport const EvaluatePasswordHistoryResponse = new EvaluatePasswordHistoryResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryEvaluation$Type extends MessageType<PasswordHistoryEvaluation> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryEvaluation\", [\n { no: 1, name: \"evaluated_element\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"proof\", kind: \"message\", T: () => PasswordHistoryEvaluationProof }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryEvaluation>): PasswordHistoryEvaluation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.evaluatedElement = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryEvaluation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryEvaluation): PasswordHistoryEvaluation {\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 /* bytes evaluated_element */ 1:\n message.evaluatedElement = reader.bytes();\n break;\n case /* sid.v1.authn.PasswordHistoryEvaluationProof proof */ 2:\n message.proof = PasswordHistoryEvaluationProof.internalBinaryRead(reader, reader.uint32(), options, message.proof);\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: PasswordHistoryEvaluation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes evaluated_element = 1; */\n if (message.evaluatedElement.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.evaluatedElement);\n /* sid.v1.authn.PasswordHistoryEvaluationProof proof = 2; */\n if (message.proof)\n PasswordHistoryEvaluationProof.internalBinaryWrite(message.proof, writer.tag(2, 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.PasswordHistoryEvaluation\n */\nexport const PasswordHistoryEvaluation = new PasswordHistoryEvaluation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryEvaluationProof$Type extends MessageType<PasswordHistoryEvaluationProof> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryEvaluationProof\", [\n { no: 1, name: \"challenge\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"response\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryEvaluationProof>): PasswordHistoryEvaluationProof {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.challenge = new Uint8Array(0);\n message.response = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryEvaluationProof>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryEvaluationProof): PasswordHistoryEvaluationProof {\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 /* bytes challenge */ 1:\n message.challenge = reader.bytes();\n break;\n case /* bytes response */ 2:\n message.response = reader.bytes();\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: PasswordHistoryEvaluationProof, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes challenge = 1; */\n if (message.challenge.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.challenge);\n /* bytes response = 2; */\n if (message.response.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.response);\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.PasswordHistoryEvaluationProof\n */\nexport const PasswordHistoryEvaluationProof = new PasswordHistoryEvaluationProof$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordRegistrationProof$Type extends MessageType<PasswordRegistrationProof> {\n constructor() {\n super(\"sid.v1.authn.PasswordRegistrationProof\", [\n { no: 1, name: \"zkpp_proof\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"instances\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"evaluation_proofs\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryEvaluationProof }\n ]);\n }\n create(value?: PartialMessage<PasswordRegistrationProof>): PasswordRegistrationProof {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.zkppProof = new Uint8Array(0);\n message.instances = [];\n message.evaluationProofs = [];\n if (value !== undefined)\n reflectionMergePartial<PasswordRegistrationProof>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordRegistrationProof): PasswordRegistrationProof {\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 /* bytes zkpp_proof */ 1:\n message.zkppProof = reader.bytes();\n break;\n case /* repeated bytes instances */ 2:\n message.instances.push(reader.bytes());\n break;\n case /* repeated sid.v1.authn.PasswordHistoryEvaluationProof evaluation_proofs */ 4:\n message.evaluationProofs.push(PasswordHistoryEvaluationProof.internalBinaryRead(reader, reader.uint32(), options));\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: PasswordRegistrationProof, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes zkpp_proof = 1; */\n if (message.zkppProof.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.zkppProof);\n /* repeated bytes instances = 2; */\n for (let i = 0; i < message.instances.length; i++)\n writer.tag(2, WireType.LengthDelimited).bytes(message.instances[i]);\n /* repeated sid.v1.authn.PasswordHistoryEvaluationProof evaluation_proofs = 4; */\n for (let i = 0; i < message.evaluationProofs.length; i++)\n PasswordHistoryEvaluationProof.internalBinaryWrite(message.evaluationProofs[i], writer.tag(4, 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.PasswordRegistrationProof\n */\nexport const PasswordRegistrationProof = new PasswordRegistrationProof$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authn.PasswordHistoryEvaluatorService\n */\nexport const PasswordHistoryEvaluatorService = new ServiceType(\"sid.v1.authn.PasswordHistoryEvaluatorService\", [\n { name: \"EvaluatePasswordHistory\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/auth/password-history/evaluate\", body: \"*\" } }, I: EvaluatePasswordHistoryRequest, O: EvaluatePasswordHistoryResponse },\n { name: \"PreparePasswordHistory\", idempotency: \"IDEMPOTENT\", options: {}, I: PreparePasswordHistoryRequest, O: PreparePasswordHistoryResponse }\n]);\n"]}
1
+ {"version":3,"file":"password_history.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/password_history.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,8GAA8G;AAC9G,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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,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;QACpJ,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,8BAA8B,EAAE,CAAC;AAC9E;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,IAAI,WAAW,CAAC,8CAA8C,EAAE;IAC3G,EAAE,IAAI,EAAE,yBAAyB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,qBAAqB,EAAE,EAAE,QAAQ,EAAE,2LAA2L,EAAE,EAAE,EAAE,CAAC,EAAE,8BAA8B,EAAE,CAAC,EAAE,+BAA+B,EAAE;IAClc,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,qBAAqB,EAAE,EAAE,QAAQ,EAAE,6JAA6J,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CACtV,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/password_history.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 { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { PasswordOperationId } from \"../ids/ids.js\";\n/**\n * @generated from protobuf message sid.v1.authn.PreparePasswordHistoryRequest\n */\nexport interface PreparePasswordHistoryRequest {\n /**\n * The pending operation whose domains are selected, as the credential\n * service stored it.\n *\n * @generated from protobuf field: sid.v1.ids.PasswordOperationId operation_id = 1\n */\n operationId?: PasswordOperationId;\n /**\n * The owner, as the credential service resolved it from the authorized\n * ceremony: its history input domain (PasswordHistoryContext.owner_domain,\n * 32 bytes). The one owner reference the evaluator keys its history keys\n * by; it never receives the owner's account identifier. An end-user client\n * cannot supply it.\n *\n * @generated from protobuf field: bytes owner_domain = 5\n */\n ownerDomain: Uint8Array;\n /**\n * What the operation does to the owner's history.\n *\n * @generated from protobuf field: sid.v1.authn.PasswordHistoryOwnerKind owner_kind = 6\n */\n ownerKind: PasswordHistoryOwnerKind;\n /**\n * When the operation stops being able to commit, as the credential service\n * stored it. The evaluator admits no evaluation after it, and a repeat must\n * name the same instant.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 7\n */\n expiresAt?: Timestamp;\n /**\n * Who the operation's evaluations are charged to: an opaque key the\n * credential service derives from the authorized actor (at most 128\n * bytes), never a value an end-user client chooses.\n *\n * @generated from protobuf field: string charge_key = 8\n */\n chargeKey: string;\n /**\n * The comparison domains (PasswordHistoryDomain.comparison_domain, 32 bytes\n * each) in which the owner still retains at least one entry, as of\n * history_revision. Only the credential service, which holds the entries,\n * knows this; it commits the set with the entries it describes. Each must be\n * a domain the evaluator issued for this owner; an unknown one fails the call.\n *\n * @generated from protobuf field: repeated bytes live_comparison_domains = 2\n */\n liveComparisonDomains: Uint8Array[];\n /**\n * The owner's history revision the live domains belong to: increases with\n * every committed change of the owner's entries or retention, committed with\n * them. The evaluator acts on the newest revision it has accepted for the\n * owner and never retires a key on an older one, so a delayed or retried\n * request cannot retire a key a newer revision still needs.\n *\n * @generated from protobuf field: uint64 history_revision = 3\n */\n historyRevision: bigint;\n /**\n * The owner's earlier operations this revision settles: each one committed\n * (its entries are in the live set) or can no longer commit (aborted or\n * expired), as the credential service, which runs the commit, recorded with\n * the revision. The evaluator releases their pins; an operation not named\n * stays pinned until a later accepted revision names it or its lifetime\n * ends.\n *\n * @generated from protobuf field: repeated sid.v1.ids.PasswordOperationId settled_operations = 4\n */\n settledOperations: PasswordOperationId[];\n}\n/**\n * @generated from protobuf message sid.v1.authn.PreparePasswordHistoryResponse\n */\nexport interface PreparePasswordHistoryResponse {\n /**\n * The operation's comparison domains, in the order its evaluations and\n * proof follow; the credential service returns them to the client in\n * PasswordHistoryContext.domains.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryDomain domains = 1\n */\n domains: PasswordHistoryDomain[];\n /**\n * The public description of each domain's epoch, in the same order: what\n * the credential service keeps with the operation and, once committed,\n * with the owner's history, so the history checker compares without asking\n * the evaluator again. Never sent to an end-user client.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryEpochDescriptor epochs = 2\n */\n epochs: PasswordHistoryEpochDescriptor[];\n}\n/**\n * The immutable public description of one history epoch: everything the\n * history checker needs to recompute the comparison domain and stretch a tag,\n * and nothing that evaluates one. The credential service rejects a\n * descriptor that differs from one it already holds for the same epoch.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryEpochDescriptor\n */\nexport interface PasswordHistoryEpochDescriptor {\n /**\n * The epoch: a UUIDv7, 16 bytes.\n *\n * @generated from protobuf field: bytes epoch_id = 1\n */\n epochId: Uint8Array;\n /**\n * The evaluator's public key k·G: a compressed Pallas point, 32 bytes.\n *\n * @generated from protobuf field: bytes public_key = 2\n */\n publicKey: Uint8Array;\n /**\n * The relation suite the epoch's tags follow (\"pallas-poseidon-v1\").\n *\n * @generated from protobuf field: string suite = 3\n */\n suite: string;\n /**\n * The history KSF of the epoch's entries: Argon2id v1.3 (RFC 9106) with\n * a 32-byte output.\n *\n * @generated from protobuf field: sid.v1.authn.PasswordHistoryKsf ksf = 4\n */\n ksf?: PasswordHistoryKsf;\n /**\n * The KSF salt of every entry under the epoch: 32 bytes.\n *\n * @generated from protobuf field: bytes ksf_salt = 5\n */\n ksfSalt: Uint8Array;\n /**\n * When the evaluator created the epoch's key, before sealing or first use.\n * A history-key write cutoff bars new entries under every epoch created\n * before it; the credential service checks this instant when it commits.\n *\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 6\n */\n createdAt?: Timestamp;\n}\n/**\n * Argon2id v1.3 (RFC 9106 §3.1) parameters of one epoch's history KSF; the\n * output is 32 bytes.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryKsf\n */\nexport interface PasswordHistoryKsf {\n /**\n * Memory, KiB.\n *\n * @generated from protobuf field: uint32 memory_kib = 1\n */\n memoryKib: number;\n /**\n * Passes.\n *\n * @generated from protobuf field: uint32 passes = 2\n */\n passes: number;\n /**\n * Lanes.\n *\n * @generated from protobuf field: uint32 lanes = 3\n */\n lanes: number;\n}\n/**\n * What a client needs to build its history request and proof for one\n * password operation. Returned by the step that prepares the operation\n * (registration start, password-change challenge, password-reset verification).\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryContext\n */\nexport interface PasswordHistoryContext {\n /**\n * The operation this context belongs to. Every later step of the operation\n * (evaluation, OPAQUE start, finish) and every retry carries it. Issued by\n * the server when it prepares the operation.\n *\n * @generated from protobuf field: sid.v1.ids.PasswordOperationId operation_id = 1\n */\n operationId?: PasswordOperationId;\n /**\n * The owner's history input domain: 32 bytes, a Pallas base-field element in\n * little-endian canonical form. The client hashes the password under it into\n * the history input it blinds. Server-derived from the credential owner;\n * opaque to the client and unlinkable across installations and owners.\n *\n * @generated from protobuf field: bytes owner_domain = 2\n */\n ownerDomain: Uint8Array;\n /**\n * The comparison domains the operation must produce a tag for, in the order\n * the evaluations and the proof's tags follow. Server-selected from the\n * owner's retained history; at least one. The client cannot omit or reorder\n * one: the proof commits to this list.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryDomain domains = 3\n */\n domains: PasswordHistoryDomain[];\n /**\n * Password policy version the registration proof must be made for; the\n * verifying key of that version and domain count checks it.\n *\n * @generated from protobuf field: uint32 policy_version = 4\n */\n policyVersion: number;\n}\n/**\n * One comparison domain: the epoch, key and format under which a tag is\n * compared with the entries retained in it.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryDomain\n */\nexport interface PasswordHistoryDomain {\n /**\n * The domain element: 32 bytes, a Pallas base-field element in little-endian\n * canonical form. Enters the tag derivation, so tags of different domains\n * never compare equal.\n *\n * @generated from protobuf field: bytes comparison_domain = 1\n */\n comparisonDomain: Uint8Array;\n /**\n * The evaluator's public key for this domain, k·G: a compressed Pallas point,\n * 32 bytes. The client checks each evaluation proof against it before\n * proving, so a wrong or missing key fails before the costly proof.\n *\n * @generated from protobuf field: bytes evaluator_public_key = 2\n */\n evaluatorPublicKey: Uint8Array;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EvaluatePasswordHistoryRequest\n */\nexport interface EvaluatePasswordHistoryRequest {\n /**\n * The operation whose required domains are evaluated (from PasswordHistoryContext).\n *\n * @generated from protobuf field: sid.v1.ids.PasswordOperationId operation_id = 1\n */\n operationId?: PasswordOperationId;\n /**\n * The blinded history input B = r·H(u): a compressed Pallas point, 32 bytes,\n * not the identity. Client-computed from the password under the operation's\n * owner domain with a fresh nonzero blind r; reveals nothing about the password.\n *\n * @generated from protobuf field: bytes blinded_input = 2\n */\n blindedInput: Uint8Array;\n}\n/**\n * @generated from protobuf message sid.v1.authn.EvaluatePasswordHistoryResponse\n */\nexport interface EvaluatePasswordHistoryResponse {\n /**\n * One evaluation per required comparison domain, in the order of\n * PasswordHistoryContext.domains. Either all are present or the call fails.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryEvaluation evaluations = 1\n */\n evaluations: PasswordHistoryEvaluation[];\n}\n/**\n * The evaluator's answer for one comparison domain.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryEvaluation\n */\nexport interface PasswordHistoryEvaluation {\n /**\n * Z = k·B under this domain's key: a compressed Pallas point, 32 bytes.\n *\n * @generated from protobuf field: bytes evaluated_element = 1\n */\n evaluatedElement: Uint8Array;\n /**\n * Proof that Z uses the key behind this domain's evaluator_public_key\n * (Chaum-Pedersen DLEQ, RFC 9497 §2.2), bound to the operation.\n *\n * @generated from protobuf field: sid.v1.authn.PasswordHistoryEvaluationProof proof = 2\n */\n proof?: PasswordHistoryEvaluationProof;\n}\n/**\n * Chaum-Pedersen proof of log_G(pk) = log_B(Z). Each domain has its own key,\n * so each evaluation carries its own proof.\n *\n * @generated from protobuf message sid.v1.authn.PasswordHistoryEvaluationProof\n */\nexport interface PasswordHistoryEvaluationProof {\n /**\n * Challenge c: a Pallas scalar, 32 bytes little-endian.\n *\n * @generated from protobuf field: bytes challenge = 1\n */\n challenge: Uint8Array;\n /**\n * Response s = nonce − c·k: a Pallas scalar, 32 bytes little-endian.\n *\n * @generated from protobuf field: bytes response = 2\n */\n response: Uint8Array;\n}\n/**\n * A registration proof for the password being installed: its policy, breach\n * and history relation, and that the operation's OPAQUE registration element\n * is the blinded hash of that password. The operation ID and the registration\n * request bytes enter the proof transcript, so it verifies for no other\n * operation or request. Sent with the final registration record, where the\n * history checker verifies it and commits the credential. Absent when the\n * client cannot prove; the credential then installs policy-unverified and does\n * not advance trusted history.\n *\n * @generated from protobuf message sid.v1.authn.PasswordRegistrationProof\n */\nexport interface PasswordRegistrationProof {\n /**\n * Halo2 proof bytes. Client-generated with the OPAQUE registration request.\n *\n * @generated from protobuf field: bytes zkpp_proof = 1\n */\n zkppProof: Uint8Array;\n /**\n * The proof's public instances, 32 bytes each (Pallas base field,\n * little-endian): the OPAQUE registration element M = blind·H(P) (x, y), the\n * owner domain, the comparison domains, the blinded history input (x, y), and\n * per domain the evaluated element (x, y) and the tag. The server checks each\n * against the operation and its registration request; none is accepted from\n * the client on trust.\n *\n * @generated from protobuf field: repeated bytes instances = 2\n */\n instances: Uint8Array[];\n /**\n * The evaluator's proofs (EvaluatePasswordHistoryResponse), one per\n * comparison domain in the order of PasswordHistoryContext.domains, relayed\n * unchanged. The history checker verifies each against the blinded input\n * and evaluated element among `instances` and the domain key it prepared;\n * a missing, reordered or substituted proof fails the finish.\n *\n * @generated from protobuf field: repeated sid.v1.authn.PasswordHistoryEvaluationProof evaluation_proofs = 4\n */\n evaluationProofs: PasswordHistoryEvaluationProof[];\n}\n/**\n * What a password operation does to its owner's history.\n *\n * @generated from protobuf enum sid.v1.authn.PasswordHistoryOwnerKind\n */\nexport enum PasswordHistoryOwnerKind {\n /**\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * An owner with an account: its existing history keys apply.\n *\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_EXISTING = 1;\n */\n EXISTING = 1,\n /**\n * An owner the operation creates: it gets its first history key. Fails for\n * an owner that already has one, so it never resets a history.\n *\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_NEW = 2;\n */\n NEW = 2,\n /**\n * A registration start for an identifier someone holds: answered like any\n * other with throwaway keys, and never committed.\n *\n * @generated from protobuf enum value: PASSWORD_HISTORY_OWNER_KIND_DECOY = 3;\n */\n DECOY = 3\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreparePasswordHistoryRequest$Type extends MessageType<PreparePasswordHistoryRequest> {\n constructor() {\n super(\"sid.v1.authn.PreparePasswordHistoryRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => PasswordOperationId },\n { no: 5, name: \"owner_domain\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"owner_kind\", kind: \"enum\", T: () => [\"sid.v1.authn.PasswordHistoryOwnerKind\", PasswordHistoryOwnerKind, \"PASSWORD_HISTORY_OWNER_KIND_\"] },\n { no: 7, name: \"expires_at\", kind: \"message\", T: () => Timestamp },\n { no: 8, name: \"charge_key\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"live_comparison_domains\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"history_revision\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"settled_operations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordOperationId }\n ]);\n }\n create(value?: PartialMessage<PreparePasswordHistoryRequest>): PreparePasswordHistoryRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.ownerDomain = new Uint8Array(0);\n message.ownerKind = 0;\n message.chargeKey = \"\";\n message.liveComparisonDomains = [];\n message.historyRevision = 0n;\n message.settledOperations = [];\n if (value !== undefined)\n reflectionMergePartial<PreparePasswordHistoryRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreparePasswordHistoryRequest): PreparePasswordHistoryRequest {\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.ids.PasswordOperationId operation_id */ 1:\n message.operationId = PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* bytes owner_domain */ 5:\n message.ownerDomain = reader.bytes();\n break;\n case /* sid.v1.authn.PasswordHistoryOwnerKind owner_kind */ 6:\n message.ownerKind = reader.int32();\n break;\n case /* google.protobuf.Timestamp expires_at */ 7:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* string charge_key */ 8:\n message.chargeKey = reader.string();\n break;\n case /* repeated bytes live_comparison_domains */ 2:\n message.liveComparisonDomains.push(reader.bytes());\n break;\n case /* uint64 history_revision */ 3:\n message.historyRevision = reader.uint64().toBigInt();\n break;\n case /* repeated sid.v1.ids.PasswordOperationId settled_operations */ 4:\n message.settledOperations.push(PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options));\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: PreparePasswordHistoryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PasswordOperationId operation_id = 1; */\n if (message.operationId)\n PasswordOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* repeated bytes live_comparison_domains = 2; */\n for (let i = 0; i < message.liveComparisonDomains.length; i++)\n writer.tag(2, WireType.LengthDelimited).bytes(message.liveComparisonDomains[i]);\n /* uint64 history_revision = 3; */\n if (message.historyRevision !== 0n)\n writer.tag(3, WireType.Varint).uint64(message.historyRevision);\n /* repeated sid.v1.ids.PasswordOperationId settled_operations = 4; */\n for (let i = 0; i < message.settledOperations.length; i++)\n PasswordOperationId.internalBinaryWrite(message.settledOperations[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* bytes owner_domain = 5; */\n if (message.ownerDomain.length)\n writer.tag(5, WireType.LengthDelimited).bytes(message.ownerDomain);\n /* sid.v1.authn.PasswordHistoryOwnerKind owner_kind = 6; */\n if (message.ownerKind !== 0)\n writer.tag(6, WireType.Varint).int32(message.ownerKind);\n /* google.protobuf.Timestamp expires_at = 7; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(7, WireType.LengthDelimited).fork(), options).join();\n /* string charge_key = 8; */\n if (message.chargeKey !== \"\")\n writer.tag(8, WireType.LengthDelimited).string(message.chargeKey);\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.PreparePasswordHistoryRequest\n */\nexport const PreparePasswordHistoryRequest = new PreparePasswordHistoryRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PreparePasswordHistoryResponse$Type extends MessageType<PreparePasswordHistoryResponse> {\n constructor() {\n super(\"sid.v1.authn.PreparePasswordHistoryResponse\", [\n { no: 1, name: \"domains\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryDomain },\n { no: 2, name: \"epochs\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryEpochDescriptor }\n ]);\n }\n create(value?: PartialMessage<PreparePasswordHistoryResponse>): PreparePasswordHistoryResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.domains = [];\n message.epochs = [];\n if (value !== undefined)\n reflectionMergePartial<PreparePasswordHistoryResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PreparePasswordHistoryResponse): PreparePasswordHistoryResponse {\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 /* repeated sid.v1.authn.PasswordHistoryDomain domains */ 1:\n message.domains.push(PasswordHistoryDomain.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* repeated sid.v1.authn.PasswordHistoryEpochDescriptor epochs */ 2:\n message.epochs.push(PasswordHistoryEpochDescriptor.internalBinaryRead(reader, reader.uint32(), options));\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: PreparePasswordHistoryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authn.PasswordHistoryDomain domains = 1; */\n for (let i = 0; i < message.domains.length; i++)\n PasswordHistoryDomain.internalBinaryWrite(message.domains[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* repeated sid.v1.authn.PasswordHistoryEpochDescriptor epochs = 2; */\n for (let i = 0; i < message.epochs.length; i++)\n PasswordHistoryEpochDescriptor.internalBinaryWrite(message.epochs[i], writer.tag(2, 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.PreparePasswordHistoryResponse\n */\nexport const PreparePasswordHistoryResponse = new PreparePasswordHistoryResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryEpochDescriptor$Type extends MessageType<PasswordHistoryEpochDescriptor> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryEpochDescriptor\", [\n { no: 1, name: \"epoch_id\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"suite\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"ksf\", kind: \"message\", T: () => PasswordHistoryKsf },\n { no: 5, name: \"ksf_salt\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"created_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryEpochDescriptor>): PasswordHistoryEpochDescriptor {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.epochId = new Uint8Array(0);\n message.publicKey = new Uint8Array(0);\n message.suite = \"\";\n message.ksfSalt = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryEpochDescriptor>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryEpochDescriptor): PasswordHistoryEpochDescriptor {\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 /* bytes epoch_id */ 1:\n message.epochId = reader.bytes();\n break;\n case /* bytes public_key */ 2:\n message.publicKey = reader.bytes();\n break;\n case /* string suite */ 3:\n message.suite = reader.string();\n break;\n case /* sid.v1.authn.PasswordHistoryKsf ksf */ 4:\n message.ksf = PasswordHistoryKsf.internalBinaryRead(reader, reader.uint32(), options, message.ksf);\n break;\n case /* bytes ksf_salt */ 5:\n message.ksfSalt = reader.bytes();\n break;\n case /* google.protobuf.Timestamp created_at */ 6:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\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: PasswordHistoryEpochDescriptor, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes epoch_id = 1; */\n if (message.epochId.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.epochId);\n /* bytes public_key = 2; */\n if (message.publicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.publicKey);\n /* string suite = 3; */\n if (message.suite !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.suite);\n /* sid.v1.authn.PasswordHistoryKsf ksf = 4; */\n if (message.ksf)\n PasswordHistoryKsf.internalBinaryWrite(message.ksf, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* bytes ksf_salt = 5; */\n if (message.ksfSalt.length)\n writer.tag(5, WireType.LengthDelimited).bytes(message.ksfSalt);\n /* google.protobuf.Timestamp created_at = 6; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(6, 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.PasswordHistoryEpochDescriptor\n */\nexport const PasswordHistoryEpochDescriptor = new PasswordHistoryEpochDescriptor$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryKsf$Type extends MessageType<PasswordHistoryKsf> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryKsf\", [\n { no: 1, name: \"memory_kib\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ },\n { no: 2, name: \"passes\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"lanes\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryKsf>): PasswordHistoryKsf {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.memoryKib = 0;\n message.passes = 0;\n message.lanes = 0;\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryKsf>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryKsf): PasswordHistoryKsf {\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 /* uint32 memory_kib */ 1:\n message.memoryKib = reader.uint32();\n break;\n case /* uint32 passes */ 2:\n message.passes = reader.uint32();\n break;\n case /* uint32 lanes */ 3:\n message.lanes = reader.uint32();\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: PasswordHistoryKsf, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* uint32 memory_kib = 1; */\n if (message.memoryKib !== 0)\n writer.tag(1, WireType.Varint).uint32(message.memoryKib);\n /* uint32 passes = 2; */\n if (message.passes !== 0)\n writer.tag(2, WireType.Varint).uint32(message.passes);\n /* uint32 lanes = 3; */\n if (message.lanes !== 0)\n writer.tag(3, WireType.Varint).uint32(message.lanes);\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.PasswordHistoryKsf\n */\nexport const PasswordHistoryKsf = new PasswordHistoryKsf$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryContext$Type extends MessageType<PasswordHistoryContext> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryContext\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => PasswordOperationId },\n { no: 2, name: \"owner_domain\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"domains\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryDomain },\n { no: 4, name: \"policy_version\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryContext>): PasswordHistoryContext {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.ownerDomain = new Uint8Array(0);\n message.domains = [];\n message.policyVersion = 0;\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryContext>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryContext): PasswordHistoryContext {\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.ids.PasswordOperationId operation_id */ 1:\n message.operationId = PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* bytes owner_domain */ 2:\n message.ownerDomain = reader.bytes();\n break;\n case /* repeated sid.v1.authn.PasswordHistoryDomain domains */ 3:\n message.domains.push(PasswordHistoryDomain.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* uint32 policy_version */ 4:\n message.policyVersion = reader.uint32();\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: PasswordHistoryContext, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PasswordOperationId operation_id = 1; */\n if (message.operationId)\n PasswordOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* bytes owner_domain = 2; */\n if (message.ownerDomain.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.ownerDomain);\n /* repeated sid.v1.authn.PasswordHistoryDomain domains = 3; */\n for (let i = 0; i < message.domains.length; i++)\n PasswordHistoryDomain.internalBinaryWrite(message.domains[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* uint32 policy_version = 4; */\n if (message.policyVersion !== 0)\n writer.tag(4, WireType.Varint).uint32(message.policyVersion);\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.PasswordHistoryContext\n */\nexport const PasswordHistoryContext = new PasswordHistoryContext$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryDomain$Type extends MessageType<PasswordHistoryDomain> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryDomain\", [\n { no: 1, name: \"comparison_domain\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"evaluator_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryDomain>): PasswordHistoryDomain {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.comparisonDomain = new Uint8Array(0);\n message.evaluatorPublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryDomain>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryDomain): PasswordHistoryDomain {\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 /* bytes comparison_domain */ 1:\n message.comparisonDomain = reader.bytes();\n break;\n case /* bytes evaluator_public_key */ 2:\n message.evaluatorPublicKey = reader.bytes();\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: PasswordHistoryDomain, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes comparison_domain = 1; */\n if (message.comparisonDomain.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.comparisonDomain);\n /* bytes evaluator_public_key = 2; */\n if (message.evaluatorPublicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.evaluatorPublicKey);\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.PasswordHistoryDomain\n */\nexport const PasswordHistoryDomain = new PasswordHistoryDomain$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EvaluatePasswordHistoryRequest$Type extends MessageType<EvaluatePasswordHistoryRequest> {\n constructor() {\n super(\"sid.v1.authn.EvaluatePasswordHistoryRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => PasswordOperationId },\n { no: 2, name: \"blinded_input\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<EvaluatePasswordHistoryRequest>): EvaluatePasswordHistoryRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.blindedInput = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<EvaluatePasswordHistoryRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EvaluatePasswordHistoryRequest): EvaluatePasswordHistoryRequest {\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.ids.PasswordOperationId operation_id */ 1:\n message.operationId = PasswordOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* bytes blinded_input */ 2:\n message.blindedInput = reader.bytes();\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: EvaluatePasswordHistoryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.PasswordOperationId operation_id = 1; */\n if (message.operationId)\n PasswordOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* bytes blinded_input = 2; */\n if (message.blindedInput.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.blindedInput);\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.EvaluatePasswordHistoryRequest\n */\nexport const EvaluatePasswordHistoryRequest = new EvaluatePasswordHistoryRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass EvaluatePasswordHistoryResponse$Type extends MessageType<EvaluatePasswordHistoryResponse> {\n constructor() {\n super(\"sid.v1.authn.EvaluatePasswordHistoryResponse\", [\n { no: 1, name: \"evaluations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryEvaluation }\n ]);\n }\n create(value?: PartialMessage<EvaluatePasswordHistoryResponse>): EvaluatePasswordHistoryResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.evaluations = [];\n if (value !== undefined)\n reflectionMergePartial<EvaluatePasswordHistoryResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EvaluatePasswordHistoryResponse): EvaluatePasswordHistoryResponse {\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 /* repeated sid.v1.authn.PasswordHistoryEvaluation evaluations */ 1:\n message.evaluations.push(PasswordHistoryEvaluation.internalBinaryRead(reader, reader.uint32(), options));\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: EvaluatePasswordHistoryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.authn.PasswordHistoryEvaluation evaluations = 1; */\n for (let i = 0; i < message.evaluations.length; i++)\n PasswordHistoryEvaluation.internalBinaryWrite(message.evaluations[i], 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.EvaluatePasswordHistoryResponse\n */\nexport const EvaluatePasswordHistoryResponse = new EvaluatePasswordHistoryResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryEvaluation$Type extends MessageType<PasswordHistoryEvaluation> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryEvaluation\", [\n { no: 1, name: \"evaluated_element\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"proof\", kind: \"message\", T: () => PasswordHistoryEvaluationProof }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryEvaluation>): PasswordHistoryEvaluation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.evaluatedElement = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryEvaluation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryEvaluation): PasswordHistoryEvaluation {\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 /* bytes evaluated_element */ 1:\n message.evaluatedElement = reader.bytes();\n break;\n case /* sid.v1.authn.PasswordHistoryEvaluationProof proof */ 2:\n message.proof = PasswordHistoryEvaluationProof.internalBinaryRead(reader, reader.uint32(), options, message.proof);\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: PasswordHistoryEvaluation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes evaluated_element = 1; */\n if (message.evaluatedElement.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.evaluatedElement);\n /* sid.v1.authn.PasswordHistoryEvaluationProof proof = 2; */\n if (message.proof)\n PasswordHistoryEvaluationProof.internalBinaryWrite(message.proof, writer.tag(2, 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.PasswordHistoryEvaluation\n */\nexport const PasswordHistoryEvaluation = new PasswordHistoryEvaluation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordHistoryEvaluationProof$Type extends MessageType<PasswordHistoryEvaluationProof> {\n constructor() {\n super(\"sid.v1.authn.PasswordHistoryEvaluationProof\", [\n { no: 1, name: \"challenge\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"response\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<PasswordHistoryEvaluationProof>): PasswordHistoryEvaluationProof {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.challenge = new Uint8Array(0);\n message.response = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<PasswordHistoryEvaluationProof>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordHistoryEvaluationProof): PasswordHistoryEvaluationProof {\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 /* bytes challenge */ 1:\n message.challenge = reader.bytes();\n break;\n case /* bytes response */ 2:\n message.response = reader.bytes();\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: PasswordHistoryEvaluationProof, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes challenge = 1; */\n if (message.challenge.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.challenge);\n /* bytes response = 2; */\n if (message.response.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.response);\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.PasswordHistoryEvaluationProof\n */\nexport const PasswordHistoryEvaluationProof = new PasswordHistoryEvaluationProof$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PasswordRegistrationProof$Type extends MessageType<PasswordRegistrationProof> {\n constructor() {\n super(\"sid.v1.authn.PasswordRegistrationProof\", [\n { no: 1, name: \"zkpp_proof\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 2, name: \"instances\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"evaluation_proofs\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PasswordHistoryEvaluationProof }\n ]);\n }\n create(value?: PartialMessage<PasswordRegistrationProof>): PasswordRegistrationProof {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.zkppProof = new Uint8Array(0);\n message.instances = [];\n message.evaluationProofs = [];\n if (value !== undefined)\n reflectionMergePartial<PasswordRegistrationProof>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordRegistrationProof): PasswordRegistrationProof {\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 /* bytes zkpp_proof */ 1:\n message.zkppProof = reader.bytes();\n break;\n case /* repeated bytes instances */ 2:\n message.instances.push(reader.bytes());\n break;\n case /* repeated sid.v1.authn.PasswordHistoryEvaluationProof evaluation_proofs */ 4:\n message.evaluationProofs.push(PasswordHistoryEvaluationProof.internalBinaryRead(reader, reader.uint32(), options));\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: PasswordRegistrationProof, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bytes zkpp_proof = 1; */\n if (message.zkppProof.length)\n writer.tag(1, WireType.LengthDelimited).bytes(message.zkppProof);\n /* repeated bytes instances = 2; */\n for (let i = 0; i < message.instances.length; i++)\n writer.tag(2, WireType.LengthDelimited).bytes(message.instances[i]);\n /* repeated sid.v1.authn.PasswordHistoryEvaluationProof evaluation_proofs = 4; */\n for (let i = 0; i < message.evaluationProofs.length; i++)\n PasswordHistoryEvaluationProof.internalBinaryWrite(message.evaluationProofs[i], writer.tag(4, 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.PasswordRegistrationProof\n */\nexport const PasswordRegistrationProof = new PasswordRegistrationProof$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authn.PasswordHistoryEvaluatorService\n */\nexport const PasswordHistoryEvaluatorService = new ServiceType(\"sid.v1.authn.PasswordHistoryEvaluatorService\", [\n { name: \"EvaluatePasswordHistory\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/auth/password-history/evaluate\", body: \"*\" }, \"sid.v1.common.retry\": { ceremony: \"the password operation the request names keeps its charged answers: an exact repeat returns them, another input is refused, nothing is evaluated after the operation can no longer commit\" } }, I: EvaluatePasswordHistoryRequest, O: EvaluatePasswordHistoryResponse },\n { name: \"PreparePasswordHistory\", idempotency: \"IDEMPOTENT\", options: { \"sid.v1.common.retry\": { ceremony: \"the password operation the request names keeps its admission: an exact repeat returns the original domains, a repeat with any admission field changed fails\" } }, I: PreparePasswordHistoryRequest, O: PreparePasswordHistoryResponse }\n]);\n"]}
@@ -0,0 +1,114 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import { MessageType } from "@protobuf-ts/runtime";
7
+ import { Timestamp } from "../../../google/protobuf/timestamp.js";
8
+ /**
9
+ * What the verifier at the resource boundary confirmed about one original
10
+ * request. It is bound to that request, its token and the resource it was
11
+ * made to; it is the verifier's testimony, not a new proof. The proof itself
12
+ * is not resent: its identity is admitted once by the token's issuer for this
13
+ * request (RFC 9449 §11.1), and a later question about the same request
14
+ * confirms that admission rather than consuming the proof again.
15
+ *
16
+ * @generated from protobuf message sid.v1.authn.RequestConfirmation
17
+ */
18
+ export interface RequestConfirmation {
19
+ /**
20
+ * Which kind of sender proof was verified.
21
+ *
22
+ * @generated from protobuf field: sid.v1.authn.SenderProofProfile profile = 1
23
+ */
24
+ profile: SenderProofProfile;
25
+ /**
26
+ * The original request's HTTP method, as received at the resource.
27
+ *
28
+ * @generated from protobuf field: string method = 2
29
+ */
30
+ method: string;
31
+ /**
32
+ * The original request's external URI without query and fragment, as
33
+ * reconstructed from authenticated ingress context (the DPoP `htu`,
34
+ * RFC 9449 §4.2).
35
+ *
36
+ * @generated from protobuf field: string uri = 3
37
+ */
38
+ uri: string;
39
+ /**
40
+ * The verifier's identifier of the original request, created by the
41
+ * verifier for each request it receives, never taken from the client, the
42
+ * proof or a business idempotency key: a retry of the same pending request
43
+ * carries the same value, a new request a new one. 16 random bytes.
44
+ *
45
+ * @generated from protobuf field: bytes request_id = 4
46
+ */
47
+ requestId: Uint8Array;
48
+ /**
49
+ * The JWK SHA-256 thumbprint (RFC 7638) of the key the proof was verified
50
+ * with; it must equal the token's `cnf.jkt` (RFC 9449 §6.1).
51
+ *
52
+ * @generated from protobuf field: string jkt = 5
53
+ */
54
+ jkt: string;
55
+ /**
56
+ * When the verifier checked the proof.
57
+ *
58
+ * @generated from protobuf field: google.protobuf.Timestamp verified_at = 6
59
+ */
60
+ verifiedAt?: Timestamp;
61
+ /**
62
+ * Until when the confirmation may be used for this request; never beyond
63
+ * the token's expiry. It bounds retries of this request only: the
64
+ * issuer keeps the proof's admission for the proof's whole acceptance
65
+ * window, however short this is.
66
+ *
67
+ * @generated from protobuf field: google.protobuf.Timestamp valid_until = 7
68
+ */
69
+ validUntil?: Timestamp;
70
+ /**
71
+ * The verified proof's `jti` (RFC 9449 §4.2), as the proof carries it. With
72
+ * the issuer, the resource and `jkt` it identifies the proof the issuer
73
+ * admits once.
74
+ *
75
+ * @generated from protobuf field: string proof_jti = 8
76
+ */
77
+ proofJti: string;
78
+ /**
79
+ * The verified proof's `iat` (RFC 9449 §4.2), as the proof carries it. The
80
+ * issuer keeps the admission until the proof can no longer be accepted:
81
+ * its own proof age and clock allowance past this instant.
82
+ *
83
+ * @generated from protobuf field: google.protobuf.Timestamp proof_iat = 9
84
+ */
85
+ proofIat?: Timestamp;
86
+ }
87
+ /**
88
+ * The kind of sender proof a confirmation reports.
89
+ *
90
+ * @generated from protobuf enum sid.v1.authn.SenderProofProfile
91
+ */
92
+ export declare enum SenderProofProfile {
93
+ /**
94
+ * @generated from protobuf enum value: SENDER_PROOF_PROFILE_UNSPECIFIED = 0;
95
+ */
96
+ UNSPECIFIED = 0,
97
+ /**
98
+ * A DPoP proof (RFC 9449).
99
+ *
100
+ * @generated from protobuf enum value: SENDER_PROOF_PROFILE_DPOP = 1;
101
+ */
102
+ DPOP = 1
103
+ }
104
+ declare class RequestConfirmation$Type extends MessageType<RequestConfirmation> {
105
+ constructor();
106
+ create(value?: PartialMessage<RequestConfirmation>): RequestConfirmation;
107
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RequestConfirmation): RequestConfirmation;
108
+ internalBinaryWrite(message: RequestConfirmation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
109
+ }
110
+ /**
111
+ * @generated MessageType for protobuf message sid.v1.authn.RequestConfirmation
112
+ */
113
+ export declare const RequestConfirmation: RequestConfirmation$Type;
114
+ export {};