authentik-api 2026.2.2 → 2026.5.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 (218) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/README_API.md +67 -15
  4. data/lib/authentik/api/api/admin_api.rb +5 -13
  5. data/lib/authentik/api/api/authenticators_api.rb +60 -60
  6. data/lib/authentik/api/api/core_api.rb +188 -63
  7. data/lib/authentik/api/api/crypto_api.rb +9 -13
  8. data/lib/authentik/api/api/endpoints_api.rb +1600 -679
  9. data/lib/authentik/api/api/enterprise_api.rb +5 -5
  10. data/lib/authentik/api/api/events_api.rb +141 -58
  11. data/lib/authentik/api/api/flows_api.rb +24 -106
  12. data/lib/authentik/api/api/lifecycle_api.rb +27 -18
  13. data/lib/authentik/api/api/managed_api.rb +79 -6
  14. data/lib/authentik/api/api/oauth2_api.rb +9 -9
  15. data/lib/authentik/api/api/outposts_api.rb +22 -22
  16. data/lib/authentik/api/api/policies_api.rb +57 -58
  17. data/lib/authentik/api/api/propertymappings_api.rb +79 -79
  18. data/lib/authentik/api/api/providers_api.rb +134 -196
  19. data/lib/authentik/api/api/rac_api.rb +10 -10
  20. data/lib/authentik/api/api/rbac_api.rb +15 -20
  21. data/lib/authentik/api/api/reports_api.rb +2 -2
  22. data/lib/authentik/api/api/schema_api.rb +4 -12
  23. data/lib/authentik/api/api/sources_api.rb +158 -219
  24. data/lib/authentik/api/api/ssf_api.rb +64 -7
  25. data/lib/authentik/api/api/stages_api.rb +723 -244
  26. data/lib/authentik/api/api/tasks_api.rb +11 -19
  27. data/lib/authentik/api/api/tenants_api.rb +10 -10
  28. data/lib/authentik/api/models/account_lockdown_stage.rb +372 -0
  29. data/lib/authentik/api/models/account_lockdown_stage_request.rb +219 -0
  30. data/lib/authentik/api/models/app_enum.rb +3 -2
  31. data/lib/authentik/api/models/apple_independent_secure_enclave.rb +246 -0
  32. data/lib/authentik/api/models/apple_independent_secure_enclave_request.rb +273 -0
  33. data/lib/authentik/api/models/application.rb +14 -4
  34. data/lib/authentik/api/models/application_request.rb +14 -4
  35. data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +2 -30
  36. data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +4 -60
  37. data/lib/authentik/api/models/authentication_enum.rb +2 -1
  38. data/lib/authentik/api/models/authenticator_validate_stage.rb +51 -4
  39. data/lib/authentik/api/models/authenticator_validate_stage_request.rb +51 -4
  40. data/lib/authentik/api/models/authenticator_web_authn_stage.rb +23 -2
  41. data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +23 -2
  42. data/lib/authentik/api/models/{flow_import_result.rb → blueprint_import_result.rb} +4 -4
  43. data/lib/authentik/api/models/brand.rb +11 -1
  44. data/lib/authentik/api/models/brand_request.rb +11 -1
  45. data/lib/authentik/api/models/certificate_key_pair.rb +1 -1
  46. data/lib/authentik/api/models/certificate_key_pair_key_type_enum.rb +37 -0
  47. data/lib/authentik/api/models/compatibility_mode_enum.rb +3 -1
  48. data/lib/authentik/api/models/{consent_stage_mode_enum.rb → consent_mode_enum.rb} +3 -3
  49. data/lib/authentik/api/models/consent_stage.rb +1 -1
  50. data/lib/authentik/api/models/consent_stage_request.rb +1 -1
  51. data/lib/authentik/api/models/country_code_enum.rb +3 -3
  52. data/lib/authentik/api/models/current_brand.rb +10 -1
  53. data/lib/authentik/api/models/current_brand_flags.rb +31 -27
  54. data/lib/authentik/api/models/delivery_method_enum.rb +3 -1
  55. data/lib/authentik/api/models/device_user_binding.rb +3 -45
  56. data/lib/authentik/api/models/event_matcher_policy.rb +15 -5
  57. data/lib/authentik/api/models/event_matcher_policy_request.rb +30 -5
  58. data/lib/authentik/api/models/event_stats.rb +187 -0
  59. data/lib/authentik/api/models/event_volume.rb +1 -1
  60. data/lib/authentik/api/models/events_requested_enum.rb +7 -1
  61. data/lib/authentik/api/models/force_binding_enum.rb +34 -0
  62. data/lib/authentik/api/models/{resident_key_requirement_enum.rb → format_enum.rb} +6 -7
  63. data/lib/authentik/api/models/geo_ip_policy.rb +1 -1
  64. data/lib/authentik/api/models/{detailed_country_field.rb → geo_ip_policy_countries_obj_inner.rb} +22 -26
  65. data/lib/authentik/api/models/google_chrome_connector.rb +326 -0
  66. data/lib/authentik/api/models/google_chrome_connector_request.rb +214 -0
  67. data/lib/authentik/api/models/grant_types_enum.rb +39 -0
  68. data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
  69. data/lib/authentik/api/models/iframe_logout_challenge.rb +1 -1
  70. data/lib/authentik/api/models/invitation_send_email_request.rb +213 -0
  71. data/lib/authentik/api/models/key_type_enum.rb +3 -3
  72. data/lib/authentik/api/models/lang_enum.rb +131 -0
  73. data/lib/authentik/api/models/lifecycle_iteration.rb +30 -86
  74. data/lib/authentik/api/models/logout_url.rb +209 -0
  75. data/lib/authentik/api/models/model_enum.rb +3 -1
  76. data/lib/authentik/api/models/native_logout_challenge.rb +68 -37
  77. data/lib/authentik/api/models/notification_rule.rb +1 -15
  78. data/lib/authentik/api/models/notification_transport.rb +13 -2
  79. data/lib/authentik/api/models/notification_transport_request.rb +13 -2
  80. data/lib/authentik/api/models/o_auth2_provider.rb +12 -1
  81. data/lib/authentik/api/models/o_auth2_provider_request.rb +12 -1
  82. data/lib/authentik/api/models/operating_system.rb +0 -17
  83. data/lib/authentik/api/models/operating_system_request.rb +2 -9
  84. data/lib/authentik/api/models/paginated_account_lockdown_stage_list.rb +214 -0
  85. data/lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb +214 -0
  86. data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +32 -4
  87. data/lib/authentik/api/models/paginated_google_chrome_connector_list.rb +214 -0
  88. data/lib/authentik/api/models/patched_account_lockdown_stage_request.rb +212 -0
  89. data/lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb +235 -0
  90. data/lib/authentik/api/models/patched_application_request.rb +14 -4
  91. data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +51 -4
  92. data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +23 -2
  93. data/lib/authentik/api/models/patched_brand_request.rb +11 -1
  94. data/lib/authentik/api/models/patched_consent_stage_request.rb +1 -1
  95. data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +30 -5
  96. data/lib/authentik/api/models/patched_google_chrome_connector_request.rb +190 -0
  97. data/lib/authentik/api/models/patched_notification_transport_request.rb +13 -2
  98. data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +12 -1
  99. data/lib/authentik/api/models/patched_saml_provider_request.rb +17 -27
  100. data/lib/authentik/api/models/patched_saml_source_request.rb +11 -1
  101. data/lib/authentik/api/models/patched_settings_request_flags.rb +31 -27
  102. data/lib/authentik/api/models/patched_ssf_provider_request.rb +13 -4
  103. data/lib/authentik/api/models/policy_binding.rb +3 -45
  104. data/lib/authentik/api/models/prompt_type_enum.rb +4 -1
  105. data/lib/authentik/api/models/redirect_uri.rb +13 -4
  106. data/lib/authentik/api/models/redirect_uri_request.rb +13 -4
  107. data/lib/authentik/api/models/redirect_uri_type_enum.rb +34 -0
  108. data/lib/authentik/api/models/related_rule.rb +250 -0
  109. data/lib/authentik/api/models/saml_metadata.rb +0 -2
  110. data/lib/authentik/api/models/saml_provider.rb +98 -8
  111. data/lib/authentik/api/models/saml_provider_request.rb +17 -27
  112. data/lib/authentik/api/models/saml_source.rb +11 -1
  113. data/lib/authentik/api/models/saml_source_request.rb +11 -1
  114. data/lib/authentik/api/models/ssf_provider.rb +41 -4
  115. data/lib/authentik/api/models/ssf_provider_request.rb +13 -4
  116. data/lib/authentik/api/models/ssf_stream.rb +10 -1
  117. data/lib/authentik/api/models/ssf_stream_status_enum.rb +36 -0
  118. data/lib/authentik/api/models/task.rb +1 -1
  119. data/lib/authentik/api/models/{task_state_enum.rb → task_status_enum.rb} +3 -3
  120. data/lib/authentik/api/models/{notification_transport_mode_enum.rb → transport_mode_enum.rb} +3 -3
  121. data/lib/authentik/api/models/usage_enum.rb +33 -0
  122. data/lib/authentik/api/models/user_account_lockdown_request.rb +144 -0
  123. data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
  124. data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
  125. data/lib/authentik/api/models/vendor_enum.rb +2 -1
  126. data/lib/authentik/api/models/web_authn_hint_enum.rb +35 -0
  127. data/lib/authentik/api/version.rb +1 -1
  128. data/spec/api/admin_api_spec.rb +2 -2
  129. data/spec/api/core_api_spec.rb +27 -3
  130. data/spec/api/crypto_api_spec.rb +1 -1
  131. data/spec/api/endpoints_api_spec.rb +167 -0
  132. data/spec/api/events_api_spec.rb +33 -7
  133. data/spec/api/flows_api_spec.rb +4 -16
  134. data/spec/api/lifecycle_api_spec.rb +6 -3
  135. data/spec/api/managed_api_spec.rb +13 -0
  136. data/spec/api/policies_api_spec.rb +2 -1
  137. data/spec/api/providers_api_spec.rb +21 -19
  138. data/spec/api/schema_api_spec.rb +2 -2
  139. data/spec/api/sources_api_spec.rb +17 -16
  140. data/spec/api/ssf_api_spec.rb +12 -1
  141. data/spec/api/stages_api_spec.rb +117 -18
  142. data/spec/api/tasks_api_spec.rb +2 -2
  143. data/spec/models/account_lockdown_stage_request_spec.rb +60 -0
  144. data/spec/models/account_lockdown_stage_spec.rb +96 -0
  145. data/spec/models/apple_independent_secure_enclave_request_spec.rb +54 -0
  146. data/spec/models/apple_independent_secure_enclave_spec.rb +54 -0
  147. data/spec/models/application_request_spec.rb +6 -0
  148. data/spec/models/application_spec.rb +6 -0
  149. data/spec/models/authenticator_validate_stage_request_spec.rb +30 -0
  150. data/spec/models/authenticator_validate_stage_spec.rb +30 -0
  151. data/spec/models/authenticator_web_authn_stage_request_spec.rb +12 -0
  152. data/spec/models/authenticator_web_authn_stage_spec.rb +12 -0
  153. data/spec/models/{flow_import_result_spec.rb → blueprint_import_result_spec.rb} +6 -6
  154. data/spec/models/brand_request_spec.rb +6 -0
  155. data/spec/models/brand_spec.rb +6 -0
  156. data/spec/models/{notification_transport_mode_enum_spec.rb → certificate_key_pair_key_type_enum_spec.rb} +6 -6
  157. data/spec/models/{consent_stage_mode_enum_spec.rb → consent_mode_enum_spec.rb} +6 -6
  158. data/spec/models/current_brand_flags_spec.rb +2 -2
  159. data/spec/models/current_brand_spec.rb +6 -0
  160. data/spec/models/event_matcher_policy_request_spec.rb +6 -0
  161. data/spec/models/event_matcher_policy_spec.rb +6 -0
  162. data/spec/models/event_stats_spec.rb +36 -0
  163. data/spec/models/force_binding_enum_spec.rb +24 -0
  164. data/spec/models/format_enum_spec.rb +24 -0
  165. data/spec/models/{detailed_country_field_spec.rb → geo_ip_policy_countries_obj_inner_spec.rb} +6 -6
  166. data/spec/models/google_chrome_connector_request_spec.rb +48 -0
  167. data/spec/models/google_chrome_connector_spec.rb +78 -0
  168. data/spec/models/grant_types_enum_spec.rb +24 -0
  169. data/spec/models/group_ldap_source_connection_spec.rb +6 -0
  170. data/spec/models/invitation_send_email_request_spec.rb +48 -0
  171. data/spec/models/lang_enum_spec.rb +24 -0
  172. data/spec/models/lifecycle_iteration_spec.rb +2 -14
  173. data/spec/models/logout_url_spec.rb +60 -0
  174. data/spec/models/native_logout_challenge_spec.rb +13 -7
  175. data/spec/models/notification_transport_request_spec.rb +6 -0
  176. data/spec/models/notification_transport_spec.rb +6 -0
  177. data/spec/models/o_auth2_provider_request_spec.rb +6 -0
  178. data/spec/models/o_auth2_provider_spec.rb +6 -0
  179. data/spec/models/paginated_account_lockdown_stage_list_spec.rb +42 -0
  180. data/spec/models/paginated_apple_independent_secure_enclave_list_spec.rb +42 -0
  181. data/spec/models/paginated_extra_role_object_permission_list_spec.rb +6 -0
  182. data/spec/models/paginated_google_chrome_connector_list_spec.rb +42 -0
  183. data/spec/models/patched_account_lockdown_stage_request_spec.rb +60 -0
  184. data/spec/models/patched_apple_independent_secure_enclave_request_spec.rb +54 -0
  185. data/spec/models/patched_application_request_spec.rb +6 -0
  186. data/spec/models/patched_authenticator_validate_stage_request_spec.rb +30 -0
  187. data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +12 -0
  188. data/spec/models/patched_brand_request_spec.rb +6 -0
  189. data/spec/models/patched_event_matcher_policy_request_spec.rb +6 -0
  190. data/spec/models/patched_google_chrome_connector_request_spec.rb +48 -0
  191. data/spec/models/patched_notification_transport_request_spec.rb +6 -0
  192. data/spec/models/patched_o_auth2_provider_request_spec.rb +6 -0
  193. data/spec/models/patched_saml_provider_request_spec.rb +7 -1
  194. data/spec/models/patched_saml_source_request_spec.rb +6 -0
  195. data/spec/models/patched_settings_request_flags_spec.rb +2 -2
  196. data/spec/models/patched_ssf_provider_request_spec.rb +6 -0
  197. data/spec/models/redirect_uri_request_spec.rb +6 -0
  198. data/spec/models/redirect_uri_spec.rb +6 -0
  199. data/spec/models/redirect_uri_type_enum_spec.rb +24 -0
  200. data/spec/models/related_rule_spec.rb +54 -0
  201. data/spec/models/saml_provider_request_spec.rb +7 -1
  202. data/spec/models/saml_provider_spec.rb +25 -1
  203. data/spec/models/saml_source_request_spec.rb +6 -0
  204. data/spec/models/saml_source_spec.rb +6 -0
  205. data/spec/models/ssf_provider_request_spec.rb +6 -0
  206. data/spec/models/ssf_provider_spec.rb +12 -0
  207. data/spec/models/ssf_stream_spec.rb +6 -0
  208. data/spec/models/ssf_stream_status_enum_spec.rb +24 -0
  209. data/spec/models/{task_state_enum_spec.rb → task_status_enum_spec.rb} +6 -6
  210. data/spec/models/transport_mode_enum_spec.rb +24 -0
  211. data/spec/models/usage_enum_spec.rb +24 -0
  212. data/spec/models/user_account_lockdown_request_spec.rb +30 -0
  213. data/spec/models/user_ldap_source_connection_spec.rb +6 -0
  214. data/spec/models/user_password_hash_set_request_spec.rb +30 -0
  215. data/spec/models/web_authn_hint_enum_spec.rb +24 -0
  216. data/spec/zeitwerk_spec.rb +34 -0
  217. metadata +113 -32
  218. data/spec/models/resident_key_requirement_enum_spec.rb +0 -24
@@ -62,10 +62,11 @@ describe 'EventsApi' do
62
62
  # Create a data export for this data type. Note that the export is generated asynchronously: this method returns a `DataExport` object that will initially have `completed=false` as well as the permanent URL to that object in the `Location` header. You can poll that URL until `completed=true`, at which point the `file_url` property will contain a URL to download
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @option opts [String] :action
65
- # @option opts [Array<String>] :actions
65
+ # @option opts [Array<EventActions>] :actions
66
66
  # @option opts [String] :brand_name Brand name
67
67
  # @option opts [String] :client_ip
68
68
  # @option opts [String] :context_authorized_app Context Authorized application
69
+ # @option opts [String] :context_device Context Device Primary Key
69
70
  # @option opts [String] :context_model_app Context Model App
70
71
  # @option opts [String] :context_model_name Context Model Name
71
72
  # @option opts [String] :context_model_pk Context Model Primary Key
@@ -83,10 +84,11 @@ describe 'EventsApi' do
83
84
  # Event Read-Only Viewset
84
85
  # @param [Hash] opts the optional parameters
85
86
  # @option opts [String] :action
86
- # @option opts [Array<String>] :actions
87
+ # @option opts [Array<EventActions>] :actions
87
88
  # @option opts [String] :brand_name Brand name
88
89
  # @option opts [String] :client_ip
89
90
  # @option opts [String] :context_authorized_app Context Authorized application
91
+ # @option opts [String] :context_device Context Device Primary Key
90
92
  # @option opts [String] :context_model_app Context Model App
91
93
  # @option opts [String] :context_model_name Context Model Name
92
94
  # @option opts [String] :context_model_pk Context Model Primary Key
@@ -125,6 +127,29 @@ describe 'EventsApi' do
125
127
  end
126
128
  end
127
129
 
130
+ # unit tests for events_events_stats_retrieve
131
+ # Get event stats for specified filters and count steps
132
+ # @param count_steps Timedelta, format of &#39;weeks&#x3D;3;days&#x3D;2;hours&#x3D;3,seconds&#x3D;2&#39;
133
+ # @param [Hash] opts the optional parameters
134
+ # @option opts [String] :action
135
+ # @option opts [Array<EventActions>] :actions
136
+ # @option opts [String] :brand_name Brand name
137
+ # @option opts [String] :client_ip
138
+ # @option opts [String] :context_authorized_app Context Authorized application
139
+ # @option opts [String] :context_device Context Device Primary Key
140
+ # @option opts [String] :context_model_app Context Model App
141
+ # @option opts [String] :context_model_name Context Model Name
142
+ # @option opts [String] :context_model_pk Context Model Primary Key
143
+ # @option opts [String] :ordering Which field to use when ordering the results.
144
+ # @option opts [String] :search A search term.
145
+ # @option opts [String] :username Username
146
+ # @return [EventStats]
147
+ describe 'events_events_stats_retrieve test' do
148
+ it 'should work' do
149
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
150
+ end
151
+ end
152
+
128
153
  # unit tests for events_events_top_per_user_list
129
154
  # Get the top_n events grouped by user count
130
155
  # @param [Hash] opts the optional parameters
@@ -153,14 +178,15 @@ describe 'EventsApi' do
153
178
  # Get event volume for specified filters and timeframe
154
179
  # @param [Hash] opts the optional parameters
155
180
  # @option opts [String] :action
156
- # @option opts [Array<String>] :actions
181
+ # @option opts [Array<EventActions>] :actions
157
182
  # @option opts [String] :brand_name Brand name
158
183
  # @option opts [String] :client_ip
159
184
  # @option opts [String] :context_authorized_app Context Authorized application
185
+ # @option opts [String] :context_device Context Device Primary Key
160
186
  # @option opts [String] :context_model_app Context Model App
161
187
  # @option opts [String] :context_model_name Context Model Name
162
188
  # @option opts [String] :context_model_pk Context Model Primary Key
163
- # @option opts [Float] :history_days
189
+ # @option opts [Integer] :history_days
164
190
  # @option opts [String] :ordering Which field to use when ordering the results.
165
191
  # @option opts [String] :search A search term.
166
192
  # @option opts [String] :username Username
@@ -193,7 +219,7 @@ describe 'EventsApi' do
193
219
  # @option opts [Integer] :page_size Number of results to return per page.
194
220
  # @option opts [String] :search A search term.
195
221
  # @option opts [Boolean] :seen
196
- # @option opts [String] :severity
222
+ # @option opts [SeverityEnum] :severity
197
223
  # @option opts [Integer] :user
198
224
  # @return [PaginatedNotificationList]
199
225
  describe 'events_notifications_list test' do
@@ -289,7 +315,7 @@ describe 'EventsApi' do
289
315
  # @option opts [Integer] :page A page number within the paginated result set.
290
316
  # @option opts [Integer] :page_size Number of results to return per page.
291
317
  # @option opts [String] :search A search term.
292
- # @option opts [String] :severity Controls which severity level the created notifications will have.
318
+ # @option opts [SeverityEnum] :severity
293
319
  # @return [PaginatedNotificationRuleList]
294
320
  describe 'events_rules_list test' do
295
321
  it 'should work' do
@@ -368,7 +394,7 @@ describe 'EventsApi' do
368
394
  # unit tests for events_transports_list
369
395
  # NotificationTransport Viewset
370
396
  # @param [Hash] opts the optional parameters
371
- # @option opts [String] :mode
397
+ # @option opts [TransportModeEnum] :mode
372
398
  # @option opts [String] :name
373
399
  # @option opts [String] :ordering Which field to use when ordering the results.
374
400
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -53,14 +53,14 @@ describe 'FlowsApi' do
53
53
  # @param [Hash] opts the optional parameters
54
54
  # @option opts [Boolean] :evaluate_on_plan
55
55
  # @option opts [String] :fsb_uuid
56
- # @option opts [String] :invalid_response_action Configure how the flow executor should handle an invalid response to a challenge. RETRY returns the error message and a similar challenge to the executor. RESTART restarts the flow from the beginning, and RESTART_WITH_CONTEXT restarts the flow while keeping the current context.
56
+ # @option opts [InvalidResponseActionEnum] :invalid_response_action
57
57
  # @option opts [Integer] :order
58
58
  # @option opts [String] :ordering Which field to use when ordering the results.
59
59
  # @option opts [Integer] :page A page number within the paginated result set.
60
60
  # @option opts [Integer] :page_size Number of results to return per page.
61
61
  # @option opts [String] :pbm_uuid
62
62
  # @option opts [Array<String>] :policies
63
- # @option opts [String] :policy_engine_mode
63
+ # @option opts [PolicyEngineMode] :policy_engine_mode
64
64
  # @option opts [Boolean] :re_evaluate_policies
65
65
  # @option opts [String] :search A search term.
66
66
  # @option opts [String] :stage
@@ -229,23 +229,11 @@ describe 'FlowsApi' do
229
229
  end
230
230
  end
231
231
 
232
- # unit tests for flows_instances_import_create
233
- # Import flow from .yaml file
234
- # @param [Hash] opts the optional parameters
235
- # @option opts [File] :file
236
- # @option opts [Boolean] :clear
237
- # @return [FlowImportResult]
238
- describe 'flows_instances_import_create test' do
239
- it 'should work' do
240
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
241
- end
242
- end
243
-
244
232
  # unit tests for flows_instances_list
245
233
  # Flow Viewset
246
234
  # @param [Hash] opts the optional parameters
247
- # @option opts [String] :denied_action Configure what should happen when a flow denies access to a user.
248
- # @option opts [String] :designation Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik.
235
+ # @option opts [DeniedActionEnum] :denied_action
236
+ # @option opts [FlowDesignationEnum] :designation
249
237
  # @option opts [String] :flow_uuid
250
238
  # @option opts [String] :name
251
239
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -37,13 +37,16 @@ describe 'LifecycleApi' do
37
37
  end
38
38
  end
39
39
 
40
- # unit tests for lifecycle_iterations_latest_retrieve
40
+ # unit tests for lifecycle_iterations_list_latest
41
41
  # Mixin to validate that a valid enterprise license exists before allowing to save the object
42
42
  # @param content_type
43
43
  # @param obj_id
44
44
  # @param [Hash] opts the optional parameters
45
- # @return [LifecycleIteration]
46
- describe 'lifecycle_iterations_latest_retrieve test' do
45
+ # @option opts [String] :ordering Which field to use when ordering the results.
46
+ # @option opts [String] :search A search term.
47
+ # @option opts [Boolean] :user_is_reviewer
48
+ # @return [Array<LifecycleIteration>]
49
+ describe 'lifecycle_iterations_list_latest test' do
47
50
  it 'should work' do
48
51
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
52
  end
@@ -69,6 +69,19 @@ describe 'ManagedApi' do
69
69
  end
70
70
  end
71
71
 
72
+ # unit tests for managed_blueprints_import_create
73
+ # Import blueprint from .yaml file and apply it once, without creating an instance
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [File] :file
76
+ # @option opts [String] :path
77
+ # @option opts [String] :context
78
+ # @return [BlueprintImportResult]
79
+ describe 'managed_blueprints_import_create test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
82
+ end
83
+ end
84
+
72
85
  # unit tests for managed_blueprints_list
73
86
  # Blueprint instances
74
87
  # @param [Hash] opts the optional parameters
@@ -321,7 +321,7 @@ describe 'PoliciesApi' do
321
321
  # unit tests for policies_event_matcher_list
322
322
  # Event Matcher Policy Viewset
323
323
  # @param [Hash] opts the optional parameters
324
- # @option opts [String] :action Match created events with this action type. When left empty, all action types will be matched.
324
+ # @option opts [EventActions] :action
325
325
  # @option opts [String] :app
326
326
  # @option opts [String] :client_ip
327
327
  # @option opts [Time] :created
@@ -333,6 +333,7 @@ describe 'PoliciesApi' do
333
333
  # @option opts [Integer] :page A page number within the paginated result set.
334
334
  # @option opts [Integer] :page_size Number of results to return per page.
335
335
  # @option opts [String] :policy_uuid
336
+ # @option opts [String] :query
336
337
  # @option opts [String] :search A search term.
337
338
  # @return [PaginatedEventMatcherPolicyList]
338
339
  describe 'policies_event_matcher_list test' do
@@ -667,9 +667,9 @@ describe 'ProvidersApi' do
667
667
  # @option opts [String] :application
668
668
  # @option opts [String] :authorization_flow
669
669
  # @option opts [String] :client_id
670
- # @option opts [String] :client_type Confidential clients are capable of maintaining the confidentiality of their credentials. Public clients are incapable
670
+ # @option opts [ClientTypeEnum] :client_type
671
671
  # @option opts [Boolean] :include_claims_in_id_token
672
- # @option opts [String] :issuer_mode Configure how the issuer field of the ID Token should be filled.
672
+ # @option opts [IssuerModeEnum] :issuer_mode
673
673
  # @option opts [String] :name
674
674
  # @option opts [String] :ordering Which field to use when ordering the results.
675
675
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -678,7 +678,7 @@ describe 'ProvidersApi' do
678
678
  # @option opts [String] :refresh_token_validity
679
679
  # @option opts [String] :search A search term.
680
680
  # @option opts [String] :signing_key
681
- # @option opts [String] :sub_mode Configure what data should be used as unique User Identifier. For most cases, the default should be fine.
681
+ # @option opts [SubModeEnum] :sub_mode
682
682
  # @return [PaginatedOAuth2ProviderList]
683
683
  describe 'providers_oauth2_list test' do
684
684
  it 'should work' do
@@ -1069,14 +1069,14 @@ describe 'ProvidersApi' do
1069
1069
  # @option opts [String] :authn_context_class_ref_mapping
1070
1070
  # @option opts [String] :authorization_flow
1071
1071
  # @option opts [String] :backchannel_application
1072
- # @option opts [String] :default_name_id_policy
1072
+ # @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
1073
1073
  # @option opts [String] :default_relay_state
1074
- # @option opts [String] :digest_algorithm
1074
+ # @option opts [DigestAlgorithmEnum] :digest_algorithm
1075
1075
  # @option opts [String] :encryption_kp
1076
1076
  # @option opts [String] :invalidation_flow
1077
1077
  # @option opts [Boolean] :is_backchannel
1078
- # @option opts [String] :issuer
1079
- # @option opts [String] :logout_method Method to use for logout. Front-channel iframe loads all logout URLs simultaneously in hidden iframes. Front-channel native uses your active browser tab to send post requests and redirect to providers. Back-channel sends logout requests directly from the server without user interaction (requires POST SLS binding).
1078
+ # @option opts [String] :issuer_override
1079
+ # @option opts [SAMLLogoutMethods] :logout_method
1080
1080
  # @option opts [String] :name
1081
1081
  # @option opts [String] :name_id_mapping
1082
1082
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -1087,12 +1087,13 @@ describe 'ProvidersApi' do
1087
1087
  # @option opts [String] :session_valid_not_on_or_after
1088
1088
  # @option opts [Boolean] :sign_assertion
1089
1089
  # @option opts [Boolean] :sign_logout_request
1090
+ # @option opts [Boolean] :sign_logout_response
1090
1091
  # @option opts [Boolean] :sign_response
1091
- # @option opts [String] :signature_algorithm
1092
+ # @option opts [SignatureAlgorithmEnum] :signature_algorithm
1092
1093
  # @option opts [String] :signing_kp
1093
- # @option opts [String] :sls_binding This determines how authentik sends the logout response back to the Service Provider.
1094
+ # @option opts [SAMLBindingsEnum] :sls_binding
1094
1095
  # @option opts [String] :sls_url
1095
- # @option opts [String] :sp_binding This determines how authentik sends the response back to the Service Provider.
1096
+ # @option opts [SAMLBindingsEnum] :sp_binding
1096
1097
  # @option opts [String] :verification_kp
1097
1098
  # @return [PaginatedSAMLProviderList]
1098
1099
  describe 'providers_saml_list test' do
@@ -1106,7 +1107,7 @@ describe 'ProvidersApi' do
1106
1107
  # @param id A unique integer value identifying this SAML Provider.
1107
1108
  # @param [Hash] opts the optional parameters
1108
1109
  # @option opts [Boolean] :download
1109
- # @option opts [String] :force_binding Optionally force the metadata to only include one binding.
1110
+ # @option opts [ForceBindingEnum] :force_binding
1110
1111
  # @return [SAMLMetadata]
1111
1112
  describe 'providers_saml_metadata_retrieve test' do
1112
1113
  it 'should work' do
@@ -1520,14 +1521,14 @@ describe 'ProvidersApi' do
1520
1521
  # @option opts [String] :authn_context_class_ref_mapping
1521
1522
  # @option opts [String] :authorization_flow
1522
1523
  # @option opts [String] :backchannel_application
1523
- # @option opts [String] :default_name_id_policy
1524
+ # @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
1524
1525
  # @option opts [String] :default_relay_state
1525
- # @option opts [String] :digest_algorithm
1526
+ # @option opts [DigestAlgorithmEnum] :digest_algorithm
1526
1527
  # @option opts [String] :encryption_kp
1527
1528
  # @option opts [String] :invalidation_flow
1528
1529
  # @option opts [Boolean] :is_backchannel
1529
- # @option opts [String] :issuer
1530
- # @option opts [String] :logout_method Method to use for logout. Front-channel iframe loads all logout URLs simultaneously in hidden iframes. Front-channel native uses your active browser tab to send post requests and redirect to providers. Back-channel sends logout requests directly from the server without user interaction (requires POST SLS binding).
1530
+ # @option opts [String] :issuer_override
1531
+ # @option opts [SAMLLogoutMethods] :logout_method
1531
1532
  # @option opts [String] :name
1532
1533
  # @option opts [String] :name_id_mapping
1533
1534
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -1538,12 +1539,13 @@ describe 'ProvidersApi' do
1538
1539
  # @option opts [String] :session_valid_not_on_or_after
1539
1540
  # @option opts [Boolean] :sign_assertion
1540
1541
  # @option opts [Boolean] :sign_logout_request
1542
+ # @option opts [Boolean] :sign_logout_response
1541
1543
  # @option opts [Boolean] :sign_response
1542
- # @option opts [String] :signature_algorithm
1544
+ # @option opts [SignatureAlgorithmEnum] :signature_algorithm
1543
1545
  # @option opts [String] :signing_kp
1544
- # @option opts [String] :sls_binding This determines how authentik sends the logout response back to the Service Provider.
1546
+ # @option opts [SAMLBindingsEnum] :sls_binding
1545
1547
  # @option opts [String] :sls_url
1546
- # @option opts [String] :sp_binding This determines how authentik sends the response back to the Service Provider.
1548
+ # @option opts [SAMLBindingsEnum] :sp_binding
1547
1549
  # @option opts [String] :verification_kp
1548
1550
  # @return [PaginatedWSFederationProviderList]
1549
1551
  describe 'providers_wsfed_list test' do
@@ -1557,7 +1559,7 @@ describe 'ProvidersApi' do
1557
1559
  # @param id A unique integer value identifying this WS-Federation Provider.
1558
1560
  # @param [Hash] opts the optional parameters
1559
1561
  # @option opts [Boolean] :download
1560
- # @option opts [String] :force_binding Optionally force the metadata to only include one binding.
1562
+ # @option opts [ForceBindingEnum] :force_binding
1561
1563
  # @return [SAMLMetadata]
1562
1564
  describe 'providers_wsfed_metadata_retrieve test' do
1563
1565
  it 'should work' do
@@ -29,8 +29,8 @@ describe 'SchemaApi' do
29
29
  # unit tests for schema_retrieve
30
30
  # OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json
31
31
  # @param [Hash] opts the optional parameters
32
- # @option opts [String] :format
33
- # @option opts [String] :lang
32
+ # @option opts [FormatEnum] :format
33
+ # @option opts [LangEnum] :lang
34
34
  # @return [Hash<String, Object>]
35
35
  describe 'schema_retrieve test' do
36
36
  it 'should work' do
@@ -700,7 +700,7 @@ describe 'SourcesApi' do
700
700
  # Kerberos Source Viewset
701
701
  # @param [Hash] opts the optional parameters
702
702
  # @option opts [Boolean] :enabled
703
- # @option opts [String] :kadmin_type KAdmin server type
703
+ # @option opts [KadminTypeEnum] :kadmin_type
704
704
  # @option opts [String] :name
705
705
  # @option opts [String] :ordering Which field to use when ordering the results.
706
706
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -941,20 +941,20 @@ describe 'SourcesApi' do
941
941
  # @option opts [String] :consumer_key
942
942
  # @option opts [Boolean] :enabled
943
943
  # @option opts [String] :enrollment_flow
944
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
944
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
945
945
  # @option opts [Boolean] :has_jwks Only return sources with JWKS data
946
946
  # @option opts [String] :name
947
947
  # @option opts [String] :ordering Which field to use when ordering the results.
948
948
  # @option opts [Integer] :page A page number within the paginated result set.
949
949
  # @option opts [Integer] :page_size Number of results to return per page.
950
950
  # @option opts [String] :pbm_uuid
951
- # @option opts [String] :policy_engine_mode
951
+ # @option opts [PolicyEngineMode] :policy_engine_mode
952
952
  # @option opts [String] :profile_url
953
953
  # @option opts [String] :provider_type
954
954
  # @option opts [String] :request_token_url
955
955
  # @option opts [String] :search A search term.
956
956
  # @option opts [String] :slug
957
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
957
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
958
958
  # @return [PaginatedOAuthSourceList]
959
959
  describe 'sources_oauth_list test' do
960
960
  it 'should work' do
@@ -1049,16 +1049,16 @@ describe 'SourcesApi' do
1049
1049
  # @option opts [String] :client_id
1050
1050
  # @option opts [Boolean] :enabled
1051
1051
  # @option opts [String] :enrollment_flow
1052
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
1052
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
1053
1053
  # @option opts [String] :name
1054
1054
  # @option opts [String] :ordering Which field to use when ordering the results.
1055
1055
  # @option opts [Integer] :page A page number within the paginated result set.
1056
1056
  # @option opts [Integer] :page_size Number of results to return per page.
1057
1057
  # @option opts [String] :pbm_uuid
1058
- # @option opts [String] :policy_engine_mode
1058
+ # @option opts [PolicyEngineMode] :policy_engine_mode
1059
1059
  # @option opts [String] :search A search term.
1060
1060
  # @option opts [String] :slug
1061
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
1061
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
1062
1062
  # @return [PaginatedPlexSourceList]
1063
1063
  describe 'sources_plex_list test' do
1064
1064
  it 'should work' do
@@ -1163,22 +1163,23 @@ describe 'SourcesApi' do
1163
1163
  # @param [Hash] opts the optional parameters
1164
1164
  # @option opts [Boolean] :allow_idp_initiated
1165
1165
  # @option opts [String] :authentication_flow
1166
- # @option opts [String] :binding_type
1167
- # @option opts [String] :digest_algorithm
1166
+ # @option opts [BindingTypeEnum] :binding_type
1167
+ # @option opts [DigestAlgorithmEnum] :digest_algorithm
1168
1168
  # @option opts [Boolean] :enabled
1169
1169
  # @option opts [String] :enrollment_flow
1170
+ # @option opts [Boolean] :force_authn
1170
1171
  # @option opts [String] :issuer
1171
1172
  # @option opts [String] :managed
1172
1173
  # @option opts [String] :name
1173
- # @option opts [String] :name_id_policy NameID Policy sent to the IdP. Can be unset, in which case no Policy is sent.
1174
+ # @option opts [SAMLNameIDPolicyEnum] :name_id_policy
1174
1175
  # @option opts [String] :ordering Which field to use when ordering the results.
1175
1176
  # @option opts [Integer] :page A page number within the paginated result set.
1176
1177
  # @option opts [Integer] :page_size Number of results to return per page.
1177
1178
  # @option opts [String] :pbm_uuid
1178
- # @option opts [String] :policy_engine_mode
1179
+ # @option opts [PolicyEngineMode] :policy_engine_mode
1179
1180
  # @option opts [String] :pre_authentication_flow
1180
1181
  # @option opts [String] :search A search term.
1181
- # @option opts [String] :signature_algorithm
1182
+ # @option opts [SignatureAlgorithmEnum] :signature_algorithm
1182
1183
  # @option opts [Boolean] :signed_assertion
1183
1184
  # @option opts [Boolean] :signed_response
1184
1185
  # @option opts [String] :signing_kp
@@ -1186,7 +1187,7 @@ describe 'SourcesApi' do
1186
1187
  # @option opts [String] :slug
1187
1188
  # @option opts [String] :sso_url
1188
1189
  # @option opts [String] :temporary_user_delete_after
1189
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
1190
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
1190
1191
  # @option opts [String] :verification_kp
1191
1192
  # @return [PaginatedSAMLSourceList]
1192
1193
  describe 'sources_saml_list test' do
@@ -1548,17 +1549,17 @@ describe 'SourcesApi' do
1548
1549
  # @option opts [String] :bot_username
1549
1550
  # @option opts [Boolean] :enabled
1550
1551
  # @option opts [String] :enrollment_flow
1551
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
1552
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
1552
1553
  # @option opts [String] :name
1553
1554
  # @option opts [String] :ordering Which field to use when ordering the results.
1554
1555
  # @option opts [Integer] :page A page number within the paginated result set.
1555
1556
  # @option opts [Integer] :page_size Number of results to return per page.
1556
1557
  # @option opts [String] :pbm_uuid
1557
- # @option opts [String] :policy_engine_mode
1558
+ # @option opts [PolicyEngineMode] :policy_engine_mode
1558
1559
  # @option opts [Boolean] :request_message_access
1559
1560
  # @option opts [String] :search A search term.
1560
1561
  # @option opts [String] :slug
1561
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
1562
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
1562
1563
  # @return [PaginatedTelegramSourceList]
1563
1564
  describe 'sources_telegram_list test' do
1564
1565
  it 'should work' do
@@ -26,10 +26,21 @@ describe 'SsfApi' do
26
26
  end
27
27
  end
28
28
 
29
+ # unit tests for ssf_streams_destroy
30
+ # SSFStream Viewset
31
+ # @param uuid A UUID string identifying this SSF Stream.
32
+ # @param [Hash] opts the optional parameters
33
+ # @return [nil]
34
+ describe 'ssf_streams_destroy test' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
37
+ end
38
+ end
39
+
29
40
  # unit tests for ssf_streams_list
30
41
  # SSFStream Viewset
31
42
  # @param [Hash] opts the optional parameters
32
- # @option opts [String] :delivery_method
43
+ # @option opts [DeliveryMethodEnum] :delivery_method
33
44
  # @option opts [String] :endpoint_url
34
45
  # @option opts [String] :ordering Which field to use when ordering the results.
35
46
  # @option opts [Integer] :page A page number within the paginated result set.