@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,520 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/scim/scim.proto" (package "sid.v1.scim", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import { ScimProtocolService } from "./scim";
|
|
5
|
-
import type { HttpBody } from "../../../google/api/httpbody";
|
|
6
|
-
import type { ScimHttpRequest } from "./scim";
|
|
7
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import { ScimService } from "./scim";
|
|
10
|
-
import type { ScimSchemasResponse } from "./scim";
|
|
11
|
-
import type { ScimGetSchemasRequest } from "./scim";
|
|
12
|
-
import type { ScimResourceTypesResponse } from "./scim";
|
|
13
|
-
import type { ScimGetResourceTypesRequest } from "./scim";
|
|
14
|
-
import type { ScimServiceProviderConfig } from "./scim";
|
|
15
|
-
import type { ScimGetServiceProviderConfigRequest } from "./scim";
|
|
16
|
-
import type { ScimDeleteGroupRequest } from "./scim";
|
|
17
|
-
import type { ScimPatchGroupRequest } from "./scim";
|
|
18
|
-
import type { ScimListGroupsResponse } from "./scim";
|
|
19
|
-
import type { ScimListGroupsRequest } from "./scim";
|
|
20
|
-
import type { ScimGetGroupRequest } from "./scim";
|
|
21
|
-
import type { ScimGroup } from "./scim";
|
|
22
|
-
import type { ScimCreateGroupRequest } from "./scim";
|
|
23
|
-
import type { Empty } from "../../../google/protobuf/empty";
|
|
24
|
-
import type { ScimDeleteUserRequest } from "./scim";
|
|
25
|
-
import type { ScimPatchUserRequest } from "./scim";
|
|
26
|
-
import type { ScimReplaceUserRequest } from "./scim";
|
|
27
|
-
import type { ScimListUsersResponse } from "./scim";
|
|
28
|
-
import type { ScimListUsersRequest } from "./scim";
|
|
29
|
-
import type { ScimGetUserRequest } from "./scim";
|
|
30
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
31
|
-
import type { ScimUser } from "./scim";
|
|
32
|
-
import type { ScimCreateUserRequest } from "./scim";
|
|
33
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
34
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
35
|
-
/**
|
|
36
|
-
* ScimService implements SCIM 2.0 inbound provisioning (HR → SID).
|
|
37
|
-
* Creates/updates/deactivates corporate profiles and groups. Typed gRPC
|
|
38
|
-
* only: SCIM clients speak HTTP through ScimProtocolService, which reads and
|
|
39
|
-
* writes the RFC 7643/7644 JSON and calls these same operations.
|
|
40
|
-
*
|
|
41
|
-
* ── Users (RFC 7644 §3.3–§3.6) ──
|
|
42
|
-
*
|
|
43
|
-
* @generated from protobuf service sid.v1.scim.ScimService
|
|
44
|
-
*/
|
|
45
|
-
export interface IScimServiceClient {
|
|
46
|
-
/**
|
|
47
|
-
* Create a new corporate profile via SCIM provisioning.
|
|
48
|
-
*
|
|
49
|
-
* @generated from protobuf rpc: CreateUser
|
|
50
|
-
*/
|
|
51
|
-
createUser(input: ScimCreateUserRequest, options?: RpcOptions): UnaryCall<ScimCreateUserRequest, ScimUser>;
|
|
52
|
-
/**
|
|
53
|
-
* Retrieve a user by SID profile ID.
|
|
54
|
-
*
|
|
55
|
-
* @generated from protobuf rpc: GetUser
|
|
56
|
-
*/
|
|
57
|
-
getUser(input: ScimGetUserRequest, options?: RpcOptions): UnaryCall<ScimGetUserRequest, ScimUser>;
|
|
58
|
-
/**
|
|
59
|
-
* List/search users with optional SCIM filter.
|
|
60
|
-
*
|
|
61
|
-
* @generated from protobuf rpc: ListUsers
|
|
62
|
-
*/
|
|
63
|
-
listUsers(input: ScimListUsersRequest, options?: RpcOptions): UnaryCall<ScimListUsersRequest, ScimListUsersResponse>;
|
|
64
|
-
/**
|
|
65
|
-
* Full replacement of user attributes.
|
|
66
|
-
*
|
|
67
|
-
* @generated from protobuf rpc: ReplaceUser
|
|
68
|
-
*/
|
|
69
|
-
replaceUser(input: ScimReplaceUserRequest, options?: RpcOptions): UnaryCall<ScimReplaceUserRequest, ScimUser>;
|
|
70
|
-
/**
|
|
71
|
-
* Partial update via SCIM PATCH operations (RFC 7644 §3.5.2).
|
|
72
|
-
*
|
|
73
|
-
* @generated from protobuf rpc: PatchUser
|
|
74
|
-
*/
|
|
75
|
-
patchUser(input: ScimPatchUserRequest, options?: RpcOptions): UnaryCall<ScimPatchUserRequest, ScimUser>;
|
|
76
|
-
/**
|
|
77
|
-
* Deactivate a corporate profile (soft delete).
|
|
78
|
-
*
|
|
79
|
-
* @generated from protobuf rpc: DeleteUser
|
|
80
|
-
*/
|
|
81
|
-
deleteUser(input: ScimDeleteUserRequest, options?: RpcOptions): UnaryCall<ScimDeleteUserRequest, Empty>;
|
|
82
|
-
// ── Groups (RFC 7644 §3.3–§3.6) ──
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Create a new group.
|
|
86
|
-
*
|
|
87
|
-
* @generated from protobuf rpc: CreateGroup
|
|
88
|
-
*/
|
|
89
|
-
createGroup(input: ScimCreateGroupRequest, options?: RpcOptions): UnaryCall<ScimCreateGroupRequest, ScimGroup>;
|
|
90
|
-
/**
|
|
91
|
-
* Retrieve a group by ID.
|
|
92
|
-
*
|
|
93
|
-
* @generated from protobuf rpc: GetGroup
|
|
94
|
-
*/
|
|
95
|
-
getGroup(input: ScimGetGroupRequest, options?: RpcOptions): UnaryCall<ScimGetGroupRequest, ScimGroup>;
|
|
96
|
-
/**
|
|
97
|
-
* List/search groups with optional SCIM filter.
|
|
98
|
-
*
|
|
99
|
-
* @generated from protobuf rpc: ListGroups
|
|
100
|
-
*/
|
|
101
|
-
listGroups(input: ScimListGroupsRequest, options?: RpcOptions): UnaryCall<ScimListGroupsRequest, ScimListGroupsResponse>;
|
|
102
|
-
/**
|
|
103
|
-
* Partial update via SCIM PATCH operations.
|
|
104
|
-
*
|
|
105
|
-
* @generated from protobuf rpc: PatchGroup
|
|
106
|
-
*/
|
|
107
|
-
patchGroup(input: ScimPatchGroupRequest, options?: RpcOptions): UnaryCall<ScimPatchGroupRequest, ScimGroup>;
|
|
108
|
-
/**
|
|
109
|
-
* Delete a group.
|
|
110
|
-
*
|
|
111
|
-
* @generated from protobuf rpc: DeleteGroup
|
|
112
|
-
*/
|
|
113
|
-
deleteGroup(input: ScimDeleteGroupRequest, options?: RpcOptions): UnaryCall<ScimDeleteGroupRequest, Empty>;
|
|
114
|
-
// ── Service Provider Discovery (RFC 7643 §5–§7) ──
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* SCIM service provider configuration.
|
|
118
|
-
*
|
|
119
|
-
* @generated from protobuf rpc: GetServiceProviderConfig
|
|
120
|
-
*/
|
|
121
|
-
getServiceProviderConfig(input: ScimGetServiceProviderConfigRequest, options?: RpcOptions): UnaryCall<ScimGetServiceProviderConfigRequest, ScimServiceProviderConfig>;
|
|
122
|
-
/**
|
|
123
|
-
* SCIM resource type definitions.
|
|
124
|
-
*
|
|
125
|
-
* @generated from protobuf rpc: GetResourceTypes
|
|
126
|
-
*/
|
|
127
|
-
getResourceTypes(input: ScimGetResourceTypesRequest, options?: RpcOptions): UnaryCall<ScimGetResourceTypesRequest, ScimResourceTypesResponse>;
|
|
128
|
-
/**
|
|
129
|
-
* SCIM schema definitions.
|
|
130
|
-
*
|
|
131
|
-
* @generated from protobuf rpc: GetSchemas
|
|
132
|
-
*/
|
|
133
|
-
getSchemas(input: ScimGetSchemasRequest, options?: RpcOptions): UnaryCall<ScimGetSchemasRequest, ScimSchemasResponse>;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* ScimService implements SCIM 2.0 inbound provisioning (HR → SID).
|
|
137
|
-
* Creates/updates/deactivates corporate profiles and groups. Typed gRPC
|
|
138
|
-
* only: SCIM clients speak HTTP through ScimProtocolService, which reads and
|
|
139
|
-
* writes the RFC 7643/7644 JSON and calls these same operations.
|
|
140
|
-
*
|
|
141
|
-
* ── Users (RFC 7644 §3.3–§3.6) ──
|
|
142
|
-
*
|
|
143
|
-
* @generated from protobuf service sid.v1.scim.ScimService
|
|
144
|
-
*/
|
|
145
|
-
export class ScimServiceClient implements IScimServiceClient, ServiceInfo {
|
|
146
|
-
typeName = ScimService.typeName;
|
|
147
|
-
methods = ScimService.methods;
|
|
148
|
-
options = ScimService.options;
|
|
149
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Create a new corporate profile via SCIM provisioning.
|
|
153
|
-
*
|
|
154
|
-
* @generated from protobuf rpc: CreateUser
|
|
155
|
-
*/
|
|
156
|
-
createUser(input: ScimCreateUserRequest, options?: RpcOptions): UnaryCall<ScimCreateUserRequest, ScimUser> {
|
|
157
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
158
|
-
return stackIntercept<ScimCreateUserRequest, ScimUser>("unary", this._transport, method, opt, input);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Retrieve a user by SID profile ID.
|
|
162
|
-
*
|
|
163
|
-
* @generated from protobuf rpc: GetUser
|
|
164
|
-
*/
|
|
165
|
-
getUser(input: ScimGetUserRequest, options?: RpcOptions): UnaryCall<ScimGetUserRequest, ScimUser> {
|
|
166
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
167
|
-
return stackIntercept<ScimGetUserRequest, ScimUser>("unary", this._transport, method, opt, input);
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* List/search users with optional SCIM filter.
|
|
171
|
-
*
|
|
172
|
-
* @generated from protobuf rpc: ListUsers
|
|
173
|
-
*/
|
|
174
|
-
listUsers(input: ScimListUsersRequest, options?: RpcOptions): UnaryCall<ScimListUsersRequest, ScimListUsersResponse> {
|
|
175
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
176
|
-
return stackIntercept<ScimListUsersRequest, ScimListUsersResponse>("unary", this._transport, method, opt, input);
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Full replacement of user attributes.
|
|
180
|
-
*
|
|
181
|
-
* @generated from protobuf rpc: ReplaceUser
|
|
182
|
-
*/
|
|
183
|
-
replaceUser(input: ScimReplaceUserRequest, options?: RpcOptions): UnaryCall<ScimReplaceUserRequest, ScimUser> {
|
|
184
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
185
|
-
return stackIntercept<ScimReplaceUserRequest, ScimUser>("unary", this._transport, method, opt, input);
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Partial update via SCIM PATCH operations (RFC 7644 §3.5.2).
|
|
189
|
-
*
|
|
190
|
-
* @generated from protobuf rpc: PatchUser
|
|
191
|
-
*/
|
|
192
|
-
patchUser(input: ScimPatchUserRequest, options?: RpcOptions): UnaryCall<ScimPatchUserRequest, ScimUser> {
|
|
193
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
194
|
-
return stackIntercept<ScimPatchUserRequest, ScimUser>("unary", this._transport, method, opt, input);
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Deactivate a corporate profile (soft delete).
|
|
198
|
-
*
|
|
199
|
-
* @generated from protobuf rpc: DeleteUser
|
|
200
|
-
*/
|
|
201
|
-
deleteUser(input: ScimDeleteUserRequest, options?: RpcOptions): UnaryCall<ScimDeleteUserRequest, Empty> {
|
|
202
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
203
|
-
return stackIntercept<ScimDeleteUserRequest, Empty>("unary", this._transport, method, opt, input);
|
|
204
|
-
}
|
|
205
|
-
// ── Groups (RFC 7644 §3.3–§3.6) ──
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Create a new group.
|
|
209
|
-
*
|
|
210
|
-
* @generated from protobuf rpc: CreateGroup
|
|
211
|
-
*/
|
|
212
|
-
createGroup(input: ScimCreateGroupRequest, options?: RpcOptions): UnaryCall<ScimCreateGroupRequest, ScimGroup> {
|
|
213
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
214
|
-
return stackIntercept<ScimCreateGroupRequest, ScimGroup>("unary", this._transport, method, opt, input);
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* Retrieve a group by ID.
|
|
218
|
-
*
|
|
219
|
-
* @generated from protobuf rpc: GetGroup
|
|
220
|
-
*/
|
|
221
|
-
getGroup(input: ScimGetGroupRequest, options?: RpcOptions): UnaryCall<ScimGetGroupRequest, ScimGroup> {
|
|
222
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
223
|
-
return stackIntercept<ScimGetGroupRequest, ScimGroup>("unary", this._transport, method, opt, input);
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* List/search groups with optional SCIM filter.
|
|
227
|
-
*
|
|
228
|
-
* @generated from protobuf rpc: ListGroups
|
|
229
|
-
*/
|
|
230
|
-
listGroups(input: ScimListGroupsRequest, options?: RpcOptions): UnaryCall<ScimListGroupsRequest, ScimListGroupsResponse> {
|
|
231
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
232
|
-
return stackIntercept<ScimListGroupsRequest, ScimListGroupsResponse>("unary", this._transport, method, opt, input);
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Partial update via SCIM PATCH operations.
|
|
236
|
-
*
|
|
237
|
-
* @generated from protobuf rpc: PatchGroup
|
|
238
|
-
*/
|
|
239
|
-
patchGroup(input: ScimPatchGroupRequest, options?: RpcOptions): UnaryCall<ScimPatchGroupRequest, ScimGroup> {
|
|
240
|
-
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
241
|
-
return stackIntercept<ScimPatchGroupRequest, ScimGroup>("unary", this._transport, method, opt, input);
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* Delete a group.
|
|
245
|
-
*
|
|
246
|
-
* @generated from protobuf rpc: DeleteGroup
|
|
247
|
-
*/
|
|
248
|
-
deleteGroup(input: ScimDeleteGroupRequest, options?: RpcOptions): UnaryCall<ScimDeleteGroupRequest, Empty> {
|
|
249
|
-
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
250
|
-
return stackIntercept<ScimDeleteGroupRequest, Empty>("unary", this._transport, method, opt, input);
|
|
251
|
-
}
|
|
252
|
-
// ── Service Provider Discovery (RFC 7643 §5–§7) ──
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* SCIM service provider configuration.
|
|
256
|
-
*
|
|
257
|
-
* @generated from protobuf rpc: GetServiceProviderConfig
|
|
258
|
-
*/
|
|
259
|
-
getServiceProviderConfig(input: ScimGetServiceProviderConfigRequest, options?: RpcOptions): UnaryCall<ScimGetServiceProviderConfigRequest, ScimServiceProviderConfig> {
|
|
260
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
261
|
-
return stackIntercept<ScimGetServiceProviderConfigRequest, ScimServiceProviderConfig>("unary", this._transport, method, opt, input);
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* SCIM resource type definitions.
|
|
265
|
-
*
|
|
266
|
-
* @generated from protobuf rpc: GetResourceTypes
|
|
267
|
-
*/
|
|
268
|
-
getResourceTypes(input: ScimGetResourceTypesRequest, options?: RpcOptions): UnaryCall<ScimGetResourceTypesRequest, ScimResourceTypesResponse> {
|
|
269
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
270
|
-
return stackIntercept<ScimGetResourceTypesRequest, ScimResourceTypesResponse>("unary", this._transport, method, opt, input);
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* SCIM schema definitions.
|
|
274
|
-
*
|
|
275
|
-
* @generated from protobuf rpc: GetSchemas
|
|
276
|
-
*/
|
|
277
|
-
getSchemas(input: ScimGetSchemasRequest, options?: RpcOptions): UnaryCall<ScimGetSchemasRequest, ScimSchemasResponse> {
|
|
278
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
279
|
-
return stackIntercept<ScimGetSchemasRequest, ScimSchemasResponse>("unary", this._transport, method, opt, input);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* The SCIM 2.0 HTTP endpoint (RFC 7644) for independent SCIM clients. Each
|
|
284
|
-
* RPC reads the request in its RFC 7643/7644 JSON (`application/scim+json`,
|
|
285
|
-
* also `application/json`, RFC 7644 §3.1) and answers with the RFC's JSON,
|
|
286
|
-
* status and headers: 201 and `Location` for a created resource (§3.3), 204
|
|
287
|
-
* for a deletion (§3.6), the §3.12 error body for a refusal. The operations
|
|
288
|
-
* are those of ScimService, with the same authentication and authorization.
|
|
289
|
-
*
|
|
290
|
-
* @generated from protobuf service sid.v1.scim.ScimProtocolService
|
|
291
|
-
*/
|
|
292
|
-
export interface IScimProtocolServiceClient {
|
|
293
|
-
/**
|
|
294
|
-
* Create a user (RFC 7644 §3.3).
|
|
295
|
-
*
|
|
296
|
-
* @generated from protobuf rpc: CreateUser
|
|
297
|
-
*/
|
|
298
|
-
createUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
299
|
-
/**
|
|
300
|
-
* Read a user (RFC 7644 §3.4.1).
|
|
301
|
-
*
|
|
302
|
-
* @generated from protobuf rpc: GetUser
|
|
303
|
-
*/
|
|
304
|
-
getUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
305
|
-
/**
|
|
306
|
-
* Query users (RFC 7644 §3.4.2).
|
|
307
|
-
*
|
|
308
|
-
* @generated from protobuf rpc: ListUsers
|
|
309
|
-
*/
|
|
310
|
-
listUsers(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
311
|
-
/**
|
|
312
|
-
* Replace a user (RFC 7644 §3.5.1).
|
|
313
|
-
*
|
|
314
|
-
* @generated from protobuf rpc: ReplaceUser
|
|
315
|
-
*/
|
|
316
|
-
replaceUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
317
|
-
/**
|
|
318
|
-
* Modify a user (RFC 7644 §3.5.2).
|
|
319
|
-
*
|
|
320
|
-
* @generated from protobuf rpc: PatchUser
|
|
321
|
-
*/
|
|
322
|
-
patchUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
323
|
-
/**
|
|
324
|
-
* Delete a user (RFC 7644 §3.6).
|
|
325
|
-
*
|
|
326
|
-
* @generated from protobuf rpc: DeleteUser
|
|
327
|
-
*/
|
|
328
|
-
deleteUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
329
|
-
/**
|
|
330
|
-
* Create a group (RFC 7644 §3.3).
|
|
331
|
-
*
|
|
332
|
-
* @generated from protobuf rpc: CreateGroup
|
|
333
|
-
*/
|
|
334
|
-
createGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
335
|
-
/**
|
|
336
|
-
* Read a group (RFC 7644 §3.4.1).
|
|
337
|
-
*
|
|
338
|
-
* @generated from protobuf rpc: GetGroup
|
|
339
|
-
*/
|
|
340
|
-
getGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
341
|
-
/**
|
|
342
|
-
* Query groups (RFC 7644 §3.4.2).
|
|
343
|
-
*
|
|
344
|
-
* @generated from protobuf rpc: ListGroups
|
|
345
|
-
*/
|
|
346
|
-
listGroups(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
347
|
-
/**
|
|
348
|
-
* Modify a group (RFC 7644 §3.5.2).
|
|
349
|
-
*
|
|
350
|
-
* @generated from protobuf rpc: PatchGroup
|
|
351
|
-
*/
|
|
352
|
-
patchGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
353
|
-
/**
|
|
354
|
-
* Delete a group (RFC 7644 §3.6).
|
|
355
|
-
*
|
|
356
|
-
* @generated from protobuf rpc: DeleteGroup
|
|
357
|
-
*/
|
|
358
|
-
deleteGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
359
|
-
/**
|
|
360
|
-
* The service provider configuration (RFC 7644 §4, RFC 7643 §5).
|
|
361
|
-
*
|
|
362
|
-
* @generated from protobuf rpc: GetServiceProviderConfig
|
|
363
|
-
*/
|
|
364
|
-
getServiceProviderConfig(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
365
|
-
/**
|
|
366
|
-
* The resource types (RFC 7644 §4, RFC 7643 §6).
|
|
367
|
-
*
|
|
368
|
-
* @generated from protobuf rpc: GetResourceTypes
|
|
369
|
-
*/
|
|
370
|
-
getResourceTypes(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
371
|
-
/**
|
|
372
|
-
* The schemas (RFC 7644 §4, RFC 7643 §7).
|
|
373
|
-
*
|
|
374
|
-
* @generated from protobuf rpc: GetSchemas
|
|
375
|
-
*/
|
|
376
|
-
getSchemas(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody>;
|
|
377
|
-
}
|
|
378
|
-
/**
|
|
379
|
-
* The SCIM 2.0 HTTP endpoint (RFC 7644) for independent SCIM clients. Each
|
|
380
|
-
* RPC reads the request in its RFC 7643/7644 JSON (`application/scim+json`,
|
|
381
|
-
* also `application/json`, RFC 7644 §3.1) and answers with the RFC's JSON,
|
|
382
|
-
* status and headers: 201 and `Location` for a created resource (§3.3), 204
|
|
383
|
-
* for a deletion (§3.6), the §3.12 error body for a refusal. The operations
|
|
384
|
-
* are those of ScimService, with the same authentication and authorization.
|
|
385
|
-
*
|
|
386
|
-
* @generated from protobuf service sid.v1.scim.ScimProtocolService
|
|
387
|
-
*/
|
|
388
|
-
export class ScimProtocolServiceClient implements IScimProtocolServiceClient, ServiceInfo {
|
|
389
|
-
typeName = ScimProtocolService.typeName;
|
|
390
|
-
methods = ScimProtocolService.methods;
|
|
391
|
-
options = ScimProtocolService.options;
|
|
392
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Create a user (RFC 7644 §3.3).
|
|
396
|
-
*
|
|
397
|
-
* @generated from protobuf rpc: CreateUser
|
|
398
|
-
*/
|
|
399
|
-
createUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
400
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
401
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
402
|
-
}
|
|
403
|
-
/**
|
|
404
|
-
* Read a user (RFC 7644 §3.4.1).
|
|
405
|
-
*
|
|
406
|
-
* @generated from protobuf rpc: GetUser
|
|
407
|
-
*/
|
|
408
|
-
getUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
409
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
410
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
411
|
-
}
|
|
412
|
-
/**
|
|
413
|
-
* Query users (RFC 7644 §3.4.2).
|
|
414
|
-
*
|
|
415
|
-
* @generated from protobuf rpc: ListUsers
|
|
416
|
-
*/
|
|
417
|
-
listUsers(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
418
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
419
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
* Replace a user (RFC 7644 §3.5.1).
|
|
423
|
-
*
|
|
424
|
-
* @generated from protobuf rpc: ReplaceUser
|
|
425
|
-
*/
|
|
426
|
-
replaceUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
427
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
428
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* Modify a user (RFC 7644 §3.5.2).
|
|
432
|
-
*
|
|
433
|
-
* @generated from protobuf rpc: PatchUser
|
|
434
|
-
*/
|
|
435
|
-
patchUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
436
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
437
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
438
|
-
}
|
|
439
|
-
/**
|
|
440
|
-
* Delete a user (RFC 7644 §3.6).
|
|
441
|
-
*
|
|
442
|
-
* @generated from protobuf rpc: DeleteUser
|
|
443
|
-
*/
|
|
444
|
-
deleteUser(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
445
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
446
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
447
|
-
}
|
|
448
|
-
/**
|
|
449
|
-
* Create a group (RFC 7644 §3.3).
|
|
450
|
-
*
|
|
451
|
-
* @generated from protobuf rpc: CreateGroup
|
|
452
|
-
*/
|
|
453
|
-
createGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
454
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
455
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
456
|
-
}
|
|
457
|
-
/**
|
|
458
|
-
* Read a group (RFC 7644 §3.4.1).
|
|
459
|
-
*
|
|
460
|
-
* @generated from protobuf rpc: GetGroup
|
|
461
|
-
*/
|
|
462
|
-
getGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
463
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
464
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* Query groups (RFC 7644 §3.4.2).
|
|
468
|
-
*
|
|
469
|
-
* @generated from protobuf rpc: ListGroups
|
|
470
|
-
*/
|
|
471
|
-
listGroups(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
472
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
473
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* Modify a group (RFC 7644 §3.5.2).
|
|
477
|
-
*
|
|
478
|
-
* @generated from protobuf rpc: PatchGroup
|
|
479
|
-
*/
|
|
480
|
-
patchGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
481
|
-
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
482
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* Delete a group (RFC 7644 §3.6).
|
|
486
|
-
*
|
|
487
|
-
* @generated from protobuf rpc: DeleteGroup
|
|
488
|
-
*/
|
|
489
|
-
deleteGroup(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
490
|
-
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
491
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* The service provider configuration (RFC 7644 §4, RFC 7643 §5).
|
|
495
|
-
*
|
|
496
|
-
* @generated from protobuf rpc: GetServiceProviderConfig
|
|
497
|
-
*/
|
|
498
|
-
getServiceProviderConfig(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
499
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
500
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
501
|
-
}
|
|
502
|
-
/**
|
|
503
|
-
* The resource types (RFC 7644 §4, RFC 7643 §6).
|
|
504
|
-
*
|
|
505
|
-
* @generated from protobuf rpc: GetResourceTypes
|
|
506
|
-
*/
|
|
507
|
-
getResourceTypes(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
508
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
509
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* The schemas (RFC 7644 §4, RFC 7643 §7).
|
|
513
|
-
*
|
|
514
|
-
* @generated from protobuf rpc: GetSchemas
|
|
515
|
-
*/
|
|
516
|
-
getSchemas(input: ScimHttpRequest, options?: RpcOptions): UnaryCall<ScimHttpRequest, HttpBody> {
|
|
517
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
518
|
-
return stackIntercept<ScimHttpRequest, HttpBody>("unary", this._transport, method, opt, input);
|
|
519
|
-
}
|
|
520
|
-
}
|