@structured-id/proto 0.8.0 → 0.10.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.
- package/CHANGELOG.md +15 -0
- package/dist/generated/sid/v1/account/account.client.d.ts +24 -32
- package/dist/generated/sid/v1/account/account.client.js +12 -16
- package/dist/generated/sid/v1/account/account.client.js.map +1 -1
- package/dist/generated/sid/v1/account/account.js +18 -18
- package/dist/generated/sid/v1/account/account.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.js +5 -5
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin_roles.js +5 -5
- package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.client.d.ts +0 -2
- package/dist/generated/sid/v1/admin/branding.client.js +0 -1
- package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.js +4 -4
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.js +4 -4
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/events.js +1 -1
- package/dist/generated/sid/v1/admin/events.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.client.d.ts +8 -4
- package/dist/generated/sid/v1/admin/flow.client.js +4 -2
- package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.js +4 -4
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/keys.js +3 -3
- package/dist/generated/sid/v1/admin/keys.js.map +1 -1
- package/dist/generated/sid/v1/admin/login_experience.js +3 -3
- package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
- package/dist/generated/sid/v1/admin/migration.js +3 -3
- package/dist/generated/sid/v1/admin/migration.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.js +3 -3
- package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
- package/dist/generated/sid/v1/admin/operations.js +5 -5
- package/dist/generated/sid/v1/admin/operations.js.map +1 -1
- package/dist/generated/sid/v1/admin/organizations.js +1 -1
- package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.client.d.ts +16 -16
- package/dist/generated/sid/v1/admin/provisioning.client.js +8 -8
- package/dist/generated/sid/v1/admin/provisioning.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.js +6 -6
- package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
- package/dist/generated/sid/v1/admin/scopes.js +7 -7
- package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.client.d.ts +10 -4
- package/dist/generated/sid/v1/admin/security.client.js +5 -2
- package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.d.ts +17 -0
- package/dist/generated/sid/v1/admin/security.js +26 -10
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/admin/sessions.js +3 -3
- package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
- package/dist/generated/sid/v1/admin/settings.js +11 -11
- package/dist/generated/sid/v1/admin/settings.js.map +1 -1
- package/dist/generated/sid/v1/admin/user_profile.js +1 -1
- package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
- package/dist/generated/sid/v1/admin/webhooks.js +9 -9
- package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
- package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.js +3 -3
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/authn/application_session.client.d.ts +45 -2
- package/dist/generated/sid/v1/authn/application_session.client.js +25 -1
- package/dist/generated/sid/v1/authn/application_session.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/application_session.d.ts +24 -0
- package/dist/generated/sid/v1/authn/application_session.js +52 -5
- package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +40 -36
- package/dist/generated/sid/v1/authn/auth.client.js +80 -80
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +102 -160
- package/dist/generated/sid/v1/authn/auth.js +123 -306
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/flows.js +16 -16
- package/dist/generated/sid/v1/authn/flows.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.client.d.ts +44 -0
- package/dist/generated/sid/v1/authn/issuer.client.js +24 -0
- package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.d.ts +40 -0
- package/dist/generated/sid/v1/authn/issuer.js +78 -14
- package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
- package/dist/generated/sid/v1/authn/native_session.d.ts +189 -0
- package/dist/generated/sid/v1/authn/native_session.js +265 -0
- package/dist/generated/sid/v1/authn/native_session.js.map +1 -0
- package/dist/generated/sid/v1/authn/password_history.js +2 -2
- package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
- package/dist/generated/sid/v1/authn/sender_proof.d.ts +114 -0
- package/dist/generated/sid/v1/authn/sender_proof.js +132 -0
- package/dist/generated/sid/v1/authn/sender_proof.js.map +1 -0
- package/dist/generated/sid/v1/authn/system_integration.js +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.client.d.ts +14 -2
- package/dist/generated/sid/v1/authz/authz.client.js +7 -1
- package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +6 -87
- package/dist/generated/sid/v1/authz/authz.js +18 -128
- package/dist/generated/sid/v1/authz/authz.js.map +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
- package/dist/generated/sid/v1/authz/governance.js +3 -3
- package/dist/generated/sid/v1/authz/governance.js.map +1 -1
- package/dist/generated/sid/v1/common/operation.client.d.ts +47 -0
- package/dist/generated/sid/v1/common/operation.client.js +30 -0
- package/dist/generated/sid/v1/common/operation.client.js.map +1 -0
- package/dist/generated/sid/v1/common/operation.d.ts +126 -0
- package/dist/generated/sid/v1/common/operation.js +179 -0
- package/dist/generated/sid/v1/common/operation.js.map +1 -0
- package/dist/generated/sid/v1/federation/upstream.js +5 -5
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.js +19 -19
- package/dist/generated/sid/v1/identity/identity.js.map +1 -1
- package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
- package/dist/generated/sid/v1/ids/ids.js +1 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/generated/sid/v1/machine/machine_user.client.d.ts +6 -2
- package/dist/generated/sid/v1/machine/machine_user.client.js +3 -1
- package/dist/generated/sid/v1/machine/machine_user.client.js.map +1 -1
- package/dist/generated/sid/v1/machine/machine_user.js +10 -10
- package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
- package/dist/generated/sid/v1/machine/pat.client.d.ts +4 -2
- package/dist/generated/sid/v1/machine/pat.client.js +2 -1
- package/dist/generated/sid/v1/machine/pat.client.js.map +1 -1
- package/dist/generated/sid/v1/machine/pat.js +4 -4
- package/dist/generated/sid/v1/machine/pat.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.client.d.ts +22 -12
- package/dist/generated/sid/v1/projects/projects.client.js +11 -6
- package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.js +19 -19
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.js +14 -14
- package/dist/generated/sid/v1/scim/scim.js.map +1 -1
- package/dist/generated/sid/v1/test/test.js +8 -8
- package/dist/generated/sid/v1/test/test.js.map +1 -1
- package/dist/totp.d.ts +16 -0
- package/dist/totp.js +64 -0
- package/dist/totp.js.map +1 -0
- package/package.json +6 -2
|
@@ -18,7 +18,8 @@ export interface IAttestationServiceClient {
|
|
|
18
18
|
* Register a device key with platform attestation: stores the attestation
|
|
19
19
|
* data and marks the device as hardware_attested; a server that verifies
|
|
20
20
|
* attestation also checks the chain and the AAGUID policy. A device that
|
|
21
|
-
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS)
|
|
21
|
+
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS);
|
|
22
|
+
* a retry answers with the attestation the first call registered.
|
|
22
23
|
*
|
|
23
24
|
* @generated from protobuf rpc: RegisterDeviceKey
|
|
24
25
|
*/
|
|
@@ -63,7 +64,8 @@ export declare class AttestationServiceClient implements IAttestationServiceClie
|
|
|
63
64
|
* Register a device key with platform attestation: stores the attestation
|
|
64
65
|
* data and marks the device as hardware_attested; a server that verifies
|
|
65
66
|
* attestation also checks the chain and the AAGUID policy. A device that
|
|
66
|
-
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS)
|
|
67
|
+
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS);
|
|
68
|
+
* a retry answers with the attestation the first call registered.
|
|
67
69
|
*
|
|
68
70
|
* @generated from protobuf rpc: RegisterDeviceKey
|
|
69
71
|
*/
|
|
@@ -16,7 +16,8 @@ export class AttestationServiceClient {
|
|
|
16
16
|
* Register a device key with platform attestation: stores the attestation
|
|
17
17
|
* data and marks the device as hardware_attested; a server that verifies
|
|
18
18
|
* attestation also checks the chain and the AAGUID policy. A device that
|
|
19
|
-
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS)
|
|
19
|
+
* already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS);
|
|
20
|
+
* a retry answers with the attestation the first call registered.
|
|
20
21
|
*
|
|
21
22
|
* @generated from protobuf rpc: RegisterDeviceKey
|
|
22
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attestation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"attestation.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAOtD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA8C1D,iCAAiC;AAEjC;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAIJ;IAH7B,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC;IACvC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;IACrC,OAAO,GAAG,kBAAkB,CAAC,OAAO,CAAC;IACrC,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;;OAQG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA8C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACrH,CAAC;IACD;;;;OAIG;IACH,oBAAoB,CAAC,KAAkC,EAAE,OAAoB;QACzE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxH,CAAC;IACD;;;;OAIG;IACH,eAAe,CAAC,KAA6B,EAAE,OAAoB;QAC/D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA4C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnH,CAAC;IACD;;;;OAIG;IACH,eAAe,CAAC,KAA6B,EAAE,OAAoB;QAC/D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvG,CAAC;IACD;;;;OAIG;IACH,sBAAsB,CAAC,KAAoC,EAAE,OAAoB;QAC7E,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAgE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACvI,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { AttestationService } from \"./attestation.js\";\nimport type { ListDeviceAttestationsResponse } from \"./attestation.js\";\nimport type { ListDeviceAttestationsRequest } from \"./attestation.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { RevokeDeviceKeyRequest } from \"./attestation.js\";\nimport type { RotateDeviceKeyRequest } from \"./attestation.js\";\nimport type { GetDeviceAttestationRequest } from \"./attestation.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { DeviceAttestation } from \"./attestation.js\";\nimport type { RegisterDeviceKeyRequest } from \"./attestation.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n// ── Attestation Service RPCs ──\n\n/**\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport interface IAttestationServiceClient {\n /**\n * Register a device key with platform attestation: stores the attestation\n * data and marks the device as hardware_attested; a server that verifies\n * attestation also checks the chain and the AAGUID policy. A device that\n * already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS);\n * a retry answers with the attestation the first call registered.\n *\n * @generated from protobuf rpc: RegisterDeviceKey\n */\n registerDeviceKey(input: RegisterDeviceKeyRequest, options?: RpcOptions): UnaryCall<RegisterDeviceKeyRequest, DeviceAttestation>;\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation>;\n /**\n * Rotate a device key (triggered by OS update or manual re-attestation).\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation>;\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty>;\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>;\n}\n// ── Attestation Service RPCs ──\n\n/**\n * @generated from protobuf service sid.v1.attestation.AttestationService\n */\nexport class AttestationServiceClient implements IAttestationServiceClient, ServiceInfo {\n typeName = AttestationService.typeName;\n methods = AttestationService.methods;\n options = AttestationService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Register a device key with platform attestation: stores the attestation\n * data and marks the device as hardware_attested; a server that verifies\n * attestation also checks the chain and the AAGUID policy. A device that\n * already has a live attestation is refused (ATTESTATION_ALREADY_EXISTS);\n * a retry answers with the attestation the first call registered.\n *\n * @generated from protobuf rpc: RegisterDeviceKey\n */\n registerDeviceKey(input: RegisterDeviceKeyRequest, options?: RpcOptions): UnaryCall<RegisterDeviceKeyRequest, DeviceAttestation> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<RegisterDeviceKeyRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get attestation details for a device.\n *\n * @generated from protobuf rpc: GetDeviceAttestation\n */\n getDeviceAttestation(input: GetDeviceAttestationRequest, options?: RpcOptions): UnaryCall<GetDeviceAttestationRequest, DeviceAttestation> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetDeviceAttestationRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Rotate a device key (triggered by OS update or manual re-attestation).\n *\n * @generated from protobuf rpc: RotateDeviceKey\n */\n rotateDeviceKey(input: RotateDeviceKeyRequest, options?: RpcOptions): UnaryCall<RotateDeviceKeyRequest, DeviceAttestation> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<RotateDeviceKeyRequest, DeviceAttestation>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Revoke a device key (device removed or compromised).\n *\n * @generated from protobuf rpc: RevokeDeviceKey\n */\n revokeDeviceKey(input: RevokeDeviceKeyRequest, options?: RpcOptions): UnaryCall<RevokeDeviceKeyRequest, Empty> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<RevokeDeviceKeyRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all attestations for a profile.\n *\n * @generated from protobuf rpc: ListDeviceAttestations\n */\n listDeviceAttestations(input: ListDeviceAttestationsRequest, options?: RpcOptions): UnaryCall<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDeviceAttestationsRequest, ListDeviceAttestationsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
@@ -645,10 +645,10 @@ export const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse
|
|
|
645
645
|
* @generated ServiceType for protobuf service sid.v1.attestation.AttestationService
|
|
646
646
|
*/
|
|
647
647
|
export const AttestationService = new ServiceType("sid.v1.attestation.AttestationService", [
|
|
648
|
-
{ name: "RegisterDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/keys", body: "*" } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },
|
|
648
|
+
{ name: "RegisterDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/keys", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },
|
|
649
649
|
{ name: "GetDeviceAttestation", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/devices/{device_id}" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },
|
|
650
|
-
{ name: "RotateDeviceKey", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/rotate", body: "*" } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },
|
|
651
|
-
{ name: "RevokeDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/revoke", body: "*" } }, I: RevokeDeviceKeyRequest, O: Empty },
|
|
650
|
+
{ name: "RotateDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/rotate", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },
|
|
651
|
+
{ name: "RevokeDeviceKey", idempotency: "IDEMPOTENT", options: { "google.api.http": { post: "/v1/attestation/devices/{device_id}/revoke", body: "*" }, "sid.v1.common.retry": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },
|
|
652
652
|
{ name: "ListDeviceAttestations", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/attestation/profiles/{profile_id}/devices" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }
|
|
653
653
|
]);
|
|
654
654
|
//# sourceMappingURL=attestation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qHAAqH;AACrH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,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;AAgKlE;;;;GAIG;AACH,M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AAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,iBAAiB,EAAE;IAC5M,EAAE,IAAI,EAAE,sBAAsB,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,qCAAqC,EAAE,EAAE,EAAE,CAAC,EAAE,2BAA2B,EAAE,CAAC,EAAE,iBAAiB,EAAE;IACtM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,iBAAiB,EAAE;IAC/K,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,IAAI,EAAE,4CAA4C,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,sBAAsB,EAAE,CAAC,EAAE,KAAK,EAAE;IAC9L,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,+CAA+C,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CACpO,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/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { Empty } from \"../../../google/protobuf/empty.js\";\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\";\n/**\n * Device attestation record — cryptographic identity of a device.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport interface DeviceAttestation {\n /**\n * @generated from protobuf field: string id = 1\n */\n id: string; // Attestation record ID (UUIDv7)\n /**\n * @generated from protobuf field: string device_id = 2\n */\n deviceId: string; // Attested device (`Device.id` in sid-identity, UUIDv7)\n /**\n * @generated from protobuf field: string profile_id = 3\n */\n profileId: string; // Owner profile\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat; // Attestation format\n /**\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType; // Hardware key type\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6\n */\n status: AttestationStatus; // Verification status\n /**\n * @generated from protobuf field: bytes device_public_key = 7\n */\n devicePublicKey: Uint8Array; // Device public key (DER-encoded)\n /**\n * @generated from protobuf field: optional bytes attestation_object = 8\n */\n attestationObject?: Uint8Array; // Raw attestation blob (platform-specific)\n /**\n * @generated from protobuf field: optional bytes attestation_certificate = 9\n */\n attestationCertificate?: Uint8Array; // Leaf certificate from attestation chain\n /**\n * @generated from protobuf field: optional string aaguid = 10\n */\n aaguid?: string; // Authenticator Attestation GUID (WebAuthn)\n /**\n * @generated from protobuf field: optional string credential_id = 11\n */\n credentialId?: string; // Bound credential ID (WebAuthn/OPAQUE)\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 12\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp updated_at = 13\n */\n updatedAt?: Timestamp;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 14\n */\n revokedAt?: Timestamp;\n}\n// ── Request/Response Messages ──\n\n/**\n * @generated from protobuf message sid.v1.attestation.RegisterDeviceKeyRequest\n */\nexport interface RegisterDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device to register key for (`Device.id`, UUIDv7)\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 2\n */\n format: AttestationFormat; // Attestation format\n /**\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 3\n */\n keyStorage: KeyStorageType; // Hardware key type\n /**\n * @generated from protobuf field: bytes device_public_key = 4\n */\n devicePublicKey: Uint8Array; // Device public key (DER-encoded)\n /**\n * @generated from protobuf field: optional bytes attestation_object = 5\n */\n attestationObject?: Uint8Array; // Raw attestation blob\n /**\n * @generated from protobuf field: optional bytes attestation_certificate = 6\n */\n attestationCertificate?: Uint8Array; // Leaf certificate\n /**\n * @generated from protobuf field: optional string aaguid = 7\n */\n aaguid?: string; // Authenticator AAGUID\n /**\n * @generated from protobuf field: optional string credential_id = 8\n */\n credentialId?: string; // Bound credential ID\n}\n/**\n * @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport interface GetDeviceAttestationRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device to fetch attestation for (`Device.id`, UUIDv7)\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport interface RotateDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device whose key is rotated (`Device.id`, UUIDv7)\n /**\n * @generated from protobuf field: bytes new_device_public_key = 2\n */\n newDevicePublicKey: Uint8Array; // New public key\n /**\n * @generated from protobuf field: optional bytes new_attestation_object = 3\n */\n newAttestationObject?: Uint8Array; // New attestation blob\n /**\n * @generated from protobuf field: optional bytes new_attestation_certificate = 4\n */\n newAttestationCertificate?: Uint8Array; // New leaf certificate\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport interface RevokeDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device whose key is revoked (`Device.id`, UUIDv7)\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport interface ListDeviceAttestationsRequest {\n /**\n * @generated from protobuf field: string profile_id = 1\n */\n profileId: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport interface ListDeviceAttestationsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1\n */\n attestations: DeviceAttestation[];\n}\n/**\n * Attestation format reported by the device.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationFormat\n */\nexport enum AttestationFormat {\n /**\n * @generated from protobuf enum value: ATTESTATION_FORMAT_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * No attestation provided\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_NONE = 1;\n */\n NONE = 1,\n /**\n * FIDO2 packed attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_PACKED = 2;\n */\n PACKED = 2,\n /**\n * TPM 2.0 attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_TPM = 3;\n */\n TPM = 3,\n /**\n * Android Keystore attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_ANDROID_KEY = 4;\n */\n ANDROID_KEY = 4,\n /**\n * Apple App Attest / Secure Enclave\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_APPLE = 5;\n */\n APPLE = 5,\n /**\n * FIDO U2F attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_FIDO_U2F = 6;\n */\n FIDO_U2F = 6\n}\n/**\n * Type of hardware key storage on the device.\n *\n * @generated from protobuf enum sid.v1.attestation.KeyStorageType\n */\nexport enum KeyStorageType {\n /**\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Software-only key (no hardware backing)\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SOFTWARE = 1;\n */\n SOFTWARE = 1,\n /**\n * Trusted Platform Module\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TPM = 2;\n */\n TPM = 2,\n /**\n * Apple Secure Enclave\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SECURE_ENCLAVE = 3;\n */\n SECURE_ENCLAVE = 3,\n /**\n * Android StrongBox\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_STRONGBOX = 4;\n */\n STRONGBOX = 4,\n /**\n * ARM TrustZone or similar TEE\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TEE = 5;\n */\n TEE = 5\n}\n/**\n * Attestation verification status.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationStatus\n */\nexport enum AttestationStatus {\n /**\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Received, not yet verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * Attestation chain verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_VERIFIED = 2;\n */\n VERIFIED = 2,\n /**\n * Stored; the server does not verify chains\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNVERIFIED = 3;\n */\n UNVERIFIED = 3,\n /**\n * Verification failed\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REJECTED = 4;\n */\n REJECTED = 4,\n /**\n * Key has been revoked\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REVOKED = 5;\n */\n REVOKED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceAttestation$Type extends MessageType<DeviceAttestation> {\n constructor() {\n super(\"sid.v1.attestation.DeviceAttestation\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationStatus\", AttestationStatus, \"ATTESTATION_STATUS_\"] },\n { no: 7, name: \"device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"credential_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"updated_at\", kind: \"message\", T: () => Timestamp },\n { no: 14, name: \"revoked_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.deviceId = \"\";\n message.profileId = \"\";\n message.format = 0;\n message.keyStorage = 0;\n message.status = 0;\n message.devicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<DeviceAttestation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceAttestation): DeviceAttestation {\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 id */ 1:\n message.id = reader.string();\n break;\n case /* string device_id */ 2:\n message.deviceId = reader.string();\n break;\n case /* string profile_id */ 3:\n message.profileId = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* sid.v1.attestation.AttestationStatus status */ 6:\n message.status = reader.int32();\n break;\n case /* bytes device_public_key */ 7:\n message.devicePublicKey = reader.bytes();\n break;\n case /* optional bytes attestation_object */ 8:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 9:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 10:\n message.aaguid = reader.string();\n break;\n case /* optional string credential_id */ 11:\n message.credentialId = reader.string();\n break;\n case /* google.protobuf.Timestamp created_at */ 12:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp updated_at */ 13:\n message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);\n break;\n case /* optional google.protobuf.Timestamp revoked_at */ 14:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\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: DeviceAttestation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string device_id = 2; */\n if (message.deviceId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.deviceId);\n /* string profile_id = 3; */\n if (message.profileId !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.profileId);\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* sid.v1.attestation.AttestationStatus status = 6; */\n if (message.status !== 0)\n writer.tag(6, WireType.Varint).int32(message.status);\n /* bytes device_public_key = 7; */\n if (message.devicePublicKey.length)\n writer.tag(7, WireType.LengthDelimited).bytes(message.devicePublicKey);\n /* optional bytes attestation_object = 8; */\n if (message.attestationObject !== undefined)\n writer.tag(8, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 9; */\n if (message.attestationCertificate !== undefined)\n writer.tag(9, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 10; */\n if (message.aaguid !== undefined)\n writer.tag(10, WireType.LengthDelimited).string(message.aaguid);\n /* optional string credential_id = 11; */\n if (message.credentialId !== undefined)\n writer.tag(11, WireType.LengthDelimited).string(message.credentialId);\n /* google.protobuf.Timestamp created_at = 12; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp updated_at = 13; */\n if (message.updatedAt)\n Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp revoked_at = 14; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(14, 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.attestation.DeviceAttestation\n */\nexport const DeviceAttestation = new DeviceAttestation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegisterDeviceKeyRequest$Type extends MessageType<RegisterDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RegisterDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 3, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 4, name: \"device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 5, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"credential_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RegisterDeviceKeyRequest>): RegisterDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n message.format = 0;\n message.keyStorage = 0;\n message.devicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RegisterDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterDeviceKeyRequest): RegisterDeviceKeyRequest {\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 device_id */ 1:\n message.deviceId = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 2:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 3:\n message.keyStorage = reader.int32();\n break;\n case /* bytes device_public_key */ 4:\n message.devicePublicKey = reader.bytes();\n break;\n case /* optional bytes attestation_object */ 5:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 6:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 7:\n message.aaguid = reader.string();\n break;\n case /* optional string credential_id */ 8:\n message.credentialId = 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: RegisterDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\n /* sid.v1.attestation.AttestationFormat format = 2; */\n if (message.format !== 0)\n writer.tag(2, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 3; */\n if (message.keyStorage !== 0)\n writer.tag(3, WireType.Varint).int32(message.keyStorage);\n /* bytes device_public_key = 4; */\n if (message.devicePublicKey.length)\n writer.tag(4, WireType.LengthDelimited).bytes(message.devicePublicKey);\n /* optional bytes attestation_object = 5; */\n if (message.attestationObject !== undefined)\n writer.tag(5, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 6; */\n if (message.attestationCertificate !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 7; */\n if (message.aaguid !== undefined)\n writer.tag(7, WireType.LengthDelimited).string(message.aaguid);\n /* optional string credential_id = 8; */\n if (message.credentialId !== undefined)\n writer.tag(8, WireType.LengthDelimited).string(message.credentialId);\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.attestation.RegisterDeviceKeyRequest\n */\nexport const RegisterDeviceKeyRequest = new RegisterDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {\n constructor() {\n super(\"sid.v1.attestation.GetDeviceAttestationRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GetDeviceAttestationRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetDeviceAttestationRequest): GetDeviceAttestationRequest {\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 device_id */ 1:\n message.deviceId = 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: GetDeviceAttestationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\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.attestation.GetDeviceAttestationRequest\n */\nexport const GetDeviceAttestationRequest = new GetDeviceAttestationRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RotateDeviceKeyRequest$Type extends MessageType<RotateDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RotateDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"new_device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"new_attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"new_attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<RotateDeviceKeyRequest>): RotateDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n message.newDevicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RotateDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateDeviceKeyRequest): RotateDeviceKeyRequest {\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 device_id */ 1:\n message.deviceId = reader.string();\n break;\n case /* bytes new_device_public_key */ 2:\n message.newDevicePublicKey = reader.bytes();\n break;\n case /* optional bytes new_attestation_object */ 3:\n message.newAttestationObject = reader.bytes();\n break;\n case /* optional bytes new_attestation_certificate */ 4:\n message.newAttestationCertificate = 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: RotateDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\n /* bytes new_device_public_key = 2; */\n if (message.newDevicePublicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.newDevicePublicKey);\n /* optional bytes new_attestation_object = 3; */\n if (message.newAttestationObject !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.newAttestationObject);\n /* optional bytes new_attestation_certificate = 4; */\n if (message.newAttestationCertificate !== undefined)\n writer.tag(4, WireType.LengthDelimited).bytes(message.newAttestationCertificate);\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.attestation.RotateDeviceKeyRequest\n */\nexport const RotateDeviceKeyRequest = new RotateDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokeDeviceKeyRequest$Type extends MessageType<RevokeDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RevokeDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RevokeDeviceKeyRequest>): RevokeDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n if (value !== undefined)\n reflectionMergePartial<RevokeDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeDeviceKeyRequest): RevokeDeviceKeyRequest {\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 device_id */ 1:\n message.deviceId = 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: RevokeDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\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.attestation.RevokeDeviceKeyRequest\n */\nexport const RevokeDeviceKeyRequest = new RevokeDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsRequest$Type extends MessageType<ListDeviceAttestationsRequest> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsRequest\", [\n { no: 1, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsRequest>): ListDeviceAttestationsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.profileId = \"\";\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsRequest): ListDeviceAttestationsRequest {\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 profile_id */ 1:\n message.profileId = 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: ListDeviceAttestationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string profile_id = 1; */\n if (message.profileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.profileId);\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.attestation.ListDeviceAttestationsRequest\n */\nexport const ListDeviceAttestationsRequest = new ListDeviceAttestationsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsResponse$Type extends MessageType<ListDeviceAttestationsResponse> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsResponse\", [\n { no: 1, name: \"attestations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceAttestation }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsResponse>): ListDeviceAttestationsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.attestations = [];\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsResponse): ListDeviceAttestationsResponse {\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.attestation.DeviceAttestation attestations */ 1:\n message.attestations.push(DeviceAttestation.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: ListDeviceAttestationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.attestation.DeviceAttestation attestations = 1; */\n for (let i = 0; i < message.attestations.length; i++)\n DeviceAttestation.internalBinaryWrite(message.attestations[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.attestation.ListDeviceAttestationsResponse\n */\nexport const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService\n */\nexport const AttestationService = new ServiceType(\"sid.v1.attestation.AttestationService\", [\n { name: \"RegisterDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/keys\", body: \"*\" } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id}\" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/rotate\", body: \"*\" } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/revoke\", body: \"*\" } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/profiles/{profile_id}/devices\" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }\n]);\n"]}
|
|
1
|
+
{"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/attestation/attestation.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,qHAAqH;AACrH,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,KAAK,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,WAAW,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,EAAE,GAAG,EAAE,+CAA+C,EAAE,EAAE,EAAE,CAAC,EAAE,6BAA6B,EAAE,CAAC,EAAE,8BAA8B,EAAE;CACpO,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/attestation/attestation.proto\" (package \"sid.v1.attestation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { Empty } from \"../../../google/protobuf/empty.js\";\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\";\n/**\n * Device attestation record — cryptographic identity of a device.\n *\n * @generated from protobuf message sid.v1.attestation.DeviceAttestation\n */\nexport interface DeviceAttestation {\n /**\n * @generated from protobuf field: string id = 1\n */\n id: string; // Attestation record ID (UUIDv7)\n /**\n * @generated from protobuf field: string device_id = 2\n */\n deviceId: string; // Attested device (`Device.id` in sid-identity, UUIDv7)\n /**\n * @generated from protobuf field: string profile_id = 3\n */\n profileId: string; // Owner profile\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 4\n */\n format: AttestationFormat; // Attestation format\n /**\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 5\n */\n keyStorage: KeyStorageType; // Hardware key type\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationStatus status = 6\n */\n status: AttestationStatus; // Verification status\n /**\n * @generated from protobuf field: bytes device_public_key = 7\n */\n devicePublicKey: Uint8Array; // Device public key (DER-encoded)\n /**\n * @generated from protobuf field: optional bytes attestation_object = 8\n */\n attestationObject?: Uint8Array; // Raw attestation blob (platform-specific)\n /**\n * @generated from protobuf field: optional bytes attestation_certificate = 9\n */\n attestationCertificate?: Uint8Array; // Leaf certificate from attestation chain\n /**\n * @generated from protobuf field: optional string aaguid = 10\n */\n aaguid?: string; // Authenticator Attestation GUID (WebAuthn)\n /**\n * @generated from protobuf field: optional string credential_id = 11\n */\n credentialId?: string; // Bound credential ID (WebAuthn/OPAQUE)\n /**\n * @generated from protobuf field: google.protobuf.Timestamp created_at = 12\n */\n createdAt?: Timestamp;\n /**\n * @generated from protobuf field: google.protobuf.Timestamp updated_at = 13\n */\n updatedAt?: Timestamp;\n /**\n * @generated from protobuf field: optional google.protobuf.Timestamp revoked_at = 14\n */\n revokedAt?: Timestamp;\n}\n// ── Request/Response Messages ──\n\n/**\n * @generated from protobuf message sid.v1.attestation.RegisterDeviceKeyRequest\n */\nexport interface RegisterDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device to register key for (`Device.id`, UUIDv7)\n /**\n * @generated from protobuf field: sid.v1.attestation.AttestationFormat format = 2\n */\n format: AttestationFormat; // Attestation format\n /**\n * @generated from protobuf field: sid.v1.attestation.KeyStorageType key_storage = 3\n */\n keyStorage: KeyStorageType; // Hardware key type\n /**\n * @generated from protobuf field: bytes device_public_key = 4\n */\n devicePublicKey: Uint8Array; // Device public key (DER-encoded)\n /**\n * @generated from protobuf field: optional bytes attestation_object = 5\n */\n attestationObject?: Uint8Array; // Raw attestation blob\n /**\n * @generated from protobuf field: optional bytes attestation_certificate = 6\n */\n attestationCertificate?: Uint8Array; // Leaf certificate\n /**\n * @generated from protobuf field: optional string aaguid = 7\n */\n aaguid?: string; // Authenticator AAGUID\n /**\n * @generated from protobuf field: optional string credential_id = 8\n */\n credentialId?: string; // Bound credential ID\n}\n/**\n * @generated from protobuf message sid.v1.attestation.GetDeviceAttestationRequest\n */\nexport interface GetDeviceAttestationRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device to fetch attestation for (`Device.id`, UUIDv7)\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RotateDeviceKeyRequest\n */\nexport interface RotateDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device whose key is rotated (`Device.id`, UUIDv7)\n /**\n * @generated from protobuf field: bytes new_device_public_key = 2\n */\n newDevicePublicKey: Uint8Array; // New public key\n /**\n * @generated from protobuf field: optional bytes new_attestation_object = 3\n */\n newAttestationObject?: Uint8Array; // New attestation blob\n /**\n * @generated from protobuf field: optional bytes new_attestation_certificate = 4\n */\n newAttestationCertificate?: Uint8Array; // New leaf certificate\n}\n/**\n * @generated from protobuf message sid.v1.attestation.RevokeDeviceKeyRequest\n */\nexport interface RevokeDeviceKeyRequest {\n /**\n * @generated from protobuf field: string device_id = 1\n */\n deviceId: string; // Device whose key is revoked (`Device.id`, UUIDv7)\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsRequest\n */\nexport interface ListDeviceAttestationsRequest {\n /**\n * @generated from protobuf field: string profile_id = 1\n */\n profileId: string;\n}\n/**\n * @generated from protobuf message sid.v1.attestation.ListDeviceAttestationsResponse\n */\nexport interface ListDeviceAttestationsResponse {\n /**\n * @generated from protobuf field: repeated sid.v1.attestation.DeviceAttestation attestations = 1\n */\n attestations: DeviceAttestation[];\n}\n/**\n * Attestation format reported by the device.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationFormat\n */\nexport enum AttestationFormat {\n /**\n * @generated from protobuf enum value: ATTESTATION_FORMAT_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * No attestation provided\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_NONE = 1;\n */\n NONE = 1,\n /**\n * FIDO2 packed attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_PACKED = 2;\n */\n PACKED = 2,\n /**\n * TPM 2.0 attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_TPM = 3;\n */\n TPM = 3,\n /**\n * Android Keystore attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_ANDROID_KEY = 4;\n */\n ANDROID_KEY = 4,\n /**\n * Apple App Attest / Secure Enclave\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_APPLE = 5;\n */\n APPLE = 5,\n /**\n * FIDO U2F attestation\n *\n * @generated from protobuf enum value: ATTESTATION_FORMAT_FIDO_U2F = 6;\n */\n FIDO_U2F = 6\n}\n/**\n * Type of hardware key storage on the device.\n *\n * @generated from protobuf enum sid.v1.attestation.KeyStorageType\n */\nexport enum KeyStorageType {\n /**\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Software-only key (no hardware backing)\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SOFTWARE = 1;\n */\n SOFTWARE = 1,\n /**\n * Trusted Platform Module\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TPM = 2;\n */\n TPM = 2,\n /**\n * Apple Secure Enclave\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_SECURE_ENCLAVE = 3;\n */\n SECURE_ENCLAVE = 3,\n /**\n * Android StrongBox\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_STRONGBOX = 4;\n */\n STRONGBOX = 4,\n /**\n * ARM TrustZone or similar TEE\n *\n * @generated from protobuf enum value: KEY_STORAGE_TYPE_TEE = 5;\n */\n TEE = 5\n}\n/**\n * Attestation verification status.\n *\n * @generated from protobuf enum sid.v1.attestation.AttestationStatus\n */\nexport enum AttestationStatus {\n /**\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * Received, not yet verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_PENDING = 1;\n */\n PENDING = 1,\n /**\n * Attestation chain verified\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_VERIFIED = 2;\n */\n VERIFIED = 2,\n /**\n * Stored; the server does not verify chains\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_UNVERIFIED = 3;\n */\n UNVERIFIED = 3,\n /**\n * Verification failed\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REJECTED = 4;\n */\n REJECTED = 4,\n /**\n * Key has been revoked\n *\n * @generated from protobuf enum value: ATTESTATION_STATUS_REVOKED = 5;\n */\n REVOKED = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeviceAttestation$Type extends MessageType<DeviceAttestation> {\n constructor() {\n super(\"sid.v1.attestation.DeviceAttestation\", [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 5, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 6, name: \"status\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationStatus\", AttestationStatus, \"ATTESTATION_STATUS_\"] },\n { no: 7, name: \"device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 8, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 9, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 10, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"credential_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 12, name: \"created_at\", kind: \"message\", T: () => Timestamp },\n { no: 13, name: \"updated_at\", kind: \"message\", T: () => Timestamp },\n { no: 14, name: \"revoked_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<DeviceAttestation>): DeviceAttestation {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.id = \"\";\n message.deviceId = \"\";\n message.profileId = \"\";\n message.format = 0;\n message.keyStorage = 0;\n message.status = 0;\n message.devicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<DeviceAttestation>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeviceAttestation): DeviceAttestation {\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 id */ 1:\n message.id = reader.string();\n break;\n case /* string device_id */ 2:\n message.deviceId = reader.string();\n break;\n case /* string profile_id */ 3:\n message.profileId = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 4:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 5:\n message.keyStorage = reader.int32();\n break;\n case /* sid.v1.attestation.AttestationStatus status */ 6:\n message.status = reader.int32();\n break;\n case /* bytes device_public_key */ 7:\n message.devicePublicKey = reader.bytes();\n break;\n case /* optional bytes attestation_object */ 8:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 9:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 10:\n message.aaguid = reader.string();\n break;\n case /* optional string credential_id */ 11:\n message.credentialId = reader.string();\n break;\n case /* google.protobuf.Timestamp created_at */ 12:\n message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.Timestamp updated_at */ 13:\n message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);\n break;\n case /* optional google.protobuf.Timestamp revoked_at */ 14:\n message.revokedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.revokedAt);\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: DeviceAttestation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string id = 1; */\n if (message.id !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.id);\n /* string device_id = 2; */\n if (message.deviceId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.deviceId);\n /* string profile_id = 3; */\n if (message.profileId !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.profileId);\n /* sid.v1.attestation.AttestationFormat format = 4; */\n if (message.format !== 0)\n writer.tag(4, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 5; */\n if (message.keyStorage !== 0)\n writer.tag(5, WireType.Varint).int32(message.keyStorage);\n /* sid.v1.attestation.AttestationStatus status = 6; */\n if (message.status !== 0)\n writer.tag(6, WireType.Varint).int32(message.status);\n /* bytes device_public_key = 7; */\n if (message.devicePublicKey.length)\n writer.tag(7, WireType.LengthDelimited).bytes(message.devicePublicKey);\n /* optional bytes attestation_object = 8; */\n if (message.attestationObject !== undefined)\n writer.tag(8, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 9; */\n if (message.attestationCertificate !== undefined)\n writer.tag(9, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 10; */\n if (message.aaguid !== undefined)\n writer.tag(10, WireType.LengthDelimited).string(message.aaguid);\n /* optional string credential_id = 11; */\n if (message.credentialId !== undefined)\n writer.tag(11, WireType.LengthDelimited).string(message.credentialId);\n /* google.protobuf.Timestamp created_at = 12; */\n if (message.createdAt)\n Timestamp.internalBinaryWrite(message.createdAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Timestamp updated_at = 13; */\n if (message.updatedAt)\n Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();\n /* optional google.protobuf.Timestamp revoked_at = 14; */\n if (message.revokedAt)\n Timestamp.internalBinaryWrite(message.revokedAt, writer.tag(14, 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.attestation.DeviceAttestation\n */\nexport const DeviceAttestation = new DeviceAttestation$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegisterDeviceKeyRequest$Type extends MessageType<RegisterDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RegisterDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"format\", kind: \"enum\", T: () => [\"sid.v1.attestation.AttestationFormat\", AttestationFormat, \"ATTESTATION_FORMAT_\"] },\n { no: 3, name: \"key_storage\", kind: \"enum\", T: () => [\"sid.v1.attestation.KeyStorageType\", KeyStorageType, \"KEY_STORAGE_TYPE_\"] },\n { no: 4, name: \"device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 5, name: \"attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 6, name: \"attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 7, name: \"aaguid\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"credential_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RegisterDeviceKeyRequest>): RegisterDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n message.format = 0;\n message.keyStorage = 0;\n message.devicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RegisterDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RegisterDeviceKeyRequest): RegisterDeviceKeyRequest {\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 device_id */ 1:\n message.deviceId = reader.string();\n break;\n case /* sid.v1.attestation.AttestationFormat format */ 2:\n message.format = reader.int32();\n break;\n case /* sid.v1.attestation.KeyStorageType key_storage */ 3:\n message.keyStorage = reader.int32();\n break;\n case /* bytes device_public_key */ 4:\n message.devicePublicKey = reader.bytes();\n break;\n case /* optional bytes attestation_object */ 5:\n message.attestationObject = reader.bytes();\n break;\n case /* optional bytes attestation_certificate */ 6:\n message.attestationCertificate = reader.bytes();\n break;\n case /* optional string aaguid */ 7:\n message.aaguid = reader.string();\n break;\n case /* optional string credential_id */ 8:\n message.credentialId = 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: RegisterDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\n /* sid.v1.attestation.AttestationFormat format = 2; */\n if (message.format !== 0)\n writer.tag(2, WireType.Varint).int32(message.format);\n /* sid.v1.attestation.KeyStorageType key_storage = 3; */\n if (message.keyStorage !== 0)\n writer.tag(3, WireType.Varint).int32(message.keyStorage);\n /* bytes device_public_key = 4; */\n if (message.devicePublicKey.length)\n writer.tag(4, WireType.LengthDelimited).bytes(message.devicePublicKey);\n /* optional bytes attestation_object = 5; */\n if (message.attestationObject !== undefined)\n writer.tag(5, WireType.LengthDelimited).bytes(message.attestationObject);\n /* optional bytes attestation_certificate = 6; */\n if (message.attestationCertificate !== undefined)\n writer.tag(6, WireType.LengthDelimited).bytes(message.attestationCertificate);\n /* optional string aaguid = 7; */\n if (message.aaguid !== undefined)\n writer.tag(7, WireType.LengthDelimited).string(message.aaguid);\n /* optional string credential_id = 8; */\n if (message.credentialId !== undefined)\n writer.tag(8, WireType.LengthDelimited).string(message.credentialId);\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.attestation.RegisterDeviceKeyRequest\n */\nexport const RegisterDeviceKeyRequest = new RegisterDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDeviceAttestationRequest$Type extends MessageType<GetDeviceAttestationRequest> {\n constructor() {\n super(\"sid.v1.attestation.GetDeviceAttestationRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<GetDeviceAttestationRequest>): GetDeviceAttestationRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GetDeviceAttestationRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetDeviceAttestationRequest): GetDeviceAttestationRequest {\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 device_id */ 1:\n message.deviceId = 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: GetDeviceAttestationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\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.attestation.GetDeviceAttestationRequest\n */\nexport const GetDeviceAttestationRequest = new GetDeviceAttestationRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RotateDeviceKeyRequest$Type extends MessageType<RotateDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RotateDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"new_device_public_key\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ },\n { no: 3, name: \"new_attestation_object\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"new_attestation_certificate\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n create(value?: PartialMessage<RotateDeviceKeyRequest>): RotateDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n message.newDevicePublicKey = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<RotateDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RotateDeviceKeyRequest): RotateDeviceKeyRequest {\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 device_id */ 1:\n message.deviceId = reader.string();\n break;\n case /* bytes new_device_public_key */ 2:\n message.newDevicePublicKey = reader.bytes();\n break;\n case /* optional bytes new_attestation_object */ 3:\n message.newAttestationObject = reader.bytes();\n break;\n case /* optional bytes new_attestation_certificate */ 4:\n message.newAttestationCertificate = 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: RotateDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\n /* bytes new_device_public_key = 2; */\n if (message.newDevicePublicKey.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.newDevicePublicKey);\n /* optional bytes new_attestation_object = 3; */\n if (message.newAttestationObject !== undefined)\n writer.tag(3, WireType.LengthDelimited).bytes(message.newAttestationObject);\n /* optional bytes new_attestation_certificate = 4; */\n if (message.newAttestationCertificate !== undefined)\n writer.tag(4, WireType.LengthDelimited).bytes(message.newAttestationCertificate);\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.attestation.RotateDeviceKeyRequest\n */\nexport const RotateDeviceKeyRequest = new RotateDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RevokeDeviceKeyRequest$Type extends MessageType<RevokeDeviceKeyRequest> {\n constructor() {\n super(\"sid.v1.attestation.RevokeDeviceKeyRequest\", [\n { no: 1, name: \"device_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<RevokeDeviceKeyRequest>): RevokeDeviceKeyRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.deviceId = \"\";\n if (value !== undefined)\n reflectionMergePartial<RevokeDeviceKeyRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RevokeDeviceKeyRequest): RevokeDeviceKeyRequest {\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 device_id */ 1:\n message.deviceId = 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: RevokeDeviceKeyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string device_id = 1; */\n if (message.deviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.deviceId);\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.attestation.RevokeDeviceKeyRequest\n */\nexport const RevokeDeviceKeyRequest = new RevokeDeviceKeyRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsRequest$Type extends MessageType<ListDeviceAttestationsRequest> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsRequest\", [\n { no: 1, name: \"profile_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsRequest>): ListDeviceAttestationsRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.profileId = \"\";\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsRequest): ListDeviceAttestationsRequest {\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 profile_id */ 1:\n message.profileId = 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: ListDeviceAttestationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string profile_id = 1; */\n if (message.profileId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.profileId);\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.attestation.ListDeviceAttestationsRequest\n */\nexport const ListDeviceAttestationsRequest = new ListDeviceAttestationsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDeviceAttestationsResponse$Type extends MessageType<ListDeviceAttestationsResponse> {\n constructor() {\n super(\"sid.v1.attestation.ListDeviceAttestationsResponse\", [\n { no: 1, name: \"attestations\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DeviceAttestation }\n ]);\n }\n create(value?: PartialMessage<ListDeviceAttestationsResponse>): ListDeviceAttestationsResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.attestations = [];\n if (value !== undefined)\n reflectionMergePartial<ListDeviceAttestationsResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListDeviceAttestationsResponse): ListDeviceAttestationsResponse {\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.attestation.DeviceAttestation attestations */ 1:\n message.attestations.push(DeviceAttestation.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: ListDeviceAttestationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* repeated sid.v1.attestation.DeviceAttestation attestations = 1; */\n for (let i = 0; i < message.attestations.length; i++)\n DeviceAttestation.internalBinaryWrite(message.attestations[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.attestation.ListDeviceAttestationsResponse\n */\nexport const ListDeviceAttestationsResponse = new ListDeviceAttestationsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sid.v1.attestation.AttestationService\n */\nexport const AttestationService = new ServiceType(\"sid.v1.attestation.AttestationService\", [\n { name: \"RegisterDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/keys\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RegisterDeviceKeyRequest, O: DeviceAttestation },\n { name: \"GetDeviceAttestation\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/devices/{device_id}\" } }, I: GetDeviceAttestationRequest, O: DeviceAttestation },\n { name: \"RotateDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/rotate\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RotateDeviceKeyRequest, O: DeviceAttestation },\n { name: \"RevokeDeviceKey\", idempotency: \"IDEMPOTENT\", options: { \"google.api.http\": { post: \"/v1/attestation/devices/{device_id}/revoke\", body: \"*\" }, \"sid.v1.common.retry\": { keyed: true } }, I: RevokeDeviceKeyRequest, O: Empty },\n { name: \"ListDeviceAttestations\", idempotency: \"NO_SIDE_EFFECTS\", options: { \"google.api.http\": { get: \"/v1/attestation/profiles/{profile_id}/devices\" } }, I: ListDeviceAttestationsRequest, O: ListDeviceAttestationsResponse }\n]);\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
2
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { BackChannelLogoutRequest } from "./application_session.js";
|
|
3
4
|
import type { EndApplicationSessionResponse } from "./application_session.js";
|
|
4
5
|
import type { EndApplicationSessionRequest } from "./application_session.js";
|
|
5
6
|
import type { ApplicationSession } from "./application_session.js";
|
|
@@ -58,7 +59,8 @@ export interface IApplicationSessionServiceClient {
|
|
|
58
59
|
*
|
|
59
60
|
* No cookie, or one naming no live session of this application's
|
|
60
61
|
* connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer
|
|
61
|
-
* session was ended elsewhere
|
|
62
|
+
* session was ended elsewhere (a back-channel logout received, or a
|
|
63
|
+
* revocation known here) is ended here too and is UNAUTHENTICATED. A
|
|
62
64
|
* session store or revocation check that cannot be answered is UNAVAILABLE
|
|
63
65
|
* with RetryInfo: an outage never reads as a signed-out user.
|
|
64
66
|
*
|
|
@@ -84,6 +86,26 @@ export interface IApplicationSessionServiceClient {
|
|
|
84
86
|
* @generated from protobuf rpc: EndApplicationSession
|
|
85
87
|
*/
|
|
86
88
|
endApplicationSession(input: EndApplicationSessionRequest, options?: RpcOptions): UnaryCall<EndApplicationSessionRequest, EndApplicationSessionResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* The issuer's back-channel logout (OpenID Connect Back-Channel Logout 1.0
|
|
91
|
+
* §2.5): the application's issuer posts a `logout_token` here when a
|
|
92
|
+
* session it issued to this client ends. The adapter validates it as §2.6
|
|
93
|
+
* states (the connection's exact issuer and its keys, `typ` `logout+jwt`,
|
|
94
|
+
* `aud` this client, the logout event, no `nonce`) and ends every
|
|
95
|
+
* application session of that issuer session (`sid`). The client is
|
|
96
|
+
* registered with the session required (§2.2), so a token naming no
|
|
97
|
+
* session is `invalid_request` and ends nothing. A sign-in completing for
|
|
98
|
+
* an ended issuer session afterwards opens nothing.
|
|
99
|
+
*
|
|
100
|
+
* Server to server, so the answer is HTTP (§2.8): `x-http-code` 200 with
|
|
101
|
+
* `cache-control: no-store` once the end is recorded in the session store;
|
|
102
|
+
* 400 with the JSON error `invalid_request` for a token that does not
|
|
103
|
+
* validate; 503 when the session store cannot be reached, so the issuer
|
|
104
|
+
* retries.
|
|
105
|
+
*
|
|
106
|
+
* @generated from protobuf rpc: ReceiveBackChannelLogout
|
|
107
|
+
*/
|
|
108
|
+
receiveBackChannelLogout(input: BackChannelLogoutRequest, options?: RpcOptions): UnaryCall<BackChannelLogoutRequest, HttpBody>;
|
|
87
109
|
}
|
|
88
110
|
/**
|
|
89
111
|
* @generated from protobuf service sid.v1.authn.ApplicationSessionService
|
|
@@ -141,7 +163,8 @@ export declare class ApplicationSessionServiceClient implements IApplicationSess
|
|
|
141
163
|
*
|
|
142
164
|
* No cookie, or one naming no live session of this application's
|
|
143
165
|
* connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer
|
|
144
|
-
* session was ended elsewhere
|
|
166
|
+
* session was ended elsewhere (a back-channel logout received, or a
|
|
167
|
+
* revocation known here) is ended here too and is UNAUTHENTICATED. A
|
|
145
168
|
* session store or revocation check that cannot be answered is UNAVAILABLE
|
|
146
169
|
* with RetryInfo: an outage never reads as a signed-out user.
|
|
147
170
|
*
|
|
@@ -167,4 +190,24 @@ export declare class ApplicationSessionServiceClient implements IApplicationSess
|
|
|
167
190
|
* @generated from protobuf rpc: EndApplicationSession
|
|
168
191
|
*/
|
|
169
192
|
endApplicationSession(input: EndApplicationSessionRequest, options?: RpcOptions): UnaryCall<EndApplicationSessionRequest, EndApplicationSessionResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* The issuer's back-channel logout (OpenID Connect Back-Channel Logout 1.0
|
|
195
|
+
* §2.5): the application's issuer posts a `logout_token` here when a
|
|
196
|
+
* session it issued to this client ends. The adapter validates it as §2.6
|
|
197
|
+
* states (the connection's exact issuer and its keys, `typ` `logout+jwt`,
|
|
198
|
+
* `aud` this client, the logout event, no `nonce`) and ends every
|
|
199
|
+
* application session of that issuer session (`sid`). The client is
|
|
200
|
+
* registered with the session required (§2.2), so a token naming no
|
|
201
|
+
* session is `invalid_request` and ends nothing. A sign-in completing for
|
|
202
|
+
* an ended issuer session afterwards opens nothing.
|
|
203
|
+
*
|
|
204
|
+
* Server to server, so the answer is HTTP (§2.8): `x-http-code` 200 with
|
|
205
|
+
* `cache-control: no-store` once the end is recorded in the session store;
|
|
206
|
+
* 400 with the JSON error `invalid_request` for a token that does not
|
|
207
|
+
* validate; 503 when the session store cannot be reached, so the issuer
|
|
208
|
+
* retries.
|
|
209
|
+
*
|
|
210
|
+
* @generated from protobuf rpc: ReceiveBackChannelLogout
|
|
211
|
+
*/
|
|
212
|
+
receiveBackChannelLogout(input: BackChannelLogoutRequest, options?: RpcOptions): UnaryCall<BackChannelLogoutRequest, HttpBody>;
|
|
170
213
|
}
|
|
@@ -62,7 +62,8 @@ export class ApplicationSessionServiceClient {
|
|
|
62
62
|
*
|
|
63
63
|
* No cookie, or one naming no live session of this application's
|
|
64
64
|
* connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer
|
|
65
|
-
* session was ended elsewhere
|
|
65
|
+
* session was ended elsewhere (a back-channel logout received, or a
|
|
66
|
+
* revocation known here) is ended here too and is UNAUTHENTICATED. A
|
|
66
67
|
* session store or revocation check that cannot be answered is UNAVAILABLE
|
|
67
68
|
* with RetryInfo: an outage never reads as a signed-out user.
|
|
68
69
|
*
|
|
@@ -94,5 +95,28 @@ export class ApplicationSessionServiceClient {
|
|
|
94
95
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
95
96
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
96
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* The issuer's back-channel logout (OpenID Connect Back-Channel Logout 1.0
|
|
100
|
+
* §2.5): the application's issuer posts a `logout_token` here when a
|
|
101
|
+
* session it issued to this client ends. The adapter validates it as §2.6
|
|
102
|
+
* states (the connection's exact issuer and its keys, `typ` `logout+jwt`,
|
|
103
|
+
* `aud` this client, the logout event, no `nonce`) and ends every
|
|
104
|
+
* application session of that issuer session (`sid`). The client is
|
|
105
|
+
* registered with the session required (§2.2), so a token naming no
|
|
106
|
+
* session is `invalid_request` and ends nothing. A sign-in completing for
|
|
107
|
+
* an ended issuer session afterwards opens nothing.
|
|
108
|
+
*
|
|
109
|
+
* Server to server, so the answer is HTTP (§2.8): `x-http-code` 200 with
|
|
110
|
+
* `cache-control: no-store` once the end is recorded in the session store;
|
|
111
|
+
* 400 with the JSON error `invalid_request` for a token that does not
|
|
112
|
+
* validate; 503 when the session store cannot be reached, so the issuer
|
|
113
|
+
* retries.
|
|
114
|
+
*
|
|
115
|
+
* @generated from protobuf rpc: ReceiveBackChannelLogout
|
|
116
|
+
*/
|
|
117
|
+
receiveBackChannelLogout(input, options) {
|
|
118
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
119
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
120
|
+
}
|
|
97
121
|
}
|
|
98
122
|
//# sourceMappingURL=application_session.client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application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,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAmD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC1H,CAAC;IACD;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,CAAC,KAAmC,EAAE,OAAoB;QAC3E,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA8D,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACrI,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/application_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { ApplicationSessionService } from \"./application_session.js\";\nimport type { EndApplicationSessionResponse } from \"./application_session.js\";\nimport type { EndApplicationSessionRequest } from \"./application_session.js\";\nimport type { ApplicationSession } from \"./application_session.js\";\nimport type { GetApplicationSessionRequest } from \"./application_session.js\";\nimport type { CompleteSignInRequest } from \"./application_session.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { HttpBody } from \"../../../google/api/httpbody.js\";\nimport type { StartSignInRequest } from \"./application_session.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport interface IApplicationSessionServiceClient {\n /**\n * Start a sign-in: redirect the browser to the issuer's authorization\n * endpoint (RFC 6749 §4.1.1) with the code flow, S256 PKCE (RFC 7636\n * §4.3), the application's resource (RFC 8707 §2) and a fresh `state` and\n * `nonce`, recorded server-side for the callback.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 with\n * `location` in the response metadata and an empty body. Before the\n * installation has provisioned the application's client the answer is 503\n * and nothing is recorded.\n *\n * Records a single-use sign-in on every call, so a repeat is another\n * sign-in.\n *\n * @generated from protobuf rpc: StartSignIn\n */\n startSignIn(input: StartSignInRequest, options?: RpcOptions): UnaryCall<StartSignInRequest, HttpBody>;\n /**\n * Complete a sign-in from the issuer's authorization response (RFC 6749\n * §4.1.2): take the recorded sign-in its `state` names, exactly once, check\n * that the issuer answered (RFC 9207 §2.4), redeem the code with the\n * client's key (`private_key_jwt`, RFC 7523 §2.2), validate the access\n * token for the application's resource (RFC 9068 §4) and the ID token for\n * this client and nonce (OIDC Core 1.0 §3.1.3.7), and open the session.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 to the\n * local path the sign-in started from, with the session cookie in\n * `set-cookie` (host-only, `Secure`, `HttpOnly`, `SameSite=Lax`). An\n * unknown, used or expired `state`, or an answer from another issuer, is\n * 400; an authorization error is 403; a redemption or token the issuer\n * got wrong is 502; a session store that cannot be reached is 503.\n *\n * Consumes the sign-in its `state` names, so a repeat is refused.\n *\n * @generated from protobuf rpc: CompleteSignIn\n */\n completeSignIn(input: CompleteSignInRequest, options?: RpcOptions): UnaryCall<CompleteSignInRequest, HttpBody>;\n /**\n * The signed-in user of the session the request's cookie names, and the\n * session's CSRF token, which every state-changing call echoes in\n * `x-csrf-token`. The application's page calls it over gRPC-Web on its own\n * origin; the cookie travels in the request metadata.\n *\n * No cookie, or one naming no live session of this application's\n * connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer\n * session was ended elsewhere is ended here too and is UNAUTHENTICATED. A\n * session store or revocation check that cannot be answered is UNAVAILABLE\n * with RetryInfo: an outage never reads as a signed-out user.\n *\n * Extends the session's idle window; repeating it does nothing more.\n *\n * @generated from protobuf rpc: GetApplicationSession\n */\n getApplicationSession(input: GetApplicationSessionRequest, options?: RpcOptions): UnaryCall<GetApplicationSessionRequest, ApplicationSession>;\n /**\n * End the application session the request's cookie names and revoke the\n * grant behind it at the issuer (RFC 7009 §2.1); the response metadata\n * carries a `set-cookie` that clears the cookie. Requires the session's\n * CSRF token in `x-csrf-token` (a mismatch is PERMISSION_DENIED,\n * CSRF_TOKEN_INVALID). Ends the application session only: the issuer's\n * sign-in session and other applications are not touched.\n *\n * Without a cookie the answer is UNAUTHENTICATED. A session store that\n * cannot be reached is UNAVAILABLE and nothing is cleared.\n *\n * A repeat finds no session and answers GRANT_OUTCOME_UNKNOWN; nothing more\n * is ended.\n *\n * @generated from protobuf rpc: EndApplicationSession\n */\n endApplicationSession(input: EndApplicationSessionRequest, options?: RpcOptions): UnaryCall<EndApplicationSessionRequest, EndApplicationSessionResponse>;\n}\n/**\n * @generated from protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport class ApplicationSessionServiceClient implements IApplicationSessionServiceClient, ServiceInfo {\n typeName = ApplicationSessionService.typeName;\n methods = ApplicationSessionService.methods;\n options = ApplicationSessionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Start a sign-in: redirect the browser to the issuer's authorization\n * endpoint (RFC 6749 §4.1.1) with the code flow, S256 PKCE (RFC 7636\n * §4.3), the application's resource (RFC 8707 §2) and a fresh `state` and\n * `nonce`, recorded server-side for the callback.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 with\n * `location` in the response metadata and an empty body. Before the\n * installation has provisioned the application's client the answer is 503\n * and nothing is recorded.\n *\n * Records a single-use sign-in on every call, so a repeat is another\n * sign-in.\n *\n * @generated from protobuf rpc: StartSignIn\n */\n startSignIn(input: StartSignInRequest, options?: RpcOptions): UnaryCall<StartSignInRequest, HttpBody> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StartSignInRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Complete a sign-in from the issuer's authorization response (RFC 6749\n * §4.1.2): take the recorded sign-in its `state` names, exactly once, check\n * that the issuer answered (RFC 9207 §2.4), redeem the code with the\n * client's key (`private_key_jwt`, RFC 7523 §2.2), validate the access\n * token for the application's resource (RFC 9068 §4) and the ID token for\n * this client and nonce (OIDC Core 1.0 §3.1.3.7), and open the session.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 to the\n * local path the sign-in started from, with the session cookie in\n * `set-cookie` (host-only, `Secure`, `HttpOnly`, `SameSite=Lax`). An\n * unknown, used or expired `state`, or an answer from another issuer, is\n * 400; an authorization error is 403; a redemption or token the issuer\n * got wrong is 502; a session store that cannot be reached is 503.\n *\n * Consumes the sign-in its `state` names, so a repeat is refused.\n *\n * @generated from protobuf rpc: CompleteSignIn\n */\n completeSignIn(input: CompleteSignInRequest, options?: RpcOptions): UnaryCall<CompleteSignInRequest, HttpBody> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CompleteSignInRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The signed-in user of the session the request's cookie names, and the\n * session's CSRF token, which every state-changing call echoes in\n * `x-csrf-token`. The application's page calls it over gRPC-Web on its own\n * origin; the cookie travels in the request metadata.\n *\n * No cookie, or one naming no live session of this application's\n * connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer\n * session was ended elsewhere is ended here too and is UNAUTHENTICATED. A\n * session store or revocation check that cannot be answered is UNAVAILABLE\n * with RetryInfo: an outage never reads as a signed-out user.\n *\n * Extends the session's idle window; repeating it does nothing more.\n *\n * @generated from protobuf rpc: GetApplicationSession\n */\n getApplicationSession(input: GetApplicationSessionRequest, options?: RpcOptions): UnaryCall<GetApplicationSessionRequest, ApplicationSession> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetApplicationSessionRequest, ApplicationSession>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * End the application session the request's cookie names and revoke the\n * grant behind it at the issuer (RFC 7009 §2.1); the response metadata\n * carries a `set-cookie` that clears the cookie. Requires the session's\n * CSRF token in `x-csrf-token` (a mismatch is PERMISSION_DENIED,\n * CSRF_TOKEN_INVALID). Ends the application session only: the issuer's\n * sign-in session and other applications are not touched.\n *\n * Without a cookie the answer is UNAUTHENTICATED. A session store that\n * cannot be reached is UNAVAILABLE and nothing is cleared.\n *\n * A repeat finds no session and answers GRANT_OUTCOME_UNKNOWN; nothing more\n * is ended.\n *\n * @generated from protobuf rpc: EndApplicationSession\n */\n endApplicationSession(input: EndApplicationSessionRequest, options?: RpcOptions): UnaryCall<EndApplicationSessionRequest, EndApplicationSessionResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<EndApplicationSessionRequest, EndApplicationSessionResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application_session.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/authn/application_session.client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAOrE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAsG1D;;GAEG;AACH,MAAM,OAAO,+BAA+B;IAIX;IAH7B,QAAQ,GAAG,yBAAyB,CAAC,QAAQ,CAAC;IAC9C,OAAO,GAAG,yBAAyB,CAAC,OAAO,CAAC;IAC5C,OAAO,GAAG,yBAAyB,CAAC,OAAO,CAAC;IAC5C,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CAAC,KAAyB,EAAE,OAAoB;QACvD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAA+B,OAAO,EAAE,IAAI,CAAC,UAAU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,OAAO,cAAc,CAAqC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC5G,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/authn/application_session.proto\" (package \"sid.v1.authn\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { ApplicationSessionService } from \"./application_session.js\";\nimport type { BackChannelLogoutRequest } from \"./application_session.js\";\nimport type { EndApplicationSessionResponse } from \"./application_session.js\";\nimport type { EndApplicationSessionRequest } from \"./application_session.js\";\nimport type { ApplicationSession } from \"./application_session.js\";\nimport type { GetApplicationSessionRequest } from \"./application_session.js\";\nimport type { CompleteSignInRequest } from \"./application_session.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { HttpBody } from \"../../../google/api/httpbody.js\";\nimport type { StartSignInRequest } from \"./application_session.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport interface IApplicationSessionServiceClient {\n /**\n * Start a sign-in: redirect the browser to the issuer's authorization\n * endpoint (RFC 6749 §4.1.1) with the code flow, S256 PKCE (RFC 7636\n * §4.3), the application's resource (RFC 8707 §2) and a fresh `state` and\n * `nonce`, recorded server-side for the callback.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 with\n * `location` in the response metadata and an empty body. Before the\n * installation has provisioned the application's client the answer is 503\n * and nothing is recorded.\n *\n * Records a single-use sign-in on every call, so a repeat is another\n * sign-in.\n *\n * @generated from protobuf rpc: StartSignIn\n */\n startSignIn(input: StartSignInRequest, options?: RpcOptions): UnaryCall<StartSignInRequest, HttpBody>;\n /**\n * Complete a sign-in from the issuer's authorization response (RFC 6749\n * §4.1.2): take the recorded sign-in its `state` names, exactly once, check\n * that the issuer answered (RFC 9207 §2.4), redeem the code with the\n * client's key (`private_key_jwt`, RFC 7523 §2.2), validate the access\n * token for the application's resource (RFC 9068 §4) and the ID token for\n * this client and nonce (OIDC Core 1.0 §3.1.3.7), and open the session.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 to the\n * local path the sign-in started from, with the session cookie in\n * `set-cookie` (host-only, `Secure`, `HttpOnly`, `SameSite=Lax`). An\n * unknown, used or expired `state`, or an answer from another issuer, is\n * 400; an authorization error is 403; a redemption or token the issuer\n * got wrong is 502; a session store that cannot be reached is 503.\n *\n * Consumes the sign-in its `state` names, so a repeat is refused.\n *\n * @generated from protobuf rpc: CompleteSignIn\n */\n completeSignIn(input: CompleteSignInRequest, options?: RpcOptions): UnaryCall<CompleteSignInRequest, HttpBody>;\n /**\n * The signed-in user of the session the request's cookie names, and the\n * session's CSRF token, which every state-changing call echoes in\n * `x-csrf-token`. The application's page calls it over gRPC-Web on its own\n * origin; the cookie travels in the request metadata.\n *\n * No cookie, or one naming no live session of this application's\n * connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer\n * session was ended elsewhere (a back-channel logout received, or a\n * revocation known here) is ended here too and is UNAUTHENTICATED. A\n * session store or revocation check that cannot be answered is UNAVAILABLE\n * with RetryInfo: an outage never reads as a signed-out user.\n *\n * Extends the session's idle window; repeating it does nothing more.\n *\n * @generated from protobuf rpc: GetApplicationSession\n */\n getApplicationSession(input: GetApplicationSessionRequest, options?: RpcOptions): UnaryCall<GetApplicationSessionRequest, ApplicationSession>;\n /**\n * End the application session the request's cookie names and revoke the\n * grant behind it at the issuer (RFC 7009 §2.1); the response metadata\n * carries a `set-cookie` that clears the cookie. Requires the session's\n * CSRF token in `x-csrf-token` (a mismatch is PERMISSION_DENIED,\n * CSRF_TOKEN_INVALID). Ends the application session only: the issuer's\n * sign-in session and other applications are not touched.\n *\n * Without a cookie the answer is UNAUTHENTICATED. A session store that\n * cannot be reached is UNAVAILABLE and nothing is cleared.\n *\n * A repeat finds no session and answers GRANT_OUTCOME_UNKNOWN; nothing more\n * is ended.\n *\n * @generated from protobuf rpc: EndApplicationSession\n */\n endApplicationSession(input: EndApplicationSessionRequest, options?: RpcOptions): UnaryCall<EndApplicationSessionRequest, EndApplicationSessionResponse>;\n /**\n * The issuer's back-channel logout (OpenID Connect Back-Channel Logout 1.0\n * §2.5): the application's issuer posts a `logout_token` here when a\n * session it issued to this client ends. The adapter validates it as §2.6\n * states (the connection's exact issuer and its keys, `typ` `logout+jwt`,\n * `aud` this client, the logout event, no `nonce`) and ends every\n * application session of that issuer session (`sid`). The client is\n * registered with the session required (§2.2), so a token naming no\n * session is `invalid_request` and ends nothing. A sign-in completing for\n * an ended issuer session afterwards opens nothing.\n *\n * Server to server, so the answer is HTTP (§2.8): `x-http-code` 200 with\n * `cache-control: no-store` once the end is recorded in the session store;\n * 400 with the JSON error `invalid_request` for a token that does not\n * validate; 503 when the session store cannot be reached, so the issuer\n * retries.\n *\n * @generated from protobuf rpc: ReceiveBackChannelLogout\n */\n receiveBackChannelLogout(input: BackChannelLogoutRequest, options?: RpcOptions): UnaryCall<BackChannelLogoutRequest, HttpBody>;\n}\n/**\n * @generated from protobuf service sid.v1.authn.ApplicationSessionService\n */\nexport class ApplicationSessionServiceClient implements IApplicationSessionServiceClient, ServiceInfo {\n typeName = ApplicationSessionService.typeName;\n methods = ApplicationSessionService.methods;\n options = ApplicationSessionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Start a sign-in: redirect the browser to the issuer's authorization\n * endpoint (RFC 6749 §4.1.1) with the code flow, S256 PKCE (RFC 7636\n * §4.3), the application's resource (RFC 8707 §2) and a fresh `state` and\n * `nonce`, recorded server-side for the callback.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 with\n * `location` in the response metadata and an empty body. Before the\n * installation has provisioned the application's client the answer is 503\n * and nothing is recorded.\n *\n * Records a single-use sign-in on every call, so a repeat is another\n * sign-in.\n *\n * @generated from protobuf rpc: StartSignIn\n */\n startSignIn(input: StartSignInRequest, options?: RpcOptions): UnaryCall<StartSignInRequest, HttpBody> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StartSignInRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Complete a sign-in from the issuer's authorization response (RFC 6749\n * §4.1.2): take the recorded sign-in its `state` names, exactly once, check\n * that the issuer answered (RFC 9207 §2.4), redeem the code with the\n * client's key (`private_key_jwt`, RFC 7523 §2.2), validate the access\n * token for the application's resource (RFC 9068 §4) and the ID token for\n * this client and nonce (OIDC Core 1.0 §3.1.3.7), and open the session.\n *\n * A browser navigation, so the answer is HTTP: `x-http-code` 302 to the\n * local path the sign-in started from, with the session cookie in\n * `set-cookie` (host-only, `Secure`, `HttpOnly`, `SameSite=Lax`). An\n * unknown, used or expired `state`, or an answer from another issuer, is\n * 400; an authorization error is 403; a redemption or token the issuer\n * got wrong is 502; a session store that cannot be reached is 503.\n *\n * Consumes the sign-in its `state` names, so a repeat is refused.\n *\n * @generated from protobuf rpc: CompleteSignIn\n */\n completeSignIn(input: CompleteSignInRequest, options?: RpcOptions): UnaryCall<CompleteSignInRequest, HttpBody> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CompleteSignInRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The signed-in user of the session the request's cookie names, and the\n * session's CSRF token, which every state-changing call echoes in\n * `x-csrf-token`. The application's page calls it over gRPC-Web on its own\n * origin; the cookie travels in the request metadata.\n *\n * No cookie, or one naming no live session of this application's\n * connection, is UNAUTHENTICATED (TOKEN_INVALID). A session whose issuer\n * session was ended elsewhere (a back-channel logout received, or a\n * revocation known here) is ended here too and is UNAUTHENTICATED. A\n * session store or revocation check that cannot be answered is UNAVAILABLE\n * with RetryInfo: an outage never reads as a signed-out user.\n *\n * Extends the session's idle window; repeating it does nothing more.\n *\n * @generated from protobuf rpc: GetApplicationSession\n */\n getApplicationSession(input: GetApplicationSessionRequest, options?: RpcOptions): UnaryCall<GetApplicationSessionRequest, ApplicationSession> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetApplicationSessionRequest, ApplicationSession>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * End the application session the request's cookie names and revoke the\n * grant behind it at the issuer (RFC 7009 §2.1); the response metadata\n * carries a `set-cookie` that clears the cookie. Requires the session's\n * CSRF token in `x-csrf-token` (a mismatch is PERMISSION_DENIED,\n * CSRF_TOKEN_INVALID). Ends the application session only: the issuer's\n * sign-in session and other applications are not touched.\n *\n * Without a cookie the answer is UNAUTHENTICATED. A session store that\n * cannot be reached is UNAVAILABLE and nothing is cleared.\n *\n * A repeat finds no session and answers GRANT_OUTCOME_UNKNOWN; nothing more\n * is ended.\n *\n * @generated from protobuf rpc: EndApplicationSession\n */\n endApplicationSession(input: EndApplicationSessionRequest, options?: RpcOptions): UnaryCall<EndApplicationSessionRequest, EndApplicationSessionResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<EndApplicationSessionRequest, EndApplicationSessionResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The issuer's back-channel logout (OpenID Connect Back-Channel Logout 1.0\n * §2.5): the application's issuer posts a `logout_token` here when a\n * session it issued to this client ends. The adapter validates it as §2.6\n * states (the connection's exact issuer and its keys, `typ` `logout+jwt`,\n * `aud` this client, the logout event, no `nonce`) and ends every\n * application session of that issuer session (`sid`). The client is\n * registered with the session required (§2.2), so a token naming no\n * session is `invalid_request` and ends nothing. A sign-in completing for\n * an ended issuer session afterwards opens nothing.\n *\n * Server to server, so the answer is HTTP (§2.8): `x-http-code` 200 with\n * `cache-control: no-store` once the end is recorded in the session store;\n * 400 with the JSON error `invalid_request` for a token that does not\n * validate; 503 when the session store cannot be reached, so the issuer\n * retries.\n *\n * @generated from protobuf rpc: ReceiveBackChannelLogout\n */\n receiveBackChannelLogout(input: BackChannelLogoutRequest, options?: RpcOptions): UnaryCall<BackChannelLogoutRequest, HttpBody> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<BackChannelLogoutRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|