@structured-id/proto 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/generated/sid/v1/account/account.client.d.ts +14 -2
- package/dist/generated/sid/v1/account/account.client.js +7 -1
- package/dist/generated/sid/v1/account/account.client.js.map +1 -1
- package/dist/generated/sid/v1/account/account.js +28 -28
- package/dist/generated/sid/v1/account/account.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.client.d.ts +2 -0
- package/dist/generated/sid/v1/admin/admin.client.js +1 -0
- package/dist/generated/sid/v1/admin/admin.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin.js +7 -7
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/admin_roles.js +11 -11
- package/dist/generated/sid/v1/admin/admin_roles.js.map +1 -1
- package/dist/generated/sid/v1/admin/analytics.js +5 -5
- package/dist/generated/sid/v1/admin/analytics.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.js +8 -8
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.client.js +3 -0
- package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.js +10 -10
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/events.js +10 -10
- package/dist/generated/sid/v1/admin/events.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.js +8 -8
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/keys.js +6 -6
- package/dist/generated/sid/v1/admin/keys.js.map +1 -1
- package/dist/generated/sid/v1/admin/login_experience.js +7 -7
- package/dist/generated/sid/v1/admin/login_experience.js.map +1 -1
- package/dist/generated/sid/v1/admin/migration.js +7 -7
- package/dist/generated/sid/v1/admin/migration.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.client.d.ts +6 -0
- package/dist/generated/sid/v1/admin/notifications.client.js +3 -0
- package/dist/generated/sid/v1/admin/notifications.client.js.map +1 -1
- package/dist/generated/sid/v1/admin/notifications.js +6 -6
- package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
- package/dist/generated/sid/v1/admin/operations.js +14 -14
- package/dist/generated/sid/v1/admin/operations.js.map +1 -1
- package/dist/generated/sid/v1/admin/organizations.js +2 -2
- package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
- package/dist/generated/sid/v1/admin/provisioning.js +10 -10
- package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
- package/dist/generated/sid/v1/admin/scopes.js +11 -11
- package/dist/generated/sid/v1/admin/scopes.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.js +25 -25
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/admin/sessions.js +5 -5
- package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
- package/dist/generated/sid/v1/admin/settings.d.ts +269 -12
- package/dist/generated/sid/v1/admin/settings.js +315 -53
- package/dist/generated/sid/v1/admin/settings.js.map +1 -1
- package/dist/generated/sid/v1/admin/user_profile.js +2 -2
- package/dist/generated/sid/v1/admin/user_profile.js.map +1 -1
- package/dist/generated/sid/v1/admin/webhooks.js +16 -16
- package/dist/generated/sid/v1/admin/webhooks.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.client.d.ts +12 -0
- package/dist/generated/sid/v1/attestation/attestation.client.js +6 -0
- package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
- package/dist/generated/sid/v1/attestation/attestation.js +6 -6
- package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
- package/dist/generated/sid/v1/authn/application_session.js +5 -5
- package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +124 -10
- package/dist/generated/sid/v1/authn/auth.client.js +99 -26
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +306 -13
- package/dist/generated/sid/v1/authn/auth.js +597 -59
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth_flow.client.d.ts +140 -0
- package/dist/generated/sid/v1/authn/auth_flow.client.js +81 -0
- package/dist/generated/sid/v1/authn/auth_flow.client.js.map +1 -0
- package/dist/generated/sid/v1/authn/auth_flow.d.ts +418 -0
- package/dist/generated/sid/v1/authn/auth_flow.js +623 -0
- package/dist/generated/sid/v1/authn/auth_flow.js.map +1 -0
- package/dist/generated/sid/v1/authn/flows.js +26 -26
- package/dist/generated/sid/v1/authn/flows.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.client.d.ts +8 -2
- package/dist/generated/sid/v1/authn/issuer.client.js +4 -1
- package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/issuer.d.ts +13 -6
- package/dist/generated/sid/v1/authn/issuer.js +19 -19
- package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.client.d.ts +2 -2
- package/dist/generated/sid/v1/authn/password_history.client.js +1 -1
- package/dist/generated/sid/v1/authn/password_history.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/password_history.d.ts +15 -0
- package/dist/generated/sid/v1/authn/password_history.js +11 -3
- package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js +1 -1
- package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.client.d.ts +60 -0
- package/dist/generated/sid/v1/authz/authz.client.js +49 -17
- package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
- package/dist/generated/sid/v1/authz/authz.d.ts +195 -2
- package/dist/generated/sid/v1/authz/authz.js +322 -29
- package/dist/generated/sid/v1/authz/authz.js.map +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
- package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
- package/dist/generated/sid/v1/authz/governance.js +4 -4
- package/dist/generated/sid/v1/authz/governance.js.map +1 -1
- package/dist/generated/sid/v1/common/access.d.ts +219 -0
- package/dist/generated/sid/v1/common/access.js +285 -0
- package/dist/generated/sid/v1/common/access.js.map +1 -0
- package/dist/generated/sid/v1/common/claims.d.ts +138 -0
- package/dist/generated/sid/v1/common/claims.js +168 -0
- package/dist/generated/sid/v1/common/claims.js.map +1 -0
- package/dist/generated/sid/v1/common/errors.d.ts +45 -0
- package/dist/generated/sid/v1/common/errors.js +45 -0
- package/dist/generated/sid/v1/common/errors.js.map +1 -1
- package/dist/generated/sid/v1/common/maintenance.d.ts +50 -0
- package/dist/generated/sid/v1/common/maintenance.js +56 -0
- package/dist/generated/sid/v1/common/maintenance.js.map +1 -0
- package/dist/generated/sid/v1/common/operation.js +1 -1
- package/dist/generated/sid/v1/common/operation.js.map +1 -1
- package/dist/generated/sid/v1/events/event_stream.js +2 -2
- package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
- package/dist/generated/sid/v1/federation/entry.client.d.ts +190 -0
- package/dist/generated/sid/v1/federation/entry.client.js +123 -0
- package/dist/generated/sid/v1/federation/entry.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/entry.d.ts +490 -0
- package/dist/generated/sid/v1/federation/entry.js +795 -0
- package/dist/generated/sid/v1/federation/entry.js.map +1 -0
- package/dist/generated/sid/v1/federation/platform_ca.client.d.ts +77 -0
- package/dist/generated/sid/v1/federation/platform_ca.client.js +47 -0
- package/dist/generated/sid/v1/federation/platform_ca.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/platform_ca.d.ts +186 -0
- package/dist/generated/sid/v1/federation/platform_ca.js +285 -0
- package/dist/generated/sid/v1/federation/platform_ca.js.map +1 -0
- package/dist/generated/sid/v1/federation/site.client.d.ts +99 -0
- package/dist/generated/sid/v1/federation/site.client.js +62 -0
- package/dist/generated/sid/v1/federation/site.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/site.d.ts +219 -0
- package/dist/generated/sid/v1/federation/site.js +416 -0
- package/dist/generated/sid/v1/federation/site.js.map +1 -0
- package/dist/generated/sid/v1/federation/site_admission.client.d.ts +71 -0
- package/dist/generated/sid/v1/federation/site_admission.client.js +42 -0
- package/dist/generated/sid/v1/federation/site_admission.client.js.map +1 -0
- package/dist/generated/sid/v1/federation/site_admission.d.ts +36 -0
- package/dist/generated/sid/v1/federation/site_admission.js +64 -0
- package/dist/generated/sid/v1/federation/site_admission.js.map +1 -0
- package/dist/generated/sid/v1/federation/upstream.js +8 -8
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.client.d.ts +6 -0
- package/dist/generated/sid/v1/identity/identity.client.js +3 -0
- package/dist/generated/sid/v1/identity/identity.client.js.map +1 -1
- package/dist/generated/sid/v1/identity/identity.d.ts +19 -1
- package/dist/generated/sid/v1/identity/identity.js +49 -31
- package/dist/generated/sid/v1/identity/identity.js.map +1 -1
- package/dist/generated/sid/v1/ids/ids.d.ts +2 -0
- package/dist/generated/sid/v1/ids/ids.js +1 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/generated/sid/v1/machine/machine_user.js +14 -14
- package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
- package/dist/generated/sid/v1/machine/pat.js +7 -7
- package/dist/generated/sid/v1/machine/pat.js.map +1 -1
- package/dist/generated/sid/v1/projects/projects.d.ts +78 -6
- package/dist/generated/sid/v1/projects/projects.js +107 -29
- package/dist/generated/sid/v1/projects/projects.js.map +1 -1
- package/dist/generated/sid/v1/scim/scim.js +28 -28
- package/dist/generated/sid/v1/scim/scim.js.map +1 -1
- package/dist/generated/sid/v1/test/test.client.d.ts +2 -0
- package/dist/generated/sid/v1/test/test.client.js +1 -0
- package/dist/generated/sid/v1/test/test.client.js.map +1 -1
- package/dist/generated/sid/v1/test/test.js +12 -12
- package/dist/generated/sid/v1/test/test.js.map +1 -1
- package/dist/generated/sid/v1/ui/public_settings.js +2 -2
- package/dist/generated/sid/v1/ui/public_settings.js.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck
|
|
2
|
+
// @generated from protobuf file "sid/v1/federation/entry.proto" (package "sid.v1.federation", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { FederatedEntryService } from "./entry.js";
|
|
6
|
+
import { EntryConnectionService } from "./entry.js";
|
|
7
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
8
|
+
/**
|
|
9
|
+
* EntryConnectionService manages the installation's entry connections. Every
|
|
10
|
+
* RPC but ListSignInConnections requires the administrator role. A connection
|
|
11
|
+
* the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)
|
|
12
|
+
* is listed and never created, changed or removed here.
|
|
13
|
+
*
|
|
14
|
+
* @generated from protobuf service sid.v1.federation.EntryConnectionService
|
|
15
|
+
*/
|
|
16
|
+
export class EntryConnectionServiceClient {
|
|
17
|
+
_transport;
|
|
18
|
+
typeName = EntryConnectionService.typeName;
|
|
19
|
+
methods = EntryConnectionService.methods;
|
|
20
|
+
options = EntryConnectionService.options;
|
|
21
|
+
constructor(_transport) {
|
|
22
|
+
this._transport = _transport;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @generated from protobuf rpc: ListEntryConnections
|
|
26
|
+
*/
|
|
27
|
+
listEntryConnections(input, options) {
|
|
28
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
29
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Register a connection. The answer names the callback to register at the
|
|
33
|
+
* issuer as this client's redirect URI. An issuer that already has a
|
|
34
|
+
* connection is refused: one issuer has one connection.
|
|
35
|
+
*
|
|
36
|
+
* @generated from protobuf rpc: CreateEntryConnection
|
|
37
|
+
*/
|
|
38
|
+
createEntryConnection(input, options) {
|
|
39
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
40
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Change what may change in a connection: its name, its client and
|
|
44
|
+
* credential, whether it is enabled. Its issuer, source organization and
|
|
45
|
+
* callback are its identity: another issuer is another connection.
|
|
46
|
+
*
|
|
47
|
+
* @generated from protobuf rpc: UpdateEntryConnection
|
|
48
|
+
*/
|
|
49
|
+
updateEntryConnection(input, options) {
|
|
50
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
51
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Remove a connection: entries started through it complete nothing.
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf rpc: RemoveEntryConnection
|
|
57
|
+
*/
|
|
58
|
+
removeEntryConnection(input, options) {
|
|
59
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
60
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The enabled connections of one issuer of this installation, as its
|
|
64
|
+
* sign-in page offers them. Public: it names no issuer, client or
|
|
65
|
+
* organization.
|
|
66
|
+
*
|
|
67
|
+
* @generated from protobuf rpc: ListSignInConnections
|
|
68
|
+
*/
|
|
69
|
+
listSignInConnections(input, options) {
|
|
70
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
71
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* FederatedEntryService carries one sign-in through a connection (OpenID
|
|
76
|
+
* Connect Core 1.0 §3.1). Both endpoints are browser navigations below the
|
|
77
|
+
* installation issuer the user signs in at: under `/i/{issuer_handle}` for a
|
|
78
|
+
* scoped issuer, at the root for the installation's root-addressed base
|
|
79
|
+
* issuer, and never a route of another issuer. They read no session cookie;
|
|
80
|
+
* the return completes only the entry its state names.
|
|
81
|
+
*
|
|
82
|
+
* @generated from protobuf service sid.v1.federation.FederatedEntryService
|
|
83
|
+
*/
|
|
84
|
+
export class FederatedEntryServiceClient {
|
|
85
|
+
_transport;
|
|
86
|
+
typeName = FederatedEntryService.typeName;
|
|
87
|
+
methods = FederatedEntryService.methods;
|
|
88
|
+
options = FederatedEntryService.options;
|
|
89
|
+
constructor(_transport) {
|
|
90
|
+
this._transport = _transport;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Start an entry: a redirect to the connection's issuer, asking for the
|
|
94
|
+
* subject, nonce and PKCE challenge of this entry. The entry continues at
|
|
95
|
+
* `rd`, which must be an authorization continuation of this same
|
|
96
|
+
* installation issuer; anything else is answered with a page, never
|
|
97
|
+
* redirected. Each call starts a new entry.
|
|
98
|
+
*
|
|
99
|
+
* @generated from protobuf rpc: StartFederatedEntry
|
|
100
|
+
*/
|
|
101
|
+
startFederatedEntry(input, options) {
|
|
102
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
103
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the
|
|
107
|
+
* installation issuer's one callback: the entry its `state` names is
|
|
108
|
+
* completed once, through the connection it was started through. A return
|
|
109
|
+
* must name the issuer it comes from (`iss`, RFC 9207 §2), and that is
|
|
110
|
+
* the connection's issuer exactly: several issuers return to this one
|
|
111
|
+
* callback. An admitted entry answers with the session
|
|
112
|
+
* cookie and a redirect to the authorization it continues; a refused,
|
|
113
|
+
* unknown or replayed one with a page and no session. An error return
|
|
114
|
+
* (`error`) completes nothing (§3.1.2.6).
|
|
115
|
+
*
|
|
116
|
+
* @generated from protobuf rpc: CompleteFederatedEntry
|
|
117
|
+
*/
|
|
118
|
+
completeFederatedEntry(input, options) {
|
|
119
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
120
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=entry.client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/federation/entry.client.ts"],"names":[],"mappings":"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","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/federation/entry.proto\" (package \"sid.v1.federation\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { FederatedEntryService } from \"./entry.js\";\nimport type { CompleteFederatedEntryRequest } from \"./entry.js\";\nimport type { HttpBody } from \"../../../google/api/httpbody.js\";\nimport type { StartFederatedEntryRequest } from \"./entry.js\";\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { EntryConnectionService } from \"./entry.js\";\nimport type { ListSignInConnectionsResponse } from \"./entry.js\";\nimport type { ListSignInConnectionsRequest } from \"./entry.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { RemoveEntryConnectionRequest } from \"./entry.js\";\nimport type { UpdateEntryConnectionRequest } from \"./entry.js\";\nimport type { EntryConnection } from \"./entry.js\";\nimport type { CreateEntryConnectionRequest } from \"./entry.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListEntryConnectionsResponse } from \"./entry.js\";\nimport type { ListEntryConnectionsRequest } from \"./entry.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * EntryConnectionService manages the installation's entry connections. Every\n * RPC but ListSignInConnections requires the administrator role. A connection\n * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)\n * is listed and never created, changed or removed here.\n *\n * @generated from protobuf service sid.v1.federation.EntryConnectionService\n */\nexport interface IEntryConnectionServiceClient {\n /**\n * @generated from protobuf rpc: ListEntryConnections\n */\n listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse>;\n /**\n * Register a connection. The answer names the callback to register at the\n * issuer as this client's redirect URI. An issuer that already has a\n * connection is refused: one issuer has one connection.\n *\n * @generated from protobuf rpc: CreateEntryConnection\n */\n createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection>;\n /**\n * Change what may change in a connection: its name, its client and\n * credential, whether it is enabled. Its issuer, source organization and\n * callback are its identity: another issuer is another connection.\n *\n * @generated from protobuf rpc: UpdateEntryConnection\n */\n updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection>;\n /**\n * Remove a connection: entries started through it complete nothing.\n *\n * @generated from protobuf rpc: RemoveEntryConnection\n */\n removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty>;\n /**\n * The enabled connections of one issuer of this installation, as its\n * sign-in page offers them. Public: it names no issuer, client or\n * organization.\n *\n * @generated from protobuf rpc: ListSignInConnections\n */\n listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse>;\n}\n/**\n * EntryConnectionService manages the installation's entry connections. Every\n * RPC but ListSignInConnections requires the administrator role. A connection\n * the installation's provisioning set (ENTRY_CONNECTION_OWNER_PROVISIONING)\n * is listed and never created, changed or removed here.\n *\n * @generated from protobuf service sid.v1.federation.EntryConnectionService\n */\nexport class EntryConnectionServiceClient implements IEntryConnectionServiceClient, ServiceInfo {\n typeName = EntryConnectionService.typeName;\n methods = EntryConnectionService.methods;\n options = EntryConnectionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ListEntryConnections\n */\n listEntryConnections(input: ListEntryConnectionsRequest, options?: RpcOptions): UnaryCall<ListEntryConnectionsRequest, ListEntryConnectionsResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListEntryConnectionsRequest, ListEntryConnectionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Register a connection. The answer names the callback to register at the\n * issuer as this client's redirect URI. An issuer that already has a\n * connection is refused: one issuer has one connection.\n *\n * @generated from protobuf rpc: CreateEntryConnection\n */\n createEntryConnection(input: CreateEntryConnectionRequest, options?: RpcOptions): UnaryCall<CreateEntryConnectionRequest, EntryConnection> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateEntryConnectionRequest, EntryConnection>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Change what may change in a connection: its name, its client and\n * credential, whether it is enabled. Its issuer, source organization and\n * callback are its identity: another issuer is another connection.\n *\n * @generated from protobuf rpc: UpdateEntryConnection\n */\n updateEntryConnection(input: UpdateEntryConnectionRequest, options?: RpcOptions): UnaryCall<UpdateEntryConnectionRequest, EntryConnection> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateEntryConnectionRequest, EntryConnection>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Remove a connection: entries started through it complete nothing.\n *\n * @generated from protobuf rpc: RemoveEntryConnection\n */\n removeEntryConnection(input: RemoveEntryConnectionRequest, options?: RpcOptions): UnaryCall<RemoveEntryConnectionRequest, Empty> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<RemoveEntryConnectionRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The enabled connections of one issuer of this installation, as its\n * sign-in page offers them. Public: it names no issuer, client or\n * organization.\n *\n * @generated from protobuf rpc: ListSignInConnections\n */\n listSignInConnections(input: ListSignInConnectionsRequest, options?: RpcOptions): UnaryCall<ListSignInConnectionsRequest, ListSignInConnectionsResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListSignInConnectionsRequest, ListSignInConnectionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n/**\n * FederatedEntryService carries one sign-in through a connection (OpenID\n * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the\n * installation issuer the user signs in at: under `/i/{issuer_handle}` for a\n * scoped issuer, at the root for the installation's root-addressed base\n * issuer, and never a route of another issuer. They read no session cookie;\n * the return completes only the entry its state names.\n *\n * @generated from protobuf service sid.v1.federation.FederatedEntryService\n */\nexport interface IFederatedEntryServiceClient {\n /**\n * Start an entry: a redirect to the connection's issuer, asking for the\n * subject, nonce and PKCE challenge of this entry. The entry continues at\n * `rd`, which must be an authorization continuation of this same\n * installation issuer; anything else is answered with a page, never\n * redirected. Each call starts a new entry.\n *\n * @generated from protobuf rpc: StartFederatedEntry\n */\n startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody>;\n /**\n * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the\n * installation issuer's one callback: the entry its `state` names is\n * completed once, through the connection it was started through. A return\n * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is\n * the connection's issuer exactly: several issuers return to this one\n * callback. An admitted entry answers with the session\n * cookie and a redirect to the authorization it continues; a refused,\n * unknown or replayed one with a page and no session. An error return\n * (`error`) completes nothing (§3.1.2.6).\n *\n * @generated from protobuf rpc: CompleteFederatedEntry\n */\n completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody>;\n}\n/**\n * FederatedEntryService carries one sign-in through a connection (OpenID\n * Connect Core 1.0 §3.1). Both endpoints are browser navigations below the\n * installation issuer the user signs in at: under `/i/{issuer_handle}` for a\n * scoped issuer, at the root for the installation's root-addressed base\n * issuer, and never a route of another issuer. They read no session cookie;\n * the return completes only the entry its state names.\n *\n * @generated from protobuf service sid.v1.federation.FederatedEntryService\n */\nexport class FederatedEntryServiceClient implements IFederatedEntryServiceClient, ServiceInfo {\n typeName = FederatedEntryService.typeName;\n methods = FederatedEntryService.methods;\n options = FederatedEntryService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Start an entry: a redirect to the connection's issuer, asking for the\n * subject, nonce and PKCE challenge of this entry. The entry continues at\n * `rd`, which must be an authorization continuation of this same\n * installation issuer; anything else is answered with a page, never\n * redirected. Each call starts a new entry.\n *\n * @generated from protobuf rpc: StartFederatedEntry\n */\n startFederatedEntry(input: StartFederatedEntryRequest, options?: RpcOptions): UnaryCall<StartFederatedEntryRequest, HttpBody> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<StartFederatedEntryRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * The issuer's return (OpenID Connect Core 1.0 §3.1.2.5) to the\n * installation issuer's one callback: the entry its `state` names is\n * completed once, through the connection it was started through. A return\n * must name the issuer it comes from (`iss`, RFC 9207 §2), and that is\n * the connection's issuer exactly: several issuers return to this one\n * callback. An admitted entry answers with the session\n * cookie and a redirect to the authorization it continues; a refused,\n * unknown or replayed one with a page and no session. An error return\n * (`error`) completes nothing (§3.1.2.6).\n *\n * @generated from protobuf rpc: CompleteFederatedEntry\n */\n completeFederatedEntry(input: CompleteFederatedEntryRequest, options?: RpcOptions): UnaryCall<CompleteFederatedEntryRequest, HttpBody> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<CompleteFederatedEntryRequest, HttpBody>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
9
|
+
import { OrgId } from "../ids/ids.js";
|
|
10
|
+
/**
|
|
11
|
+
* One registered connection, as an administrator reads it. The client
|
|
12
|
+
* credential is write-only and never part of an answer.
|
|
13
|
+
*
|
|
14
|
+
* @generated from protobuf message sid.v1.federation.EntryConnection
|
|
15
|
+
*/
|
|
16
|
+
export interface EntryConnection {
|
|
17
|
+
/**
|
|
18
|
+
* The connection's routing name: 32 lowercase hex characters, generated by
|
|
19
|
+
* the server, never reused. It names the connection in every RPC and when
|
|
20
|
+
* a browser starts an entry through it.
|
|
21
|
+
*
|
|
22
|
+
* @generated from protobuf field: string handle = 1
|
|
23
|
+
*/
|
|
24
|
+
handle: string;
|
|
25
|
+
/**
|
|
26
|
+
* Who may write the connection; set by the server.
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf field: sid.v1.federation.EntryConnectionOwner owner = 2
|
|
29
|
+
*/
|
|
30
|
+
owner: EntryConnectionOwner;
|
|
31
|
+
/**
|
|
32
|
+
* How the sign-in page names the connection; presentation only, at most
|
|
33
|
+
* 128 characters.
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf field: string name = 3
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* The issuer identifier of the issuing installation, exactly as its ID
|
|
40
|
+
* Tokens name it (OpenID Connect Core 1.0 §1.2): an https URL without
|
|
41
|
+
* query or fragment.
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf field: string issuer = 4
|
|
44
|
+
*/
|
|
45
|
+
issuer: string;
|
|
46
|
+
/**
|
|
47
|
+
* The organization whose installation issues there, when the registration
|
|
48
|
+
* names one: a Corporate Profile signed in through the connection is
|
|
49
|
+
* refused unless it is that organization's. Absent for an issuer that
|
|
50
|
+
* signs in identities of more than one origin.
|
|
51
|
+
*
|
|
52
|
+
* @generated from protobuf field: sid.v1.ids.OrgId source_organization = 5
|
|
53
|
+
*/
|
|
54
|
+
sourceOrganization?: OrgId;
|
|
55
|
+
/**
|
|
56
|
+
* The handle of this installation's issuer whose sign-in the connection
|
|
57
|
+
* serves: the `<handle>` segment of `https://<host>/i/<handle>`. A
|
|
58
|
+
* root-addressed base issuer still has a handle, given here.
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf field: string issuer_handle = 6
|
|
61
|
+
*/
|
|
62
|
+
issuerHandle: string;
|
|
63
|
+
/**
|
|
64
|
+
* The exact redirect URI to register at the issuer for this client: the
|
|
65
|
+
* federated entry's callback below the installation issuer's URL, the same
|
|
66
|
+
* for every connection of that issuer. Set by the server.
|
|
67
|
+
*
|
|
68
|
+
* @generated from protobuf field: string callback = 7
|
|
69
|
+
*/
|
|
70
|
+
callback: string;
|
|
71
|
+
/**
|
|
72
|
+
* This installation's client id at the issuer.
|
|
73
|
+
*
|
|
74
|
+
* @generated from protobuf field: string client_id = 8
|
|
75
|
+
*/
|
|
76
|
+
clientId: string;
|
|
77
|
+
/**
|
|
78
|
+
* Whether entries are started and completed through the connection now.
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf field: bool enabled = 9
|
|
81
|
+
*/
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* The stored revision: a change or removal names the revision it read and
|
|
85
|
+
* applies only over it.
|
|
86
|
+
*
|
|
87
|
+
* @generated from protobuf field: uint64 revision = 10
|
|
88
|
+
*/
|
|
89
|
+
revision: bigint;
|
|
90
|
+
/**
|
|
91
|
+
* When the connection was registered and last changed; set by the server.
|
|
92
|
+
*
|
|
93
|
+
* @generated from protobuf field: google.protobuf.Timestamp created_at = 11
|
|
94
|
+
*/
|
|
95
|
+
createdAt?: Timestamp;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf field: google.protobuf.Timestamp updated_at = 12
|
|
98
|
+
*/
|
|
99
|
+
updatedAt?: Timestamp;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* @generated from protobuf message sid.v1.federation.ListEntryConnectionsRequest
|
|
103
|
+
*/
|
|
104
|
+
export interface ListEntryConnectionsRequest {
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf message sid.v1.federation.ListEntryConnectionsResponse
|
|
108
|
+
*/
|
|
109
|
+
export interface ListEntryConnectionsResponse {
|
|
110
|
+
/**
|
|
111
|
+
* Every connection of the installation, oldest first.
|
|
112
|
+
*
|
|
113
|
+
* @generated from protobuf field: repeated sid.v1.federation.EntryConnection connections = 1
|
|
114
|
+
*/
|
|
115
|
+
connections: EntryConnection[];
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @generated from protobuf message sid.v1.federation.CreateEntryConnectionRequest
|
|
119
|
+
*/
|
|
120
|
+
export interface CreateEntryConnectionRequest {
|
|
121
|
+
/**
|
|
122
|
+
* As EntryConnection.name; required.
|
|
123
|
+
*
|
|
124
|
+
* @generated from protobuf field: string name = 1
|
|
125
|
+
*/
|
|
126
|
+
name: string;
|
|
127
|
+
/**
|
|
128
|
+
* As EntryConnection.issuer; required.
|
|
129
|
+
*
|
|
130
|
+
* @generated from protobuf field: string issuer = 2
|
|
131
|
+
*/
|
|
132
|
+
issuer: string;
|
|
133
|
+
/**
|
|
134
|
+
* As EntryConnection.source_organization; optional.
|
|
135
|
+
*
|
|
136
|
+
* @generated from protobuf field: sid.v1.ids.OrgId source_organization = 3
|
|
137
|
+
*/
|
|
138
|
+
sourceOrganization?: OrgId;
|
|
139
|
+
/**
|
|
140
|
+
* As EntryConnection.issuer_handle; an issuer of this installation. Empty
|
|
141
|
+
* names its root-addressed base issuer.
|
|
142
|
+
*
|
|
143
|
+
* @generated from protobuf field: string issuer_handle = 4
|
|
144
|
+
*/
|
|
145
|
+
issuerHandle: string;
|
|
146
|
+
/**
|
|
147
|
+
* As EntryConnection.client_id; required.
|
|
148
|
+
*
|
|
149
|
+
* @generated from protobuf field: string client_id = 5
|
|
150
|
+
*/
|
|
151
|
+
clientId: string;
|
|
152
|
+
/**
|
|
153
|
+
* The client secret the issuer registered for `client_id`, sent to its
|
|
154
|
+
* token endpoint as `client_secret_basic` (RFC 6749 §2.3.1). Plaintext
|
|
155
|
+
* here; sealed by the server before it is stored and never returned.
|
|
156
|
+
*
|
|
157
|
+
* @generated from protobuf field: string client_secret = 6
|
|
158
|
+
*/
|
|
159
|
+
clientSecret: string;
|
|
160
|
+
/**
|
|
161
|
+
* Whether the connection is enabled once registered.
|
|
162
|
+
*
|
|
163
|
+
* @generated from protobuf field: bool enabled = 7
|
|
164
|
+
*/
|
|
165
|
+
enabled: boolean;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @generated from protobuf message sid.v1.federation.UpdateEntryConnectionRequest
|
|
169
|
+
*/
|
|
170
|
+
export interface UpdateEntryConnectionRequest {
|
|
171
|
+
/**
|
|
172
|
+
* The connection to change.
|
|
173
|
+
*
|
|
174
|
+
* @generated from protobuf field: string handle = 1
|
|
175
|
+
*/
|
|
176
|
+
handle: string;
|
|
177
|
+
/**
|
|
178
|
+
* The revision the change was decided on (EntryConnection.revision); a
|
|
179
|
+
* connection changed since is ABORTED with nothing changed.
|
|
180
|
+
*
|
|
181
|
+
* @generated from protobuf field: uint64 revision = 2
|
|
182
|
+
*/
|
|
183
|
+
revision: bigint;
|
|
184
|
+
/**
|
|
185
|
+
* As EntryConnection.name, when it changes.
|
|
186
|
+
*
|
|
187
|
+
* @generated from protobuf field: optional string name = 3
|
|
188
|
+
*/
|
|
189
|
+
name?: string;
|
|
190
|
+
/**
|
|
191
|
+
* As EntryConnection.client_id, when it changes.
|
|
192
|
+
*
|
|
193
|
+
* @generated from protobuf field: optional string client_id = 4
|
|
194
|
+
*/
|
|
195
|
+
clientId?: string;
|
|
196
|
+
/**
|
|
197
|
+
* The new client secret, when it changes; as
|
|
198
|
+
* CreateEntryConnectionRequest.client_secret.
|
|
199
|
+
*
|
|
200
|
+
* @generated from protobuf field: optional string client_secret = 5
|
|
201
|
+
*/
|
|
202
|
+
clientSecret?: string;
|
|
203
|
+
/**
|
|
204
|
+
* As EntryConnection.enabled, when it changes.
|
|
205
|
+
*
|
|
206
|
+
* @generated from protobuf field: optional bool enabled = 6
|
|
207
|
+
*/
|
|
208
|
+
enabled?: boolean;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @generated from protobuf message sid.v1.federation.RemoveEntryConnectionRequest
|
|
212
|
+
*/
|
|
213
|
+
export interface RemoveEntryConnectionRequest {
|
|
214
|
+
/**
|
|
215
|
+
* The connection to remove.
|
|
216
|
+
*
|
|
217
|
+
* @generated from protobuf field: string handle = 1
|
|
218
|
+
*/
|
|
219
|
+
handle: string;
|
|
220
|
+
/**
|
|
221
|
+
* The revision the removal was decided on (EntryConnection.revision); a
|
|
222
|
+
* connection changed since is ABORTED and stays.
|
|
223
|
+
*
|
|
224
|
+
* @generated from protobuf field: uint64 revision = 2
|
|
225
|
+
*/
|
|
226
|
+
revision: bigint;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @generated from protobuf message sid.v1.federation.ListSignInConnectionsRequest
|
|
230
|
+
*/
|
|
231
|
+
export interface ListSignInConnectionsRequest {
|
|
232
|
+
/**
|
|
233
|
+
* The opaque handle of the installation issuer the user signs in at,
|
|
234
|
+
* bound from the path. 32 lowercase hex characters; empty on the root
|
|
235
|
+
* route, which names the installation's root-addressed base issuer.
|
|
236
|
+
*
|
|
237
|
+
* @generated from protobuf field: string issuer_handle = 1
|
|
238
|
+
*/
|
|
239
|
+
issuerHandle: string;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* A connection as the sign-in page offers it.
|
|
243
|
+
*
|
|
244
|
+
* @generated from protobuf message sid.v1.federation.SignInConnection
|
|
245
|
+
*/
|
|
246
|
+
export interface SignInConnection {
|
|
247
|
+
/**
|
|
248
|
+
* The connection's routing name: the `connection` parameter of the start
|
|
249
|
+
* route `/i/{issuer_handle}/auth/federation/start`.
|
|
250
|
+
*
|
|
251
|
+
* @generated from protobuf field: string handle = 1
|
|
252
|
+
*/
|
|
253
|
+
handle: string;
|
|
254
|
+
/**
|
|
255
|
+
* As EntryConnection.name.
|
|
256
|
+
*
|
|
257
|
+
* @generated from protobuf field: string name = 2
|
|
258
|
+
*/
|
|
259
|
+
name: string;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* @generated from protobuf message sid.v1.federation.ListSignInConnectionsResponse
|
|
263
|
+
*/
|
|
264
|
+
export interface ListSignInConnectionsResponse {
|
|
265
|
+
/**
|
|
266
|
+
* The enabled connections of the issuer, oldest first.
|
|
267
|
+
*
|
|
268
|
+
* @generated from protobuf field: repeated sid.v1.federation.SignInConnection connections = 1
|
|
269
|
+
*/
|
|
270
|
+
connections: SignInConnection[];
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* The start of an entry, as the sign-in page or the authorization endpoint
|
|
274
|
+
* sends the browser to it.
|
|
275
|
+
*
|
|
276
|
+
* @generated from protobuf message sid.v1.federation.StartFederatedEntryRequest
|
|
277
|
+
*/
|
|
278
|
+
export interface StartFederatedEntryRequest {
|
|
279
|
+
/**
|
|
280
|
+
* The opaque handle of the installation issuer the user signs in at:
|
|
281
|
+
* the `<handle>` path segment of `https://<host>/i/<handle>`. 32 lowercase
|
|
282
|
+
* hex characters; empty on the root route, which names the installation's
|
|
283
|
+
* root-addressed base issuer.
|
|
284
|
+
*
|
|
285
|
+
* @generated from protobuf field: string issuer_handle = 1
|
|
286
|
+
*/
|
|
287
|
+
issuerHandle: string;
|
|
288
|
+
/**
|
|
289
|
+
* The connection the entry goes through (EntryConnection.handle). The
|
|
290
|
+
* browser names a registered connection; it never supplies an issuer, an
|
|
291
|
+
* endpoint or a credential. Empty names the authority the installation's
|
|
292
|
+
* provisioning set for this issuer, the one its own Profiles sign in
|
|
293
|
+
* through; an issuer without one starts nothing.
|
|
294
|
+
*
|
|
295
|
+
* @generated from protobuf field: string connection = 2
|
|
296
|
+
*/
|
|
297
|
+
connection: string;
|
|
298
|
+
/**
|
|
299
|
+
* The authorization continuation the entry returns to, as the
|
|
300
|
+
* authorization endpoint names it: this issuer's authorization endpoint
|
|
301
|
+
* with the reference of the request it kept.
|
|
302
|
+
*
|
|
303
|
+
* @generated from protobuf field: string rd = 3
|
|
304
|
+
*/
|
|
305
|
+
rd: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* The issuer's return to the registered redirect URI, as its query carries
|
|
309
|
+
* it.
|
|
310
|
+
*
|
|
311
|
+
* @generated from protobuf message sid.v1.federation.CompleteFederatedEntryRequest
|
|
312
|
+
*/
|
|
313
|
+
export interface CompleteFederatedEntryRequest {
|
|
314
|
+
/**
|
|
315
|
+
* As StartFederatedEntryRequest.issuer_handle.
|
|
316
|
+
*
|
|
317
|
+
* @generated from protobuf field: string issuer_handle = 1
|
|
318
|
+
*/
|
|
319
|
+
issuerHandle: string;
|
|
320
|
+
/**
|
|
321
|
+
* The authorization code the issuer issued for this entry; empty on an
|
|
322
|
+
* error return.
|
|
323
|
+
*
|
|
324
|
+
* @generated from protobuf field: string code = 2
|
|
325
|
+
*/
|
|
326
|
+
code: string;
|
|
327
|
+
/**
|
|
328
|
+
* The state this installation sent with the entry, echoed by the issuer.
|
|
329
|
+
* It names the connection the entry was started through; the entry is
|
|
330
|
+
* found only by that connection's issuer and client, whatever it names.
|
|
331
|
+
*
|
|
332
|
+
* @generated from protobuf field: string state = 3
|
|
333
|
+
*/
|
|
334
|
+
state: string;
|
|
335
|
+
/**
|
|
336
|
+
* The error code of an error return (RFC 6749 §4.1.2.1), else empty.
|
|
337
|
+
*
|
|
338
|
+
* @generated from protobuf field: string error = 4
|
|
339
|
+
*/
|
|
340
|
+
error: string;
|
|
341
|
+
/**
|
|
342
|
+
* The issuer identifier of the return (RFC 9207 §2): required, and the
|
|
343
|
+
* connection's issuer exactly.
|
|
344
|
+
*
|
|
345
|
+
* @generated from protobuf field: string iss = 5
|
|
346
|
+
*/
|
|
347
|
+
iss: string;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Who may write a connection.
|
|
351
|
+
*
|
|
352
|
+
* @generated from protobuf enum sid.v1.federation.EntryConnectionOwner
|
|
353
|
+
*/
|
|
354
|
+
export declare enum EntryConnectionOwner {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from protobuf enum value: ENTRY_CONNECTION_OWNER_UNSPECIFIED = 0;
|
|
357
|
+
*/
|
|
358
|
+
UNSPECIFIED = 0,
|
|
359
|
+
/**
|
|
360
|
+
* Set by the installation's provisioning. Read-only to administrators.
|
|
361
|
+
*
|
|
362
|
+
* @generated from protobuf enum value: ENTRY_CONNECTION_OWNER_PROVISIONING = 1;
|
|
363
|
+
*/
|
|
364
|
+
PROVISIONING = 1,
|
|
365
|
+
/**
|
|
366
|
+
* Managed by the installation's administrators.
|
|
367
|
+
*
|
|
368
|
+
* @generated from protobuf enum value: ENTRY_CONNECTION_OWNER_ADMINISTRATION = 2;
|
|
369
|
+
*/
|
|
370
|
+
ADMINISTRATION = 2
|
|
371
|
+
}
|
|
372
|
+
declare class EntryConnection$Type extends MessageType<EntryConnection> {
|
|
373
|
+
constructor();
|
|
374
|
+
create(value?: PartialMessage<EntryConnection>): EntryConnection;
|
|
375
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EntryConnection): EntryConnection;
|
|
376
|
+
internalBinaryWrite(message: EntryConnection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* @generated MessageType for protobuf message sid.v1.federation.EntryConnection
|
|
380
|
+
*/
|
|
381
|
+
export declare const EntryConnection: EntryConnection$Type;
|
|
382
|
+
declare class ListEntryConnectionsRequest$Type extends MessageType<ListEntryConnectionsRequest> {
|
|
383
|
+
constructor();
|
|
384
|
+
create(value?: PartialMessage<ListEntryConnectionsRequest>): ListEntryConnectionsRequest;
|
|
385
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListEntryConnectionsRequest): ListEntryConnectionsRequest;
|
|
386
|
+
internalBinaryWrite(message: ListEntryConnectionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @generated MessageType for protobuf message sid.v1.federation.ListEntryConnectionsRequest
|
|
390
|
+
*/
|
|
391
|
+
export declare const ListEntryConnectionsRequest: ListEntryConnectionsRequest$Type;
|
|
392
|
+
declare class ListEntryConnectionsResponse$Type extends MessageType<ListEntryConnectionsResponse> {
|
|
393
|
+
constructor();
|
|
394
|
+
create(value?: PartialMessage<ListEntryConnectionsResponse>): ListEntryConnectionsResponse;
|
|
395
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListEntryConnectionsResponse): ListEntryConnectionsResponse;
|
|
396
|
+
internalBinaryWrite(message: ListEntryConnectionsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* @generated MessageType for protobuf message sid.v1.federation.ListEntryConnectionsResponse
|
|
400
|
+
*/
|
|
401
|
+
export declare const ListEntryConnectionsResponse: ListEntryConnectionsResponse$Type;
|
|
402
|
+
declare class CreateEntryConnectionRequest$Type extends MessageType<CreateEntryConnectionRequest> {
|
|
403
|
+
constructor();
|
|
404
|
+
create(value?: PartialMessage<CreateEntryConnectionRequest>): CreateEntryConnectionRequest;
|
|
405
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateEntryConnectionRequest): CreateEntryConnectionRequest;
|
|
406
|
+
internalBinaryWrite(message: CreateEntryConnectionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @generated MessageType for protobuf message sid.v1.federation.CreateEntryConnectionRequest
|
|
410
|
+
*/
|
|
411
|
+
export declare const CreateEntryConnectionRequest: CreateEntryConnectionRequest$Type;
|
|
412
|
+
declare class UpdateEntryConnectionRequest$Type extends MessageType<UpdateEntryConnectionRequest> {
|
|
413
|
+
constructor();
|
|
414
|
+
create(value?: PartialMessage<UpdateEntryConnectionRequest>): UpdateEntryConnectionRequest;
|
|
415
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateEntryConnectionRequest): UpdateEntryConnectionRequest;
|
|
416
|
+
internalBinaryWrite(message: UpdateEntryConnectionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* @generated MessageType for protobuf message sid.v1.federation.UpdateEntryConnectionRequest
|
|
420
|
+
*/
|
|
421
|
+
export declare const UpdateEntryConnectionRequest: UpdateEntryConnectionRequest$Type;
|
|
422
|
+
declare class RemoveEntryConnectionRequest$Type extends MessageType<RemoveEntryConnectionRequest> {
|
|
423
|
+
constructor();
|
|
424
|
+
create(value?: PartialMessage<RemoveEntryConnectionRequest>): RemoveEntryConnectionRequest;
|
|
425
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveEntryConnectionRequest): RemoveEntryConnectionRequest;
|
|
426
|
+
internalBinaryWrite(message: RemoveEntryConnectionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* @generated MessageType for protobuf message sid.v1.federation.RemoveEntryConnectionRequest
|
|
430
|
+
*/
|
|
431
|
+
export declare const RemoveEntryConnectionRequest: RemoveEntryConnectionRequest$Type;
|
|
432
|
+
declare class ListSignInConnectionsRequest$Type extends MessageType<ListSignInConnectionsRequest> {
|
|
433
|
+
constructor();
|
|
434
|
+
create(value?: PartialMessage<ListSignInConnectionsRequest>): ListSignInConnectionsRequest;
|
|
435
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListSignInConnectionsRequest): ListSignInConnectionsRequest;
|
|
436
|
+
internalBinaryWrite(message: ListSignInConnectionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* @generated MessageType for protobuf message sid.v1.federation.ListSignInConnectionsRequest
|
|
440
|
+
*/
|
|
441
|
+
export declare const ListSignInConnectionsRequest: ListSignInConnectionsRequest$Type;
|
|
442
|
+
declare class SignInConnection$Type extends MessageType<SignInConnection> {
|
|
443
|
+
constructor();
|
|
444
|
+
create(value?: PartialMessage<SignInConnection>): SignInConnection;
|
|
445
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SignInConnection): SignInConnection;
|
|
446
|
+
internalBinaryWrite(message: SignInConnection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* @generated MessageType for protobuf message sid.v1.federation.SignInConnection
|
|
450
|
+
*/
|
|
451
|
+
export declare const SignInConnection: SignInConnection$Type;
|
|
452
|
+
declare class ListSignInConnectionsResponse$Type extends MessageType<ListSignInConnectionsResponse> {
|
|
453
|
+
constructor();
|
|
454
|
+
create(value?: PartialMessage<ListSignInConnectionsResponse>): ListSignInConnectionsResponse;
|
|
455
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListSignInConnectionsResponse): ListSignInConnectionsResponse;
|
|
456
|
+
internalBinaryWrite(message: ListSignInConnectionsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* @generated MessageType for protobuf message sid.v1.federation.ListSignInConnectionsResponse
|
|
460
|
+
*/
|
|
461
|
+
export declare const ListSignInConnectionsResponse: ListSignInConnectionsResponse$Type;
|
|
462
|
+
declare class StartFederatedEntryRequest$Type extends MessageType<StartFederatedEntryRequest> {
|
|
463
|
+
constructor();
|
|
464
|
+
create(value?: PartialMessage<StartFederatedEntryRequest>): StartFederatedEntryRequest;
|
|
465
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartFederatedEntryRequest): StartFederatedEntryRequest;
|
|
466
|
+
internalBinaryWrite(message: StartFederatedEntryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* @generated MessageType for protobuf message sid.v1.federation.StartFederatedEntryRequest
|
|
470
|
+
*/
|
|
471
|
+
export declare const StartFederatedEntryRequest: StartFederatedEntryRequest$Type;
|
|
472
|
+
declare class CompleteFederatedEntryRequest$Type extends MessageType<CompleteFederatedEntryRequest> {
|
|
473
|
+
constructor();
|
|
474
|
+
create(value?: PartialMessage<CompleteFederatedEntryRequest>): CompleteFederatedEntryRequest;
|
|
475
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CompleteFederatedEntryRequest): CompleteFederatedEntryRequest;
|
|
476
|
+
internalBinaryWrite(message: CompleteFederatedEntryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* @generated MessageType for protobuf message sid.v1.federation.CompleteFederatedEntryRequest
|
|
480
|
+
*/
|
|
481
|
+
export declare const CompleteFederatedEntryRequest: CompleteFederatedEntryRequest$Type;
|
|
482
|
+
/**
|
|
483
|
+
* @generated ServiceType for protobuf service sid.v1.federation.EntryConnectionService
|
|
484
|
+
*/
|
|
485
|
+
export declare const EntryConnectionService: ServiceType;
|
|
486
|
+
/**
|
|
487
|
+
* @generated ServiceType for protobuf service sid.v1.federation.FederatedEntryService
|
|
488
|
+
*/
|
|
489
|
+
export declare const FederatedEntryService: ServiceType;
|
|
490
|
+
export {};
|