@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,166 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/admin/branding.proto" (package "sid.v1.admin", 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 { BrandingService } from "./branding";
|
|
7
|
-
import type { ValidateContrastResponse } from "./branding";
|
|
8
|
-
import type { ValidateContrastRequest } from "./branding";
|
|
9
|
-
import type { Empty } from "../../../google/protobuf/empty";
|
|
10
|
-
import type { DeleteBrandingConfigRequest } from "./branding";
|
|
11
|
-
import type { PublishBrandingConfigRequest } from "./branding";
|
|
12
|
-
import type { UpdateBrandingConfigRequest } from "./branding";
|
|
13
|
-
import type { CreateBrandingConfigRequest } from "./branding";
|
|
14
|
-
import type { ListBrandingConfigsResponse } from "./branding";
|
|
15
|
-
import type { ListBrandingConfigsRequest } from "./branding";
|
|
16
|
-
import type { GetBrandingConfigRequest } from "./branding";
|
|
17
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
18
|
-
import type { BrandingConfig } from "./branding";
|
|
19
|
-
import type { GetPublishedBrandingRequest } from "./branding";
|
|
20
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
21
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
22
|
-
/**
|
|
23
|
-
* BrandingService manages per-project branding configurations.
|
|
24
|
-
* Each project can have multiple configs (draft, published, archived).
|
|
25
|
-
* Only one config per project can be published at a time.
|
|
26
|
-
*
|
|
27
|
-
* @generated from protobuf service sid.v1.admin.BrandingService
|
|
28
|
-
*/
|
|
29
|
-
export interface IBrandingServiceClient {
|
|
30
|
-
/**
|
|
31
|
-
* Get the published branding config for a project.
|
|
32
|
-
* Returns NOT_FOUND if no published config exists.
|
|
33
|
-
*
|
|
34
|
-
* @generated from protobuf rpc: GetPublishedBranding
|
|
35
|
-
*/
|
|
36
|
-
getPublishedBranding(input: GetPublishedBrandingRequest, options?: RpcOptions): UnaryCall<GetPublishedBrandingRequest, BrandingConfig>;
|
|
37
|
-
/**
|
|
38
|
-
* Get a specific branding config by ID.
|
|
39
|
-
*
|
|
40
|
-
* @generated from protobuf rpc: GetBrandingConfig
|
|
41
|
-
*/
|
|
42
|
-
getBrandingConfig(input: GetBrandingConfigRequest, options?: RpcOptions): UnaryCall<GetBrandingConfigRequest, BrandingConfig>;
|
|
43
|
-
/**
|
|
44
|
-
* List all branding configs for a project (all statuses).
|
|
45
|
-
*
|
|
46
|
-
* @generated from protobuf rpc: ListBrandingConfigs
|
|
47
|
-
*/
|
|
48
|
-
listBrandingConfigs(input: ListBrandingConfigsRequest, options?: RpcOptions): UnaryCall<ListBrandingConfigsRequest, ListBrandingConfigsResponse>;
|
|
49
|
-
/**
|
|
50
|
-
* Create a new branding config (always starts as draft).
|
|
51
|
-
*
|
|
52
|
-
* @generated from protobuf rpc: CreateBrandingConfig
|
|
53
|
-
*/
|
|
54
|
-
createBrandingConfig(input: CreateBrandingConfigRequest, options?: RpcOptions): UnaryCall<CreateBrandingConfigRequest, BrandingConfig>;
|
|
55
|
-
/**
|
|
56
|
-
* Update an existing branding config (draft or published).
|
|
57
|
-
*
|
|
58
|
-
* @generated from protobuf rpc: UpdateBrandingConfig
|
|
59
|
-
*/
|
|
60
|
-
updateBrandingConfig(input: UpdateBrandingConfigRequest, options?: RpcOptions): UnaryCall<UpdateBrandingConfigRequest, BrandingConfig>;
|
|
61
|
-
/**
|
|
62
|
-
* Publish a draft config. Archives the currently published config (if any).
|
|
63
|
-
*
|
|
64
|
-
* @generated from protobuf rpc: PublishBrandingConfig
|
|
65
|
-
*/
|
|
66
|
-
publishBrandingConfig(input: PublishBrandingConfigRequest, options?: RpcOptions): UnaryCall<PublishBrandingConfigRequest, BrandingConfig>;
|
|
67
|
-
/**
|
|
68
|
-
* Delete a branding config. Cannot delete a published config — archive or replace first.
|
|
69
|
-
*
|
|
70
|
-
* @generated from protobuf rpc: DeleteBrandingConfig
|
|
71
|
-
*/
|
|
72
|
-
deleteBrandingConfig(input: DeleteBrandingConfigRequest, options?: RpcOptions): UnaryCall<DeleteBrandingConfigRequest, Empty>;
|
|
73
|
-
/**
|
|
74
|
-
* Validate WCAG contrast ratios for a set of color token pairs.
|
|
75
|
-
*
|
|
76
|
-
* @generated from protobuf rpc: ValidateContrast
|
|
77
|
-
*/
|
|
78
|
-
validateContrast(input: ValidateContrastRequest, options?: RpcOptions): UnaryCall<ValidateContrastRequest, ValidateContrastResponse>;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* BrandingService manages per-project branding configurations.
|
|
82
|
-
* Each project can have multiple configs (draft, published, archived).
|
|
83
|
-
* Only one config per project can be published at a time.
|
|
84
|
-
*
|
|
85
|
-
* @generated from protobuf service sid.v1.admin.BrandingService
|
|
86
|
-
*/
|
|
87
|
-
export class BrandingServiceClient implements IBrandingServiceClient, ServiceInfo {
|
|
88
|
-
typeName = BrandingService.typeName;
|
|
89
|
-
methods = BrandingService.methods;
|
|
90
|
-
options = BrandingService.options;
|
|
91
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Get the published branding config for a project.
|
|
95
|
-
* Returns NOT_FOUND if no published config exists.
|
|
96
|
-
*
|
|
97
|
-
* @generated from protobuf rpc: GetPublishedBranding
|
|
98
|
-
*/
|
|
99
|
-
getPublishedBranding(input: GetPublishedBrandingRequest, options?: RpcOptions): UnaryCall<GetPublishedBrandingRequest, BrandingConfig> {
|
|
100
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
101
|
-
return stackIntercept<GetPublishedBrandingRequest, BrandingConfig>("unary", this._transport, method, opt, input);
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Get a specific branding config by ID.
|
|
105
|
-
*
|
|
106
|
-
* @generated from protobuf rpc: GetBrandingConfig
|
|
107
|
-
*/
|
|
108
|
-
getBrandingConfig(input: GetBrandingConfigRequest, options?: RpcOptions): UnaryCall<GetBrandingConfigRequest, BrandingConfig> {
|
|
109
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
110
|
-
return stackIntercept<GetBrandingConfigRequest, BrandingConfig>("unary", this._transport, method, opt, input);
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* List all branding configs for a project (all statuses).
|
|
114
|
-
*
|
|
115
|
-
* @generated from protobuf rpc: ListBrandingConfigs
|
|
116
|
-
*/
|
|
117
|
-
listBrandingConfigs(input: ListBrandingConfigsRequest, options?: RpcOptions): UnaryCall<ListBrandingConfigsRequest, ListBrandingConfigsResponse> {
|
|
118
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
119
|
-
return stackIntercept<ListBrandingConfigsRequest, ListBrandingConfigsResponse>("unary", this._transport, method, opt, input);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Create a new branding config (always starts as draft).
|
|
123
|
-
*
|
|
124
|
-
* @generated from protobuf rpc: CreateBrandingConfig
|
|
125
|
-
*/
|
|
126
|
-
createBrandingConfig(input: CreateBrandingConfigRequest, options?: RpcOptions): UnaryCall<CreateBrandingConfigRequest, BrandingConfig> {
|
|
127
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
128
|
-
return stackIntercept<CreateBrandingConfigRequest, BrandingConfig>("unary", this._transport, method, opt, input);
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Update an existing branding config (draft or published).
|
|
132
|
-
*
|
|
133
|
-
* @generated from protobuf rpc: UpdateBrandingConfig
|
|
134
|
-
*/
|
|
135
|
-
updateBrandingConfig(input: UpdateBrandingConfigRequest, options?: RpcOptions): UnaryCall<UpdateBrandingConfigRequest, BrandingConfig> {
|
|
136
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
137
|
-
return stackIntercept<UpdateBrandingConfigRequest, BrandingConfig>("unary", this._transport, method, opt, input);
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Publish a draft config. Archives the currently published config (if any).
|
|
141
|
-
*
|
|
142
|
-
* @generated from protobuf rpc: PublishBrandingConfig
|
|
143
|
-
*/
|
|
144
|
-
publishBrandingConfig(input: PublishBrandingConfigRequest, options?: RpcOptions): UnaryCall<PublishBrandingConfigRequest, BrandingConfig> {
|
|
145
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
146
|
-
return stackIntercept<PublishBrandingConfigRequest, BrandingConfig>("unary", this._transport, method, opt, input);
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Delete a branding config. Cannot delete a published config — archive or replace first.
|
|
150
|
-
*
|
|
151
|
-
* @generated from protobuf rpc: DeleteBrandingConfig
|
|
152
|
-
*/
|
|
153
|
-
deleteBrandingConfig(input: DeleteBrandingConfigRequest, options?: RpcOptions): UnaryCall<DeleteBrandingConfigRequest, Empty> {
|
|
154
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
155
|
-
return stackIntercept<DeleteBrandingConfigRequest, Empty>("unary", this._transport, method, opt, input);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Validate WCAG contrast ratios for a set of color token pairs.
|
|
159
|
-
*
|
|
160
|
-
* @generated from protobuf rpc: ValidateContrast
|
|
161
|
-
*/
|
|
162
|
-
validateContrast(input: ValidateContrastRequest, options?: RpcOptions): UnaryCall<ValidateContrastRequest, ValidateContrastResponse> {
|
|
163
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
164
|
-
return stackIntercept<ValidateContrastRequest, ValidateContrastResponse>("unary", this._transport, method, opt, input);
|
|
165
|
-
}
|
|
166
|
-
}
|