scalekit-sdk-python 1.0.0__py3-none-any.whl

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.
Files changed (77) hide show
  1. buf/__init__.py +0 -0
  2. buf/validate/__init__.py +0 -0
  3. buf/validate/expression_pb2.py +31 -0
  4. buf/validate/expression_pb2.pyi +34 -0
  5. buf/validate/expression_pb2_grpc.py +4 -0
  6. buf/validate/priv/__init__.py +0 -0
  7. buf/validate/priv/private_pb2.py +30 -0
  8. buf/validate/priv/private_pb2.pyi +25 -0
  9. buf/validate/priv/private_pb2_grpc.py +4 -0
  10. buf/validate/validate_pb2.py +402 -0
  11. buf/validate/validate_pb2.pyi +503 -0
  12. buf/validate/validate_pb2_grpc.py +4 -0
  13. scalekit/__init__.py +4 -0
  14. scalekit/client.py +143 -0
  15. scalekit/common/__init__.py +0 -0
  16. scalekit/common/scalekit.py +49 -0
  17. scalekit/common/user.py +75 -0
  18. scalekit/connection.py +103 -0
  19. scalekit/constants/__init__.py +0 -0
  20. scalekit/constants/user.py +21 -0
  21. scalekit/core.py +169 -0
  22. scalekit/domain.py +73 -0
  23. scalekit/organization.py +181 -0
  24. scalekit/v1/__init__.py +0 -0
  25. scalekit/v1/clients/__init__.py +0 -0
  26. scalekit/v1/clients/clients_pb2.py +103 -0
  27. scalekit/v1/clients/clients_pb2.pyi +156 -0
  28. scalekit/v1/clients/clients_pb2_grpc.py +232 -0
  29. scalekit/v1/commons/__init__.py +0 -0
  30. scalekit/v1/commons/commons_pb2.py +36 -0
  31. scalekit/v1/commons/commons_pb2.pyi +30 -0
  32. scalekit/v1/commons/commons_pb2_grpc.py +4 -0
  33. scalekit/v1/connections/__init__.py +0 -0
  34. scalekit/v1/connections/connections_pb2.py +355 -0
  35. scalekit/v1/connections/connections_pb2.pyi +526 -0
  36. scalekit/v1/connections/connections_pb2_grpc.py +265 -0
  37. scalekit/v1/domains/__init__.py +0 -0
  38. scalekit/v1/domains/domains_pb2.py +92 -0
  39. scalekit/v1/domains/domains_pb2.pyi +153 -0
  40. scalekit/v1/domains/domains_pb2_grpc.py +199 -0
  41. scalekit/v1/environments/__init__.py +0 -0
  42. scalekit/v1/environments/environments_pb2.py +171 -0
  43. scalekit/v1/environments/environments_pb2.pyi +241 -0
  44. scalekit/v1/environments/environments_pb2_grpc.py +463 -0
  45. scalekit/v1/errdetails/__init__.py +0 -0
  46. scalekit/v1/errdetails/errdetails_pb2.py +44 -0
  47. scalekit/v1/errdetails/errdetails_pb2.pyi +89 -0
  48. scalekit/v1/errdetails/errdetails_pb2_grpc.py +4 -0
  49. scalekit/v1/events/__init__.py +0 -0
  50. scalekit/v1/events/events_pb2.py +39 -0
  51. scalekit/v1/events/events_pb2.pyi +62 -0
  52. scalekit/v1/events/events_pb2_grpc.py +4 -0
  53. scalekit/v1/members/__init__.py +0 -0
  54. scalekit/v1/members/members_pb2.py +105 -0
  55. scalekit/v1/members/members_pb2.pyi +142 -0
  56. scalekit/v1/members/members_pb2_grpc.py +271 -0
  57. scalekit/v1/options/__init__.py +0 -0
  58. scalekit/v1/options/options_pb2.py +30 -0
  59. scalekit/v1/options/options_pb2.pyi +44 -0
  60. scalekit/v1/options/options_pb2_grpc.py +4 -0
  61. scalekit/v1/organizations/__init__.py +0 -0
  62. scalekit/v1/organizations/organizations_pb2.py +168 -0
  63. scalekit/v1/organizations/organizations_pb2.pyi +190 -0
  64. scalekit/v1/organizations/organizations_pb2_grpc.py +301 -0
  65. scalekit/v1/users/__init__.py +0 -0
  66. scalekit/v1/users/users_pb2.py +97 -0
  67. scalekit/v1/users/users_pb2.pyi +136 -0
  68. scalekit/v1/users/users_pb2_grpc.py +199 -0
  69. scalekit/v1/workspaces/__init__.py +0 -0
  70. scalekit/v1/workspaces/workspaces_pb2.py +90 -0
  71. scalekit/v1/workspaces/workspaces_pb2.pyi +102 -0
  72. scalekit/v1/workspaces/workspaces_pb2_grpc.py +198 -0
  73. scalekit_sdk_python-1.0.0.dist-info/LICENSE +21 -0
  74. scalekit_sdk_python-1.0.0.dist-info/METADATA +67 -0
  75. scalekit_sdk_python-1.0.0.dist-info/RECORD +77 -0
  76. scalekit_sdk_python-1.0.0.dist-info/WHEEL +5 -0
  77. scalekit_sdk_python-1.0.0.dist-info/top_level.txt +2 -0
@@ -0,0 +1,526 @@
1
+ from buf.validate import validate_pb2 as _validate_pb2
2
+ from google.api import annotations_pb2 as _annotations_pb2
3
+ from google.api import field_behavior_pb2 as _field_behavior_pb2
4
+ from google.api import visibility_pb2 as _visibility_pb2
5
+ from google.protobuf import empty_pb2 as _empty_pb2
6
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
7
+ from google.protobuf import wrappers_pb2 as _wrappers_pb2
8
+ from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1
9
+ from scalekit.v1.commons import commons_pb2 as _commons_pb2
10
+ from scalekit.v1.options import options_pb2 as _options_pb2
11
+ from google.protobuf.internal import containers as _containers
12
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
13
+ from google.protobuf import descriptor as _descriptor
14
+ from google.protobuf import message as _message
15
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
16
+
17
+ DESCRIPTOR: _descriptor.FileDescriptor
18
+
19
+ class ConfigurationType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
20
+ __slots__ = ()
21
+ CONFIGURATION_TYPE_UNSPECIFIED: _ClassVar[ConfigurationType]
22
+ DISCOVERY: _ClassVar[ConfigurationType]
23
+ MANUAL: _ClassVar[ConfigurationType]
24
+
25
+ class NameIdFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
26
+ __slots__ = ()
27
+ NAME_ID_FORMAT_NIL: _ClassVar[NameIdFormat]
28
+ UNSPECIFIED: _ClassVar[NameIdFormat]
29
+ EMAIL: _ClassVar[NameIdFormat]
30
+ TRANSIENT: _ClassVar[NameIdFormat]
31
+ PERSISTENT: _ClassVar[NameIdFormat]
32
+
33
+ class SAMLSigningOptions(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
34
+ __slots__ = ()
35
+ SAML_SIGNING_OPTIONS_UNSPECIFIED: _ClassVar[SAMLSigningOptions]
36
+ NO_SIGNING: _ClassVar[SAMLSigningOptions]
37
+ SAML_ONLY_RESPONSE_SIGNING: _ClassVar[SAMLSigningOptions]
38
+ SAML_ONLY_ASSERTION_SIGNING: _ClassVar[SAMLSigningOptions]
39
+ SAML_RESPONSE_ASSERTION_SIGNING: _ClassVar[SAMLSigningOptions]
40
+
41
+ class RequestBinding(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
42
+ __slots__ = ()
43
+ REQUEST_BINDING_UNSPECIFIED: _ClassVar[RequestBinding]
44
+ HTTP_POST: _ClassVar[RequestBinding]
45
+ HTTP_REDIRECT: _ClassVar[RequestBinding]
46
+
47
+ class TokenAuthType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
48
+ __slots__ = ()
49
+ TOKEN_AUTH_TYPE_UNSPECIFIED: _ClassVar[TokenAuthType]
50
+ URL_PARAMS: _ClassVar[TokenAuthType]
51
+ BASIC_AUTH: _ClassVar[TokenAuthType]
52
+
53
+ class OIDCScope(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
54
+ __slots__ = ()
55
+ OIDC_SCOPE_UNSPECIFIED: _ClassVar[OIDCScope]
56
+ openid: _ClassVar[OIDCScope]
57
+ profile: _ClassVar[OIDCScope]
58
+ email: _ClassVar[OIDCScope]
59
+ address: _ClassVar[OIDCScope]
60
+ phone: _ClassVar[OIDCScope]
61
+
62
+ class ConnectionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
63
+ __slots__ = ()
64
+ INVALID: _ClassVar[ConnectionType]
65
+ OIDC: _ClassVar[ConnectionType]
66
+ SAML: _ClassVar[ConnectionType]
67
+ PASSWORD: _ClassVar[ConnectionType]
68
+
69
+ class ConnectionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
70
+ __slots__ = ()
71
+ CONNECTION_STATUS_UNSPECIFIED: _ClassVar[ConnectionStatus]
72
+ DRAFT: _ClassVar[ConnectionStatus]
73
+ IN_PROGRESS: _ClassVar[ConnectionStatus]
74
+ COMPLETED: _ClassVar[ConnectionStatus]
75
+
76
+ class ConnectionProvider(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
77
+ __slots__ = ()
78
+ CONNECTION_PROVIDER_UNSPECIFIED: _ClassVar[ConnectionProvider]
79
+ OKTA: _ClassVar[ConnectionProvider]
80
+ GOOGLE: _ClassVar[ConnectionProvider]
81
+ MICROSOFT_AD: _ClassVar[ConnectionProvider]
82
+ AUTH0: _ClassVar[ConnectionProvider]
83
+ ONELOGIN: _ClassVar[ConnectionProvider]
84
+ PING_IDENTITY: _ClassVar[ConnectionProvider]
85
+ JUMPCLOUD: _ClassVar[ConnectionProvider]
86
+ CUSTOM: _ClassVar[ConnectionProvider]
87
+ CONFIGURATION_TYPE_UNSPECIFIED: ConfigurationType
88
+ DISCOVERY: ConfigurationType
89
+ MANUAL: ConfigurationType
90
+ NAME_ID_FORMAT_NIL: NameIdFormat
91
+ UNSPECIFIED: NameIdFormat
92
+ EMAIL: NameIdFormat
93
+ TRANSIENT: NameIdFormat
94
+ PERSISTENT: NameIdFormat
95
+ SAML_SIGNING_OPTIONS_UNSPECIFIED: SAMLSigningOptions
96
+ NO_SIGNING: SAMLSigningOptions
97
+ SAML_ONLY_RESPONSE_SIGNING: SAMLSigningOptions
98
+ SAML_ONLY_ASSERTION_SIGNING: SAMLSigningOptions
99
+ SAML_RESPONSE_ASSERTION_SIGNING: SAMLSigningOptions
100
+ REQUEST_BINDING_UNSPECIFIED: RequestBinding
101
+ HTTP_POST: RequestBinding
102
+ HTTP_REDIRECT: RequestBinding
103
+ TOKEN_AUTH_TYPE_UNSPECIFIED: TokenAuthType
104
+ URL_PARAMS: TokenAuthType
105
+ BASIC_AUTH: TokenAuthType
106
+ OIDC_SCOPE_UNSPECIFIED: OIDCScope
107
+ openid: OIDCScope
108
+ profile: OIDCScope
109
+ email: OIDCScope
110
+ address: OIDCScope
111
+ phone: OIDCScope
112
+ INVALID: ConnectionType
113
+ OIDC: ConnectionType
114
+ SAML: ConnectionType
115
+ PASSWORD: ConnectionType
116
+ CONNECTION_STATUS_UNSPECIFIED: ConnectionStatus
117
+ DRAFT: ConnectionStatus
118
+ IN_PROGRESS: ConnectionStatus
119
+ COMPLETED: ConnectionStatus
120
+ CONNECTION_PROVIDER_UNSPECIFIED: ConnectionProvider
121
+ OKTA: ConnectionProvider
122
+ GOOGLE: ConnectionProvider
123
+ MICROSOFT_AD: ConnectionProvider
124
+ AUTH0: ConnectionProvider
125
+ ONELOGIN: ConnectionProvider
126
+ PING_IDENTITY: ConnectionProvider
127
+ JUMPCLOUD: ConnectionProvider
128
+ CUSTOM: ConnectionProvider
129
+
130
+ class CreateConnectionRequest(_message.Message):
131
+ __slots__ = ("organization_id", "external_id", "connection")
132
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
133
+ EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
134
+ CONNECTION_FIELD_NUMBER: _ClassVar[int]
135
+ organization_id: str
136
+ external_id: str
137
+ connection: CreateConnection
138
+ def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., connection: _Optional[_Union[CreateConnection, _Mapping]] = ...) -> None: ...
139
+
140
+ class CreateConnection(_message.Message):
141
+ __slots__ = ("provider", "type")
142
+ PROVIDER_FIELD_NUMBER: _ClassVar[int]
143
+ TYPE_FIELD_NUMBER: _ClassVar[int]
144
+ provider: ConnectionProvider
145
+ type: ConnectionType
146
+ def __init__(self, provider: _Optional[_Union[ConnectionProvider, str]] = ..., type: _Optional[_Union[ConnectionType, str]] = ...) -> None: ...
147
+
148
+ class Connection(_message.Message):
149
+ __slots__ = ("id", "provider", "type", "status", "enabled", "debug_enabled", "organization_id", "ui_button_title", "login_initiation_uri", "logout_uri", "configuration_type", "test_connection_uri", "oidc_config", "saml_config", "attribute_mapping", "create_time", "update_time")
150
+ class AttributeMappingEntry(_message.Message):
151
+ __slots__ = ("key", "value")
152
+ KEY_FIELD_NUMBER: _ClassVar[int]
153
+ VALUE_FIELD_NUMBER: _ClassVar[int]
154
+ key: str
155
+ value: str
156
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
157
+ ID_FIELD_NUMBER: _ClassVar[int]
158
+ PROVIDER_FIELD_NUMBER: _ClassVar[int]
159
+ TYPE_FIELD_NUMBER: _ClassVar[int]
160
+ STATUS_FIELD_NUMBER: _ClassVar[int]
161
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
162
+ DEBUG_ENABLED_FIELD_NUMBER: _ClassVar[int]
163
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
164
+ UI_BUTTON_TITLE_FIELD_NUMBER: _ClassVar[int]
165
+ LOGIN_INITIATION_URI_FIELD_NUMBER: _ClassVar[int]
166
+ LOGOUT_URI_FIELD_NUMBER: _ClassVar[int]
167
+ CONFIGURATION_TYPE_FIELD_NUMBER: _ClassVar[int]
168
+ TEST_CONNECTION_URI_FIELD_NUMBER: _ClassVar[int]
169
+ OIDC_CONFIG_FIELD_NUMBER: _ClassVar[int]
170
+ SAML_CONFIG_FIELD_NUMBER: _ClassVar[int]
171
+ ATTRIBUTE_MAPPING_FIELD_NUMBER: _ClassVar[int]
172
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
173
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
174
+ id: str
175
+ provider: ConnectionProvider
176
+ type: ConnectionType
177
+ status: ConnectionStatus
178
+ enabled: bool
179
+ debug_enabled: bool
180
+ organization_id: str
181
+ ui_button_title: str
182
+ login_initiation_uri: str
183
+ logout_uri: str
184
+ configuration_type: ConfigurationType
185
+ test_connection_uri: str
186
+ oidc_config: OIDCConnectionConfig
187
+ saml_config: SAMLConnectionConfigResponse
188
+ attribute_mapping: _containers.ScalarMap[str, str]
189
+ create_time: _timestamp_pb2.Timestamp
190
+ update_time: _timestamp_pb2.Timestamp
191
+ def __init__(self, id: _Optional[str] = ..., provider: _Optional[_Union[ConnectionProvider, str]] = ..., type: _Optional[_Union[ConnectionType, str]] = ..., status: _Optional[_Union[ConnectionStatus, str]] = ..., enabled: bool = ..., debug_enabled: bool = ..., organization_id: _Optional[str] = ..., ui_button_title: _Optional[str] = ..., login_initiation_uri: _Optional[str] = ..., logout_uri: _Optional[str] = ..., configuration_type: _Optional[_Union[ConfigurationType, str]] = ..., test_connection_uri: _Optional[str] = ..., oidc_config: _Optional[_Union[OIDCConnectionConfig, _Mapping]] = ..., saml_config: _Optional[_Union[SAMLConnectionConfigResponse, _Mapping]] = ..., attribute_mapping: _Optional[_Mapping[str, str]] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
192
+
193
+ class CreateConnectionResponse(_message.Message):
194
+ __slots__ = ("connection",)
195
+ CONNECTION_FIELD_NUMBER: _ClassVar[int]
196
+ connection: Connection
197
+ def __init__(self, connection: _Optional[_Union[Connection, _Mapping]] = ...) -> None: ...
198
+
199
+ class UpdateConnectionRequest(_message.Message):
200
+ __slots__ = ("organization_id", "external_id", "id", "connection")
201
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
202
+ EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
203
+ ID_FIELD_NUMBER: _ClassVar[int]
204
+ CONNECTION_FIELD_NUMBER: _ClassVar[int]
205
+ organization_id: str
206
+ external_id: str
207
+ id: str
208
+ connection: UpdateConnection
209
+ def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., id: _Optional[str] = ..., connection: _Optional[_Union[UpdateConnection, _Mapping]] = ...) -> None: ...
210
+
211
+ class UpdateConnection(_message.Message):
212
+ __slots__ = ("provider", "type", "debug_enabled", "ui_button_title", "logout_uri", "configuration_type", "oidc_config", "saml_config", "attribute_mapping")
213
+ class AttributeMappingEntry(_message.Message):
214
+ __slots__ = ("key", "value")
215
+ KEY_FIELD_NUMBER: _ClassVar[int]
216
+ VALUE_FIELD_NUMBER: _ClassVar[int]
217
+ key: str
218
+ value: str
219
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
220
+ PROVIDER_FIELD_NUMBER: _ClassVar[int]
221
+ TYPE_FIELD_NUMBER: _ClassVar[int]
222
+ DEBUG_ENABLED_FIELD_NUMBER: _ClassVar[int]
223
+ UI_BUTTON_TITLE_FIELD_NUMBER: _ClassVar[int]
224
+ LOGOUT_URI_FIELD_NUMBER: _ClassVar[int]
225
+ CONFIGURATION_TYPE_FIELD_NUMBER: _ClassVar[int]
226
+ OIDC_CONFIG_FIELD_NUMBER: _ClassVar[int]
227
+ SAML_CONFIG_FIELD_NUMBER: _ClassVar[int]
228
+ ATTRIBUTE_MAPPING_FIELD_NUMBER: _ClassVar[int]
229
+ provider: ConnectionProvider
230
+ type: ConnectionType
231
+ debug_enabled: _wrappers_pb2.BoolValue
232
+ ui_button_title: _wrappers_pb2.StringValue
233
+ logout_uri: _wrappers_pb2.StringValue
234
+ configuration_type: ConfigurationType
235
+ oidc_config: OIDCConnectionConfig
236
+ saml_config: SAMLConnectionConfigRequest
237
+ attribute_mapping: _containers.ScalarMap[str, str]
238
+ def __init__(self, provider: _Optional[_Union[ConnectionProvider, str]] = ..., type: _Optional[_Union[ConnectionType, str]] = ..., debug_enabled: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., ui_button_title: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., logout_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., configuration_type: _Optional[_Union[ConfigurationType, str]] = ..., oidc_config: _Optional[_Union[OIDCConnectionConfig, _Mapping]] = ..., saml_config: _Optional[_Union[SAMLConnectionConfigRequest, _Mapping]] = ..., attribute_mapping: _Optional[_Mapping[str, str]] = ...) -> None: ...
239
+
240
+ class UpdateConnectionResponse(_message.Message):
241
+ __slots__ = ("connection",)
242
+ CONNECTION_FIELD_NUMBER: _ClassVar[int]
243
+ connection: Connection
244
+ def __init__(self, connection: _Optional[_Union[Connection, _Mapping]] = ...) -> None: ...
245
+
246
+ class DeleteConnectionRequest(_message.Message):
247
+ __slots__ = ("organization_id", "external_id", "id")
248
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
249
+ EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
250
+ ID_FIELD_NUMBER: _ClassVar[int]
251
+ organization_id: str
252
+ external_id: str
253
+ id: str
254
+ def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., id: _Optional[str] = ...) -> None: ...
255
+
256
+ class GetConnectionRequest(_message.Message):
257
+ __slots__ = ("organization_id", "external_id", "id")
258
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
259
+ EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
260
+ ID_FIELD_NUMBER: _ClassVar[int]
261
+ organization_id: str
262
+ external_id: str
263
+ id: str
264
+ def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., id: _Optional[str] = ...) -> None: ...
265
+
266
+ class GetConnectionResponse(_message.Message):
267
+ __slots__ = ("connection",)
268
+ CONNECTION_FIELD_NUMBER: _ClassVar[int]
269
+ connection: Connection
270
+ def __init__(self, connection: _Optional[_Union[Connection, _Mapping]] = ...) -> None: ...
271
+
272
+ class ListConnectionsRequest(_message.Message):
273
+ __slots__ = ("organization_id", "external_id", "domain", "include")
274
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
275
+ EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
276
+ DOMAIN_FIELD_NUMBER: _ClassVar[int]
277
+ INCLUDE_FIELD_NUMBER: _ClassVar[int]
278
+ organization_id: str
279
+ external_id: str
280
+ domain: str
281
+ include: str
282
+ def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., domain: _Optional[str] = ..., include: _Optional[str] = ...) -> None: ...
283
+
284
+ class ListConnectionsResponse(_message.Message):
285
+ __slots__ = ("connections",)
286
+ CONNECTIONS_FIELD_NUMBER: _ClassVar[int]
287
+ connections: _containers.RepeatedCompositeFieldContainer[ListConnection]
288
+ def __init__(self, connections: _Optional[_Iterable[_Union[ListConnection, _Mapping]]] = ...) -> None: ...
289
+
290
+ class ListConnection(_message.Message):
291
+ __slots__ = ("id", "provider", "type", "status", "enabled", "organization_id", "ui_button_title")
292
+ ID_FIELD_NUMBER: _ClassVar[int]
293
+ PROVIDER_FIELD_NUMBER: _ClassVar[int]
294
+ TYPE_FIELD_NUMBER: _ClassVar[int]
295
+ STATUS_FIELD_NUMBER: _ClassVar[int]
296
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
297
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
298
+ UI_BUTTON_TITLE_FIELD_NUMBER: _ClassVar[int]
299
+ id: str
300
+ provider: ConnectionProvider
301
+ type: ConnectionType
302
+ status: ConnectionStatus
303
+ enabled: bool
304
+ organization_id: str
305
+ ui_button_title: str
306
+ def __init__(self, id: _Optional[str] = ..., provider: _Optional[_Union[ConnectionProvider, str]] = ..., type: _Optional[_Union[ConnectionType, str]] = ..., status: _Optional[_Union[ConnectionStatus, str]] = ..., enabled: bool = ..., organization_id: _Optional[str] = ..., ui_button_title: _Optional[str] = ...) -> None: ...
307
+
308
+ class ToggleConnectionRequest(_message.Message):
309
+ __slots__ = ("organization_id", "external_id", "id")
310
+ ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
311
+ EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
312
+ ID_FIELD_NUMBER: _ClassVar[int]
313
+ organization_id: str
314
+ external_id: str
315
+ id: str
316
+ def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., id: _Optional[str] = ...) -> None: ...
317
+
318
+ class ToggleConnectionResponse(_message.Message):
319
+ __slots__ = ("enabled", "error_message")
320
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
321
+ ERROR_MESSAGE_FIELD_NUMBER: _ClassVar[int]
322
+ enabled: bool
323
+ error_message: str
324
+ def __init__(self, enabled: bool = ..., error_message: _Optional[str] = ...) -> None: ...
325
+
326
+ class OIDCConnectionConfig(_message.Message):
327
+ __slots__ = ("issuer", "discovery_endpoint", "authorize_uri", "token_uri", "user_info_uri", "jwks_uri", "client_id", "client_secret", "scopes", "token_auth_type", "redirect_uri", "pkce_enabled")
328
+ ISSUER_FIELD_NUMBER: _ClassVar[int]
329
+ DISCOVERY_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
330
+ AUTHORIZE_URI_FIELD_NUMBER: _ClassVar[int]
331
+ TOKEN_URI_FIELD_NUMBER: _ClassVar[int]
332
+ USER_INFO_URI_FIELD_NUMBER: _ClassVar[int]
333
+ JWKS_URI_FIELD_NUMBER: _ClassVar[int]
334
+ CLIENT_ID_FIELD_NUMBER: _ClassVar[int]
335
+ CLIENT_SECRET_FIELD_NUMBER: _ClassVar[int]
336
+ SCOPES_FIELD_NUMBER: _ClassVar[int]
337
+ TOKEN_AUTH_TYPE_FIELD_NUMBER: _ClassVar[int]
338
+ REDIRECT_URI_FIELD_NUMBER: _ClassVar[int]
339
+ PKCE_ENABLED_FIELD_NUMBER: _ClassVar[int]
340
+ issuer: _wrappers_pb2.StringValue
341
+ discovery_endpoint: _wrappers_pb2.StringValue
342
+ authorize_uri: _wrappers_pb2.StringValue
343
+ token_uri: _wrappers_pb2.StringValue
344
+ user_info_uri: _wrappers_pb2.StringValue
345
+ jwks_uri: _wrappers_pb2.StringValue
346
+ client_id: _wrappers_pb2.StringValue
347
+ client_secret: _wrappers_pb2.StringValue
348
+ scopes: _containers.RepeatedScalarFieldContainer[OIDCScope]
349
+ token_auth_type: TokenAuthType
350
+ redirect_uri: str
351
+ pkce_enabled: _wrappers_pb2.BoolValue
352
+ def __init__(self, issuer: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., discovery_endpoint: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., authorize_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., token_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., user_info_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., jwks_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., client_id: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., client_secret: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., scopes: _Optional[_Iterable[_Union[OIDCScope, str]]] = ..., token_auth_type: _Optional[_Union[TokenAuthType, str]] = ..., redirect_uri: _Optional[str] = ..., pkce_enabled: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ...) -> None: ...
353
+
354
+ class SAMLConnectionConfigRequest(_message.Message):
355
+ __slots__ = ("idp_metadata_url", "idp_entity_id", "idp_sso_url", "idp_certificate", "idp_slo_url", "ui_button_title", "idp_name_id_format", "idp_sso_request_binding", "idp_slo_request_binding", "saml_signing_option", "allow_idp_initiated_login", "force_authn", "default_redirect_uri", "assertion_encrypted", "want_request_signed")
356
+ IDP_METADATA_URL_FIELD_NUMBER: _ClassVar[int]
357
+ IDP_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
358
+ IDP_SSO_URL_FIELD_NUMBER: _ClassVar[int]
359
+ IDP_CERTIFICATE_FIELD_NUMBER: _ClassVar[int]
360
+ IDP_SLO_URL_FIELD_NUMBER: _ClassVar[int]
361
+ UI_BUTTON_TITLE_FIELD_NUMBER: _ClassVar[int]
362
+ IDP_NAME_ID_FORMAT_FIELD_NUMBER: _ClassVar[int]
363
+ IDP_SSO_REQUEST_BINDING_FIELD_NUMBER: _ClassVar[int]
364
+ IDP_SLO_REQUEST_BINDING_FIELD_NUMBER: _ClassVar[int]
365
+ SAML_SIGNING_OPTION_FIELD_NUMBER: _ClassVar[int]
366
+ ALLOW_IDP_INITIATED_LOGIN_FIELD_NUMBER: _ClassVar[int]
367
+ FORCE_AUTHN_FIELD_NUMBER: _ClassVar[int]
368
+ DEFAULT_REDIRECT_URI_FIELD_NUMBER: _ClassVar[int]
369
+ ASSERTION_ENCRYPTED_FIELD_NUMBER: _ClassVar[int]
370
+ WANT_REQUEST_SIGNED_FIELD_NUMBER: _ClassVar[int]
371
+ idp_metadata_url: _wrappers_pb2.StringValue
372
+ idp_entity_id: _wrappers_pb2.StringValue
373
+ idp_sso_url: _wrappers_pb2.StringValue
374
+ idp_certificate: _wrappers_pb2.StringValue
375
+ idp_slo_url: _wrappers_pb2.StringValue
376
+ ui_button_title: _wrappers_pb2.StringValue
377
+ idp_name_id_format: NameIdFormat
378
+ idp_sso_request_binding: RequestBinding
379
+ idp_slo_request_binding: RequestBinding
380
+ saml_signing_option: SAMLSigningOptions
381
+ allow_idp_initiated_login: _wrappers_pb2.BoolValue
382
+ force_authn: _wrappers_pb2.BoolValue
383
+ default_redirect_uri: _wrappers_pb2.StringValue
384
+ assertion_encrypted: _wrappers_pb2.BoolValue
385
+ want_request_signed: _wrappers_pb2.BoolValue
386
+ def __init__(self, idp_metadata_url: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_entity_id: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_sso_url: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_certificate: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_slo_url: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., ui_button_title: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_name_id_format: _Optional[_Union[NameIdFormat, str]] = ..., idp_sso_request_binding: _Optional[_Union[RequestBinding, str]] = ..., idp_slo_request_binding: _Optional[_Union[RequestBinding, str]] = ..., saml_signing_option: _Optional[_Union[SAMLSigningOptions, str]] = ..., allow_idp_initiated_login: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., force_authn: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., default_redirect_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., assertion_encrypted: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., want_request_signed: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ...) -> None: ...
387
+
388
+ class SAMLConnectionConfigResponse(_message.Message):
389
+ __slots__ = ("sp_entity_id", "sp_assertion_url", "sp_metadata_url", "idp_metadata_url", "idp_entity_id", "idp_sso_url", "idp_certificates", "idp_slo_url", "ui_button_title", "idp_name_id_format", "idp_sso_request_binding", "idp_slo_request_binding", "saml_signing_option", "allow_idp_initiated_login", "force_authn", "default_redirect_uri", "assertion_encrypted", "want_request_signed")
390
+ SP_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
391
+ SP_ASSERTION_URL_FIELD_NUMBER: _ClassVar[int]
392
+ SP_METADATA_URL_FIELD_NUMBER: _ClassVar[int]
393
+ IDP_METADATA_URL_FIELD_NUMBER: _ClassVar[int]
394
+ IDP_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
395
+ IDP_SSO_URL_FIELD_NUMBER: _ClassVar[int]
396
+ IDP_CERTIFICATES_FIELD_NUMBER: _ClassVar[int]
397
+ IDP_SLO_URL_FIELD_NUMBER: _ClassVar[int]
398
+ UI_BUTTON_TITLE_FIELD_NUMBER: _ClassVar[int]
399
+ IDP_NAME_ID_FORMAT_FIELD_NUMBER: _ClassVar[int]
400
+ IDP_SSO_REQUEST_BINDING_FIELD_NUMBER: _ClassVar[int]
401
+ IDP_SLO_REQUEST_BINDING_FIELD_NUMBER: _ClassVar[int]
402
+ SAML_SIGNING_OPTION_FIELD_NUMBER: _ClassVar[int]
403
+ ALLOW_IDP_INITIATED_LOGIN_FIELD_NUMBER: _ClassVar[int]
404
+ FORCE_AUTHN_FIELD_NUMBER: _ClassVar[int]
405
+ DEFAULT_REDIRECT_URI_FIELD_NUMBER: _ClassVar[int]
406
+ ASSERTION_ENCRYPTED_FIELD_NUMBER: _ClassVar[int]
407
+ WANT_REQUEST_SIGNED_FIELD_NUMBER: _ClassVar[int]
408
+ sp_entity_id: str
409
+ sp_assertion_url: str
410
+ sp_metadata_url: str
411
+ idp_metadata_url: _wrappers_pb2.StringValue
412
+ idp_entity_id: _wrappers_pb2.StringValue
413
+ idp_sso_url: _wrappers_pb2.StringValue
414
+ idp_certificates: _containers.RepeatedCompositeFieldContainer[IDPCertificate]
415
+ idp_slo_url: _wrappers_pb2.StringValue
416
+ ui_button_title: _wrappers_pb2.StringValue
417
+ idp_name_id_format: NameIdFormat
418
+ idp_sso_request_binding: RequestBinding
419
+ idp_slo_request_binding: RequestBinding
420
+ saml_signing_option: SAMLSigningOptions
421
+ allow_idp_initiated_login: _wrappers_pb2.BoolValue
422
+ force_authn: _wrappers_pb2.BoolValue
423
+ default_redirect_uri: _wrappers_pb2.StringValue
424
+ assertion_encrypted: _wrappers_pb2.BoolValue
425
+ want_request_signed: _wrappers_pb2.BoolValue
426
+ def __init__(self, sp_entity_id: _Optional[str] = ..., sp_assertion_url: _Optional[str] = ..., sp_metadata_url: _Optional[str] = ..., idp_metadata_url: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_entity_id: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_sso_url: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_certificates: _Optional[_Iterable[_Union[IDPCertificate, _Mapping]]] = ..., idp_slo_url: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., ui_button_title: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., idp_name_id_format: _Optional[_Union[NameIdFormat, str]] = ..., idp_sso_request_binding: _Optional[_Union[RequestBinding, str]] = ..., idp_slo_request_binding: _Optional[_Union[RequestBinding, str]] = ..., saml_signing_option: _Optional[_Union[SAMLSigningOptions, str]] = ..., allow_idp_initiated_login: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., force_authn: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., default_redirect_uri: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ..., assertion_encrypted: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., want_request_signed: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ...) -> None: ...
427
+
428
+ class IDPCertificate(_message.Message):
429
+ __slots__ = ("certificate", "create_time", "expiry_time", "id", "issuer")
430
+ CERTIFICATE_FIELD_NUMBER: _ClassVar[int]
431
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
432
+ EXPIRY_TIME_FIELD_NUMBER: _ClassVar[int]
433
+ ID_FIELD_NUMBER: _ClassVar[int]
434
+ ISSUER_FIELD_NUMBER: _ClassVar[int]
435
+ certificate: str
436
+ create_time: _timestamp_pb2.Timestamp
437
+ expiry_time: _timestamp_pb2.Timestamp
438
+ id: str
439
+ issuer: str
440
+ def __init__(self, certificate: _Optional[str] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., expiry_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., id: _Optional[str] = ..., issuer: _Optional[str] = ...) -> None: ...
441
+
442
+ class GetOIDCMetadataRequest(_message.Message):
443
+ __slots__ = ("metadata",)
444
+ METADATA_FIELD_NUMBER: _ClassVar[int]
445
+ metadata: OIDCMetadataRequest
446
+ def __init__(self, metadata: _Optional[_Union[OIDCMetadataRequest, _Mapping]] = ...) -> None: ...
447
+
448
+ class OIDCMetadataRequest(_message.Message):
449
+ __slots__ = ("issuer",)
450
+ ISSUER_FIELD_NUMBER: _ClassVar[int]
451
+ issuer: str
452
+ def __init__(self, issuer: _Optional[str] = ...) -> None: ...
453
+
454
+ class GetOIDCMetadataResponse(_message.Message):
455
+ __slots__ = ("issuer", "authorization_endpoint", "token_endpoint", "userinfo_endpoint", "jwks_uri")
456
+ ISSUER_FIELD_NUMBER: _ClassVar[int]
457
+ AUTHORIZATION_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
458
+ TOKEN_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
459
+ USERINFO_ENDPOINT_FIELD_NUMBER: _ClassVar[int]
460
+ JWKS_URI_FIELD_NUMBER: _ClassVar[int]
461
+ issuer: str
462
+ authorization_endpoint: str
463
+ token_endpoint: str
464
+ userinfo_endpoint: str
465
+ jwks_uri: str
466
+ def __init__(self, issuer: _Optional[str] = ..., authorization_endpoint: _Optional[str] = ..., token_endpoint: _Optional[str] = ..., userinfo_endpoint: _Optional[str] = ..., jwks_uri: _Optional[str] = ...) -> None: ...
467
+
468
+ class GetSAMLMetadataRequest(_message.Message):
469
+ __slots__ = ("metadata",)
470
+ METADATA_FIELD_NUMBER: _ClassVar[int]
471
+ metadata: SAMLMetadataRequest
472
+ def __init__(self, metadata: _Optional[_Union[SAMLMetadataRequest, _Mapping]] = ...) -> None: ...
473
+
474
+ class SAMLMetadataRequest(_message.Message):
475
+ __slots__ = ("metadata_url",)
476
+ METADATA_URL_FIELD_NUMBER: _ClassVar[int]
477
+ metadata_url: str
478
+ def __init__(self, metadata_url: _Optional[str] = ...) -> None: ...
479
+
480
+ class GetSAMLMetadataResponse(_message.Message):
481
+ __slots__ = ("idp_entity_id", "idp_sso_url", "idp_slo_url", "idp_certificates", "idp_name_id_format", "request_binding", "want_assertions_signed")
482
+ IDP_ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
483
+ IDP_SSO_URL_FIELD_NUMBER: _ClassVar[int]
484
+ IDP_SLO_URL_FIELD_NUMBER: _ClassVar[int]
485
+ IDP_CERTIFICATES_FIELD_NUMBER: _ClassVar[int]
486
+ IDP_NAME_ID_FORMAT_FIELD_NUMBER: _ClassVar[int]
487
+ REQUEST_BINDING_FIELD_NUMBER: _ClassVar[int]
488
+ WANT_ASSERTIONS_SIGNED_FIELD_NUMBER: _ClassVar[int]
489
+ idp_entity_id: str
490
+ idp_sso_url: str
491
+ idp_slo_url: str
492
+ idp_certificates: _containers.RepeatedScalarFieldContainer[str]
493
+ idp_name_id_format: str
494
+ request_binding: str
495
+ want_assertions_signed: bool
496
+ def __init__(self, idp_entity_id: _Optional[str] = ..., idp_sso_url: _Optional[str] = ..., idp_slo_url: _Optional[str] = ..., idp_certificates: _Optional[_Iterable[str]] = ..., idp_name_id_format: _Optional[str] = ..., request_binding: _Optional[str] = ..., want_assertions_signed: bool = ...) -> None: ...
497
+
498
+ class GetSAMLCertificateDetailsRequest(_message.Message):
499
+ __slots__ = ("certificate",)
500
+ CERTIFICATE_FIELD_NUMBER: _ClassVar[int]
501
+ certificate: SAMLCertificateRequest
502
+ def __init__(self, certificate: _Optional[_Union[SAMLCertificateRequest, _Mapping]] = ...) -> None: ...
503
+
504
+ class SAMLCertificateRequest(_message.Message):
505
+ __slots__ = ("text",)
506
+ TEXT_FIELD_NUMBER: _ClassVar[int]
507
+ text: str
508
+ def __init__(self, text: _Optional[str] = ...) -> None: ...
509
+
510
+ class GetSAMLCertificateDetailsResponse(_message.Message):
511
+ __slots__ = ("text", "not_after", "not_before", "subject", "issuer")
512
+ TEXT_FIELD_NUMBER: _ClassVar[int]
513
+ NOT_AFTER_FIELD_NUMBER: _ClassVar[int]
514
+ NOT_BEFORE_FIELD_NUMBER: _ClassVar[int]
515
+ SUBJECT_FIELD_NUMBER: _ClassVar[int]
516
+ ISSUER_FIELD_NUMBER: _ClassVar[int]
517
+ text: str
518
+ not_after: int
519
+ not_before: int
520
+ subject: str
521
+ issuer: str
522
+ def __init__(self, text: _Optional[str] = ..., not_after: _Optional[int] = ..., not_before: _Optional[int] = ..., subject: _Optional[str] = ..., issuer: _Optional[str] = ...) -> None: ...
523
+
524
+ class PasswordConnectionConfig(_message.Message):
525
+ __slots__ = ()
526
+ def __init__(self) -> None: ...