authentik-api 2026.2.2 → 2026.2.3
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.
- checksums.yaml +4 -4
- data/README_API.md +6 -6
- data/lib/authentik/api/api/admin_api.rb +1 -1
- data/lib/authentik/api/api/authenticators_api.rb +60 -60
- data/lib/authentik/api/api/core_api.rb +45 -45
- data/lib/authentik/api/api/crypto_api.rb +7 -7
- data/lib/authentik/api/api/endpoints_api.rb +35 -35
- data/lib/authentik/api/api/enterprise_api.rb +5 -5
- data/lib/authentik/api/api/events_api.rb +20 -20
- data/lib/authentik/api/api/flows_api.rb +16 -16
- data/lib/authentik/api/api/lifecycle_api.rb +5 -5
- data/lib/authentik/api/api/managed_api.rb +6 -6
- data/lib/authentik/api/api/oauth2_api.rb +9 -9
- data/lib/authentik/api/api/outposts_api.rb +22 -22
- data/lib/authentik/api/api/policies_api.rb +52 -52
- data/lib/authentik/api/api/propertymappings_api.rb +79 -79
- data/lib/authentik/api/api/providers_api.rb +88 -88
- data/lib/authentik/api/api/rac_api.rb +10 -10
- data/lib/authentik/api/api/rbac_api.rb +15 -15
- data/lib/authentik/api/api/reports_api.rb +2 -2
- data/lib/authentik/api/api/sources_api.rb +123 -123
- data/lib/authentik/api/api/ssf_api.rb +1 -1
- data/lib/authentik/api/api/stages_api.rb +142 -142
- data/lib/authentik/api/api/tasks_api.rb +6 -6
- data/lib/authentik/api/api/tenants_api.rb +10 -10
- data/lib/authentik/api/models/device_user_binding.rb +3 -45
- data/lib/authentik/api/models/expiring_base_grant_model.rb +1 -1
- data/lib/authentik/api/models/notification_rule.rb +1 -15
- data/lib/authentik/api/models/policy_binding.rb +3 -45
- data/lib/authentik/api/models/saml_metadata.rb +0 -2
- data/lib/authentik/api/models/token_model.rb +1 -1
- data/lib/authentik/api/version.rb +1 -1
- metadata +1 -1
|
@@ -118,7 +118,7 @@ module Authentik::Api
|
|
|
118
118
|
fail ArgumentError, "Missing the required parameter 'id' when calling TasksApi.tasks_schedules_partial_update"
|
|
119
119
|
end
|
|
120
120
|
# resource path
|
|
121
|
-
local_var_path = '/tasks/schedules/{id}/'.sub('{
|
|
121
|
+
local_var_path = '/tasks/schedules/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
122
122
|
|
|
123
123
|
# query parameters
|
|
124
124
|
query_params = opts[:query_params] || {}
|
|
@@ -182,7 +182,7 @@ module Authentik::Api
|
|
|
182
182
|
fail ArgumentError, "Missing the required parameter 'id' when calling TasksApi.tasks_schedules_retrieve"
|
|
183
183
|
end
|
|
184
184
|
# resource path
|
|
185
|
-
local_var_path = '/tasks/schedules/{id}/'.sub('{
|
|
185
|
+
local_var_path = '/tasks/schedules/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
186
186
|
|
|
187
187
|
# query parameters
|
|
188
188
|
query_params = opts[:query_params] || {}
|
|
@@ -243,7 +243,7 @@ module Authentik::Api
|
|
|
243
243
|
fail ArgumentError, "Missing the required parameter 'id' when calling TasksApi.tasks_schedules_send_create"
|
|
244
244
|
end
|
|
245
245
|
# resource path
|
|
246
|
-
local_var_path = '/tasks/schedules/{id}/send/'.sub('{
|
|
246
|
+
local_var_path = '/tasks/schedules/{id}/send/'.sub('{id}', CGI.escape(id.to_s))
|
|
247
247
|
|
|
248
248
|
# query parameters
|
|
249
249
|
query_params = opts[:query_params] || {}
|
|
@@ -308,7 +308,7 @@ module Authentik::Api
|
|
|
308
308
|
fail ArgumentError, "Missing the required parameter 'schedule_request' when calling TasksApi.tasks_schedules_update"
|
|
309
309
|
end
|
|
310
310
|
# resource path
|
|
311
|
-
local_var_path = '/tasks/schedules/{id}/'.sub('{
|
|
311
|
+
local_var_path = '/tasks/schedules/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
312
312
|
|
|
313
313
|
# query parameters
|
|
314
314
|
query_params = opts[:query_params] || {}
|
|
@@ -469,7 +469,7 @@ module Authentik::Api
|
|
|
469
469
|
fail ArgumentError, "Missing the required parameter 'message_id' when calling TasksApi.tasks_tasks_retrieve"
|
|
470
470
|
end
|
|
471
471
|
# resource path
|
|
472
|
-
local_var_path = '/tasks/tasks/{message_id}/'.sub('{
|
|
472
|
+
local_var_path = '/tasks/tasks/{message_id}/'.sub('{message_id}', CGI.escape(message_id.to_s))
|
|
473
473
|
|
|
474
474
|
# query parameters
|
|
475
475
|
query_params = opts[:query_params] || {}
|
|
@@ -530,7 +530,7 @@ module Authentik::Api
|
|
|
530
530
|
fail ArgumentError, "Missing the required parameter 'message_id' when calling TasksApi.tasks_tasks_retry_create"
|
|
531
531
|
end
|
|
532
532
|
# resource path
|
|
533
|
-
local_var_path = '/tasks/tasks/{message_id}/retry/'.sub('{
|
|
533
|
+
local_var_path = '/tasks/tasks/{message_id}/retry/'.sub('{message_id}', CGI.escape(message_id.to_s))
|
|
534
534
|
|
|
535
535
|
# query parameters
|
|
536
536
|
query_params = opts[:query_params] || {}
|
|
@@ -101,7 +101,7 @@ module Authentik::Api
|
|
|
101
101
|
fail ArgumentError, "Missing the required parameter 'id' when calling TenantsApi.tenants_domains_destroy"
|
|
102
102
|
end
|
|
103
103
|
# resource path
|
|
104
|
-
local_var_path = '/tenants/domains/{id}/'.sub('{
|
|
104
|
+
local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
105
105
|
|
|
106
106
|
# query parameters
|
|
107
107
|
query_params = opts[:query_params] || {}
|
|
@@ -231,7 +231,7 @@ module Authentik::Api
|
|
|
231
231
|
fail ArgumentError, "Missing the required parameter 'id' when calling TenantsApi.tenants_domains_partial_update"
|
|
232
232
|
end
|
|
233
233
|
# resource path
|
|
234
|
-
local_var_path = '/tenants/domains/{id}/'.sub('{
|
|
234
|
+
local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
235
235
|
|
|
236
236
|
# query parameters
|
|
237
237
|
query_params = opts[:query_params] || {}
|
|
@@ -297,7 +297,7 @@ module Authentik::Api
|
|
|
297
297
|
fail ArgumentError, "Missing the required parameter 'id' when calling TenantsApi.tenants_domains_retrieve"
|
|
298
298
|
end
|
|
299
299
|
# resource path
|
|
300
|
-
local_var_path = '/tenants/domains/{id}/'.sub('{
|
|
300
|
+
local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
301
301
|
|
|
302
302
|
# query parameters
|
|
303
303
|
query_params = opts[:query_params] || {}
|
|
@@ -364,7 +364,7 @@ module Authentik::Api
|
|
|
364
364
|
fail ArgumentError, "Missing the required parameter 'domain_request' when calling TenantsApi.tenants_domains_update"
|
|
365
365
|
end
|
|
366
366
|
# resource path
|
|
367
|
-
local_var_path = '/tenants/domains/{id}/'.sub('{
|
|
367
|
+
local_var_path = '/tenants/domains/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
368
368
|
|
|
369
369
|
# query parameters
|
|
370
370
|
query_params = opts[:query_params] || {}
|
|
@@ -502,7 +502,7 @@ module Authentik::Api
|
|
|
502
502
|
fail ArgumentError, "Missing the required parameter 'tenant_admin_group_request_request' when calling TenantsApi.tenants_tenants_create_admin_group_create"
|
|
503
503
|
end
|
|
504
504
|
# resource path
|
|
505
|
-
local_var_path = '/tenants/tenants/{tenant_uuid}/create_admin_group/'.sub('{
|
|
505
|
+
local_var_path = '/tenants/tenants/{tenant_uuid}/create_admin_group/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
|
|
506
506
|
|
|
507
507
|
# query parameters
|
|
508
508
|
query_params = opts[:query_params] || {}
|
|
@@ -574,7 +574,7 @@ module Authentik::Api
|
|
|
574
574
|
fail ArgumentError, "Missing the required parameter 'tenant_recovery_key_request_request' when calling TenantsApi.tenants_tenants_create_recovery_key_create"
|
|
575
575
|
end
|
|
576
576
|
# resource path
|
|
577
|
-
local_var_path = '/tenants/tenants/{tenant_uuid}/create_recovery_key/'.sub('{
|
|
577
|
+
local_var_path = '/tenants/tenants/{tenant_uuid}/create_recovery_key/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
|
|
578
578
|
|
|
579
579
|
# query parameters
|
|
580
580
|
query_params = opts[:query_params] || {}
|
|
@@ -640,7 +640,7 @@ module Authentik::Api
|
|
|
640
640
|
fail ArgumentError, "Missing the required parameter 'tenant_uuid' when calling TenantsApi.tenants_tenants_destroy"
|
|
641
641
|
end
|
|
642
642
|
# resource path
|
|
643
|
-
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{
|
|
643
|
+
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
|
|
644
644
|
|
|
645
645
|
# query parameters
|
|
646
646
|
query_params = opts[:query_params] || {}
|
|
@@ -770,7 +770,7 @@ module Authentik::Api
|
|
|
770
770
|
fail ArgumentError, "Missing the required parameter 'tenant_uuid' when calling TenantsApi.tenants_tenants_partial_update"
|
|
771
771
|
end
|
|
772
772
|
# resource path
|
|
773
|
-
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{
|
|
773
|
+
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
|
|
774
774
|
|
|
775
775
|
# query parameters
|
|
776
776
|
query_params = opts[:query_params] || {}
|
|
@@ -836,7 +836,7 @@ module Authentik::Api
|
|
|
836
836
|
fail ArgumentError, "Missing the required parameter 'tenant_uuid' when calling TenantsApi.tenants_tenants_retrieve"
|
|
837
837
|
end
|
|
838
838
|
# resource path
|
|
839
|
-
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{
|
|
839
|
+
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
|
|
840
840
|
|
|
841
841
|
# query parameters
|
|
842
842
|
query_params = opts[:query_params] || {}
|
|
@@ -903,7 +903,7 @@ module Authentik::Api
|
|
|
903
903
|
fail ArgumentError, "Missing the required parameter 'tenant_request' when calling TenantsApi.tenants_tenants_update"
|
|
904
904
|
end
|
|
905
905
|
# resource path
|
|
906
|
-
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{
|
|
906
|
+
local_var_path = '/tenants/tenants/{tenant_uuid}/'.sub('{tenant_uuid}', CGI.escape(tenant_uuid.to_s))
|
|
907
907
|
|
|
908
908
|
# query parameters
|
|
909
909
|
query_params = opts[:query_params] || {}
|
|
@@ -105,6 +105,9 @@ module Authentik::Api
|
|
|
105
105
|
:'policy',
|
|
106
106
|
:'group',
|
|
107
107
|
:'user',
|
|
108
|
+
:'policy_obj',
|
|
109
|
+
:'group_obj',
|
|
110
|
+
:'user_obj',
|
|
108
111
|
:'connector',
|
|
109
112
|
])
|
|
110
113
|
end
|
|
@@ -215,18 +218,6 @@ module Authentik::Api
|
|
|
215
218
|
invalid_properties.push('invalid value for "pk", pk cannot be nil.')
|
|
216
219
|
end
|
|
217
220
|
|
|
218
|
-
if @policy_obj.nil?
|
|
219
|
-
invalid_properties.push('invalid value for "policy_obj", policy_obj cannot be nil.')
|
|
220
|
-
end
|
|
221
|
-
|
|
222
|
-
if @group_obj.nil?
|
|
223
|
-
invalid_properties.push('invalid value for "group_obj", group_obj cannot be nil.')
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
if @user_obj.nil?
|
|
227
|
-
invalid_properties.push('invalid value for "user_obj", user_obj cannot be nil.')
|
|
228
|
-
end
|
|
229
|
-
|
|
230
221
|
if @target.nil?
|
|
231
222
|
invalid_properties.push('invalid value for "target", target cannot be nil.')
|
|
232
223
|
end
|
|
@@ -263,9 +254,6 @@ module Authentik::Api
|
|
|
263
254
|
def valid?
|
|
264
255
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
265
256
|
return false if @pk.nil?
|
|
266
|
-
return false if @policy_obj.nil?
|
|
267
|
-
return false if @group_obj.nil?
|
|
268
|
-
return false if @user_obj.nil?
|
|
269
257
|
return false if @target.nil?
|
|
270
258
|
return false if @order.nil?
|
|
271
259
|
return false if @order > 2147483647
|
|
@@ -286,36 +274,6 @@ module Authentik::Api
|
|
|
286
274
|
@pk = pk
|
|
287
275
|
end
|
|
288
276
|
|
|
289
|
-
# Custom attribute writer method with validation
|
|
290
|
-
# @param [Object] policy_obj Value to be assigned
|
|
291
|
-
def policy_obj=(policy_obj)
|
|
292
|
-
if policy_obj.nil?
|
|
293
|
-
fail ArgumentError, 'policy_obj cannot be nil'
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
@policy_obj = policy_obj
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
# Custom attribute writer method with validation
|
|
300
|
-
# @param [Object] group_obj Value to be assigned
|
|
301
|
-
def group_obj=(group_obj)
|
|
302
|
-
if group_obj.nil?
|
|
303
|
-
fail ArgumentError, 'group_obj cannot be nil'
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
@group_obj = group_obj
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
# Custom attribute writer method with validation
|
|
310
|
-
# @param [Object] user_obj Value to be assigned
|
|
311
|
-
def user_obj=(user_obj)
|
|
312
|
-
if user_obj.nil?
|
|
313
|
-
fail ArgumentError, 'user_obj cannot be nil'
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
@user_obj = user_obj
|
|
317
|
-
end
|
|
318
|
-
|
|
319
277
|
# Custom attribute writer method with validation
|
|
320
278
|
# @param [Object] target Value to be assigned
|
|
321
279
|
def target=(target)
|
|
@@ -90,6 +90,7 @@ module Authentik::Api
|
|
|
90
90
|
def self.openapi_nullable
|
|
91
91
|
Set.new([
|
|
92
92
|
:'destination_group',
|
|
93
|
+
:'destination_group_obj',
|
|
93
94
|
])
|
|
94
95
|
end
|
|
95
96
|
|
|
@@ -159,10 +160,6 @@ module Authentik::Api
|
|
|
159
160
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
160
161
|
end
|
|
161
162
|
|
|
162
|
-
if @destination_group_obj.nil?
|
|
163
|
-
invalid_properties.push('invalid value for "destination_group_obj", destination_group_obj cannot be nil.')
|
|
164
|
-
end
|
|
165
|
-
|
|
166
163
|
invalid_properties
|
|
167
164
|
end
|
|
168
165
|
|
|
@@ -172,7 +169,6 @@ module Authentik::Api
|
|
|
172
169
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
173
170
|
return false if @pk.nil?
|
|
174
171
|
return false if @name.nil?
|
|
175
|
-
return false if @destination_group_obj.nil?
|
|
176
172
|
true
|
|
177
173
|
end
|
|
178
174
|
|
|
@@ -196,16 +192,6 @@ module Authentik::Api
|
|
|
196
192
|
@name = name
|
|
197
193
|
end
|
|
198
194
|
|
|
199
|
-
# Custom attribute writer method with validation
|
|
200
|
-
# @param [Object] destination_group_obj Value to be assigned
|
|
201
|
-
def destination_group_obj=(destination_group_obj)
|
|
202
|
-
if destination_group_obj.nil?
|
|
203
|
-
fail ArgumentError, 'destination_group_obj cannot be nil'
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
@destination_group_obj = destination_group_obj
|
|
207
|
-
end
|
|
208
|
-
|
|
209
195
|
# Checks equality by comparing each attribute.
|
|
210
196
|
# @param [Object] Object to be compared
|
|
211
197
|
def ==(o)
|
|
@@ -93,6 +93,9 @@ module Authentik::Api
|
|
|
93
93
|
:'policy',
|
|
94
94
|
:'group',
|
|
95
95
|
:'user',
|
|
96
|
+
:'policy_obj',
|
|
97
|
+
:'group_obj',
|
|
98
|
+
:'user_obj',
|
|
96
99
|
])
|
|
97
100
|
end
|
|
98
101
|
|
|
@@ -186,18 +189,6 @@ module Authentik::Api
|
|
|
186
189
|
invalid_properties.push('invalid value for "pk", pk cannot be nil.')
|
|
187
190
|
end
|
|
188
191
|
|
|
189
|
-
if @policy_obj.nil?
|
|
190
|
-
invalid_properties.push('invalid value for "policy_obj", policy_obj cannot be nil.')
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
if @group_obj.nil?
|
|
194
|
-
invalid_properties.push('invalid value for "group_obj", group_obj cannot be nil.')
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
if @user_obj.nil?
|
|
198
|
-
invalid_properties.push('invalid value for "user_obj", user_obj cannot be nil.')
|
|
199
|
-
end
|
|
200
|
-
|
|
201
192
|
if @target.nil?
|
|
202
193
|
invalid_properties.push('invalid value for "target", target cannot be nil.')
|
|
203
194
|
end
|
|
@@ -230,9 +221,6 @@ module Authentik::Api
|
|
|
230
221
|
def valid?
|
|
231
222
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
232
223
|
return false if @pk.nil?
|
|
233
|
-
return false if @policy_obj.nil?
|
|
234
|
-
return false if @group_obj.nil?
|
|
235
|
-
return false if @user_obj.nil?
|
|
236
224
|
return false if @target.nil?
|
|
237
225
|
return false if @order.nil?
|
|
238
226
|
return false if @order > 2147483647
|
|
@@ -252,36 +240,6 @@ module Authentik::Api
|
|
|
252
240
|
@pk = pk
|
|
253
241
|
end
|
|
254
242
|
|
|
255
|
-
# Custom attribute writer method with validation
|
|
256
|
-
# @param [Object] policy_obj Value to be assigned
|
|
257
|
-
def policy_obj=(policy_obj)
|
|
258
|
-
if policy_obj.nil?
|
|
259
|
-
fail ArgumentError, 'policy_obj cannot be nil'
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
@policy_obj = policy_obj
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
# Custom attribute writer method with validation
|
|
266
|
-
# @param [Object] group_obj Value to be assigned
|
|
267
|
-
def group_obj=(group_obj)
|
|
268
|
-
if group_obj.nil?
|
|
269
|
-
fail ArgumentError, 'group_obj cannot be nil'
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
@group_obj = group_obj
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
# Custom attribute writer method with validation
|
|
276
|
-
# @param [Object] user_obj Value to be assigned
|
|
277
|
-
def user_obj=(user_obj)
|
|
278
|
-
if user_obj.nil?
|
|
279
|
-
fail ArgumentError, 'user_obj cannot be nil'
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
@user_obj = user_obj
|
|
283
|
-
end
|
|
284
|
-
|
|
285
243
|
# Custom attribute writer method with validation
|
|
286
244
|
# @param [Object] target Value to be assigned
|
|
287
245
|
def target=(target)
|