@structured-id/ui-core 2.0.0 → 3.0.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/README.md +22 -10
- package/package.json +25 -43
- package/src/components/SidStatusBadge.vue +1 -5
- package/src/composables/useAccountTransport.test.ts +2 -1
- package/src/composables/useGrpc.test.ts +17 -14
- package/src/composables/useGrpc.ts +4 -2
- package/src/index.ts +2 -120
- package/src/profile/components/ConsentManager.vue +5 -1
- package/src/profile/components/ProfileEditor.vue +1 -1
- package/src/profile/components/SecuritySettings.vue +5 -1
- package/src/profile/components/SessionList.vue +2 -1
- package/src/profile/components/SidRegistrationForm.test.ts +173 -1
- package/src/profile/components/SidRegistrationForm.vue +88 -32
- package/src/profile/components/index.ts +1 -4
- package/src/profile/composables/index.ts +1 -0
- package/src/profile/composables/operationPlan.test.ts +155 -0
- package/src/profile/composables/operationPlan.ts +218 -0
- package/src/profile/composables/useAccountApi.ts +4 -4
- package/src/profile/composables/useAuth.test.ts +312 -31
- package/src/profile/composables/useAuth.ts +176 -30
- package/src/profile/composables/useAuthApi.opaque.test.ts +13 -6
- package/src/profile/composables/useAuthApi.ts +40 -18
- package/src/profile/composables/useCurrentPasswordRequirement.test.ts +196 -0
- package/src/profile/composables/useCurrentPasswordRequirement.ts +95 -0
- package/src/profile/composables/useEnrollmentApi.test.ts +7 -3
- package/src/profile/composables/useEnrollmentApi.ts +3 -5
- package/src/profile/composables/useIdentityApi.ts +4 -4
- package/src/profile/composables/useSecurityLevel.test.ts +1 -1
- package/src/profile/composables/useSecurityLevel.ts +1 -1
- package/src/quasar/SidPasswordCeremony.test.ts +253 -0
- package/src/quasar/SidPasswordCeremony.vue +456 -0
- package/src/quasar/index.ts +2 -0
- package/src/utils/rpcRefusal.test.ts +4 -4
- package/src/utils/rpcRefusal.ts +8 -4
- package/dist/browser-vp/index.cjs +0 -349
- package/dist/browser-vp/index.d.cts +0 -276
- package/dist/browser-vp/index.d.ts +0 -276
- package/dist/browser-vp/index.js +0 -349
- package/dist/chunk-C3Q766CY.cjs +0 -125
- package/dist/chunk-J5YXRXB5.js +0 -125
- package/dist/index.cjs +0 -23581
- package/dist/index.d.cts +0 -11539
- package/dist/index.d.ts +0 -11539
- package/dist/index.js +0 -23581
- package/dist/storage-4CB2JTLW.cjs +0 -22
- package/dist/storage-THRWREZP.js +0 -22
- package/src/browser-vp/crypto.ts +0 -253
- package/src/browser-vp/index.test.ts +0 -10
- package/src/browser-vp/index.ts +0 -116
- package/src/browser-vp/prf.ts +0 -179
- package/src/browser-vp/storage.test.ts +0 -9
- package/src/browser-vp/storage.ts +0 -163
- package/src/browser-vp/types.ts +0 -95
- package/src/browser-vp/vp.test.ts +0 -43
- package/src/browser-vp/vp.ts +0 -111
- package/src/generated/google/api/http.ts +0 -687
- package/src/generated/google/api/httpbody.ts +0 -159
- package/src/generated/google/protobuf/any.ts +0 -326
- package/src/generated/google/protobuf/descriptor.ts +0 -4865
- package/src/generated/google/protobuf/duration.ts +0 -230
- package/src/generated/google/protobuf/empty.ts +0 -94
- package/src/generated/google/protobuf/struct.ts +0 -484
- package/src/generated/google/protobuf/timestamp.ts +0 -287
- package/src/generated/google/rpc/error_details.ts +0 -1386
- package/src/generated/google/rpc/status.ts +0 -127
- package/src/generated/sid/v1/account/account.client.ts +0 -527
- package/src/generated/sid/v1/account/account.ts +0 -3261
- package/src/generated/sid/v1/admin/admin.client.ts +0 -139
- package/src/generated/sid/v1/admin/admin.ts +0 -781
- package/src/generated/sid/v1/admin/admin_roles.client.ts +0 -181
- package/src/generated/sid/v1/admin/admin_roles.ts +0 -1606
- package/src/generated/sid/v1/admin/analytics.client.ts +0 -106
- package/src/generated/sid/v1/admin/analytics.ts +0 -1017
- package/src/generated/sid/v1/admin/branding.client.ts +0 -166
- package/src/generated/sid/v1/admin/branding.ts +0 -1906
- package/src/generated/sid/v1/admin/enrollment.client.ts +0 -177
- package/src/generated/sid/v1/admin/enrollment.ts +0 -1766
- package/src/generated/sid/v1/admin/events.client.ts +0 -195
- package/src/generated/sid/v1/admin/events.ts +0 -1900
- package/src/generated/sid/v1/admin/flow.client.ts +0 -183
- package/src/generated/sid/v1/admin/flow.ts +0 -1552
- package/src/generated/sid/v1/admin/keys.client.ts +0 -107
- package/src/generated/sid/v1/admin/keys.ts +0 -931
- package/src/generated/sid/v1/admin/login_experience.client.ts +0 -160
- package/src/generated/sid/v1/admin/login_experience.ts +0 -1061
- package/src/generated/sid/v1/admin/migration.client.ts +0 -127
- package/src/generated/sid/v1/admin/migration.ts +0 -1948
- package/src/generated/sid/v1/admin/notifications.client.ts +0 -134
- package/src/generated/sid/v1/admin/notifications.ts +0 -1273
- package/src/generated/sid/v1/admin/operations.client.ts +0 -241
- package/src/generated/sid/v1/admin/operations.ts +0 -2633
- package/src/generated/sid/v1/admin/organizations.client.ts +0 -57
- package/src/generated/sid/v1/admin/organizations.ts +0 -332
- package/src/generated/sid/v1/admin/provisioning.client.ts +0 -232
- package/src/generated/sid/v1/admin/provisioning.ts +0 -1383
- package/src/generated/sid/v1/admin/scopes.client.ts +0 -171
- package/src/generated/sid/v1/admin/scopes.ts +0 -1324
- package/src/generated/sid/v1/admin/security.client.ts +0 -410
- package/src/generated/sid/v1/admin/security.ts +0 -4077
- package/src/generated/sid/v1/admin/sessions.client.ts +0 -114
- package/src/generated/sid/v1/admin/sessions.ts +0 -923
- package/src/generated/sid/v1/admin/settings.client.ts +0 -351
- package/src/generated/sid/v1/admin/settings.ts +0 -2458
- package/src/generated/sid/v1/admin/user_profile.client.ts +0 -57
- package/src/generated/sid/v1/admin/user_profile.ts +0 -730
- package/src/generated/sid/v1/admin/webhooks.client.ts +0 -269
- package/src/generated/sid/v1/admin/webhooks.ts +0 -2804
- package/src/generated/sid/v1/attestation/attestation.client.ts +0 -115
- package/src/generated/sid/v1/attestation/attestation.ts +0 -813
- package/src/generated/sid/v1/authn/auth.client.ts +0 -943
- package/src/generated/sid/v1/authn/auth.ts +0 -9719
- package/src/generated/sid/v1/authn/flows.client.ts +0 -413
- package/src/generated/sid/v1/authn/flows.ts +0 -3205
- package/src/generated/sid/v1/authn/issuer.client.ts +0 -489
- package/src/generated/sid/v1/authn/issuer.ts +0 -1600
- package/src/generated/sid/v1/authn/password_history.client.ts +0 -57
- package/src/generated/sid/v1/authn/password_history.ts +0 -578
- package/src/generated/sid/v1/authn/system_integration.client.ts +0 -73
- package/src/generated/sid/v1/authn/system_integration.ts +0 -218
- package/src/generated/sid/v1/authz/authz.client.ts +0 -459
- package/src/generated/sid/v1/authz/authz.ts +0 -6524
- package/src/generated/sid/v1/authz/forward_auth.client.ts +0 -97
- package/src/generated/sid/v1/authz/forward_auth.ts +0 -79
- package/src/generated/sid/v1/authz/governance.client.ts +0 -102
- package/src/generated/sid/v1/authz/governance.ts +0 -875
- package/src/generated/sid/v1/common/errors.ts +0 -710
- package/src/generated/sid/v1/common/pagination.ts +0 -152
- package/src/generated/sid/v1/common/transport.ts +0 -227
- package/src/generated/sid/v1/common/types.ts +0 -151
- package/src/generated/sid/v1/events/event_stream.client.ts +0 -67
- package/src/generated/sid/v1/events/event_stream.ts +0 -375
- package/src/generated/sid/v1/federation/upstream.client.ts +0 -142
- package/src/generated/sid/v1/federation/upstream.ts +0 -1736
- package/src/generated/sid/v1/identity/identity.client.ts +0 -467
- package/src/generated/sid/v1/identity/identity.ts +0 -5676
- package/src/generated/sid/v1/ids/ids.ts +0 -395
- package/src/generated/sid/v1/machine/machine_user.client.ts +0 -219
- package/src/generated/sid/v1/machine/machine_user.ts +0 -2364
- package/src/generated/sid/v1/machine/pat.client.ts +0 -130
- package/src/generated/sid/v1/machine/pat.ts +0 -1083
- package/src/generated/sid/v1/projects/projects.client.ts +0 -404
- package/src/generated/sid/v1/projects/projects.ts +0 -4446
- package/src/generated/sid/v1/scim/scim.client.ts +0 -520
- package/src/generated/sid/v1/scim/scim.ts +0 -3182
- package/src/generated/sid/v1/test/test.client.ts +0 -232
- package/src/generated/sid/v1/test/test.ts +0 -1136
- package/src/transport/adaptive.test.ts +0 -728
- package/src/transport/adaptive.ts +0 -308
- package/src/transport/framing.test.ts +0 -227
- package/src/transport/framing.ts +0 -98
- package/src/transport/webtransport.test.ts +0 -728
- package/src/transport/webtransport.ts +0 -323
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/ids/ids.proto" (package "sid.v1.ids", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
-
/**
|
|
14
|
-
* A Profile's identity at one organization: the pairwise subject that
|
|
15
|
-
* organization's services see. Opaque and unlinkable across organizations;
|
|
16
|
-
* it never carries or reveals a ProfileId.
|
|
17
|
-
*
|
|
18
|
-
* @generated from protobuf message sid.v1.ids.BindingId
|
|
19
|
-
*/
|
|
20
|
-
export interface BindingId {
|
|
21
|
-
/**
|
|
22
|
-
* Exactly 16 bytes: an RFC 9562 UUID of version 7 and the RFC 9562 variant,
|
|
23
|
-
* in network byte order. Nil, max, other lengths, versions and variants are
|
|
24
|
-
* invalid. Issued by SID; compared by exact byte equality.
|
|
25
|
-
*
|
|
26
|
-
* @generated from protobuf field: bytes value = 1
|
|
27
|
-
*/
|
|
28
|
-
value: Uint8Array;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* One password-installing operation (a registration, change or authorized
|
|
32
|
-
* reset) from its preparation to its commit. Every step and retry of the
|
|
33
|
-
* operation carries it, so a lost response resolves to the operation's one
|
|
34
|
-
* outcome instead of starting another.
|
|
35
|
-
*
|
|
36
|
-
* @generated from protobuf message sid.v1.ids.PasswordOperationId
|
|
37
|
-
*/
|
|
38
|
-
export interface PasswordOperationId {
|
|
39
|
-
/**
|
|
40
|
-
* Exactly 16 bytes: an RFC 9562 UUID of version 7 and the RFC 9562 variant,
|
|
41
|
-
* in network byte order. Nil, max, other lengths, versions and variants are
|
|
42
|
-
* invalid. Issued by SID; compared by exact byte equality.
|
|
43
|
-
*
|
|
44
|
-
* @generated from protobuf field: bytes value = 1
|
|
45
|
-
*/
|
|
46
|
-
value: Uint8Array;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* A non-human actor (a service, bot or agent) with its own SID credentials.
|
|
50
|
-
* Not a Binding, a Profile or a device, whatever its bytes.
|
|
51
|
-
*
|
|
52
|
-
* @generated from protobuf message sid.v1.ids.MachineUserId
|
|
53
|
-
*/
|
|
54
|
-
export interface MachineUserId {
|
|
55
|
-
/**
|
|
56
|
-
* Exactly 16 bytes: an RFC 9562 UUID of version 7 and the RFC 9562 variant,
|
|
57
|
-
* in network byte order. Nil, max, other lengths, versions and variants are
|
|
58
|
-
* invalid. Issued by SID; compared by exact byte equality.
|
|
59
|
-
*
|
|
60
|
-
* @generated from protobuf field: bytes value = 1
|
|
61
|
-
*/
|
|
62
|
-
value: Uint8Array;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* A provisioning connector: one directory source sending SCIM to an
|
|
66
|
-
* organization, or one target the organization provisions, acting as its own
|
|
67
|
-
* actor with its own credentials and grants. Not a machine user or a Profile.
|
|
68
|
-
*
|
|
69
|
-
* @generated from protobuf message sid.v1.ids.ProvisioningConnectorId
|
|
70
|
-
*/
|
|
71
|
-
export interface ProvisioningConnectorId {
|
|
72
|
-
/**
|
|
73
|
-
* Exactly 16 bytes: an RFC 9562 UUID of version 7 and the RFC 9562 variant,
|
|
74
|
-
* in network byte order. Nil, max, other lengths, versions and variants are
|
|
75
|
-
* invalid. Issued by SID; compared by exact byte equality.
|
|
76
|
-
*
|
|
77
|
-
* @generated from protobuf field: bytes value = 1
|
|
78
|
-
*/
|
|
79
|
-
value: Uint8Array;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* A registered protected resource: the application or API at which access is
|
|
83
|
-
* enforced, in its issuer's context. Not an OAuth client and not an audience
|
|
84
|
-
* string; its indicator and issuer come from its registration.
|
|
85
|
-
*
|
|
86
|
-
* @generated from protobuf message sid.v1.ids.ResourceId
|
|
87
|
-
*/
|
|
88
|
-
export interface ResourceId {
|
|
89
|
-
/**
|
|
90
|
-
* Exactly 16 bytes: an RFC 9562 UUID of version 7 and the RFC 9562 variant,
|
|
91
|
-
* in network byte order. Nil, max, other lengths, versions and variants are
|
|
92
|
-
* invalid. Issued by SID; compared by exact byte equality.
|
|
93
|
-
*
|
|
94
|
-
* @generated from protobuf field: bytes value = 1
|
|
95
|
-
*/
|
|
96
|
-
value: Uint8Array;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* One credential of a provisioning connector: the reference listings,
|
|
100
|
-
* rotations, revocations and audit records name. Never the secret itself.
|
|
101
|
-
*
|
|
102
|
-
* @generated from protobuf message sid.v1.ids.ProvisioningCredentialId
|
|
103
|
-
*/
|
|
104
|
-
export interface ProvisioningCredentialId {
|
|
105
|
-
/**
|
|
106
|
-
* Exactly 16 bytes: an RFC 9562 UUID of version 7 and the RFC 9562 variant,
|
|
107
|
-
* in network byte order. Nil, max, other lengths, versions and variants are
|
|
108
|
-
* invalid. Issued by SID; compared by exact byte equality.
|
|
109
|
-
*
|
|
110
|
-
* @generated from protobuf field: bytes value = 1
|
|
111
|
-
*/
|
|
112
|
-
value: Uint8Array;
|
|
113
|
-
}
|
|
114
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
115
|
-
class BindingId$Type extends MessageType<BindingId> {
|
|
116
|
-
constructor() {
|
|
117
|
-
super("sid.v1.ids.BindingId", [
|
|
118
|
-
{ no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
119
|
-
]);
|
|
120
|
-
}
|
|
121
|
-
create(value?: PartialMessage<BindingId>): BindingId {
|
|
122
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
123
|
-
message.value = new Uint8Array(0);
|
|
124
|
-
if (value !== undefined)
|
|
125
|
-
reflectionMergePartial<BindingId>(this, message, value);
|
|
126
|
-
return message;
|
|
127
|
-
}
|
|
128
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BindingId): BindingId {
|
|
129
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
130
|
-
while (reader.pos < end) {
|
|
131
|
-
let [fieldNo, wireType] = reader.tag();
|
|
132
|
-
switch (fieldNo) {
|
|
133
|
-
case /* bytes value */ 1:
|
|
134
|
-
message.value = reader.bytes();
|
|
135
|
-
break;
|
|
136
|
-
default:
|
|
137
|
-
let u = options.readUnknownField;
|
|
138
|
-
if (u === "throw")
|
|
139
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
140
|
-
let d = reader.skip(wireType);
|
|
141
|
-
if (u !== false)
|
|
142
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return message;
|
|
146
|
-
}
|
|
147
|
-
internalBinaryWrite(message: BindingId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
148
|
-
/* bytes value = 1; */
|
|
149
|
-
if (message.value.length)
|
|
150
|
-
writer.tag(1, WireType.LengthDelimited).bytes(message.value);
|
|
151
|
-
let u = options.writeUnknownFields;
|
|
152
|
-
if (u !== false)
|
|
153
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
154
|
-
return writer;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* @generated MessageType for protobuf message sid.v1.ids.BindingId
|
|
159
|
-
*/
|
|
160
|
-
export const BindingId = new BindingId$Type();
|
|
161
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
162
|
-
class PasswordOperationId$Type extends MessageType<PasswordOperationId> {
|
|
163
|
-
constructor() {
|
|
164
|
-
super("sid.v1.ids.PasswordOperationId", [
|
|
165
|
-
{ no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
166
|
-
]);
|
|
167
|
-
}
|
|
168
|
-
create(value?: PartialMessage<PasswordOperationId>): PasswordOperationId {
|
|
169
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
170
|
-
message.value = new Uint8Array(0);
|
|
171
|
-
if (value !== undefined)
|
|
172
|
-
reflectionMergePartial<PasswordOperationId>(this, message, value);
|
|
173
|
-
return message;
|
|
174
|
-
}
|
|
175
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PasswordOperationId): PasswordOperationId {
|
|
176
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
177
|
-
while (reader.pos < end) {
|
|
178
|
-
let [fieldNo, wireType] = reader.tag();
|
|
179
|
-
switch (fieldNo) {
|
|
180
|
-
case /* bytes value */ 1:
|
|
181
|
-
message.value = reader.bytes();
|
|
182
|
-
break;
|
|
183
|
-
default:
|
|
184
|
-
let u = options.readUnknownField;
|
|
185
|
-
if (u === "throw")
|
|
186
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
187
|
-
let d = reader.skip(wireType);
|
|
188
|
-
if (u !== false)
|
|
189
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
return message;
|
|
193
|
-
}
|
|
194
|
-
internalBinaryWrite(message: PasswordOperationId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
195
|
-
/* bytes value = 1; */
|
|
196
|
-
if (message.value.length)
|
|
197
|
-
writer.tag(1, WireType.LengthDelimited).bytes(message.value);
|
|
198
|
-
let u = options.writeUnknownFields;
|
|
199
|
-
if (u !== false)
|
|
200
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
201
|
-
return writer;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @generated MessageType for protobuf message sid.v1.ids.PasswordOperationId
|
|
206
|
-
*/
|
|
207
|
-
export const PasswordOperationId = new PasswordOperationId$Type();
|
|
208
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
209
|
-
class MachineUserId$Type extends MessageType<MachineUserId> {
|
|
210
|
-
constructor() {
|
|
211
|
-
super("sid.v1.ids.MachineUserId", [
|
|
212
|
-
{ no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
213
|
-
]);
|
|
214
|
-
}
|
|
215
|
-
create(value?: PartialMessage<MachineUserId>): MachineUserId {
|
|
216
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
217
|
-
message.value = new Uint8Array(0);
|
|
218
|
-
if (value !== undefined)
|
|
219
|
-
reflectionMergePartial<MachineUserId>(this, message, value);
|
|
220
|
-
return message;
|
|
221
|
-
}
|
|
222
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MachineUserId): MachineUserId {
|
|
223
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
224
|
-
while (reader.pos < end) {
|
|
225
|
-
let [fieldNo, wireType] = reader.tag();
|
|
226
|
-
switch (fieldNo) {
|
|
227
|
-
case /* bytes value */ 1:
|
|
228
|
-
message.value = reader.bytes();
|
|
229
|
-
break;
|
|
230
|
-
default:
|
|
231
|
-
let u = options.readUnknownField;
|
|
232
|
-
if (u === "throw")
|
|
233
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
234
|
-
let d = reader.skip(wireType);
|
|
235
|
-
if (u !== false)
|
|
236
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
return message;
|
|
240
|
-
}
|
|
241
|
-
internalBinaryWrite(message: MachineUserId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
242
|
-
/* bytes value = 1; */
|
|
243
|
-
if (message.value.length)
|
|
244
|
-
writer.tag(1, WireType.LengthDelimited).bytes(message.value);
|
|
245
|
-
let u = options.writeUnknownFields;
|
|
246
|
-
if (u !== false)
|
|
247
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
248
|
-
return writer;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* @generated MessageType for protobuf message sid.v1.ids.MachineUserId
|
|
253
|
-
*/
|
|
254
|
-
export const MachineUserId = new MachineUserId$Type();
|
|
255
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
256
|
-
class ProvisioningConnectorId$Type extends MessageType<ProvisioningConnectorId> {
|
|
257
|
-
constructor() {
|
|
258
|
-
super("sid.v1.ids.ProvisioningConnectorId", [
|
|
259
|
-
{ no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
260
|
-
]);
|
|
261
|
-
}
|
|
262
|
-
create(value?: PartialMessage<ProvisioningConnectorId>): ProvisioningConnectorId {
|
|
263
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
264
|
-
message.value = new Uint8Array(0);
|
|
265
|
-
if (value !== undefined)
|
|
266
|
-
reflectionMergePartial<ProvisioningConnectorId>(this, message, value);
|
|
267
|
-
return message;
|
|
268
|
-
}
|
|
269
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProvisioningConnectorId): ProvisioningConnectorId {
|
|
270
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
271
|
-
while (reader.pos < end) {
|
|
272
|
-
let [fieldNo, wireType] = reader.tag();
|
|
273
|
-
switch (fieldNo) {
|
|
274
|
-
case /* bytes value */ 1:
|
|
275
|
-
message.value = reader.bytes();
|
|
276
|
-
break;
|
|
277
|
-
default:
|
|
278
|
-
let u = options.readUnknownField;
|
|
279
|
-
if (u === "throw")
|
|
280
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
281
|
-
let d = reader.skip(wireType);
|
|
282
|
-
if (u !== false)
|
|
283
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
return message;
|
|
287
|
-
}
|
|
288
|
-
internalBinaryWrite(message: ProvisioningConnectorId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
289
|
-
/* bytes value = 1; */
|
|
290
|
-
if (message.value.length)
|
|
291
|
-
writer.tag(1, WireType.LengthDelimited).bytes(message.value);
|
|
292
|
-
let u = options.writeUnknownFields;
|
|
293
|
-
if (u !== false)
|
|
294
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
295
|
-
return writer;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* @generated MessageType for protobuf message sid.v1.ids.ProvisioningConnectorId
|
|
300
|
-
*/
|
|
301
|
-
export const ProvisioningConnectorId = new ProvisioningConnectorId$Type();
|
|
302
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
303
|
-
class ResourceId$Type extends MessageType<ResourceId> {
|
|
304
|
-
constructor() {
|
|
305
|
-
super("sid.v1.ids.ResourceId", [
|
|
306
|
-
{ no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
307
|
-
]);
|
|
308
|
-
}
|
|
309
|
-
create(value?: PartialMessage<ResourceId>): ResourceId {
|
|
310
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
311
|
-
message.value = new Uint8Array(0);
|
|
312
|
-
if (value !== undefined)
|
|
313
|
-
reflectionMergePartial<ResourceId>(this, message, value);
|
|
314
|
-
return message;
|
|
315
|
-
}
|
|
316
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceId): ResourceId {
|
|
317
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
318
|
-
while (reader.pos < end) {
|
|
319
|
-
let [fieldNo, wireType] = reader.tag();
|
|
320
|
-
switch (fieldNo) {
|
|
321
|
-
case /* bytes value */ 1:
|
|
322
|
-
message.value = reader.bytes();
|
|
323
|
-
break;
|
|
324
|
-
default:
|
|
325
|
-
let u = options.readUnknownField;
|
|
326
|
-
if (u === "throw")
|
|
327
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
328
|
-
let d = reader.skip(wireType);
|
|
329
|
-
if (u !== false)
|
|
330
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
return message;
|
|
334
|
-
}
|
|
335
|
-
internalBinaryWrite(message: ResourceId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
336
|
-
/* bytes value = 1; */
|
|
337
|
-
if (message.value.length)
|
|
338
|
-
writer.tag(1, WireType.LengthDelimited).bytes(message.value);
|
|
339
|
-
let u = options.writeUnknownFields;
|
|
340
|
-
if (u !== false)
|
|
341
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
342
|
-
return writer;
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* @generated MessageType for protobuf message sid.v1.ids.ResourceId
|
|
347
|
-
*/
|
|
348
|
-
export const ResourceId = new ResourceId$Type();
|
|
349
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
350
|
-
class ProvisioningCredentialId$Type extends MessageType<ProvisioningCredentialId> {
|
|
351
|
-
constructor() {
|
|
352
|
-
super("sid.v1.ids.ProvisioningCredentialId", [
|
|
353
|
-
{ no: 1, name: "value", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
354
|
-
]);
|
|
355
|
-
}
|
|
356
|
-
create(value?: PartialMessage<ProvisioningCredentialId>): ProvisioningCredentialId {
|
|
357
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
358
|
-
message.value = new Uint8Array(0);
|
|
359
|
-
if (value !== undefined)
|
|
360
|
-
reflectionMergePartial<ProvisioningCredentialId>(this, message, value);
|
|
361
|
-
return message;
|
|
362
|
-
}
|
|
363
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProvisioningCredentialId): ProvisioningCredentialId {
|
|
364
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
365
|
-
while (reader.pos < end) {
|
|
366
|
-
let [fieldNo, wireType] = reader.tag();
|
|
367
|
-
switch (fieldNo) {
|
|
368
|
-
case /* bytes value */ 1:
|
|
369
|
-
message.value = reader.bytes();
|
|
370
|
-
break;
|
|
371
|
-
default:
|
|
372
|
-
let u = options.readUnknownField;
|
|
373
|
-
if (u === "throw")
|
|
374
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
375
|
-
let d = reader.skip(wireType);
|
|
376
|
-
if (u !== false)
|
|
377
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
return message;
|
|
381
|
-
}
|
|
382
|
-
internalBinaryWrite(message: ProvisioningCredentialId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
383
|
-
/* bytes value = 1; */
|
|
384
|
-
if (message.value.length)
|
|
385
|
-
writer.tag(1, WireType.LengthDelimited).bytes(message.value);
|
|
386
|
-
let u = options.writeUnknownFields;
|
|
387
|
-
if (u !== false)
|
|
388
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
389
|
-
return writer;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
/**
|
|
393
|
-
* @generated MessageType for protobuf message sid.v1.ids.ProvisioningCredentialId
|
|
394
|
-
*/
|
|
395
|
-
export const ProvisioningCredentialId = new ProvisioningCredentialId$Type();
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/machine/machine_user.proto" (package "sid.v1.machine", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import { MachineUserService } from "./machine_user";
|
|
7
|
-
import type { ListImpersonationGrantsResponse } from "./machine_user";
|
|
8
|
-
import type { ListImpersonationGrantsRequest } from "./machine_user";
|
|
9
|
-
import type { RevokeImpersonationResponse } from "./machine_user";
|
|
10
|
-
import type { RevokeImpersonationRequest } from "./machine_user";
|
|
11
|
-
import type { GrantImpersonationResponse } from "./machine_user";
|
|
12
|
-
import type { GrantImpersonationRequest } from "./machine_user";
|
|
13
|
-
import type { RotateMachineCredentialResponse } from "./machine_user";
|
|
14
|
-
import type { RotateMachineCredentialRequest } from "./machine_user";
|
|
15
|
-
import type { ListMachineCredentialsResponse } from "./machine_user";
|
|
16
|
-
import type { ListMachineCredentialsRequest } from "./machine_user";
|
|
17
|
-
import type { RevokeMachineCredentialResponse } from "./machine_user";
|
|
18
|
-
import type { RevokeMachineCredentialRequest } from "./machine_user";
|
|
19
|
-
import type { AddMachineCredentialResponse } from "./machine_user";
|
|
20
|
-
import type { AddMachineCredentialRequest } from "./machine_user";
|
|
21
|
-
import type { ReactivateMachineUserRequest } from "./machine_user";
|
|
22
|
-
import type { SuspendMachineUserRequest } from "./machine_user";
|
|
23
|
-
import type { ListMachineUsersResponse } from "./machine_user";
|
|
24
|
-
import type { ListMachineUsersRequest } from "./machine_user";
|
|
25
|
-
import type { DeleteMachineUserResponse } from "./machine_user";
|
|
26
|
-
import type { DeleteMachineUserRequest } from "./machine_user";
|
|
27
|
-
import type { UpdateMachineUserRequest } from "./machine_user";
|
|
28
|
-
import type { MachineUserResponse } from "./machine_user";
|
|
29
|
-
import type { GetMachineUserRequest } from "./machine_user";
|
|
30
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
31
|
-
import type { CreateMachineUserResponse } from "./machine_user";
|
|
32
|
-
import type { CreateMachineUserRequest } from "./machine_user";
|
|
33
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
34
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
35
|
-
/**
|
|
36
|
-
* MachineUserService manages non-human identities (service accounts).
|
|
37
|
-
*
|
|
38
|
-
* @generated from protobuf service sid.v1.machine.MachineUserService
|
|
39
|
-
*/
|
|
40
|
-
export interface IMachineUserServiceClient {
|
|
41
|
-
/**
|
|
42
|
-
* CRUD
|
|
43
|
-
*
|
|
44
|
-
* @generated from protobuf rpc: CreateMachineUser
|
|
45
|
-
*/
|
|
46
|
-
createMachineUser(input: CreateMachineUserRequest, options?: RpcOptions): UnaryCall<CreateMachineUserRequest, CreateMachineUserResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* @generated from protobuf rpc: GetMachineUser
|
|
49
|
-
*/
|
|
50
|
-
getMachineUser(input: GetMachineUserRequest, options?: RpcOptions): UnaryCall<GetMachineUserRequest, MachineUserResponse>;
|
|
51
|
-
/**
|
|
52
|
-
* @generated from protobuf rpc: UpdateMachineUser
|
|
53
|
-
*/
|
|
54
|
-
updateMachineUser(input: UpdateMachineUserRequest, options?: RpcOptions): UnaryCall<UpdateMachineUserRequest, MachineUserResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* @generated from protobuf rpc: DeleteMachineUser
|
|
57
|
-
*/
|
|
58
|
-
deleteMachineUser(input: DeleteMachineUserRequest, options?: RpcOptions): UnaryCall<DeleteMachineUserRequest, DeleteMachineUserResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* @generated from protobuf rpc: ListMachineUsers
|
|
61
|
-
*/
|
|
62
|
-
listMachineUsers(input: ListMachineUsersRequest, options?: RpcOptions): UnaryCall<ListMachineUsersRequest, ListMachineUsersResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* @generated from protobuf rpc: SuspendMachineUser
|
|
65
|
-
*/
|
|
66
|
-
suspendMachineUser(input: SuspendMachineUserRequest, options?: RpcOptions): UnaryCall<SuspendMachineUserRequest, MachineUserResponse>;
|
|
67
|
-
/**
|
|
68
|
-
* @generated from protobuf rpc: ReactivateMachineUser
|
|
69
|
-
*/
|
|
70
|
-
reactivateMachineUser(input: ReactivateMachineUserRequest, options?: RpcOptions): UnaryCall<ReactivateMachineUserRequest, MachineUserResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* Credentials
|
|
73
|
-
*
|
|
74
|
-
* @generated from protobuf rpc: AddMachineCredential
|
|
75
|
-
*/
|
|
76
|
-
addMachineCredential(input: AddMachineCredentialRequest, options?: RpcOptions): UnaryCall<AddMachineCredentialRequest, AddMachineCredentialResponse>;
|
|
77
|
-
/**
|
|
78
|
-
* @generated from protobuf rpc: RevokeMachineCredential
|
|
79
|
-
*/
|
|
80
|
-
revokeMachineCredential(input: RevokeMachineCredentialRequest, options?: RpcOptions): UnaryCall<RevokeMachineCredentialRequest, RevokeMachineCredentialResponse>;
|
|
81
|
-
/**
|
|
82
|
-
* @generated from protobuf rpc: ListMachineCredentials
|
|
83
|
-
*/
|
|
84
|
-
listMachineCredentials(input: ListMachineCredentialsRequest, options?: RpcOptions): UnaryCall<ListMachineCredentialsRequest, ListMachineCredentialsResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf rpc: RotateMachineCredential
|
|
87
|
-
*/
|
|
88
|
-
rotateMachineCredential(input: RotateMachineCredentialRequest, options?: RpcOptions): UnaryCall<RotateMachineCredentialRequest, RotateMachineCredentialResponse>;
|
|
89
|
-
/**
|
|
90
|
-
* Impersonation
|
|
91
|
-
*
|
|
92
|
-
* @generated from protobuf rpc: GrantImpersonation
|
|
93
|
-
*/
|
|
94
|
-
grantImpersonation(input: GrantImpersonationRequest, options?: RpcOptions): UnaryCall<GrantImpersonationRequest, GrantImpersonationResponse>;
|
|
95
|
-
/**
|
|
96
|
-
* @generated from protobuf rpc: RevokeImpersonation
|
|
97
|
-
*/
|
|
98
|
-
revokeImpersonation(input: RevokeImpersonationRequest, options?: RpcOptions): UnaryCall<RevokeImpersonationRequest, RevokeImpersonationResponse>;
|
|
99
|
-
/**
|
|
100
|
-
* @generated from protobuf rpc: ListImpersonationGrants
|
|
101
|
-
*/
|
|
102
|
-
listImpersonationGrants(input: ListImpersonationGrantsRequest, options?: RpcOptions): UnaryCall<ListImpersonationGrantsRequest, ListImpersonationGrantsResponse>;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* MachineUserService manages non-human identities (service accounts).
|
|
106
|
-
*
|
|
107
|
-
* @generated from protobuf service sid.v1.machine.MachineUserService
|
|
108
|
-
*/
|
|
109
|
-
export class MachineUserServiceClient implements IMachineUserServiceClient, ServiceInfo {
|
|
110
|
-
typeName = MachineUserService.typeName;
|
|
111
|
-
methods = MachineUserService.methods;
|
|
112
|
-
options = MachineUserService.options;
|
|
113
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* CRUD
|
|
117
|
-
*
|
|
118
|
-
* @generated from protobuf rpc: CreateMachineUser
|
|
119
|
-
*/
|
|
120
|
-
createMachineUser(input: CreateMachineUserRequest, options?: RpcOptions): UnaryCall<CreateMachineUserRequest, CreateMachineUserResponse> {
|
|
121
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
122
|
-
return stackIntercept<CreateMachineUserRequest, CreateMachineUserResponse>("unary", this._transport, method, opt, input);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* @generated from protobuf rpc: GetMachineUser
|
|
126
|
-
*/
|
|
127
|
-
getMachineUser(input: GetMachineUserRequest, options?: RpcOptions): UnaryCall<GetMachineUserRequest, MachineUserResponse> {
|
|
128
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
129
|
-
return stackIntercept<GetMachineUserRequest, MachineUserResponse>("unary", this._transport, method, opt, input);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @generated from protobuf rpc: UpdateMachineUser
|
|
133
|
-
*/
|
|
134
|
-
updateMachineUser(input: UpdateMachineUserRequest, options?: RpcOptions): UnaryCall<UpdateMachineUserRequest, MachineUserResponse> {
|
|
135
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
136
|
-
return stackIntercept<UpdateMachineUserRequest, MachineUserResponse>("unary", this._transport, method, opt, input);
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* @generated from protobuf rpc: DeleteMachineUser
|
|
140
|
-
*/
|
|
141
|
-
deleteMachineUser(input: DeleteMachineUserRequest, options?: RpcOptions): UnaryCall<DeleteMachineUserRequest, DeleteMachineUserResponse> {
|
|
142
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
143
|
-
return stackIntercept<DeleteMachineUserRequest, DeleteMachineUserResponse>("unary", this._transport, method, opt, input);
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* @generated from protobuf rpc: ListMachineUsers
|
|
147
|
-
*/
|
|
148
|
-
listMachineUsers(input: ListMachineUsersRequest, options?: RpcOptions): UnaryCall<ListMachineUsersRequest, ListMachineUsersResponse> {
|
|
149
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
150
|
-
return stackIntercept<ListMachineUsersRequest, ListMachineUsersResponse>("unary", this._transport, method, opt, input);
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* @generated from protobuf rpc: SuspendMachineUser
|
|
154
|
-
*/
|
|
155
|
-
suspendMachineUser(input: SuspendMachineUserRequest, options?: RpcOptions): UnaryCall<SuspendMachineUserRequest, MachineUserResponse> {
|
|
156
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
157
|
-
return stackIntercept<SuspendMachineUserRequest, MachineUserResponse>("unary", this._transport, method, opt, input);
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* @generated from protobuf rpc: ReactivateMachineUser
|
|
161
|
-
*/
|
|
162
|
-
reactivateMachineUser(input: ReactivateMachineUserRequest, options?: RpcOptions): UnaryCall<ReactivateMachineUserRequest, MachineUserResponse> {
|
|
163
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
164
|
-
return stackIntercept<ReactivateMachineUserRequest, MachineUserResponse>("unary", this._transport, method, opt, input);
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* Credentials
|
|
168
|
-
*
|
|
169
|
-
* @generated from protobuf rpc: AddMachineCredential
|
|
170
|
-
*/
|
|
171
|
-
addMachineCredential(input: AddMachineCredentialRequest, options?: RpcOptions): UnaryCall<AddMachineCredentialRequest, AddMachineCredentialResponse> {
|
|
172
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
173
|
-
return stackIntercept<AddMachineCredentialRequest, AddMachineCredentialResponse>("unary", this._transport, method, opt, input);
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* @generated from protobuf rpc: RevokeMachineCredential
|
|
177
|
-
*/
|
|
178
|
-
revokeMachineCredential(input: RevokeMachineCredentialRequest, options?: RpcOptions): UnaryCall<RevokeMachineCredentialRequest, RevokeMachineCredentialResponse> {
|
|
179
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
180
|
-
return stackIntercept<RevokeMachineCredentialRequest, RevokeMachineCredentialResponse>("unary", this._transport, method, opt, input);
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* @generated from protobuf rpc: ListMachineCredentials
|
|
184
|
-
*/
|
|
185
|
-
listMachineCredentials(input: ListMachineCredentialsRequest, options?: RpcOptions): UnaryCall<ListMachineCredentialsRequest, ListMachineCredentialsResponse> {
|
|
186
|
-
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
187
|
-
return stackIntercept<ListMachineCredentialsRequest, ListMachineCredentialsResponse>("unary", this._transport, method, opt, input);
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* @generated from protobuf rpc: RotateMachineCredential
|
|
191
|
-
*/
|
|
192
|
-
rotateMachineCredential(input: RotateMachineCredentialRequest, options?: RpcOptions): UnaryCall<RotateMachineCredentialRequest, RotateMachineCredentialResponse> {
|
|
193
|
-
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
194
|
-
return stackIntercept<RotateMachineCredentialRequest, RotateMachineCredentialResponse>("unary", this._transport, method, opt, input);
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Impersonation
|
|
198
|
-
*
|
|
199
|
-
* @generated from protobuf rpc: GrantImpersonation
|
|
200
|
-
*/
|
|
201
|
-
grantImpersonation(input: GrantImpersonationRequest, options?: RpcOptions): UnaryCall<GrantImpersonationRequest, GrantImpersonationResponse> {
|
|
202
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
203
|
-
return stackIntercept<GrantImpersonationRequest, GrantImpersonationResponse>("unary", this._transport, method, opt, input);
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* @generated from protobuf rpc: RevokeImpersonation
|
|
207
|
-
*/
|
|
208
|
-
revokeImpersonation(input: RevokeImpersonationRequest, options?: RpcOptions): UnaryCall<RevokeImpersonationRequest, RevokeImpersonationResponse> {
|
|
209
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
210
|
-
return stackIntercept<RevokeImpersonationRequest, RevokeImpersonationResponse>("unary", this._transport, method, opt, input);
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* @generated from protobuf rpc: ListImpersonationGrants
|
|
214
|
-
*/
|
|
215
|
-
listImpersonationGrants(input: ListImpersonationGrantsRequest, options?: RpcOptions): UnaryCall<ListImpersonationGrantsRequest, ListImpersonationGrantsResponse> {
|
|
216
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
217
|
-
return stackIntercept<ListImpersonationGrantsRequest, ListImpersonationGrantsResponse>("unary", this._transport, method, opt, input);
|
|
218
|
-
}
|
|
219
|
-
}
|