authentik-api 2026.5.6 → 2026.8.0.rc1

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 (182) hide show
  1. checksums.yaml +4 -4
  2. data/README_API.md +104 -8
  3. data/lib/authentik/api/api/admin_api.rb +3 -0
  4. data/lib/authentik/api/api/core_api.rb +651 -27
  5. data/lib/authentik/api/api/endpoints_api.rb +7 -7
  6. data/lib/authentik/api/api/events_api.rb +35 -2
  7. data/lib/authentik/api/api/lifecycle_api.rb +258 -0
  8. data/lib/authentik/api/api/providers_api.rb +401 -0
  9. data/lib/authentik/api/api/requests_api.rb +1858 -0
  10. data/lib/authentik/api/api/sources_api.rb +6 -3
  11. data/lib/authentik/api/configuration.rb +14 -0
  12. data/lib/authentik/api/inflector.rb +2 -1
  13. data/lib/authentik/api/models/app_enum.rb +3 -1
  14. data/lib/authentik/api/models/application.rb +27 -1
  15. data/lib/authentik/api/models/authenticator_web_authn_stage.rb +1 -11
  16. data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +1 -11
  17. data/lib/authentik/api/models/brand.rb +21 -1
  18. data/lib/authentik/api/models/brand_request.rb +21 -1
  19. data/lib/authentik/api/models/captcha_stage.rb +32 -1
  20. data/lib/authentik/api/models/captcha_stage_request.rb +32 -1
  21. data/lib/authentik/api/models/compatibility_mode_enum.rb +2 -1
  22. data/lib/authentik/api/models/content_type.rb +30 -4
  23. data/lib/authentik/api/models/current_brand.rb +19 -1
  24. data/lib/authentik/api/models/current_brand_flags.rb +1 -55
  25. data/lib/authentik/api/models/device_user_binding.rb +39 -1
  26. data/lib/authentik/api/models/event_actions.rb +6 -1
  27. data/lib/authentik/api/models/grant_request.rb +382 -0
  28. data/lib/authentik/api/models/{reviewer_group.rb → grant_request_create_request.rb} +29 -42
  29. data/lib/authentik/api/models/{grant_types_enum.rb → grant_type_enum.rb} +5 -4
  30. data/lib/authentik/api/models/last_task_status_enum.rb +2 -1
  31. data/lib/authentik/api/models/ldap_outpost_config.rb +1 -1
  32. data/lib/authentik/api/models/ldap_source.rb +14 -4
  33. data/lib/authentik/api/models/ldap_source_request.rb +14 -4
  34. data/lib/authentik/api/models/lifecycle_rule.rb +2 -2
  35. data/lib/authentik/api/models/model_enum.rb +8 -1
  36. data/lib/authentik/api/models/notification_mode_enum.rb +35 -0
  37. data/lib/authentik/api/models/o_auth2_dynamic_client_registration.rb +291 -0
  38. data/lib/authentik/api/models/o_auth2_dynamic_client_registration_request.rb +303 -0
  39. data/lib/authentik/api/models/o_auth2_provider.rb +1 -1
  40. data/lib/authentik/api/models/o_auth2_provider_request.rb +1 -1
  41. data/lib/authentik/api/models/o_auth_source.rb +0 -60
  42. data/lib/authentik/api/models/o_auth_source_request.rb +0 -60
  43. data/lib/authentik/api/models/object_attribute.rb +420 -0
  44. data/lib/authentik/api/models/object_attribute_request.rb +358 -0
  45. data/lib/authentik/api/models/object_attribute_type_enum.rb +35 -0
  46. data/lib/authentik/api/models/offboarding_action_enum.rb +34 -0
  47. data/lib/authentik/api/models/offboarding_status_enum.rb +36 -0
  48. data/lib/authentik/api/models/paginated_grant_request_list.rb +214 -0
  49. data/lib/authentik/api/models/paginated_o_auth2_dynamic_client_registration_list.rb +214 -0
  50. data/lib/authentik/api/models/paginated_object_attribute_list.rb +214 -0
  51. data/lib/authentik/api/models/paginated_request_rule_binding_list.rb +214 -0
  52. data/lib/authentik/api/models/paginated_request_rule_child_binding_list.rb +214 -0
  53. data/lib/authentik/api/models/paginated_request_rule_list.rb +214 -0
  54. data/lib/authentik/api/models/paginated_requestable_target_list.rb +214 -0
  55. data/lib/authentik/api/models/paginated_user_offboarding_list.rb +214 -0
  56. data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +1 -11
  57. data/lib/authentik/api/models/patched_brand_request.rb +21 -1
  58. data/lib/authentik/api/models/patched_captcha_stage_request.rb +32 -1
  59. data/lib/authentik/api/models/patched_grant_request_fulfill_request.rb +175 -0
  60. data/lib/authentik/api/models/patched_ldap_source_request.rb +14 -4
  61. data/lib/authentik/api/models/patched_o_auth2_dynamic_client_registration_request.rb +286 -0
  62. data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +1 -1
  63. data/lib/authentik/api/models/patched_o_auth_source_request.rb +0 -60
  64. data/lib/authentik/api/models/patched_object_attribute_request.rb +320 -0
  65. data/lib/authentik/api/models/patched_request_rule_binding_request.rb +249 -0
  66. data/lib/authentik/api/models/patched_request_rule_child_binding_request.rb +159 -0
  67. data/lib/authentik/api/models/patched_request_rule_request.rb +277 -0
  68. data/lib/authentik/api/models/patched_saml_source_request.rb +8 -8
  69. data/lib/authentik/api/models/patched_settings_request.rb +30 -1
  70. data/lib/authentik/api/models/patched_settings_request_flags.rb +1 -1
  71. data/lib/authentik/api/models/patched_ws_federation_provider_request.rb +11 -1
  72. data/lib/authentik/api/models/policy_binding.rb +42 -4
  73. data/lib/authentik/api/models/provider_type_enum.rb +2 -3
  74. data/lib/authentik/api/models/related_rule.rb +2 -2
  75. data/lib/authentik/api/models/related_target.rb +266 -0
  76. data/lib/authentik/api/models/request_content_type_enum.rb +34 -0
  77. data/lib/authentik/api/models/request_rule.rb +329 -0
  78. data/lib/authentik/api/models/request_rule_binding.rb +353 -0
  79. data/lib/authentik/api/models/request_rule_binding_request.rb +283 -0
  80. data/lib/authentik/api/models/{reviewer_user.rb → request_rule_child_binding.rb} +34 -99
  81. data/lib/authentik/api/models/request_rule_child_binding_request.rb +193 -0
  82. data/lib/authentik/api/models/request_rule_request.rb +284 -0
  83. data/lib/authentik/api/models/request_status.rb +36 -0
  84. data/lib/authentik/api/models/requestable_target.rb +278 -0
  85. data/lib/authentik/api/models/review.rb +1 -1
  86. data/lib/authentik/api/models/saml_source.rb +35 -8
  87. data/lib/authentik/api/models/saml_source_request.rb +8 -8
  88. data/lib/authentik/api/models/saml_version_enum.rb +34 -0
  89. data/lib/authentik/api/models/session_user.rb +32 -4
  90. data/lib/authentik/api/models/settings.rb +30 -1
  91. data/lib/authentik/api/models/settings_request.rb +30 -1
  92. data/lib/authentik/api/models/system_info.rb +31 -4
  93. data/lib/authentik/api/models/task_aggregated_status_enum.rb +2 -1
  94. data/lib/authentik/api/models/task_status_enum.rb +2 -1
  95. data/lib/authentik/api/models/user_offboarding.rb +379 -0
  96. data/lib/authentik/api/models/user_offboarding_request.rb +237 -0
  97. data/lib/authentik/api/models/user_self.rb +28 -1
  98. data/lib/authentik/api/models/user_switch_action_enum.rb +34 -0
  99. data/lib/authentik/api/models/user_switch_request.rb +173 -0
  100. data/lib/authentik/api/models/user_switch_response.rb +159 -0
  101. data/lib/authentik/api/models/ws_federation_provider.rb +41 -4
  102. data/lib/authentik/api/models/ws_federation_provider_request.rb +11 -1
  103. data/lib/authentik/api/version.rb +1 -1
  104. data/spec/api/admin_api_spec.rb +1 -0
  105. data/spec/api/core_api_spec.rb +119 -0
  106. data/spec/api/events_api_spec.rb +11 -0
  107. data/spec/api/lifecycle_api_spec.rb +47 -0
  108. data/spec/api/providers_api_spec.rb +73 -0
  109. data/spec/api/requests_api_spec.rb +365 -0
  110. data/spec/api/sources_api_spec.rb +2 -1
  111. data/spec/models/application_spec.rb +6 -0
  112. data/spec/models/authenticator_web_authn_stage_request_spec.rb +0 -6
  113. data/spec/models/authenticator_web_authn_stage_spec.rb +0 -6
  114. data/spec/models/brand_request_spec.rb +12 -0
  115. data/spec/models/brand_spec.rb +12 -0
  116. data/spec/models/captcha_stage_request_spec.rb +6 -0
  117. data/spec/models/captcha_stage_spec.rb +6 -0
  118. data/spec/models/content_type_spec.rb +6 -0
  119. data/spec/models/current_brand_flags_spec.rb +0 -12
  120. data/spec/models/current_brand_spec.rb +12 -0
  121. data/spec/models/device_user_binding_spec.rb +12 -0
  122. data/spec/models/grant_request_create_request_spec.rb +36 -0
  123. data/spec/models/grant_request_spec.rb +90 -0
  124. data/spec/models/{grant_types_enum_spec.rb → grant_type_enum_spec.rb} +6 -6
  125. data/spec/models/ldap_source_request_spec.rb +6 -0
  126. data/spec/models/ldap_source_spec.rb +6 -0
  127. data/spec/models/notification_mode_enum_spec.rb +24 -0
  128. data/spec/models/o_auth2_dynamic_client_registration_request_spec.rb +78 -0
  129. data/spec/models/o_auth2_dynamic_client_registration_spec.rb +84 -0
  130. data/spec/models/object_attribute_request_spec.rb +84 -0
  131. data/spec/models/object_attribute_spec.rb +108 -0
  132. data/spec/models/object_attribute_type_enum_spec.rb +24 -0
  133. data/spec/models/offboarding_action_enum_spec.rb +24 -0
  134. data/spec/models/offboarding_status_enum_spec.rb +24 -0
  135. data/spec/models/paginated_grant_request_list_spec.rb +42 -0
  136. data/spec/models/paginated_o_auth2_dynamic_client_registration_list_spec.rb +42 -0
  137. data/spec/models/paginated_object_attribute_list_spec.rb +42 -0
  138. data/spec/models/paginated_request_rule_binding_list_spec.rb +42 -0
  139. data/spec/models/paginated_request_rule_child_binding_list_spec.rb +42 -0
  140. data/spec/models/paginated_request_rule_list_spec.rb +42 -0
  141. data/spec/models/paginated_requestable_target_list_spec.rb +42 -0
  142. data/spec/models/paginated_user_offboarding_list_spec.rb +42 -0
  143. data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +0 -6
  144. data/spec/models/patched_brand_request_spec.rb +12 -0
  145. data/spec/models/patched_captcha_stage_request_spec.rb +6 -0
  146. data/spec/models/patched_grant_request_fulfill_request_spec.rb +36 -0
  147. data/spec/models/patched_ldap_source_request_spec.rb +6 -0
  148. data/spec/models/patched_o_auth2_dynamic_client_registration_request_spec.rb +78 -0
  149. data/spec/models/patched_object_attribute_request_spec.rb +84 -0
  150. data/spec/models/patched_request_rule_binding_request_spec.rb +60 -0
  151. data/spec/models/patched_request_rule_child_binding_request_spec.rb +42 -0
  152. data/spec/models/patched_request_rule_request_spec.rb +72 -0
  153. data/spec/models/patched_saml_source_request_spec.rb +1 -1
  154. data/spec/models/patched_settings_request_spec.rb +6 -0
  155. data/spec/models/patched_ws_federation_provider_request_spec.rb +6 -0
  156. data/spec/models/policy_binding_spec.rb +12 -0
  157. data/spec/models/related_target_spec.rb +54 -0
  158. data/spec/models/request_content_type_enum_spec.rb +24 -0
  159. data/spec/models/request_rule_binding_request_spec.rb +60 -0
  160. data/spec/models/request_rule_binding_spec.rb +84 -0
  161. data/spec/models/request_rule_child_binding_request_spec.rb +42 -0
  162. data/spec/models/{reviewer_user_spec.rb → request_rule_child_binding_spec.rb} +8 -14
  163. data/spec/models/request_rule_request_spec.rb +72 -0
  164. data/spec/models/request_rule_spec.rb +84 -0
  165. data/spec/models/request_status_spec.rb +24 -0
  166. data/spec/models/requestable_target_spec.rb +60 -0
  167. data/spec/models/saml_source_request_spec.rb +1 -1
  168. data/spec/models/saml_source_spec.rb +7 -1
  169. data/spec/models/saml_version_enum_spec.rb +24 -0
  170. data/spec/models/session_user_spec.rb +6 -0
  171. data/spec/models/settings_request_spec.rb +6 -0
  172. data/spec/models/settings_spec.rb +6 -0
  173. data/spec/models/system_info_spec.rb +6 -0
  174. data/spec/models/user_offboarding_request_spec.rb +54 -0
  175. data/spec/models/user_offboarding_spec.rb +90 -0
  176. data/spec/models/user_self_spec.rb +6 -0
  177. data/spec/models/user_switch_action_enum_spec.rb +24 -0
  178. data/spec/models/{reviewer_group_spec.rb → user_switch_request_spec.rb} +8 -8
  179. data/spec/models/user_switch_response_spec.rb +30 -0
  180. data/spec/models/ws_federation_provider_request_spec.rb +6 -0
  181. data/spec/models/ws_federation_provider_spec.rb +12 -0
  182. metadata +127 -10
@@ -77,6 +77,23 @@ describe 'CoreApi' do
77
77
  end
78
78
  end
79
79
 
80
+ # unit tests for core_application_entitlements_requestable_list
81
+ # List application entitlements which the current user can request access to
82
+ # @param [Hash] opts the optional parameters
83
+ # @option opts [String] :app
84
+ # @option opts [String] :name
85
+ # @option opts [String] :ordering Which field to use when ordering the results.
86
+ # @option opts [Integer] :page A page number within the paginated result set.
87
+ # @option opts [Integer] :page_size Number of results to return per page.
88
+ # @option opts [String] :pbm_uuid
89
+ # @option opts [String] :search A search term.
90
+ # @return [PaginatedRequestableTargetList]
91
+ describe 'core_application_entitlements_requestable_list test' do
92
+ it 'should work' do
93
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
94
+ end
95
+ end
96
+
80
97
  # unit tests for core_application_entitlements_retrieve
81
98
  # ApplicationEntitlement Viewset
82
99
  # @param pbm_uuid A UUID string identifying this Application Entitlement.
@@ -180,6 +197,26 @@ describe 'CoreApi' do
180
197
  end
181
198
  end
182
199
 
200
+ # unit tests for core_applications_requestable_list
201
+ # List applications which the current user can request access to
202
+ # @param [Hash] opts the optional parameters
203
+ # @option opts [String] :group
204
+ # @option opts [String] :meta_description
205
+ # @option opts [String] :meta_launch_url
206
+ # @option opts [String] :meta_publisher
207
+ # @option opts [String] :name
208
+ # @option opts [String] :ordering Which field to use when ordering the results.
209
+ # @option opts [Integer] :page A page number within the paginated result set.
210
+ # @option opts [Integer] :page_size Number of results to return per page.
211
+ # @option opts [String] :search A search term.
212
+ # @option opts [String] :slug
213
+ # @return [PaginatedApplicationList]
214
+ describe 'core_applications_requestable_list test' do
215
+ it 'should work' do
216
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
217
+ end
218
+ end
219
+
183
220
  # unit tests for core_applications_retrieve
184
221
  # Application Viewset
185
222
  # @param slug
@@ -323,8 +360,10 @@ describe 'CoreApi' do
323
360
  # @option opts [String] :flow_invalidation
324
361
  # @option opts [String] :flow_lockdown
325
362
  # @option opts [String] :flow_recovery
363
+ # @option opts [String] :flow_request
326
364
  # @option opts [String] :flow_unenrollment
327
365
  # @option opts [String] :flow_user_settings
366
+ # @option opts [String] :flow_user_switch
328
367
  # @option opts [String] :ordering Which field to use when ordering the results.
329
368
  # @option opts [Integer] :page A page number within the paginated result set.
330
369
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -502,6 +541,74 @@ describe 'CoreApi' do
502
541
  end
503
542
  end
504
543
 
544
+ # unit tests for core_object_attributes_create
545
+ # @param object_attribute_request
546
+ # @param [Hash] opts the optional parameters
547
+ # @return [ObjectAttribute]
548
+ describe 'core_object_attributes_create test' do
549
+ it 'should work' do
550
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
551
+ end
552
+ end
553
+
554
+ # unit tests for core_object_attributes_destroy
555
+ # @param attribute_id A UUID string identifying this Object Attribute.
556
+ # @param [Hash] opts the optional parameters
557
+ # @return [nil]
558
+ describe 'core_object_attributes_destroy test' do
559
+ it 'should work' do
560
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
561
+ end
562
+ end
563
+
564
+ # unit tests for core_object_attributes_list
565
+ # @param [Hash] opts the optional parameters
566
+ # @option opts [Boolean] :enabled
567
+ # @option opts [String] :object_type__app_label
568
+ # @option opts [String] :object_type__model
569
+ # @option opts [String] :ordering Which field to use when ordering the results.
570
+ # @option opts [Integer] :page A page number within the paginated result set.
571
+ # @option opts [Integer] :page_size Number of results to return per page.
572
+ # @option opts [String] :search A search term.
573
+ # @return [PaginatedObjectAttributeList]
574
+ describe 'core_object_attributes_list test' do
575
+ it 'should work' do
576
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
577
+ end
578
+ end
579
+
580
+ # unit tests for core_object_attributes_partial_update
581
+ # @param attribute_id A UUID string identifying this Object Attribute.
582
+ # @param [Hash] opts the optional parameters
583
+ # @option opts [PatchedObjectAttributeRequest] :patched_object_attribute_request
584
+ # @return [ObjectAttribute]
585
+ describe 'core_object_attributes_partial_update test' do
586
+ it 'should work' do
587
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
588
+ end
589
+ end
590
+
591
+ # unit tests for core_object_attributes_retrieve
592
+ # @param attribute_id A UUID string identifying this Object Attribute.
593
+ # @param [Hash] opts the optional parameters
594
+ # @return [ObjectAttribute]
595
+ describe 'core_object_attributes_retrieve test' do
596
+ it 'should work' do
597
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
598
+ end
599
+ end
600
+
601
+ # unit tests for core_object_attributes_update
602
+ # @param attribute_id A UUID string identifying this Object Attribute.
603
+ # @param object_attribute_request
604
+ # @param [Hash] opts the optional parameters
605
+ # @return [ObjectAttribute]
606
+ describe 'core_object_attributes_update test' do
607
+ it 'should work' do
608
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
609
+ end
610
+ end
611
+
505
612
  # unit tests for core_tokens_create
506
613
  # Token Viewset
507
614
  # @param token_request
@@ -908,6 +1015,18 @@ describe 'CoreApi' do
908
1015
  end
909
1016
  end
910
1017
 
1018
+ # unit tests for core_users_switch_create
1019
+ # Start browser user switching.
1020
+ # @param [Hash] opts the optional parameters
1021
+ # @option opts [String] :_next
1022
+ # @option opts [UserSwitchRequest] :user_switch_request
1023
+ # @return [UserSwitchResponse]
1024
+ describe 'core_users_switch_create test' do
1025
+ it 'should work' do
1026
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1027
+ end
1028
+ end
1029
+
911
1030
  # unit tests for core_users_update
912
1031
  # User Viewset
913
1032
  # @param id A unique integer value identifying this User.
@@ -154,7 +154,18 @@ describe 'EventsApi' do
154
154
  # Get the top_n events grouped by user count
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [String] :action
157
+ # @option opts [Array<EventActions>] :actions
158
+ # @option opts [String] :brand_name Brand name
159
+ # @option opts [String] :client_ip
160
+ # @option opts [String] :context_authorized_app Context Authorized application
161
+ # @option opts [String] :context_device Context Device Primary Key
162
+ # @option opts [String] :context_model_app Context Model App
163
+ # @option opts [String] :context_model_name Context Model Name
164
+ # @option opts [String] :context_model_pk Context Model Primary Key
165
+ # @option opts [String] :ordering Which field to use when ordering the results.
166
+ # @option opts [String] :search A search term.
157
167
  # @option opts [Integer] :top_n
168
+ # @option opts [String] :username Username
158
169
  # @return [Array<EventTopPerUser>]
159
170
  describe 'events_events_top_per_user_list test' do
160
171
  it 'should work' do
@@ -144,4 +144,51 @@ describe 'LifecycleApi' do
144
144
  end
145
145
  end
146
146
 
147
+ # unit tests for lifecycle_user_offboarding_create
148
+ # @param user_offboarding_request
149
+ # @param [Hash] opts the optional parameters
150
+ # @return [UserOffboarding]
151
+ describe 'lifecycle_user_offboarding_create test' do
152
+ it 'should work' do
153
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
154
+ end
155
+ end
156
+
157
+ # unit tests for lifecycle_user_offboarding_destroy
158
+ # Cancel a pending offboarding instead of deleting the record. The row is retained (as &#x60;CANCELED&#x60;) so the offboarding stays visible in the audit history; deletion would erase who scheduled and cancelled it. You cannot cancel an offboarding that targets you.
159
+ # @param id A UUID string identifying this User Offboarding.
160
+ # @param [Hash] opts the optional parameters
161
+ # @return [nil]
162
+ describe 'lifecycle_user_offboarding_destroy test' do
163
+ it 'should work' do
164
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
165
+ end
166
+ end
167
+
168
+ # unit tests for lifecycle_user_offboarding_list
169
+ # @param [Hash] opts the optional parameters
170
+ # @option opts [OffboardingActionEnum] :action
171
+ # @option opts [String] :ordering Which field to use when ordering the results.
172
+ # @option opts [Integer] :page A page number within the paginated result set.
173
+ # @option opts [Integer] :page_size Number of results to return per page.
174
+ # @option opts [String] :search A search term.
175
+ # @option opts [OffboardingStatusEnum] :status
176
+ # @option opts [String] :user__uuid
177
+ # @return [PaginatedUserOffboardingList]
178
+ describe 'lifecycle_user_offboarding_list test' do
179
+ it 'should work' do
180
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
181
+ end
182
+ end
183
+
184
+ # unit tests for lifecycle_user_offboarding_retrieve
185
+ # @param id A UUID string identifying this User Offboarding.
186
+ # @param [Hash] opts the optional parameters
187
+ # @return [UserOffboarding]
188
+ describe 'lifecycle_user_offboarding_retrieve test' do
189
+ it 'should work' do
190
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
191
+ end
192
+ end
193
+
147
194
  end
@@ -648,6 +648,78 @@ describe 'ProvidersApi' do
648
648
  end
649
649
  end
650
650
 
651
+ # unit tests for providers_oauth2_dcr_create
652
+ # OAuth2 Dynamic Client Registration configuration ViewSet
653
+ # @param o_auth2_dynamic_client_registration_request
654
+ # @param [Hash] opts the optional parameters
655
+ # @return [OAuth2DynamicClientRegistration]
656
+ describe 'providers_oauth2_dcr_create test' do
657
+ it 'should work' do
658
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
659
+ end
660
+ end
661
+
662
+ # unit tests for providers_oauth2_dcr_destroy
663
+ # OAuth2 Dynamic Client Registration configuration ViewSet
664
+ # @param pbm_uuid A UUID string identifying this OAuth2 Dynamic Client Registration.
665
+ # @param [Hash] opts the optional parameters
666
+ # @return [nil]
667
+ describe 'providers_oauth2_dcr_destroy test' do
668
+ it 'should work' do
669
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
670
+ end
671
+ end
672
+
673
+ # unit tests for providers_oauth2_dcr_list
674
+ # OAuth2 Dynamic Client Registration configuration ViewSet
675
+ # @param [Hash] opts the optional parameters
676
+ # @option opts [String] :ordering Which field to use when ordering the results.
677
+ # @option opts [Integer] :page A page number within the paginated result set.
678
+ # @option opts [Integer] :page_size Number of results to return per page.
679
+ # @option opts [Integer] :provider
680
+ # @option opts [String] :search A search term.
681
+ # @return [PaginatedOAuth2DynamicClientRegistrationList]
682
+ describe 'providers_oauth2_dcr_list test' do
683
+ it 'should work' do
684
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
685
+ end
686
+ end
687
+
688
+ # unit tests for providers_oauth2_dcr_partial_update
689
+ # OAuth2 Dynamic Client Registration configuration ViewSet
690
+ # @param pbm_uuid A UUID string identifying this OAuth2 Dynamic Client Registration.
691
+ # @param [Hash] opts the optional parameters
692
+ # @option opts [PatchedOAuth2DynamicClientRegistrationRequest] :patched_o_auth2_dynamic_client_registration_request
693
+ # @return [OAuth2DynamicClientRegistration]
694
+ describe 'providers_oauth2_dcr_partial_update test' do
695
+ it 'should work' do
696
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
697
+ end
698
+ end
699
+
700
+ # unit tests for providers_oauth2_dcr_retrieve
701
+ # OAuth2 Dynamic Client Registration configuration ViewSet
702
+ # @param pbm_uuid A UUID string identifying this OAuth2 Dynamic Client Registration.
703
+ # @param [Hash] opts the optional parameters
704
+ # @return [OAuth2DynamicClientRegistration]
705
+ describe 'providers_oauth2_dcr_retrieve test' do
706
+ it 'should work' do
707
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
708
+ end
709
+ end
710
+
711
+ # unit tests for providers_oauth2_dcr_update
712
+ # OAuth2 Dynamic Client Registration configuration ViewSet
713
+ # @param pbm_uuid A UUID string identifying this OAuth2 Dynamic Client Registration.
714
+ # @param o_auth2_dynamic_client_registration_request
715
+ # @param [Hash] opts the optional parameters
716
+ # @return [OAuth2DynamicClientRegistration]
717
+ describe 'providers_oauth2_dcr_update test' do
718
+ it 'should work' do
719
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
720
+ end
721
+ end
722
+
651
723
  # unit tests for providers_oauth2_destroy
652
724
  # OAuth2Provider Viewset
653
725
  # @param id A unique integer value identifying this OAuth2/OpenID Provider.
@@ -1535,6 +1607,7 @@ describe 'ProvidersApi' do
1535
1607
  # @option opts [Integer] :page A page number within the paginated result set.
1536
1608
  # @option opts [Integer] :page_size Number of results to return per page.
1537
1609
  # @option opts [Array<String>] :property_mappings
1610
+ # @option opts [SamlVersionEnum] :saml_version
1538
1611
  # @option opts [String] :search A search term.
1539
1612
  # @option opts [String] :session_valid_not_on_or_after
1540
1613
  # @option opts [Boolean] :sign_assertion
@@ -0,0 +1,365 @@
1
+ =begin
2
+ This file is automatically generated by: https://openapi-generator.tech.
3
+ Any manual changes will be lost when the OpenAPI scheme changes.
4
+
5
+ =end
6
+
7
+ require 'spec_helper'
8
+ require 'json'
9
+
10
+ # Unit tests for Authentik::Api::RequestsApi
11
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
12
+ # Please update as you see appropriate
13
+ describe 'RequestsApi' do
14
+ before do
15
+ # run before each test
16
+ @api_instance = Authentik::Api::RequestsApi.new
17
+ end
18
+
19
+ after do
20
+ # run after each test
21
+ end
22
+
23
+ describe 'test an instance of RequestsApi' do
24
+ it 'should create an instance of RequestsApi' do
25
+ expect(@api_instance).to be_instance_of(Authentik::Api::RequestsApi)
26
+ end
27
+ end
28
+
29
+ # unit tests for requests_grant_requests_create
30
+ # @param grant_request_create_request
31
+ # @param [Hash] opts the optional parameters
32
+ # @return [Link]
33
+ describe 'requests_grant_requests_create test' do
34
+ it 'should work' do
35
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
36
+ end
37
+ end
38
+
39
+ # unit tests for requests_grant_requests_destroy
40
+ # @param uuid A UUID string identifying this Grant Request.
41
+ # @param [Hash] opts the optional parameters
42
+ # @return [nil]
43
+ describe 'requests_grant_requests_destroy test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for requests_grant_requests_fulfill_partial_update
50
+ # @param uuid A UUID string identifying this Grant Request.
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [PatchedGrantRequestFulfillRequest] :patched_grant_request_fulfill_request
53
+ # @return [nil]
54
+ describe 'requests_grant_requests_fulfill_partial_update test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ # unit tests for requests_grant_requests_list
61
+ # @param [Hash] opts the optional parameters
62
+ # @option opts [Integer] :created_by
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [Integer] :page A page number within the paginated result set.
65
+ # @option opts [Integer] :page_size Number of results to return per page.
66
+ # @option opts [String] :search A search term.
67
+ # @option opts [RequestStatus] :status
68
+ # @return [PaginatedGrantRequestList]
69
+ describe 'requests_grant_requests_list test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
72
+ end
73
+ end
74
+
75
+ # unit tests for requests_grant_requests_pending_review_list
76
+ # List pending grant requests the current user is eligible to review.
77
+ # @param [Hash] opts the optional parameters
78
+ # @option opts [Integer] :created_by
79
+ # @option opts [String] :ordering Which field to use when ordering the results.
80
+ # @option opts [Integer] :page A page number within the paginated result set.
81
+ # @option opts [Integer] :page_size Number of results to return per page.
82
+ # @option opts [String] :search A search term.
83
+ # @option opts [RequestStatus] :status
84
+ # @return [PaginatedGrantRequestList]
85
+ describe 'requests_grant_requests_pending_review_list test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
88
+ end
89
+ end
90
+
91
+ # unit tests for requests_grant_requests_retrieve
92
+ # @param uuid A UUID string identifying this Grant Request.
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [GrantRequest]
95
+ describe 'requests_grant_requests_retrieve test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
98
+ end
99
+ end
100
+
101
+ # unit tests for requests_grant_requests_revoke_destroy
102
+ # Immediately end an active grant. Available to the same reviewers who could approve it in the first place.
103
+ # @param uuid A UUID string identifying this Grant Request.
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [nil]
106
+ describe 'requests_grant_requests_revoke_destroy test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
109
+ end
110
+ end
111
+
112
+ # unit tests for requests_rule_bindings_create
113
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
114
+ # @param request_rule_binding_request
115
+ # @param [Hash] opts the optional parameters
116
+ # @return [RequestRuleBinding]
117
+ describe 'requests_rule_bindings_create test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
120
+ end
121
+ end
122
+
123
+ # unit tests for requests_rule_bindings_destroy
124
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
125
+ # @param uuid A UUID string identifying this Request Rule Binding.
126
+ # @param [Hash] opts the optional parameters
127
+ # @return [nil]
128
+ describe 'requests_rule_bindings_destroy test' do
129
+ it 'should work' do
130
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
131
+ end
132
+ end
133
+
134
+ # unit tests for requests_rule_bindings_list
135
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
136
+ # @param [Hash] opts the optional parameters
137
+ # @option opts [String] :ordering Which field to use when ordering the results.
138
+ # @option opts [Integer] :page A page number within the paginated result set.
139
+ # @option opts [Integer] :page_size Number of results to return per page.
140
+ # @option opts [String] :rule
141
+ # @option opts [String] :search A search term.
142
+ # @option opts [String] :target
143
+ # @return [PaginatedRequestRuleBindingList]
144
+ describe 'requests_rule_bindings_list test' do
145
+ it 'should work' do
146
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
147
+ end
148
+ end
149
+
150
+ # unit tests for requests_rule_bindings_partial_update
151
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
152
+ # @param uuid A UUID string identifying this Request Rule Binding.
153
+ # @param [Hash] opts the optional parameters
154
+ # @option opts [PatchedRequestRuleBindingRequest] :patched_request_rule_binding_request
155
+ # @return [RequestRuleBinding]
156
+ describe 'requests_rule_bindings_partial_update test' do
157
+ it 'should work' do
158
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
159
+ end
160
+ end
161
+
162
+ # unit tests for requests_rule_bindings_retrieve
163
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
164
+ # @param uuid A UUID string identifying this Request Rule Binding.
165
+ # @param [Hash] opts the optional parameters
166
+ # @return [RequestRuleBinding]
167
+ describe 'requests_rule_bindings_retrieve test' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
170
+ end
171
+ end
172
+
173
+ # unit tests for requests_rule_bindings_update
174
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
175
+ # @param uuid A UUID string identifying this Request Rule Binding.
176
+ # @param request_rule_binding_request
177
+ # @param [Hash] opts the optional parameters
178
+ # @return [RequestRuleBinding]
179
+ describe 'requests_rule_bindings_update test' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
182
+ end
183
+ end
184
+
185
+ # unit tests for requests_rule_bindings_used_by_list
186
+ # Get a list of all objects that use this object
187
+ # @param uuid A UUID string identifying this Request Rule Binding.
188
+ # @param [Hash] opts the optional parameters
189
+ # @return [Array<UsedBy>]
190
+ describe 'requests_rule_bindings_used_by_list test' do
191
+ it 'should work' do
192
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
193
+ end
194
+ end
195
+
196
+ # unit tests for requests_rule_child_bindings_create
197
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
198
+ # @param request_rule_child_binding_request
199
+ # @param [Hash] opts the optional parameters
200
+ # @return [RequestRuleChildBinding]
201
+ describe 'requests_rule_child_bindings_create test' do
202
+ it 'should work' do
203
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
204
+ end
205
+ end
206
+
207
+ # unit tests for requests_rule_child_bindings_destroy
208
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
209
+ # @param uuid A UUID string identifying this Request Rule Child Binding.
210
+ # @param [Hash] opts the optional parameters
211
+ # @return [nil]
212
+ describe 'requests_rule_child_bindings_destroy test' do
213
+ it 'should work' do
214
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
215
+ end
216
+ end
217
+
218
+ # unit tests for requests_rule_child_bindings_list
219
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
220
+ # @param [Hash] opts the optional parameters
221
+ # @option opts [String] :binding
222
+ # @option opts [String] :ordering Which field to use when ordering the results.
223
+ # @option opts [Integer] :page A page number within the paginated result set.
224
+ # @option opts [Integer] :page_size Number of results to return per page.
225
+ # @option opts [String] :search A search term.
226
+ # @option opts [String] :target
227
+ # @return [PaginatedRequestRuleChildBindingList]
228
+ describe 'requests_rule_child_bindings_list test' do
229
+ it 'should work' do
230
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
231
+ end
232
+ end
233
+
234
+ # unit tests for requests_rule_child_bindings_partial_update
235
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
236
+ # @param uuid A UUID string identifying this Request Rule Child Binding.
237
+ # @param [Hash] opts the optional parameters
238
+ # @option opts [PatchedRequestRuleChildBindingRequest] :patched_request_rule_child_binding_request
239
+ # @return [RequestRuleChildBinding]
240
+ describe 'requests_rule_child_bindings_partial_update test' do
241
+ it 'should work' do
242
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
243
+ end
244
+ end
245
+
246
+ # unit tests for requests_rule_child_bindings_retrieve
247
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
248
+ # @param uuid A UUID string identifying this Request Rule Child Binding.
249
+ # @param [Hash] opts the optional parameters
250
+ # @return [RequestRuleChildBinding]
251
+ describe 'requests_rule_child_bindings_retrieve test' do
252
+ it 'should work' do
253
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
254
+ end
255
+ end
256
+
257
+ # unit tests for requests_rule_child_bindings_update
258
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
259
+ # @param uuid A UUID string identifying this Request Rule Child Binding.
260
+ # @param request_rule_child_binding_request
261
+ # @param [Hash] opts the optional parameters
262
+ # @return [RequestRuleChildBinding]
263
+ describe 'requests_rule_child_bindings_update test' do
264
+ it 'should work' do
265
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
266
+ end
267
+ end
268
+
269
+ # unit tests for requests_rule_child_bindings_used_by_list
270
+ # Get a list of all objects that use this object
271
+ # @param uuid A UUID string identifying this Request Rule Child Binding.
272
+ # @param [Hash] opts the optional parameters
273
+ # @return [Array<UsedBy>]
274
+ describe 'requests_rule_child_bindings_used_by_list test' do
275
+ it 'should work' do
276
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
277
+ end
278
+ end
279
+
280
+ # unit tests for requests_rules_create
281
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
282
+ # @param request_rule_request
283
+ # @param [Hash] opts the optional parameters
284
+ # @return [RequestRule]
285
+ describe 'requests_rules_create test' do
286
+ it 'should work' do
287
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
288
+ end
289
+ end
290
+
291
+ # unit tests for requests_rules_destroy
292
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
293
+ # @param uuid A UUID string identifying this Request Rule.
294
+ # @param [Hash] opts the optional parameters
295
+ # @return [nil]
296
+ describe 'requests_rules_destroy test' do
297
+ it 'should work' do
298
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
299
+ end
300
+ end
301
+
302
+ # unit tests for requests_rules_list
303
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
304
+ # @param [Hash] opts the optional parameters
305
+ # @option opts [String] :name
306
+ # @option opts [String] :ordering Which field to use when ordering the results.
307
+ # @option opts [Integer] :page A page number within the paginated result set.
308
+ # @option opts [Integer] :page_size Number of results to return per page.
309
+ # @option opts [String] :pbm_uuid
310
+ # @option opts [String] :request_flow__slug
311
+ # @option opts [String] :search A search term.
312
+ # @return [PaginatedRequestRuleList]
313
+ describe 'requests_rules_list test' do
314
+ it 'should work' do
315
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
316
+ end
317
+ end
318
+
319
+ # unit tests for requests_rules_partial_update
320
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
321
+ # @param uuid A UUID string identifying this Request Rule.
322
+ # @param [Hash] opts the optional parameters
323
+ # @option opts [PatchedRequestRuleRequest] :patched_request_rule_request
324
+ # @return [RequestRule]
325
+ describe 'requests_rules_partial_update test' do
326
+ it 'should work' do
327
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
328
+ end
329
+ end
330
+
331
+ # unit tests for requests_rules_retrieve
332
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
333
+ # @param uuid A UUID string identifying this Request Rule.
334
+ # @param [Hash] opts the optional parameters
335
+ # @return [RequestRule]
336
+ describe 'requests_rules_retrieve test' do
337
+ it 'should work' do
338
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
339
+ end
340
+ end
341
+
342
+ # unit tests for requests_rules_update
343
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
344
+ # @param uuid A UUID string identifying this Request Rule.
345
+ # @param request_rule_request
346
+ # @param [Hash] opts the optional parameters
347
+ # @return [RequestRule]
348
+ describe 'requests_rules_update test' do
349
+ it 'should work' do
350
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
351
+ end
352
+ end
353
+
354
+ # unit tests for requests_rules_used_by_list
355
+ # Get a list of all objects that use this object
356
+ # @param uuid A UUID string identifying this Request Rule.
357
+ # @param [Hash] opts the optional parameters
358
+ # @return [Array<UsedBy>]
359
+ describe 'requests_rules_used_by_list test' do
360
+ it 'should work' do
361
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
362
+ end
363
+ end
364
+
365
+ end