@structured-id/ui-core 1.3.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,404 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/projects/projects.proto" (package "sid.v1.projects", 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 { ProjectService } from "./projects";
|
|
7
|
-
import type { RevokeInitialAccessTokenRequest } from "./projects";
|
|
8
|
-
import type { ListInitialAccessTokensResponse } from "./projects";
|
|
9
|
-
import type { ListInitialAccessTokensRequest } from "./projects";
|
|
10
|
-
import type { CreateInitialAccessTokenResponse } from "./projects";
|
|
11
|
-
import type { CreateInitialAccessTokenRequest } from "./projects";
|
|
12
|
-
import type { DeleteRegisteredClientRequest } from "./projects";
|
|
13
|
-
import type { UpdateRegisteredClientRequest } from "./projects";
|
|
14
|
-
import type { OAuthClient } from "./projects";
|
|
15
|
-
import type { GetRegisteredClientRequest } from "./projects";
|
|
16
|
-
import type { RegisterClientResponse } from "./projects";
|
|
17
|
-
import type { RegisterClientRequest } from "./projects";
|
|
18
|
-
import type { RemoveRoleRequest } from "./projects";
|
|
19
|
-
import type { Role } from "../authz/authz";
|
|
20
|
-
import type { AddRoleRequest } from "./projects";
|
|
21
|
-
import type { ListResourceAccessResponse } from "./projects";
|
|
22
|
-
import type { ListResourceAccessRequest } from "./projects";
|
|
23
|
-
import type { RemoveResourceAccessRequest } from "./projects";
|
|
24
|
-
import type { ResourceAccess } from "./projects";
|
|
25
|
-
import type { SetResourceAccessRequest } from "./projects";
|
|
26
|
-
import type { ProtectedResource } from "./projects";
|
|
27
|
-
import type { UpdateResourceRoleRequest } from "./projects";
|
|
28
|
-
import type { AddResourceRoleRequest } from "./projects";
|
|
29
|
-
import type { UpdateClientRoleRequest } from "./projects";
|
|
30
|
-
import type { AddClientRoleRequest } from "./projects";
|
|
31
|
-
import type { DeleteApplicationRequest } from "./projects";
|
|
32
|
-
import type { UpdateApplicationRequest } from "./projects";
|
|
33
|
-
import type { ListApplicationsResponse } from "./projects";
|
|
34
|
-
import type { ListApplicationsRequest } from "./projects";
|
|
35
|
-
import type { Application } from "./projects";
|
|
36
|
-
import type { GetApplicationRequest } from "./projects";
|
|
37
|
-
import type { CreateApplicationResponse } from "./projects";
|
|
38
|
-
import type { CreateApplicationRequest } from "./projects";
|
|
39
|
-
import type { Empty } from "../../../google/protobuf/empty";
|
|
40
|
-
import type { DeleteProjectRequest } from "./projects";
|
|
41
|
-
import type { UpdateProjectRequest } from "./projects";
|
|
42
|
-
import type { ListProjectsResponse } from "./projects";
|
|
43
|
-
import type { ListProjectsRequest } from "./projects";
|
|
44
|
-
import type { GetProjectRequest } from "./projects";
|
|
45
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
46
|
-
import type { Project } from "./projects";
|
|
47
|
-
import type { CreateProjectRequest } from "./projects";
|
|
48
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
49
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
50
|
-
/**
|
|
51
|
-
* ProjectService manages projects and their resources.
|
|
52
|
-
*
|
|
53
|
-
* @generated from protobuf service sid.v1.projects.ProjectService
|
|
54
|
-
*/
|
|
55
|
-
export interface IProjectServiceClient {
|
|
56
|
-
/**
|
|
57
|
-
* Project CRUD.
|
|
58
|
-
*
|
|
59
|
-
* @generated from protobuf rpc: CreateProject
|
|
60
|
-
*/
|
|
61
|
-
createProject(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, Project>;
|
|
62
|
-
/**
|
|
63
|
-
* @generated from protobuf rpc: GetProject
|
|
64
|
-
*/
|
|
65
|
-
getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, Project>;
|
|
66
|
-
/**
|
|
67
|
-
* @generated from protobuf rpc: ListProjects
|
|
68
|
-
*/
|
|
69
|
-
listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* @generated from protobuf rpc: UpdateProject
|
|
72
|
-
*/
|
|
73
|
-
updateProject(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, Project>;
|
|
74
|
-
/**
|
|
75
|
-
* @generated from protobuf rpc: DeleteProject
|
|
76
|
-
*/
|
|
77
|
-
deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, Empty>;
|
|
78
|
-
/**
|
|
79
|
-
* Applications within a project. Creating one registers the roles it
|
|
80
|
-
* starts with in one step.
|
|
81
|
-
*
|
|
82
|
-
* @generated from protobuf rpc: CreateApplication
|
|
83
|
-
*/
|
|
84
|
-
createApplication(input: CreateApplicationRequest, options?: RpcOptions): UnaryCall<CreateApplicationRequest, CreateApplicationResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf rpc: GetApplication
|
|
87
|
-
*/
|
|
88
|
-
getApplication(input: GetApplicationRequest, options?: RpcOptions): UnaryCall<GetApplicationRequest, Application>;
|
|
89
|
-
/**
|
|
90
|
-
* @generated from protobuf rpc: ListApplications
|
|
91
|
-
*/
|
|
92
|
-
listApplications(input: ListApplicationsRequest, options?: RpcOptions): UnaryCall<ListApplicationsRequest, ListApplicationsResponse>;
|
|
93
|
-
/**
|
|
94
|
-
* @generated from protobuf rpc: UpdateApplication
|
|
95
|
-
*/
|
|
96
|
-
updateApplication(input: UpdateApplicationRequest, options?: RpcOptions): UnaryCall<UpdateApplicationRequest, Application>;
|
|
97
|
-
/**
|
|
98
|
-
* Removes the application: its client role and the client's access are
|
|
99
|
-
* deleted, its resource role is retired and access to it ends.
|
|
100
|
-
*
|
|
101
|
-
* @generated from protobuf rpc: DeleteApplication
|
|
102
|
-
*/
|
|
103
|
-
deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty>;
|
|
104
|
-
/**
|
|
105
|
-
* Client role.
|
|
106
|
-
*
|
|
107
|
-
* @generated from protobuf rpc: AddClientRole
|
|
108
|
-
*/
|
|
109
|
-
addClientRole(input: AddClientRoleRequest, options?: RpcOptions): UnaryCall<AddClientRoleRequest, CreateApplicationResponse>;
|
|
110
|
-
/**
|
|
111
|
-
* @generated from protobuf rpc: UpdateClientRole
|
|
112
|
-
*/
|
|
113
|
-
updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application>;
|
|
114
|
-
/**
|
|
115
|
-
* Protected-resource role.
|
|
116
|
-
*
|
|
117
|
-
* @generated from protobuf rpc: AddResourceRole
|
|
118
|
-
*/
|
|
119
|
-
addResourceRole(input: AddResourceRoleRequest, options?: RpcOptions): UnaryCall<AddResourceRoleRequest, Application>;
|
|
120
|
-
/**
|
|
121
|
-
* @generated from protobuf rpc: UpdateResourceRole
|
|
122
|
-
*/
|
|
123
|
-
updateResourceRole(input: UpdateResourceRoleRequest, options?: RpcOptions): UnaryCall<UpdateResourceRoleRequest, ProtectedResource>;
|
|
124
|
-
/**
|
|
125
|
-
* Client-to-resource access.
|
|
126
|
-
*
|
|
127
|
-
* @generated from protobuf rpc: SetResourceAccess
|
|
128
|
-
*/
|
|
129
|
-
setResourceAccess(input: SetResourceAccessRequest, options?: RpcOptions): UnaryCall<SetResourceAccessRequest, ResourceAccess>;
|
|
130
|
-
/**
|
|
131
|
-
* @generated from protobuf rpc: RemoveResourceAccess
|
|
132
|
-
*/
|
|
133
|
-
removeResourceAccess(input: RemoveResourceAccessRequest, options?: RpcOptions): UnaryCall<RemoveResourceAccessRequest, Empty>;
|
|
134
|
-
/**
|
|
135
|
-
* @generated from protobuf rpc: ListResourceAccess
|
|
136
|
-
*/
|
|
137
|
-
listResourceAccess(input: ListResourceAccessRequest, options?: RpcOptions): UnaryCall<ListResourceAccessRequest, ListResourceAccessResponse>;
|
|
138
|
-
/**
|
|
139
|
-
* Roles within project (uses Role type from authz.proto).
|
|
140
|
-
*
|
|
141
|
-
* @generated from protobuf rpc: AddRole
|
|
142
|
-
*/
|
|
143
|
-
addRole(input: AddRoleRequest, options?: RpcOptions): UnaryCall<AddRoleRequest, Role>;
|
|
144
|
-
/**
|
|
145
|
-
* @generated from protobuf rpc: RemoveRole
|
|
146
|
-
*/
|
|
147
|
-
removeRole(input: RemoveRoleRequest, options?: RpcOptions): UnaryCall<RemoveRoleRequest, Empty>;
|
|
148
|
-
/**
|
|
149
|
-
* Dynamic Client Registration (RFC 7591) and client management (RFC 7592)
|
|
150
|
-
* under one issuer. No HTTP binding here: the RFC form of these RPCs is
|
|
151
|
-
* OidcProviderService's registration endpoints under the issuer path.
|
|
152
|
-
* RegisterClient creates a new client on every call; it is not advertised
|
|
153
|
-
* as safely retryable. A registration creates a client, never a resource or
|
|
154
|
-
* access to one.
|
|
155
|
-
*
|
|
156
|
-
* @generated from protobuf rpc: RegisterClient
|
|
157
|
-
*/
|
|
158
|
-
registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResponse>;
|
|
159
|
-
/**
|
|
160
|
-
* @generated from protobuf rpc: GetRegisteredClient
|
|
161
|
-
*/
|
|
162
|
-
getRegisteredClient(input: GetRegisteredClientRequest, options?: RpcOptions): UnaryCall<GetRegisteredClientRequest, OAuthClient>;
|
|
163
|
-
/**
|
|
164
|
-
* @generated from protobuf rpc: UpdateRegisteredClient
|
|
165
|
-
*/
|
|
166
|
-
updateRegisteredClient(input: UpdateRegisteredClientRequest, options?: RpcOptions): UnaryCall<UpdateRegisteredClientRequest, OAuthClient>;
|
|
167
|
-
/**
|
|
168
|
-
* @generated from protobuf rpc: DeleteRegisteredClient
|
|
169
|
-
*/
|
|
170
|
-
deleteRegisteredClient(input: DeleteRegisteredClientRequest, options?: RpcOptions): UnaryCall<DeleteRegisteredClientRequest, Empty>;
|
|
171
|
-
/**
|
|
172
|
-
* Initial Access Token management (admin operations).
|
|
173
|
-
*
|
|
174
|
-
* @generated from protobuf rpc: CreateInitialAccessToken
|
|
175
|
-
*/
|
|
176
|
-
createInitialAccessToken(input: CreateInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse>;
|
|
177
|
-
/**
|
|
178
|
-
* @generated from protobuf rpc: ListInitialAccessTokens
|
|
179
|
-
*/
|
|
180
|
-
listInitialAccessTokens(input: ListInitialAccessTokensRequest, options?: RpcOptions): UnaryCall<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse>;
|
|
181
|
-
/**
|
|
182
|
-
* @generated from protobuf rpc: RevokeInitialAccessToken
|
|
183
|
-
*/
|
|
184
|
-
revokeInitialAccessToken(input: RevokeInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<RevokeInitialAccessTokenRequest, Empty>;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* ProjectService manages projects and their resources.
|
|
188
|
-
*
|
|
189
|
-
* @generated from protobuf service sid.v1.projects.ProjectService
|
|
190
|
-
*/
|
|
191
|
-
export class ProjectServiceClient implements IProjectServiceClient, ServiceInfo {
|
|
192
|
-
typeName = ProjectService.typeName;
|
|
193
|
-
methods = ProjectService.methods;
|
|
194
|
-
options = ProjectService.options;
|
|
195
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Project CRUD.
|
|
199
|
-
*
|
|
200
|
-
* @generated from protobuf rpc: CreateProject
|
|
201
|
-
*/
|
|
202
|
-
createProject(input: CreateProjectRequest, options?: RpcOptions): UnaryCall<CreateProjectRequest, Project> {
|
|
203
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
204
|
-
return stackIntercept<CreateProjectRequest, Project>("unary", this._transport, method, opt, input);
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* @generated from protobuf rpc: GetProject
|
|
208
|
-
*/
|
|
209
|
-
getProject(input: GetProjectRequest, options?: RpcOptions): UnaryCall<GetProjectRequest, Project> {
|
|
210
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
211
|
-
return stackIntercept<GetProjectRequest, Project>("unary", this._transport, method, opt, input);
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* @generated from protobuf rpc: ListProjects
|
|
215
|
-
*/
|
|
216
|
-
listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse> {
|
|
217
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
218
|
-
return stackIntercept<ListProjectsRequest, ListProjectsResponse>("unary", this._transport, method, opt, input);
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* @generated from protobuf rpc: UpdateProject
|
|
222
|
-
*/
|
|
223
|
-
updateProject(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall<UpdateProjectRequest, Project> {
|
|
224
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
225
|
-
return stackIntercept<UpdateProjectRequest, Project>("unary", this._transport, method, opt, input);
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* @generated from protobuf rpc: DeleteProject
|
|
229
|
-
*/
|
|
230
|
-
deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, Empty> {
|
|
231
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
232
|
-
return stackIntercept<DeleteProjectRequest, Empty>("unary", this._transport, method, opt, input);
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Applications within a project. Creating one registers the roles it
|
|
236
|
-
* starts with in one step.
|
|
237
|
-
*
|
|
238
|
-
* @generated from protobuf rpc: CreateApplication
|
|
239
|
-
*/
|
|
240
|
-
createApplication(input: CreateApplicationRequest, options?: RpcOptions): UnaryCall<CreateApplicationRequest, CreateApplicationResponse> {
|
|
241
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
242
|
-
return stackIntercept<CreateApplicationRequest, CreateApplicationResponse>("unary", this._transport, method, opt, input);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* @generated from protobuf rpc: GetApplication
|
|
246
|
-
*/
|
|
247
|
-
getApplication(input: GetApplicationRequest, options?: RpcOptions): UnaryCall<GetApplicationRequest, Application> {
|
|
248
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
249
|
-
return stackIntercept<GetApplicationRequest, Application>("unary", this._transport, method, opt, input);
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* @generated from protobuf rpc: ListApplications
|
|
253
|
-
*/
|
|
254
|
-
listApplications(input: ListApplicationsRequest, options?: RpcOptions): UnaryCall<ListApplicationsRequest, ListApplicationsResponse> {
|
|
255
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
256
|
-
return stackIntercept<ListApplicationsRequest, ListApplicationsResponse>("unary", this._transport, method, opt, input);
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* @generated from protobuf rpc: UpdateApplication
|
|
260
|
-
*/
|
|
261
|
-
updateApplication(input: UpdateApplicationRequest, options?: RpcOptions): UnaryCall<UpdateApplicationRequest, Application> {
|
|
262
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
263
|
-
return stackIntercept<UpdateApplicationRequest, Application>("unary", this._transport, method, opt, input);
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Removes the application: its client role and the client's access are
|
|
267
|
-
* deleted, its resource role is retired and access to it ends.
|
|
268
|
-
*
|
|
269
|
-
* @generated from protobuf rpc: DeleteApplication
|
|
270
|
-
*/
|
|
271
|
-
deleteApplication(input: DeleteApplicationRequest, options?: RpcOptions): UnaryCall<DeleteApplicationRequest, Empty> {
|
|
272
|
-
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
273
|
-
return stackIntercept<DeleteApplicationRequest, Empty>("unary", this._transport, method, opt, input);
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Client role.
|
|
277
|
-
*
|
|
278
|
-
* @generated from protobuf rpc: AddClientRole
|
|
279
|
-
*/
|
|
280
|
-
addClientRole(input: AddClientRoleRequest, options?: RpcOptions): UnaryCall<AddClientRoleRequest, CreateApplicationResponse> {
|
|
281
|
-
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
282
|
-
return stackIntercept<AddClientRoleRequest, CreateApplicationResponse>("unary", this._transport, method, opt, input);
|
|
283
|
-
}
|
|
284
|
-
/**
|
|
285
|
-
* @generated from protobuf rpc: UpdateClientRole
|
|
286
|
-
*/
|
|
287
|
-
updateClientRole(input: UpdateClientRoleRequest, options?: RpcOptions): UnaryCall<UpdateClientRoleRequest, Application> {
|
|
288
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
289
|
-
return stackIntercept<UpdateClientRoleRequest, Application>("unary", this._transport, method, opt, input);
|
|
290
|
-
}
|
|
291
|
-
/**
|
|
292
|
-
* Protected-resource role.
|
|
293
|
-
*
|
|
294
|
-
* @generated from protobuf rpc: AddResourceRole
|
|
295
|
-
*/
|
|
296
|
-
addResourceRole(input: AddResourceRoleRequest, options?: RpcOptions): UnaryCall<AddResourceRoleRequest, Application> {
|
|
297
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
298
|
-
return stackIntercept<AddResourceRoleRequest, Application>("unary", this._transport, method, opt, input);
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* @generated from protobuf rpc: UpdateResourceRole
|
|
302
|
-
*/
|
|
303
|
-
updateResourceRole(input: UpdateResourceRoleRequest, options?: RpcOptions): UnaryCall<UpdateResourceRoleRequest, ProtectedResource> {
|
|
304
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
305
|
-
return stackIntercept<UpdateResourceRoleRequest, ProtectedResource>("unary", this._transport, method, opt, input);
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Client-to-resource access.
|
|
309
|
-
*
|
|
310
|
-
* @generated from protobuf rpc: SetResourceAccess
|
|
311
|
-
*/
|
|
312
|
-
setResourceAccess(input: SetResourceAccessRequest, options?: RpcOptions): UnaryCall<SetResourceAccessRequest, ResourceAccess> {
|
|
313
|
-
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
314
|
-
return stackIntercept<SetResourceAccessRequest, ResourceAccess>("unary", this._transport, method, opt, input);
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* @generated from protobuf rpc: RemoveResourceAccess
|
|
318
|
-
*/
|
|
319
|
-
removeResourceAccess(input: RemoveResourceAccessRequest, options?: RpcOptions): UnaryCall<RemoveResourceAccessRequest, Empty> {
|
|
320
|
-
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
321
|
-
return stackIntercept<RemoveResourceAccessRequest, Empty>("unary", this._transport, method, opt, input);
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* @generated from protobuf rpc: ListResourceAccess
|
|
325
|
-
*/
|
|
326
|
-
listResourceAccess(input: ListResourceAccessRequest, options?: RpcOptions): UnaryCall<ListResourceAccessRequest, ListResourceAccessResponse> {
|
|
327
|
-
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
328
|
-
return stackIntercept<ListResourceAccessRequest, ListResourceAccessResponse>("unary", this._transport, method, opt, input);
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* Roles within project (uses Role type from authz.proto).
|
|
332
|
-
*
|
|
333
|
-
* @generated from protobuf rpc: AddRole
|
|
334
|
-
*/
|
|
335
|
-
addRole(input: AddRoleRequest, options?: RpcOptions): UnaryCall<AddRoleRequest, Role> {
|
|
336
|
-
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
337
|
-
return stackIntercept<AddRoleRequest, Role>("unary", this._transport, method, opt, input);
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* @generated from protobuf rpc: RemoveRole
|
|
341
|
-
*/
|
|
342
|
-
removeRole(input: RemoveRoleRequest, options?: RpcOptions): UnaryCall<RemoveRoleRequest, Empty> {
|
|
343
|
-
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
344
|
-
return stackIntercept<RemoveRoleRequest, Empty>("unary", this._transport, method, opt, input);
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
* Dynamic Client Registration (RFC 7591) and client management (RFC 7592)
|
|
348
|
-
* under one issuer. No HTTP binding here: the RFC form of these RPCs is
|
|
349
|
-
* OidcProviderService's registration endpoints under the issuer path.
|
|
350
|
-
* RegisterClient creates a new client on every call; it is not advertised
|
|
351
|
-
* as safely retryable. A registration creates a client, never a resource or
|
|
352
|
-
* access to one.
|
|
353
|
-
*
|
|
354
|
-
* @generated from protobuf rpc: RegisterClient
|
|
355
|
-
*/
|
|
356
|
-
registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResponse> {
|
|
357
|
-
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
358
|
-
return stackIntercept<RegisterClientRequest, RegisterClientResponse>("unary", this._transport, method, opt, input);
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* @generated from protobuf rpc: GetRegisteredClient
|
|
362
|
-
*/
|
|
363
|
-
getRegisteredClient(input: GetRegisteredClientRequest, options?: RpcOptions): UnaryCall<GetRegisteredClientRequest, OAuthClient> {
|
|
364
|
-
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
365
|
-
return stackIntercept<GetRegisteredClientRequest, OAuthClient>("unary", this._transport, method, opt, input);
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* @generated from protobuf rpc: UpdateRegisteredClient
|
|
369
|
-
*/
|
|
370
|
-
updateRegisteredClient(input: UpdateRegisteredClientRequest, options?: RpcOptions): UnaryCall<UpdateRegisteredClientRequest, OAuthClient> {
|
|
371
|
-
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
372
|
-
return stackIntercept<UpdateRegisteredClientRequest, OAuthClient>("unary", this._transport, method, opt, input);
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* @generated from protobuf rpc: DeleteRegisteredClient
|
|
376
|
-
*/
|
|
377
|
-
deleteRegisteredClient(input: DeleteRegisteredClientRequest, options?: RpcOptions): UnaryCall<DeleteRegisteredClientRequest, Empty> {
|
|
378
|
-
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
379
|
-
return stackIntercept<DeleteRegisteredClientRequest, Empty>("unary", this._transport, method, opt, input);
|
|
380
|
-
}
|
|
381
|
-
/**
|
|
382
|
-
* Initial Access Token management (admin operations).
|
|
383
|
-
*
|
|
384
|
-
* @generated from protobuf rpc: CreateInitialAccessToken
|
|
385
|
-
*/
|
|
386
|
-
createInitialAccessToken(input: CreateInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse> {
|
|
387
|
-
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
388
|
-
return stackIntercept<CreateInitialAccessTokenRequest, CreateInitialAccessTokenResponse>("unary", this._transport, method, opt, input);
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* @generated from protobuf rpc: ListInitialAccessTokens
|
|
392
|
-
*/
|
|
393
|
-
listInitialAccessTokens(input: ListInitialAccessTokensRequest, options?: RpcOptions): UnaryCall<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse> {
|
|
394
|
-
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
395
|
-
return stackIntercept<ListInitialAccessTokensRequest, ListInitialAccessTokensResponse>("unary", this._transport, method, opt, input);
|
|
396
|
-
}
|
|
397
|
-
/**
|
|
398
|
-
* @generated from protobuf rpc: RevokeInitialAccessToken
|
|
399
|
-
*/
|
|
400
|
-
revokeInitialAccessToken(input: RevokeInitialAccessTokenRequest, options?: RpcOptions): UnaryCall<RevokeInitialAccessTokenRequest, Empty> {
|
|
401
|
-
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
402
|
-
return stackIntercept<RevokeInitialAccessTokenRequest, Empty>("unary", this._transport, method, opt, input);
|
|
403
|
-
}
|
|
404
|
-
}
|