@structured-id/proto 0.19.0 → 0.21.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 (32) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/generated/sid/v1/admin/enrollment.d.ts +0 -8
  3. package/dist/generated/sid/v1/admin/enrollment.js +1 -9
  4. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  5. package/dist/generated/sid/v1/admin/settings.client.d.ts +69 -1
  6. package/dist/generated/sid/v1/admin/settings.client.js +61 -17
  7. package/dist/generated/sid/v1/admin/settings.client.js.map +1 -1
  8. package/dist/generated/sid/v1/admin/settings.d.ts +205 -12
  9. package/dist/generated/sid/v1/admin/settings.js +313 -31
  10. package/dist/generated/sid/v1/admin/settings.js.map +1 -1
  11. package/dist/generated/sid/v1/authn/auth.client.d.ts +47 -10
  12. package/dist/generated/sid/v1/authn/auth.client.js +66 -45
  13. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  14. package/dist/generated/sid/v1/authn/auth.d.ts +47 -3
  15. package/dist/generated/sid/v1/authn/auth.js +64 -1
  16. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  17. package/dist/generated/sid/v1/authn/auth_flow.client.d.ts +140 -0
  18. package/dist/generated/sid/v1/authn/auth_flow.client.js +81 -0
  19. package/dist/generated/sid/v1/authn/auth_flow.client.js.map +1 -0
  20. package/dist/generated/sid/v1/authn/auth_flow.d.ts +418 -0
  21. package/dist/generated/sid/v1/authn/auth_flow.js +623 -0
  22. package/dist/generated/sid/v1/authn/auth_flow.js.map +1 -0
  23. package/dist/generated/sid/v1/common/claims.d.ts +138 -0
  24. package/dist/generated/sid/v1/common/claims.js +168 -0
  25. package/dist/generated/sid/v1/common/claims.js.map +1 -0
  26. package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
  27. package/dist/generated/sid/v1/ids/ids.js +1 -0
  28. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  29. package/dist/generated/sid/v1/projects/projects.d.ts +46 -0
  30. package/dist/generated/sid/v1/projects/projects.js +74 -3
  31. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  32. package/package.json +6 -6
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth_flow.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/auth_flow.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,uGAAuG;AACvG,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,qBAAqB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AA+OzD;;;;GAIG;AACH,MAAM,CAAN,IAAY,YAuBX;AAvBD,WAAY,YAAY;IACpB;;OAEG;IACH,6DAAe,CAAA;IACf;;;;OAIG;IACH,+CAAQ,CAAA;IACR;;;;OAIG;IACH,mDAAU,CAAA;IACV;;;;OAIG;IACH,2DAAc,CAAA;AAClB,CAAC,EAvBW,YAAY,KAAZ,YAAY,QAuBvB;AACD;;;;GAIG;AACH,MAAM,CAAN,IAAY,eAiBX;AAjBD,WAAY,eAAe;IACvB;;OAEG;IACH,mEAAe,CAAA;IACf;;;;OAIG;IACH,2DAAW,CAAA;IACX;;;;OAIG;IACH,qDAAQ,CAAA;AACZ,CAAC,EAjBW,eAAe,KAAf,eAAe,QAiB1B;AACD;;;;GAIG;AACH,MAAM,CAA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,SAAS,GAAG,IAAI,cAAc,EAAE,CAAC;AAC9C;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,WAAW,CAAC,8BAA8B,EAAE;IAC3E,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,oDAAoD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,+IAA+I,EAAE,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,cAAc,EAAE;IACzb,EAAE,IAAI,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,6CAA6C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,8KAA8K,EAAE,EAAE,qBAAqB,EAAE,EAAE,OAAO,EAAE,kNAAkN,EAAE,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,SAAS,EAAE;IACrsB,EAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,gDAAgD,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,sBAAsB,EAAE,EAAE,IAAI,EAAE,+IAA+I,EAAE,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,EAAE,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,SAAS,EAAE;CACvb,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/auth_flow.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 { ClaimType } from \"../common/claims.js\";\nimport { ClaimRequestLevel } from \"../common/claims.js\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp.js\";\nimport { AuthorizationOperationId } from \"../ids/ids.js\";\n/**\n * @generated from protobuf message sid.v1.authn.GetConsentRequest\n */\nexport interface GetConsentRequest {\n /**\n * The operation the consent page was sent to review, from the issuer's\n * redirect to that page. A reference only: the IdP session decides\n * whether it may be read.\n *\n * @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1\n */\n operationId?: AuthorizationOperationId;\n}\n/**\n * What the user is asked to decide for one authorization operation.\n *\n * @generated from protobuf message sid.v1.authn.ConsentDetails\n */\nexport interface ConsentDetails {\n /**\n * The operation under review.\n *\n * @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1\n */\n operationId?: AuthorizationOperationId;\n /**\n * The revision this review shows. A decision names it; the operation\n * refuses a decision for any other revision.\n *\n * @generated from protobuf field: uint64 revision = 2\n */\n revision: bigint;\n /**\n * Server-generated value bound to the browser's IdP session, this\n * operation and this revision; echoed unchanged in SubmitConsent. Not a\n * credential by itself and never logged.\n *\n * @generated from protobuf field: bytes csrf_token = 3\n */\n csrfToken: Uint8Array;\n /**\n * The canonical URL of the issuer the authorization is for (OIDC\n * Discovery 1.0 §4.3), shown to the user.\n *\n * @generated from protobuf field: string issuer = 4\n */\n issuer: string;\n /**\n * The requesting client's registered identifier (RFC 6749 §2.2).\n *\n * @generated from protobuf field: string client_id = 5\n */\n clientId: string;\n /**\n * The client's display name as registered; empty when it names none.\n *\n * @generated from protobuf field: string client_name = 6\n */\n clientName: string;\n /**\n * The resource indicator the access tokens will be for (RFC 8707 §2).\n *\n * @generated from protobuf field: string resource = 7\n */\n resource: string;\n /**\n * The scopes the request asks for that the client may be granted\n * (RFC 6749 §3.3), in the order requested. Approval grants exactly these.\n *\n * @generated from protobuf field: repeated string scopes = 8\n */\n scopes: string[];\n /**\n * The claims these scopes release, one entry each, with the sharing\n * choices the user may make for it.\n *\n * @generated from protobuf field: repeated sid.v1.authn.ConsentClaim claims = 9\n */\n claims: ConsentClaim[];\n /**\n * How the selected identity is shown to the user: the display name of the\n * Profile signing in, for the user's own recognition. Never sent to the\n * client.\n *\n * @generated from protobuf field: string identity_display_name = 10\n */\n identityDisplayName: string;\n /**\n * When the operation stops waiting for a decision; afterwards it is\n * expired and a new authorization starts at the client.\n *\n * @generated from protobuf field: google.protobuf.Timestamp expires_at = 11\n */\n expiresAt?: Timestamp;\n}\n/**\n * One claim the reviewed scopes release.\n *\n * @generated from protobuf message sid.v1.authn.ConsentClaim\n */\nexport interface ConsentClaim {\n /**\n * The claim name (OIDC Core 1.0 §5.1), for example `email`.\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * How important the claim is to the client.\n *\n * @generated from protobuf field: sid.v1.common.ClaimRequestLevel level = 2\n */\n level: ClaimRequestLevel;\n /**\n * The client's stated reason; present for a DEMANDED claim.\n *\n * @generated from protobuf field: optional string justification = 3\n */\n justification?: string;\n /**\n * The sharing modes the user may choose for this claim; one of them is\n * chosen in SubmitConsent. Never empty for an approvable claim.\n *\n * @generated from protobuf field: repeated sid.v1.authn.ClaimSharing allowed = 4\n */\n allowed: ClaimSharing[];\n /**\n * What sharing discloses: the claim's value, or only that it was\n * verified, as the client registered the request.\n *\n * @generated from protobuf field: sid.v1.common.ClaimType type = 5\n */\n type: ClaimType;\n /**\n * The value approving discloses, from the selected Profile's current\n * version as this review reads it, for example `alice@example.com`.\n * Absent when the Profile holds no value: the claim cannot be shared.\n * A value changed after this review makes its decision stale.\n *\n * @generated from protobuf field: optional string value = 6\n */\n value?: string;\n}\n/**\n * @generated from protobuf message sid.v1.authn.SubmitConsentRequest\n */\nexport interface SubmitConsentRequest {\n /**\n * The operation decided.\n *\n * @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1\n */\n operationId?: AuthorizationOperationId;\n /**\n * The revision the user reviewed, as ConsentDetails answered it.\n *\n * @generated from protobuf field: uint64 revision = 2\n */\n revision: bigint;\n /**\n * The CSRF value ConsentDetails answered for that revision.\n *\n * @generated from protobuf field: bytes csrf_token = 3\n */\n csrfToken: Uint8Array;\n /**\n * The user's explicit decision.\n *\n * @generated from protobuf field: sid.v1.authn.ConsentDecision decision = 4\n */\n decision: ConsentDecision;\n /**\n * For an approval, the sharing choice for each claim of the review, one\n * entry per claim, each among that claim's allowed choices. Ignored for a\n * denial.\n *\n * @generated from protobuf field: repeated sid.v1.authn.ClaimChoice choices = 5\n */\n choices: ClaimChoice[];\n}\n/**\n * The user's choice for one reviewed claim.\n *\n * @generated from protobuf message sid.v1.authn.ClaimChoice\n */\nexport interface ClaimChoice {\n /**\n * The claim name, as ConsentClaim named it.\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * The chosen sharing mode, one of that claim's allowed modes.\n *\n * @generated from protobuf field: sid.v1.authn.ClaimSharing sharing = 2\n */\n sharing: ClaimSharing;\n}\n/**\n * @generated from protobuf message sid.v1.authn.GetFlowStateRequest\n */\nexport interface GetFlowStateRequest {\n /**\n * The operation whose state is read.\n *\n * @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1\n */\n operationId?: AuthorizationOperationId;\n}\n/**\n * The durable state of an authorization operation.\n *\n * @generated from protobuf message sid.v1.authn.FlowState\n */\nexport interface FlowState {\n /**\n * The operation.\n *\n * @generated from protobuf field: sid.v1.ids.AuthorizationOperationId operation_id = 1\n */\n operationId?: AuthorizationOperationId;\n /**\n * Where the operation stands.\n *\n * @generated from protobuf field: sid.v1.authn.AuthorizationStep step = 2\n */\n step: AuthorizationStep;\n /**\n * The issuer continuation the browser navigates to, present while the\n * operation is approved or denied and its outcome not yet delivered: the\n * issuer's own authorization endpoint continuing this operation. It\n * carries no code or token and is never a client-supplied URL.\n *\n * @generated from protobuf field: optional string continuation_uri = 3\n */\n continuationUri?: string;\n}\n/**\n * How a claim is shared with the client.\n *\n * @generated from protobuf enum sid.v1.authn.ClaimSharing\n */\nexport enum ClaimSharing {\n /**\n * @generated from protobuf enum value: CLAIM_SHARING_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Not shared.\n *\n * @generated from protobuf enum value: CLAIM_SHARING_NONE = 1;\n */\n NONE = 1,\n /**\n * The current value only; a later change is not delivered.\n *\n * @generated from protobuf enum value: CLAIM_SHARING_STATIC = 2;\n */\n STATIC = 2,\n /**\n * The current value and its later changes, as the client subscribed.\n *\n * @generated from protobuf enum value: CLAIM_SHARING_SUBSCRIBED = 3;\n */\n SUBSCRIBED = 3\n}\n/**\n * The user's decision on an authorization operation.\n *\n * @generated from protobuf enum sid.v1.authn.ConsentDecision\n */\nexport enum ConsentDecision {\n /**\n * @generated from protobuf enum value: CONSENT_DECISION_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Grant the reviewed authorization with the given claim choices.\n *\n * @generated from protobuf enum value: CONSENT_DECISION_APPROVE = 1;\n */\n APPROVE = 1,\n /**\n * Refuse this authorization request; earlier grants are not affected.\n *\n * @generated from protobuf enum value: CONSENT_DECISION_DENY = 2;\n */\n DENY = 2\n}\n/**\n * Where an authorization operation stands.\n *\n * @generated from protobuf enum sid.v1.authn.AuthorizationStep\n */\nexport enum AuthorizationStep {\n /**\n * @generated from protobuf enum value: AUTHORIZATION_STEP_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Waiting for the user's decision.\n *\n * @generated from protobuf enum value: AUTHORIZATION_STEP_AWAITING_CONSENT = 1;\n */\n AWAITING_CONSENT = 1,\n /**\n * Approved; the issuer issues the code when the browser continues.\n *\n * @generated from protobuf enum value: AUTHORIZATION_STEP_APPROVED = 2;\n */\n APPROVED = 2,\n /**\n * Denied; the issuer returns `access_denied` when the browser continues.\n *\n * @generated from protobuf enum value: AUTHORIZATION_STEP_DENIED = 3;\n */\n DENIED = 3,\n /**\n * The issuer issued the operation's one code or delivered its denial;\n * nothing more is issued for it.\n *\n * @generated from protobuf enum value: AUTHORIZATION_STEP_COMPLETED = 4;\n */\n COMPLETED = 4,\n /**\n * The operation expired or was superseded before completing.\n *\n * @generated from protobuf enum value: AUTHORIZATION_STEP_EXPIRED = 5;\n */\n EXPIRED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetConsentRequest$Type extends MessageType<GetConsentRequest> {\n constructor() {\n super(\"sid.v1.authn.GetConsentRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => AuthorizationOperationId }\n ]);\n }\n create(value?: PartialMessage<GetConsentRequest>): GetConsentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetConsentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetConsentRequest): GetConsentRequest {\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.AuthorizationOperationId operation_id */ 1:\n message.operationId = AuthorizationOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\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: GetConsentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.AuthorizationOperationId operation_id = 1; */\n if (message.operationId)\n AuthorizationOperationId.internalBinaryWrite(message.operationId, 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.GetConsentRequest\n */\nexport const GetConsentRequest = new GetConsentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ConsentDetails$Type extends MessageType<ConsentDetails> {\n constructor() {\n super(\"sid.v1.authn.ConsentDetails\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => AuthorizationOperationId },\n { no: 2, name: \"revision\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"csrf_token\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"issuer\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"client_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"client_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"resource\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"scopes\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 9, name: \"claims\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ConsentClaim },\n { no: 10, name: \"identity_display_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"expires_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<ConsentDetails>): ConsentDetails {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.revision = 0n;\n message.csrfToken = new Uint8Array(0);\n message.issuer = \"\";\n message.clientId = \"\";\n message.clientName = \"\";\n message.resource = \"\";\n message.scopes = [];\n message.claims = [];\n message.identityDisplayName = \"\";\n if (value !== undefined)\n reflectionMergePartial<ConsentDetails>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConsentDetails): ConsentDetails {\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.AuthorizationOperationId operation_id */ 1:\n message.operationId = AuthorizationOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* uint64 revision */ 2:\n message.revision = reader.uint64().toBigInt();\n break;\n case /* bytes csrf_token */ 3:\n message.csrfToken = reader.bytes();\n break;\n case /* string issuer */ 4:\n message.issuer = reader.string();\n break;\n case /* string client_id */ 5:\n message.clientId = reader.string();\n break;\n case /* string client_name */ 6:\n message.clientName = reader.string();\n break;\n case /* string resource */ 7:\n message.resource = reader.string();\n break;\n case /* repeated string scopes */ 8:\n message.scopes.push(reader.string());\n break;\n case /* repeated sid.v1.authn.ConsentClaim claims */ 9:\n message.claims.push(ConsentClaim.internalBinaryRead(reader, reader.uint32(), options));\n break;\n case /* string identity_display_name */ 10:\n message.identityDisplayName = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 11:\n message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\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: ConsentDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.AuthorizationOperationId operation_id = 1; */\n if (message.operationId)\n AuthorizationOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* uint64 revision = 2; */\n if (message.revision !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.revision);\n /* bytes csrf_token = 3; */\n if (message.csrfToken.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.csrfToken);\n /* string issuer = 4; */\n if (message.issuer !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.issuer);\n /* string client_id = 5; */\n if (message.clientId !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.clientId);\n /* string client_name = 6; */\n if (message.clientName !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.clientName);\n /* string resource = 7; */\n if (message.resource !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.resource);\n /* repeated string scopes = 8; */\n for (let i = 0; i < message.scopes.length; i++)\n writer.tag(8, WireType.LengthDelimited).string(message.scopes[i]);\n /* repeated sid.v1.authn.ConsentClaim claims = 9; */\n for (let i = 0; i < message.claims.length; i++)\n ConsentClaim.internalBinaryWrite(message.claims[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();\n /* string identity_display_name = 10; */\n if (message.identityDisplayName !== \"\")\n writer.tag(10, WireType.LengthDelimited).string(message.identityDisplayName);\n /* google.protobuf.Timestamp expires_at = 11; */\n if (message.expiresAt)\n Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(11, 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.ConsentDetails\n */\nexport const ConsentDetails = new ConsentDetails$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ConsentClaim$Type extends MessageType<ConsentClaim> {\n constructor() {\n super(\"sid.v1.authn.ConsentClaim\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"level\", kind: \"enum\", T: () => [\"sid.v1.common.ClaimRequestLevel\", ClaimRequestLevel, \"CLAIM_REQUEST_LEVEL_\"] },\n { no: 3, name: \"justification\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"allowed\", kind: \"enum\", repeat: 1 /*RepeatType.PACKED*/, T: () => [\"sid.v1.authn.ClaimSharing\", ClaimSharing, \"CLAIM_SHARING_\"] },\n { no: 5, name: \"type\", kind: \"enum\", T: () => [\"sid.v1.common.ClaimType\", ClaimType, \"CLAIM_TYPE_\"] },\n { no: 6, name: \"value\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ConsentClaim>): ConsentClaim {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.level = 0;\n message.allowed = [];\n message.type = 0;\n if (value !== undefined)\n reflectionMergePartial<ConsentClaim>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConsentClaim): ConsentClaim {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* sid.v1.common.ClaimRequestLevel level */ 2:\n message.level = reader.int32();\n break;\n case /* optional string justification */ 3:\n message.justification = reader.string();\n break;\n case /* repeated sid.v1.authn.ClaimSharing allowed */ 4:\n if (wireType === WireType.LengthDelimited)\n for (let e = reader.int32() + reader.pos; reader.pos < e;)\n message.allowed.push(reader.int32());\n else\n message.allowed.push(reader.int32());\n break;\n case /* sid.v1.common.ClaimType type */ 5:\n message.type = reader.int32();\n break;\n case /* optional string value */ 6:\n message.value = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ConsentClaim, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* sid.v1.common.ClaimRequestLevel level = 2; */\n if (message.level !== 0)\n writer.tag(2, WireType.Varint).int32(message.level);\n /* optional string justification = 3; */\n if (message.justification !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.justification);\n /* repeated sid.v1.authn.ClaimSharing allowed = 4; */\n if (message.allowed.length) {\n writer.tag(4, WireType.LengthDelimited).fork();\n for (let i = 0; i < message.allowed.length; i++)\n writer.int32(message.allowed[i]);\n writer.join();\n }\n /* sid.v1.common.ClaimType type = 5; */\n if (message.type !== 0)\n writer.tag(5, WireType.Varint).int32(message.type);\n /* optional string value = 6; */\n if (message.value !== undefined)\n writer.tag(6, WireType.LengthDelimited).string(message.value);\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.ConsentClaim\n */\nexport const ConsentClaim = new ConsentClaim$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubmitConsentRequest$Type extends MessageType<SubmitConsentRequest> {\n constructor() {\n super(\"sid.v1.authn.SubmitConsentRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => AuthorizationOperationId },\n { no: 2, name: \"revision\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"csrf_token\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"decision\", kind: \"enum\", T: () => [\"sid.v1.authn.ConsentDecision\", ConsentDecision, \"CONSENT_DECISION_\"] },\n { no: 5, name: \"choices\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimChoice }\n ]);\n }\n create(value?: PartialMessage<SubmitConsentRequest>): SubmitConsentRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.revision = 0n;\n message.csrfToken = new Uint8Array(0);\n message.decision = 0;\n message.choices = [];\n if (value !== undefined)\n reflectionMergePartial<SubmitConsentRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitConsentRequest): SubmitConsentRequest {\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.AuthorizationOperationId operation_id */ 1:\n message.operationId = AuthorizationOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* uint64 revision */ 2:\n message.revision = reader.uint64().toBigInt();\n break;\n case /* bytes csrf_token */ 3:\n message.csrfToken = reader.bytes();\n break;\n case /* sid.v1.authn.ConsentDecision decision */ 4:\n message.decision = reader.int32();\n break;\n case /* repeated sid.v1.authn.ClaimChoice choices */ 5:\n message.choices.push(ClaimChoice.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: SubmitConsentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.AuthorizationOperationId operation_id = 1; */\n if (message.operationId)\n AuthorizationOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* uint64 revision = 2; */\n if (message.revision !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.revision);\n /* bytes csrf_token = 3; */\n if (message.csrfToken.length)\n writer.tag(3, WireType.LengthDelimited).bytes(message.csrfToken);\n /* sid.v1.authn.ConsentDecision decision = 4; */\n if (message.decision !== 0)\n writer.tag(4, WireType.Varint).int32(message.decision);\n /* repeated sid.v1.authn.ClaimChoice choices = 5; */\n for (let i = 0; i < message.choices.length; i++)\n ClaimChoice.internalBinaryWrite(message.choices[i], writer.tag(5, 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.SubmitConsentRequest\n */\nexport const SubmitConsentRequest = new SubmitConsentRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ClaimChoice$Type extends MessageType<ClaimChoice> {\n constructor() {\n super(\"sid.v1.authn.ClaimChoice\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"sharing\", kind: \"enum\", T: () => [\"sid.v1.authn.ClaimSharing\", ClaimSharing, \"CLAIM_SHARING_\"] }\n ]);\n }\n create(value?: PartialMessage<ClaimChoice>): ClaimChoice {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.sharing = 0;\n if (value !== undefined)\n reflectionMergePartial<ClaimChoice>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimChoice): ClaimChoice {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* sid.v1.authn.ClaimSharing sharing */ 2:\n message.sharing = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ClaimChoice, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* sid.v1.authn.ClaimSharing sharing = 2; */\n if (message.sharing !== 0)\n writer.tag(2, WireType.Varint).int32(message.sharing);\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.ClaimChoice\n */\nexport const ClaimChoice = new ClaimChoice$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFlowStateRequest$Type extends MessageType<GetFlowStateRequest> {\n constructor() {\n super(\"sid.v1.authn.GetFlowStateRequest\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => AuthorizationOperationId }\n ]);\n }\n create(value?: PartialMessage<GetFlowStateRequest>): GetFlowStateRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<GetFlowStateRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetFlowStateRequest): GetFlowStateRequest {\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.AuthorizationOperationId operation_id */ 1:\n message.operationId = AuthorizationOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\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: GetFlowStateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.AuthorizationOperationId operation_id = 1; */\n if (message.operationId)\n AuthorizationOperationId.internalBinaryWrite(message.operationId, 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.GetFlowStateRequest\n */\nexport const GetFlowStateRequest = new GetFlowStateRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FlowState$Type extends MessageType<FlowState> {\n constructor() {\n super(\"sid.v1.authn.FlowState\", [\n { no: 1, name: \"operation_id\", kind: \"message\", T: () => AuthorizationOperationId },\n { no: 2, name: \"step\", kind: \"enum\", T: () => [\"sid.v1.authn.AuthorizationStep\", AuthorizationStep, \"AUTHORIZATION_STEP_\"] },\n { no: 3, name: \"continuation_uri\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<FlowState>): FlowState {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.step = 0;\n if (value !== undefined)\n reflectionMergePartial<FlowState>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowState): FlowState {\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.AuthorizationOperationId operation_id */ 1:\n message.operationId = AuthorizationOperationId.internalBinaryRead(reader, reader.uint32(), options, message.operationId);\n break;\n case /* sid.v1.authn.AuthorizationStep step */ 2:\n message.step = reader.int32();\n break;\n case /* optional string continuation_uri */ 3:\n message.continuationUri = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: FlowState, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* sid.v1.ids.AuthorizationOperationId operation_id = 1; */\n if (message.operationId)\n AuthorizationOperationId.internalBinaryWrite(message.operationId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* sid.v1.authn.AuthorizationStep step = 2; */\n if (message.step !== 0)\n writer.tag(2, WireType.Varint).int32(message.step);\n /* optional string continuation_uri = 3; */\n if (message.continuationUri !== undefined)\n writer.tag(3, WireType.LengthDelimited).string(message.continuationUri);\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.FlowState\n */\nexport const FlowState = new FlowState$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.authn.AuthFlowService\n */\nexport const AuthFlowService = new ServiceType(\"sid.v1.authn.AuthFlowService\", [\n { name: \"GetConsent\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { post: \"/v1/auth/flows/{operation_id.value}/consent:review\", body: \"*\" }, \"sid.v1.common.access\": { open: \"the issuer's own IdP session cookie authenticates the browser authorization interaction; checked by the handler with the exact trusted Origin\" }, \"sid.v1.common.maintenance\": \"MAINTENANCE_PURPOSE_SIGN_IN\" }, I: GetConsentRequest, O: ConsentDetails },\n { name: \"SubmitConsent\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/auth/flows/{operation_id.value}/consent\", body: \"*\" }, \"sid.v1.common.access\": { open: \"the issuer's own IdP session cookie authenticates the browser authorization interaction; checked by the handler with the exact trusted Origin and the operation's CSRF value\" }, \"sid.v1.common.retry\": { natural: \"the operation records one decision per revision: the same decision submitted again answers the committed state and records no second grant or audit entry, and a different decision for that revision is refused\" }, \"sid.v1.common.maintenance\": \"MAINTENANCE_PURPOSE_SIGN_IN\" }, I: SubmitConsentRequest, O: FlowState },\n { name: \"GetFlowState\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { post: \"/v1/auth/flows/{operation_id.value}/state:read\", body: \"*\" }, \"sid.v1.common.access\": { open: \"the issuer's own IdP session cookie authenticates the browser authorization interaction; checked by the handler with the exact trusted Origin\" }, \"sid.v1.common.maintenance\": \"MAINTENANCE_PURPOSE_SIGN_IN\" }, I: GetFlowStateRequest, O: FlowState }\n]);\n"]}
@@ -0,0 +1,138 @@
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
+ /**
8
+ * A claim a client asks for at registration, along the two orthogonal
9
+ * dimensions of the consent review: how critical it is for login and
10
+ * whether the client needs its later changes.
11
+ *
12
+ * @generated from protobuf message sid.v1.common.ClaimRequest
13
+ */
14
+ export interface ClaimRequest {
15
+ /**
16
+ * The claim name (OIDC Core 1.0 §5.1), for example `email`.
17
+ *
18
+ * @generated from protobuf field: string name = 1
19
+ */
20
+ name: string;
21
+ /**
22
+ * How important the claim is to the client.
23
+ *
24
+ * @generated from protobuf field: sid.v1.common.ClaimRequestLevel level = 2
25
+ */
26
+ level: ClaimRequestLevel;
27
+ /**
28
+ * Whether the client needs the claim's later changes.
29
+ *
30
+ * @generated from protobuf field: sid.v1.common.ClaimSubscription subscription = 3
31
+ */
32
+ subscription: ClaimSubscription;
33
+ /**
34
+ * Whether the client asks for the value or only a verification of it.
35
+ *
36
+ * @generated from protobuf field: sid.v1.common.ClaimType type = 4
37
+ */
38
+ type: ClaimType;
39
+ /**
40
+ * The client's reason, shown to the user; required for a DEMANDED claim.
41
+ *
42
+ * @generated from protobuf field: optional string justification = 5
43
+ */
44
+ justification?: string;
45
+ }
46
+ /**
47
+ * How important a claim is to the requesting client.
48
+ *
49
+ * @generated from protobuf enum sid.v1.common.ClaimRequestLevel
50
+ */
51
+ export declare enum ClaimRequestLevel {
52
+ /**
53
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_UNSPECIFIED = 0;
54
+ */
55
+ UNSPECIFIED = 0,
56
+ /**
57
+ * The authorization cannot complete without this claim: refusing it
58
+ * refuses the authorization.
59
+ *
60
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_REQUIRED = 1;
61
+ */
62
+ REQUIRED = 1,
63
+ /**
64
+ * The client gives a justification; the user can refuse and still sign in.
65
+ *
66
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_DEMANDED = 2;
67
+ */
68
+ DEMANDED = 2,
69
+ /**
70
+ * The user can skip it freely.
71
+ *
72
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_OPTIONAL = 3;
73
+ */
74
+ OPTIONAL = 3
75
+ }
76
+ /**
77
+ * Whether a client needs a claim's later changes.
78
+ *
79
+ * @generated from protobuf enum sid.v1.common.ClaimSubscription
80
+ */
81
+ export declare enum ClaimSubscription {
82
+ /**
83
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_UNSPECIFIED = 0;
84
+ */
85
+ UNSPECIFIED = 0,
86
+ /**
87
+ * Shared only with its later changes, or not at all.
88
+ *
89
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_REQUIRED = 1;
90
+ */
91
+ REQUIRED = 1,
92
+ /**
93
+ * Later changes recommended; the current value alone is accepted.
94
+ *
95
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_PREFERRED = 2;
96
+ */
97
+ PREFERRED = 2,
98
+ /**
99
+ * The current value only.
100
+ *
101
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_NONE = 3;
102
+ */
103
+ NONE = 3
104
+ }
105
+ /**
106
+ * Whether a client asks for a claim's value or only its verification.
107
+ *
108
+ * @generated from protobuf enum sid.v1.common.ClaimType
109
+ */
110
+ export declare enum ClaimType {
111
+ /**
112
+ * @generated from protobuf enum value: CLAIM_TYPE_UNSPECIFIED = 0;
113
+ */
114
+ UNSPECIFIED = 0,
115
+ /**
116
+ * The value itself, for example the address `alice@example.com`.
117
+ *
118
+ * @generated from protobuf enum value: CLAIM_TYPE_DATA = 1;
119
+ */
120
+ DATA = 1,
121
+ /**
122
+ * Only the verification status, for example that a passport was verified.
123
+ *
124
+ * @generated from protobuf enum value: CLAIM_TYPE_ATTESTATION = 2;
125
+ */
126
+ ATTESTATION = 2
127
+ }
128
+ declare class ClaimRequest$Type extends MessageType<ClaimRequest> {
129
+ constructor();
130
+ create(value?: PartialMessage<ClaimRequest>): ClaimRequest;
131
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimRequest): ClaimRequest;
132
+ internalBinaryWrite(message: ClaimRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
133
+ }
134
+ /**
135
+ * @generated MessageType for protobuf message sid.v1.common.ClaimRequest
136
+ */
137
+ export declare const ClaimRequest: ClaimRequest$Type;
138
+ export {};
@@ -0,0 +1,168 @@
1
+ import { WireType } from "@protobuf-ts/runtime";
2
+ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
3
+ import { reflectionMergePartial } from "@protobuf-ts/runtime";
4
+ import { MessageType } from "@protobuf-ts/runtime";
5
+ /**
6
+ * How important a claim is to the requesting client.
7
+ *
8
+ * @generated from protobuf enum sid.v1.common.ClaimRequestLevel
9
+ */
10
+ export var ClaimRequestLevel;
11
+ (function (ClaimRequestLevel) {
12
+ /**
13
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_UNSPECIFIED = 0;
14
+ */
15
+ ClaimRequestLevel[ClaimRequestLevel["UNSPECIFIED"] = 0] = "UNSPECIFIED";
16
+ /**
17
+ * The authorization cannot complete without this claim: refusing it
18
+ * refuses the authorization.
19
+ *
20
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_REQUIRED = 1;
21
+ */
22
+ ClaimRequestLevel[ClaimRequestLevel["REQUIRED"] = 1] = "REQUIRED";
23
+ /**
24
+ * The client gives a justification; the user can refuse and still sign in.
25
+ *
26
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_DEMANDED = 2;
27
+ */
28
+ ClaimRequestLevel[ClaimRequestLevel["DEMANDED"] = 2] = "DEMANDED";
29
+ /**
30
+ * The user can skip it freely.
31
+ *
32
+ * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_OPTIONAL = 3;
33
+ */
34
+ ClaimRequestLevel[ClaimRequestLevel["OPTIONAL"] = 3] = "OPTIONAL";
35
+ })(ClaimRequestLevel || (ClaimRequestLevel = {}));
36
+ /**
37
+ * Whether a client needs a claim's later changes.
38
+ *
39
+ * @generated from protobuf enum sid.v1.common.ClaimSubscription
40
+ */
41
+ export var ClaimSubscription;
42
+ (function (ClaimSubscription) {
43
+ /**
44
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_UNSPECIFIED = 0;
45
+ */
46
+ ClaimSubscription[ClaimSubscription["UNSPECIFIED"] = 0] = "UNSPECIFIED";
47
+ /**
48
+ * Shared only with its later changes, or not at all.
49
+ *
50
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_REQUIRED = 1;
51
+ */
52
+ ClaimSubscription[ClaimSubscription["REQUIRED"] = 1] = "REQUIRED";
53
+ /**
54
+ * Later changes recommended; the current value alone is accepted.
55
+ *
56
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_PREFERRED = 2;
57
+ */
58
+ ClaimSubscription[ClaimSubscription["PREFERRED"] = 2] = "PREFERRED";
59
+ /**
60
+ * The current value only.
61
+ *
62
+ * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_NONE = 3;
63
+ */
64
+ ClaimSubscription[ClaimSubscription["NONE"] = 3] = "NONE";
65
+ })(ClaimSubscription || (ClaimSubscription = {}));
66
+ /**
67
+ * Whether a client asks for a claim's value or only its verification.
68
+ *
69
+ * @generated from protobuf enum sid.v1.common.ClaimType
70
+ */
71
+ export var ClaimType;
72
+ (function (ClaimType) {
73
+ /**
74
+ * @generated from protobuf enum value: CLAIM_TYPE_UNSPECIFIED = 0;
75
+ */
76
+ ClaimType[ClaimType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
77
+ /**
78
+ * The value itself, for example the address `alice@example.com`.
79
+ *
80
+ * @generated from protobuf enum value: CLAIM_TYPE_DATA = 1;
81
+ */
82
+ ClaimType[ClaimType["DATA"] = 1] = "DATA";
83
+ /**
84
+ * Only the verification status, for example that a passport was verified.
85
+ *
86
+ * @generated from protobuf enum value: CLAIM_TYPE_ATTESTATION = 2;
87
+ */
88
+ ClaimType[ClaimType["ATTESTATION"] = 2] = "ATTESTATION";
89
+ })(ClaimType || (ClaimType = {}));
90
+ // @generated message type with reflection information, may provide speed optimized methods
91
+ class ClaimRequest$Type extends MessageType {
92
+ constructor() {
93
+ super("sid.v1.common.ClaimRequest", [
94
+ { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
95
+ { no: 2, name: "level", kind: "enum", T: () => ["sid.v1.common.ClaimRequestLevel", ClaimRequestLevel, "CLAIM_REQUEST_LEVEL_"] },
96
+ { no: 3, name: "subscription", kind: "enum", T: () => ["sid.v1.common.ClaimSubscription", ClaimSubscription, "CLAIM_SUBSCRIPTION_"] },
97
+ { no: 4, name: "type", kind: "enum", T: () => ["sid.v1.common.ClaimType", ClaimType, "CLAIM_TYPE_"] },
98
+ { no: 5, name: "justification", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
99
+ ]);
100
+ }
101
+ create(value) {
102
+ const message = globalThis.Object.create((this.messagePrototype));
103
+ message.name = "";
104
+ message.level = 0;
105
+ message.subscription = 0;
106
+ message.type = 0;
107
+ if (value !== undefined)
108
+ reflectionMergePartial(this, message, value);
109
+ return message;
110
+ }
111
+ internalBinaryRead(reader, length, options, target) {
112
+ let message = target ?? this.create(), end = reader.pos + length;
113
+ while (reader.pos < end) {
114
+ let [fieldNo, wireType] = reader.tag();
115
+ switch (fieldNo) {
116
+ case /* string name */ 1:
117
+ message.name = reader.string();
118
+ break;
119
+ case /* sid.v1.common.ClaimRequestLevel level */ 2:
120
+ message.level = reader.int32();
121
+ break;
122
+ case /* sid.v1.common.ClaimSubscription subscription */ 3:
123
+ message.subscription = reader.int32();
124
+ break;
125
+ case /* sid.v1.common.ClaimType type */ 4:
126
+ message.type = reader.int32();
127
+ break;
128
+ case /* optional string justification */ 5:
129
+ message.justification = reader.string();
130
+ break;
131
+ default:
132
+ let u = options.readUnknownField;
133
+ if (u === "throw")
134
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
135
+ let d = reader.skip(wireType);
136
+ if (u !== false)
137
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
138
+ }
139
+ }
140
+ return message;
141
+ }
142
+ internalBinaryWrite(message, writer, options) {
143
+ /* string name = 1; */
144
+ if (message.name !== "")
145
+ writer.tag(1, WireType.LengthDelimited).string(message.name);
146
+ /* sid.v1.common.ClaimRequestLevel level = 2; */
147
+ if (message.level !== 0)
148
+ writer.tag(2, WireType.Varint).int32(message.level);
149
+ /* sid.v1.common.ClaimSubscription subscription = 3; */
150
+ if (message.subscription !== 0)
151
+ writer.tag(3, WireType.Varint).int32(message.subscription);
152
+ /* sid.v1.common.ClaimType type = 4; */
153
+ if (message.type !== 0)
154
+ writer.tag(4, WireType.Varint).int32(message.type);
155
+ /* optional string justification = 5; */
156
+ if (message.justification !== undefined)
157
+ writer.tag(5, WireType.LengthDelimited).string(message.justification);
158
+ let u = options.writeUnknownFields;
159
+ if (u !== false)
160
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
161
+ return writer;
162
+ }
163
+ }
164
+ /**
165
+ * @generated MessageType for protobuf message sid.v1.common.ClaimRequest
166
+ */
167
+ export const ClaimRequest = new ClaimRequest$Type();
168
+ //# sourceMappingURL=claims.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claims.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/common/claims.ts"],"names":[],"mappings":"AAMA,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;AAwCnD;;;;GAIG;AACH,MAAM,CAAN,IAAY,iBAwBX;AAxBD,WAAY,iBAAiB;IACzB;;OAEG;IACH,uEAAe,CAAA;IACf;;;;;OAKG;IACH,iEAAY,CAAA;IACZ;;;;OAIG;IACH,iEAAY,CAAA;IACZ;;;;OAIG;IACH,iEAAY,CAAA;AAChB,CAAC,EAxBW,iBAAiB,KAAjB,iBAAiB,QAwB5B;AACD;;;;GAIG;AACH,MAAM,CAAN,IAAY,iBAuBX;AAvBD,WAAY,iBAAiB;IACzB;;OAEG;IACH,uEAAe,CAAA;IACf;;;;OAIG;IACH,iEAAY,CAAA;IACZ;;;;OAIG;IACH,mEAAa,CAAA;IACb;;;;OAIG;IACH,yDAAQ,CAAA;AACZ,CAAC,EAvBW,iBAAiB,KAAjB,iBAAiB,QAuB5B;AACD;;;;GAIG;AACH,MAAM,CAAN,IAAY,SAiBX;AAjBD,WAAY,SAAS;IACjB;;OAEG;IACH,uDAAe,CAAA;IACf;;;;OAIG;IACH,yCAAQ,CAAA;IACR;;;;OAIG;IACH,uDAAe,CAAA;AACnB,CAAC,EAjBW,SAAS,KAAT,SAAS,QAiBpB;AACD,2FAA2F;AAC3F,MAAM,iBAAkB,SAAQ,WAAyB;IACrD;QACI,KAAK,CAAC,4BAA4B,EAAE;YAChC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,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C,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,iBAAiB,EAAE,CAAC","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/common/claims.proto\" (package \"sid.v1.common\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\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\";\n/**\n * A claim a client asks for at registration, along the two orthogonal\n * dimensions of the consent review: how critical it is for login and\n * whether the client needs its later changes.\n *\n * @generated from protobuf message sid.v1.common.ClaimRequest\n */\nexport interface ClaimRequest {\n /**\n * The claim name (OIDC Core 1.0 §5.1), for example `email`.\n *\n * @generated from protobuf field: string name = 1\n */\n name: string;\n /**\n * How important the claim is to the client.\n *\n * @generated from protobuf field: sid.v1.common.ClaimRequestLevel level = 2\n */\n level: ClaimRequestLevel;\n /**\n * Whether the client needs the claim's later changes.\n *\n * @generated from protobuf field: sid.v1.common.ClaimSubscription subscription = 3\n */\n subscription: ClaimSubscription;\n /**\n * Whether the client asks for the value or only a verification of it.\n *\n * @generated from protobuf field: sid.v1.common.ClaimType type = 4\n */\n type: ClaimType;\n /**\n * The client's reason, shown to the user; required for a DEMANDED claim.\n *\n * @generated from protobuf field: optional string justification = 5\n */\n justification?: string;\n}\n/**\n * How important a claim is to the requesting client.\n *\n * @generated from protobuf enum sid.v1.common.ClaimRequestLevel\n */\nexport enum ClaimRequestLevel {\n /**\n * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * The authorization cannot complete without this claim: refusing it\n * refuses the authorization.\n *\n * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_REQUIRED = 1;\n */\n REQUIRED = 1,\n /**\n * The client gives a justification; the user can refuse and still sign in.\n *\n * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_DEMANDED = 2;\n */\n DEMANDED = 2,\n /**\n * The user can skip it freely.\n *\n * @generated from protobuf enum value: CLAIM_REQUEST_LEVEL_OPTIONAL = 3;\n */\n OPTIONAL = 3\n}\n/**\n * Whether a client needs a claim's later changes.\n *\n * @generated from protobuf enum sid.v1.common.ClaimSubscription\n */\nexport enum ClaimSubscription {\n /**\n * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Shared only with its later changes, or not at all.\n *\n * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_REQUIRED = 1;\n */\n REQUIRED = 1,\n /**\n * Later changes recommended; the current value alone is accepted.\n *\n * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_PREFERRED = 2;\n */\n PREFERRED = 2,\n /**\n * The current value only.\n *\n * @generated from protobuf enum value: CLAIM_SUBSCRIPTION_NONE = 3;\n */\n NONE = 3\n}\n/**\n * Whether a client asks for a claim's value or only its verification.\n *\n * @generated from protobuf enum sid.v1.common.ClaimType\n */\nexport enum ClaimType {\n /**\n * @generated from protobuf enum value: CLAIM_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * The value itself, for example the address `alice@example.com`.\n *\n * @generated from protobuf enum value: CLAIM_TYPE_DATA = 1;\n */\n DATA = 1,\n /**\n * Only the verification status, for example that a passport was verified.\n *\n * @generated from protobuf enum value: CLAIM_TYPE_ATTESTATION = 2;\n */\n ATTESTATION = 2\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ClaimRequest$Type extends MessageType<ClaimRequest> {\n constructor() {\n super(\"sid.v1.common.ClaimRequest\", [\n { no: 1, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"level\", kind: \"enum\", T: () => [\"sid.v1.common.ClaimRequestLevel\", ClaimRequestLevel, \"CLAIM_REQUEST_LEVEL_\"] },\n { no: 3, name: \"subscription\", kind: \"enum\", T: () => [\"sid.v1.common.ClaimSubscription\", ClaimSubscription, \"CLAIM_SUBSCRIPTION_\"] },\n { no: 4, name: \"type\", kind: \"enum\", T: () => [\"sid.v1.common.ClaimType\", ClaimType, \"CLAIM_TYPE_\"] },\n { no: 5, name: \"justification\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ClaimRequest>): ClaimRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.name = \"\";\n message.level = 0;\n message.subscription = 0;\n message.type = 0;\n if (value !== undefined)\n reflectionMergePartial<ClaimRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimRequest): ClaimRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string name */ 1:\n message.name = reader.string();\n break;\n case /* sid.v1.common.ClaimRequestLevel level */ 2:\n message.level = reader.int32();\n break;\n case /* sid.v1.common.ClaimSubscription subscription */ 3:\n message.subscription = reader.int32();\n break;\n case /* sid.v1.common.ClaimType type */ 4:\n message.type = reader.int32();\n break;\n case /* optional string justification */ 5:\n message.justification = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ClaimRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string name = 1; */\n if (message.name !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.name);\n /* sid.v1.common.ClaimRequestLevel level = 2; */\n if (message.level !== 0)\n writer.tag(2, WireType.Varint).int32(message.level);\n /* sid.v1.common.ClaimSubscription subscription = 3; */\n if (message.subscription !== 0)\n writer.tag(3, WireType.Varint).int32(message.subscription);\n /* sid.v1.common.ClaimType type = 4; */\n if (message.type !== 0)\n writer.tag(4, WireType.Varint).int32(message.type);\n /* optional string justification = 5; */\n if (message.justification !== undefined)\n writer.tag(5, WireType.LengthDelimited).string(message.justification);\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.common.ClaimRequest\n */\nexport const ClaimRequest = new ClaimRequest$Type();\n"]}
@@ -24,6 +24,8 @@ export declare const ApplicationId: MessageType<wire.ApplicationId>;
24
24
  export type ApplicationId = wire.ApplicationId;
25
25
  export declare const PasswordOperationId: MessageType<wire.PasswordOperationId>;
26
26
  export type PasswordOperationId = wire.PasswordOperationId;
27
+ export declare const AuthorizationOperationId: MessageType<wire.AuthorizationOperationId>;
28
+ export type AuthorizationOperationId = wire.AuthorizationOperationId;
27
29
  export declare const OpaqueLoginId: MessageType<wire.OpaqueLoginId>;
28
30
  export type OpaqueLoginId = wire.OpaqueLoginId;
29
31
  export declare const SessionId: MessageType<wire.SessionId>;
@@ -11,6 +11,7 @@ export const OrgId = wire.OrgId;
11
11
  export const IssuerId = wire.IssuerId;
12
12
  export const ApplicationId = wire.ApplicationId;
13
13
  export const PasswordOperationId = wire.PasswordOperationId;
14
+ export const AuthorizationOperationId = wire.AuthorizationOperationId;
14
15
  export const OpaqueLoginId = wire.OpaqueLoginId;
15
16
  export const SessionId = wire.SessionId;
16
17
  export const CredentialId = wire.CredentialId;
@@ -1 +1 @@
1
- {"version":3,"file":"ids.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/ids/ids.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,MAAM,CAAC,MAAM,SAAS,GAAgC,IAAI,CAAC,SAAS,CAAC;AAErE,MAAM,CAAC,MAAM,WAAW,GAAkC,IAAI,CAAC,WAAW,CAAC;AAE3E,MAAM,CAAC,MAAM,cAAc,GAAqC,IAAI,CAAC,cAAc,CAAC;AAEpF,MAAM,CAAC,MAAM,cAAc,GAAqC,IAAI,CAAC,cAAc,CAAC;AAEpF,MAAM,CAAC,MAAM,QAAQ,GAA+B,IAAI,CAAC,QAAQ,CAAC;AAElE,MAAM,CAAC,MAAM,kBAAkB,GAAyC,IAAI,CAAC,kBAAkB,CAAC;AAEhG,MAAM,CAAC,MAAM,mBAAmB,GAA0C,IAAI,CAAC,mBAAmB,CAAC;AAEnG,MAAM,CAAC,MAAM,SAAS,GAAgC,IAAI,CAAC,SAAS,CAAC;AAErE,MAAM,CAAC,MAAM,KAAK,GAA4B,IAAI,CAAC,KAAK,CAAC;AAEzD,MAAM,CAAC,MAAM,QAAQ,GAA+B,IAAI,CAAC,QAAQ,CAAC;AAElE,MAAM,CAAC,MAAM,aAAa,GAAoC,IAAI,CAAC,aAAa,CAAC;AAEjF,MAAM,CAAC,MAAM,mBAAmB,GAA0C,IAAI,CAAC,mBAAmB,CAAC;AAEnG,MAAM,CAAC,MAAM,aAAa,GAAoC,IAAI,CAAC,aAAa,CAAC;AAEjF,MAAM,CAAC,MAAM,SAAS,GAAgC,IAAI,CAAC,SAAS,CAAC;AAErE,MAAM,CAAC,MAAM,YAAY,GAAmC,IAAI,CAAC,YAAY,CAAC;AAE9E,MAAM,CAAC,MAAM,YAAY,GAAmC,IAAI,CAAC,YAAY,CAAC;AAE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C,MAAM,kBAAkB,GAAyC,IAAI,CAAC,kBAAkB,CAAC","sourcesContent":["// The sid.v1.ids messages are owned by @structured-id/ids; this module\n// re-exports its objects so generated messages that carry an identifier\n// share them instead of a second generated copy.\nimport type { MessageType } from \"@protobuf-ts/runtime\";\nimport { wire } from \"@structured-id/ids\";\n\nexport const ProfileId: MessageType<wire.ProfileId> = wire.ProfileId;\nexport type ProfileId = wire.ProfileId;\nexport const PrincipalId: MessageType<wire.PrincipalId> = wire.PrincipalId;\nexport type PrincipalId = wire.PrincipalId;\nexport const ProfileEmailId: MessageType<wire.ProfileEmailId> = wire.ProfileEmailId;\nexport type ProfileEmailId = wire.ProfileEmailId;\nexport const ProfilePhoneId: MessageType<wire.ProfilePhoneId> = wire.ProfilePhoneId;\nexport type ProfilePhoneId = wire.ProfilePhoneId;\nexport const DeviceId: MessageType<wire.DeviceId> = wire.DeviceId;\nexport type DeviceId = wire.DeviceId;\nexport const DeviceEnrollmentId: MessageType<wire.DeviceEnrollmentId> = wire.DeviceEnrollmentId;\nexport type DeviceEnrollmentId = wire.DeviceEnrollmentId;\nexport const DeviceAttestationId: MessageType<wire.DeviceAttestationId> = wire.DeviceAttestationId;\nexport type DeviceAttestationId = wire.DeviceAttestationId;\nexport const BindingId: MessageType<wire.BindingId> = wire.BindingId;\nexport type BindingId = wire.BindingId;\nexport const OrgId: MessageType<wire.OrgId> = wire.OrgId;\nexport type OrgId = wire.OrgId;\nexport const IssuerId: MessageType<wire.IssuerId> = wire.IssuerId;\nexport type IssuerId = wire.IssuerId;\nexport const ApplicationId: MessageType<wire.ApplicationId> = wire.ApplicationId;\nexport type ApplicationId = wire.ApplicationId;\nexport const PasswordOperationId: MessageType<wire.PasswordOperationId> = wire.PasswordOperationId;\nexport type PasswordOperationId = wire.PasswordOperationId;\nexport const OpaqueLoginId: MessageType<wire.OpaqueLoginId> = wire.OpaqueLoginId;\nexport type OpaqueLoginId = wire.OpaqueLoginId;\nexport const SessionId: MessageType<wire.SessionId> = wire.SessionId;\nexport type SessionId = wire.SessionId;\nexport const CredentialId: MessageType<wire.CredentialId> = wire.CredentialId;\nexport type CredentialId = wire.CredentialId;\nexport const OtpSessionId: MessageType<wire.OtpSessionId> = wire.OtpSessionId;\nexport type OtpSessionId = wire.OtpSessionId;\nexport const MagicLinkId: MessageType<wire.MagicLinkId> = wire.MagicLinkId;\nexport type MagicLinkId = wire.MagicLinkId;\nexport const StepUpChallengeId: MessageType<wire.StepUpChallengeId> = wire.StepUpChallengeId;\nexport type StepUpChallengeId = wire.StepUpChallengeId;\nexport const ResetSessionId: MessageType<wire.ResetSessionId> = wire.ResetSessionId;\nexport type ResetSessionId = wire.ResetSessionId;\nexport const ImportedPasswordUpgradeId: MessageType<wire.ImportedPasswordUpgradeId> = wire.ImportedPasswordUpgradeId;\nexport type ImportedPasswordUpgradeId = wire.ImportedPasswordUpgradeId;\nexport const MachineUserId: MessageType<wire.MachineUserId> = wire.MachineUserId;\nexport type MachineUserId = wire.MachineUserId;\nexport const ProvisioningConnectorId: MessageType<wire.ProvisioningConnectorId> = wire.ProvisioningConnectorId;\nexport type ProvisioningConnectorId = wire.ProvisioningConnectorId;\nexport const ResourceId: MessageType<wire.ResourceId> = wire.ResourceId;\nexport type ResourceId = wire.ResourceId;\nexport const ProvisioningCredentialId: MessageType<wire.ProvisioningCredentialId> = wire.ProvisioningCredentialId;\nexport type ProvisioningCredentialId = wire.ProvisioningCredentialId;\nexport const ProjectId: MessageType<wire.ProjectId> = wire.ProjectId;\nexport type ProjectId = wire.ProjectId;\nexport const RoleId: MessageType<wire.RoleId> = wire.RoleId;\nexport type RoleId = wire.RoleId;\nexport const GroupId: MessageType<wire.GroupId> = wire.GroupId;\nexport type GroupId = wire.GroupId;\nexport const RoleAssignmentId: MessageType<wire.RoleAssignmentId> = wire.RoleAssignmentId;\nexport type RoleAssignmentId = wire.RoleAssignmentId;\nexport const CedarPolicyId: MessageType<wire.CedarPolicyId> = wire.CedarPolicyId;\nexport type CedarPolicyId = wire.CedarPolicyId;\nexport const AccessRequestId: MessageType<wire.AccessRequestId> = wire.AccessRequestId;\nexport type AccessRequestId = wire.AccessRequestId;\nexport const InitialAccessTokenId: MessageType<wire.InitialAccessTokenId> = wire.InitialAccessTokenId;\nexport type InitialAccessTokenId = wire.InitialAccessTokenId;\nexport const PatId: MessageType<wire.PatId> = wire.PatId;\nexport type PatId = wire.PatId;\nexport const BrandingConfigId: MessageType<wire.BrandingConfigId> = wire.BrandingConfigId;\nexport type BrandingConfigId = wire.BrandingConfigId;\nexport const FlowActionId: MessageType<wire.FlowActionId> = wire.FlowActionId;\nexport type FlowActionId = wire.FlowActionId;\nexport const InviteId: MessageType<wire.InviteId> = wire.InviteId;\nexport type InviteId = wire.InviteId;\nexport const UpstreamProviderId: MessageType<wire.UpstreamProviderId> = wire.UpstreamProviderId;\nexport type UpstreamProviderId = wire.UpstreamProviderId;\n"]}
1
+ {"version":3,"file":"ids.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/ids/ids.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,MAAM,CAAC,MAAM,SAAS,GAAgC,IAAI,CAAC,SAAS,CAAC;AAErE,MAAM,CAAC,MAAM,WAAW,GAAkC,IAAI,CAAC,WAAW,CAAC;AAE3E,MAAM,CAAC,MAAM,cAAc,GAAqC,IAAI,CAAC,cAAc,CAAC;AAEpF,MAAM,CAAC,MAAM,cAAc,GAAqC,IAAI,CAAC,cAAc,CAAC;AAEpF,MAAM,CAAC,MAAM,QAAQ,GAA+B,IAAI,CAAC,QAAQ,CAAC;AAElE,MAAM,CAAC,MAAM,kBAAkB,GAAyC,IAAI,CAAC,kBAAkB,CAAC;AAEhG,MAAM,CAAC,MAAM,mBAAmB,GAA0C,IAAI,CAAC,mBAAmB,CAAC;AAEnG,MAAM,CAAC,MAAM,SAAS,GAAgC,IAAI,CAAC,SAAS,CAAC;AAErE,MAAM,CAAC,MAAM,KAAK,G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AO,CAAC;AAE/D,MAAM,CAAC,MAAM,gBAAgB,GAAuC,IAAI,CAAC,gBAAgB,CAAC;AAE1F,MAAM,CAAC,MAAM,aAAa,GAAoC,IAAI,CAAC,aAAa,CAAC;AAEjF,MAAM,CAAC,MAAM,eAAe,GAAsC,IAAI,CAAC,eAAe,CAAC;AAEvF,MAAM,CAAC,MAAM,oBAAoB,GAA2C,IAAI,CAAC,oBAAoB,CAAC;AAEtG,MAAM,CAAC,MAAM,KAAK,GAA4B,IAAI,CAAC,KAAK,CAAC;AAEzD,MAAM,CAAC,MAAM,gBAAgB,GAAuC,IAAI,CAAC,gBAAgB,CAAC;AAE1F,MAAM,CAAC,MAAM,YAAY,GAAmC,IAAI,CAAC,YAAY,CAAC;AAE9E,MAAM,CAAC,MAAM,QAAQ,GAA+B,IAAI,CAAC,QAAQ,CAAC;AAElE,MAAM,CAAC,MAAM,kBAAkB,GAAyC,IAAI,CAAC,kBAAkB,CAAC","sourcesContent":["// The sid.v1.ids messages are owned by @structured-id/ids; this module\n// re-exports its objects so generated messages that carry an identifier\n// share them instead of a second generated copy.\nimport type { MessageType } from \"@protobuf-ts/runtime\";\nimport { wire } from \"@structured-id/ids\";\n\nexport const ProfileId: MessageType<wire.ProfileId> = wire.ProfileId;\nexport type ProfileId = wire.ProfileId;\nexport const PrincipalId: MessageType<wire.PrincipalId> = wire.PrincipalId;\nexport type PrincipalId = wire.PrincipalId;\nexport const ProfileEmailId: MessageType<wire.ProfileEmailId> = wire.ProfileEmailId;\nexport type ProfileEmailId = wire.ProfileEmailId;\nexport const ProfilePhoneId: MessageType<wire.ProfilePhoneId> = wire.ProfilePhoneId;\nexport type ProfilePhoneId = wire.ProfilePhoneId;\nexport const DeviceId: MessageType<wire.DeviceId> = wire.DeviceId;\nexport type DeviceId = wire.DeviceId;\nexport const DeviceEnrollmentId: MessageType<wire.DeviceEnrollmentId> = wire.DeviceEnrollmentId;\nexport type DeviceEnrollmentId = wire.DeviceEnrollmentId;\nexport const DeviceAttestationId: MessageType<wire.DeviceAttestationId> = wire.DeviceAttestationId;\nexport type DeviceAttestationId = wire.DeviceAttestationId;\nexport const BindingId: MessageType<wire.BindingId> = wire.BindingId;\nexport type BindingId = wire.BindingId;\nexport const OrgId: MessageType<wire.OrgId> = wire.OrgId;\nexport type OrgId = wire.OrgId;\nexport const IssuerId: MessageType<wire.IssuerId> = wire.IssuerId;\nexport type IssuerId = wire.IssuerId;\nexport const ApplicationId: MessageType<wire.ApplicationId> = wire.ApplicationId;\nexport type ApplicationId = wire.ApplicationId;\nexport const PasswordOperationId: MessageType<wire.PasswordOperationId> = wire.PasswordOperationId;\nexport type PasswordOperationId = wire.PasswordOperationId;\nexport const AuthorizationOperationId: MessageType<wire.AuthorizationOperationId> = wire.AuthorizationOperationId;\nexport type AuthorizationOperationId = wire.AuthorizationOperationId;\nexport const OpaqueLoginId: MessageType<wire.OpaqueLoginId> = wire.OpaqueLoginId;\nexport type OpaqueLoginId = wire.OpaqueLoginId;\nexport const SessionId: MessageType<wire.SessionId> = wire.SessionId;\nexport type SessionId = wire.SessionId;\nexport const CredentialId: MessageType<wire.CredentialId> = wire.CredentialId;\nexport type CredentialId = wire.CredentialId;\nexport const OtpSessionId: MessageType<wire.OtpSessionId> = wire.OtpSessionId;\nexport type OtpSessionId = wire.OtpSessionId;\nexport const MagicLinkId: MessageType<wire.MagicLinkId> = wire.MagicLinkId;\nexport type MagicLinkId = wire.MagicLinkId;\nexport const StepUpChallengeId: MessageType<wire.StepUpChallengeId> = wire.StepUpChallengeId;\nexport type StepUpChallengeId = wire.StepUpChallengeId;\nexport const ResetSessionId: MessageType<wire.ResetSessionId> = wire.ResetSessionId;\nexport type ResetSessionId = wire.ResetSessionId;\nexport const ImportedPasswordUpgradeId: MessageType<wire.ImportedPasswordUpgradeId> = wire.ImportedPasswordUpgradeId;\nexport type ImportedPasswordUpgradeId = wire.ImportedPasswordUpgradeId;\nexport const MachineUserId: MessageType<wire.MachineUserId> = wire.MachineUserId;\nexport type MachineUserId = wire.MachineUserId;\nexport const ProvisioningConnectorId: MessageType<wire.ProvisioningConnectorId> = wire.ProvisioningConnectorId;\nexport type ProvisioningConnectorId = wire.ProvisioningConnectorId;\nexport const ResourceId: MessageType<wire.ResourceId> = wire.ResourceId;\nexport type ResourceId = wire.ResourceId;\nexport const ProvisioningCredentialId: MessageType<wire.ProvisioningCredentialId> = wire.ProvisioningCredentialId;\nexport type ProvisioningCredentialId = wire.ProvisioningCredentialId;\nexport const ProjectId: MessageType<wire.ProjectId> = wire.ProjectId;\nexport type ProjectId = wire.ProjectId;\nexport const RoleId: MessageType<wire.RoleId> = wire.RoleId;\nexport type RoleId = wire.RoleId;\nexport const GroupId: MessageType<wire.GroupId> = wire.GroupId;\nexport type GroupId = wire.GroupId;\nexport const RoleAssignmentId: MessageType<wire.RoleAssignmentId> = wire.RoleAssignmentId;\nexport type RoleAssignmentId = wire.RoleAssignmentId;\nexport const CedarPolicyId: MessageType<wire.CedarPolicyId> = wire.CedarPolicyId;\nexport type CedarPolicyId = wire.CedarPolicyId;\nexport const AccessRequestId: MessageType<wire.AccessRequestId> = wire.AccessRequestId;\nexport type AccessRequestId = wire.AccessRequestId;\nexport const InitialAccessTokenId: MessageType<wire.InitialAccessTokenId> = wire.InitialAccessTokenId;\nexport type InitialAccessTokenId = wire.InitialAccessTokenId;\nexport const PatId: MessageType<wire.PatId> = wire.PatId;\nexport type PatId = wire.PatId;\nexport const BrandingConfigId: MessageType<wire.BrandingConfigId> = wire.BrandingConfigId;\nexport type BrandingConfigId = wire.BrandingConfigId;\nexport const FlowActionId: MessageType<wire.FlowActionId> = wire.FlowActionId;\nexport type FlowActionId = wire.FlowActionId;\nexport const InviteId: MessageType<wire.InviteId> = wire.InviteId;\nexport type InviteId = wire.InviteId;\nexport const UpstreamProviderId: MessageType<wire.UpstreamProviderId> = wire.UpstreamProviderId;\nexport type UpstreamProviderId = wire.UpstreamProviderId;\n"]}
@@ -7,6 +7,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
8
  import { RoleId } from "../ids/ids.js";
9
9
  import { InitialAccessTokenId } from "../ids/ids.js";
10
+ import { ClaimRequest } from "../common/claims.js";
10
11
  import { ResourceId } from "../ids/ids.js";
11
12
  import { OrgId } from "../ids/ids.js";
12
13
  import { ApplicationId } from "../ids/ids.js";
@@ -262,6 +263,26 @@ export interface OAuthClient {
262
263
  * @generated from protobuf field: repeated string post_logout_redirect_uris = 24
263
264
  */
264
265
  postLogoutRedirectUris: string[];
266
+ /**
267
+ * The claims the client asks for; the authorization consent review offers
268
+ * exactly these, each with the sharing its subscription allows.
269
+ *
270
+ * @generated from protobuf field: repeated sid.v1.common.ClaimRequest claim_requests = 25
271
+ */
272
+ claimRequests: ClaimRequest[];
273
+ }
274
+ /**
275
+ * A client's claim requests, set as a whole by an update.
276
+ *
277
+ * @generated from protobuf message sid.v1.projects.ClaimRequestList
278
+ */
279
+ export interface ClaimRequestList {
280
+ /**
281
+ * The requests; empty clears them.
282
+ *
283
+ * @generated from protobuf field: repeated sid.v1.common.ClaimRequest requests = 1
284
+ */
285
+ requests: ClaimRequest[];
265
286
  }
266
287
  /**
267
288
  * The protected-resource role of an application: an API or application at
@@ -560,6 +581,14 @@ export interface ClientRoleSettings {
560
581
  * @generated from protobuf field: optional bytes participant_admission = 7
561
582
  */
562
583
  participantAdmission?: Uint8Array;
584
+ /**
585
+ * The claims the client asks for (see OAuthClient.claim_requests). A
586
+ * demanded claim without a justification, or a repeated name, is
587
+ * INVALID_ARGUMENT, field `claim_requests`.
588
+ *
589
+ * @generated from protobuf field: repeated sid.v1.common.ClaimRequest claim_requests = 8
590
+ */
591
+ claimRequests: ClaimRequest[];
563
592
  }
564
593
  /**
565
594
  * A list of URIs, set as a whole by an update.
@@ -778,6 +807,13 @@ export interface UpdateClientRoleRequest {
778
807
  * @generated from protobuf field: optional sid.v1.projects.UriList post_logout_redirect_uris = 9
779
808
  */
780
809
  postLogoutRedirectUris?: UriList;
810
+ /**
811
+ * Replaces the claim requests (see ClientRoleSettings); left out, they are
812
+ * unchanged.
813
+ *
814
+ * @generated from protobuf field: optional sid.v1.projects.ClaimRequestList claim_requests = 10
815
+ */
816
+ claimRequests?: ClaimRequestList;
781
817
  }
782
818
  /**
783
819
  * A client's default resource, set as a whole by an update.
@@ -1414,6 +1450,16 @@ declare class OAuthClient$Type extends MessageType<OAuthClient> {
1414
1450
  * @generated MessageType for protobuf message sid.v1.projects.OAuthClient
1415
1451
  */
1416
1452
  export declare const OAuthClient: OAuthClient$Type;
1453
+ declare class ClaimRequestList$Type extends MessageType<ClaimRequestList> {
1454
+ constructor();
1455
+ create(value?: PartialMessage<ClaimRequestList>): ClaimRequestList;
1456
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimRequestList): ClaimRequestList;
1457
+ internalBinaryWrite(message: ClaimRequestList, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1458
+ }
1459
+ /**
1460
+ * @generated MessageType for protobuf message sid.v1.projects.ClaimRequestList
1461
+ */
1462
+ export declare const ClaimRequestList: ClaimRequestList$Type;
1417
1463
  declare class ProtectedResource$Type extends MessageType<ProtectedResource> {
1418
1464
  constructor();
1419
1465
  create(value?: PartialMessage<ProtectedResource>): ProtectedResource;