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
@@ -26,6 +26,95 @@ describe 'StagesApi' do
26
26
  end
27
27
  end
28
28
 
29
+ # unit tests for stages_account_lockdown_create
30
+ # AccountLockdownStage Viewset
31
+ # @param account_lockdown_stage_request
32
+ # @param [Hash] opts the optional parameters
33
+ # @return [AccountLockdownStage]
34
+ describe 'stages_account_lockdown_create 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
+
40
+ # unit tests for stages_account_lockdown_destroy
41
+ # AccountLockdownStage Viewset
42
+ # @param stage_uuid A UUID string identifying this Account Lockdown Stage.
43
+ # @param [Hash] opts the optional parameters
44
+ # @return [nil]
45
+ describe 'stages_account_lockdown_destroy test' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
48
+ end
49
+ end
50
+
51
+ # unit tests for stages_account_lockdown_list
52
+ # AccountLockdownStage Viewset
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [Boolean] :deactivate_user
55
+ # @option opts [Boolean] :delete_sessions
56
+ # @option opts [String] :name
57
+ # @option opts [String] :ordering Which field to use when ordering the results.
58
+ # @option opts [Integer] :page A page number within the paginated result set.
59
+ # @option opts [Integer] :page_size Number of results to return per page.
60
+ # @option opts [Boolean] :revoke_tokens
61
+ # @option opts [String] :search A search term.
62
+ # @option opts [String] :self_service_completion_flow
63
+ # @option opts [Boolean] :set_unusable_password
64
+ # @option opts [String] :stage_uuid
65
+ # @return [PaginatedAccountLockdownStageList]
66
+ describe 'stages_account_lockdown_list test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ # unit tests for stages_account_lockdown_partial_update
73
+ # AccountLockdownStage Viewset
74
+ # @param stage_uuid A UUID string identifying this Account Lockdown Stage.
75
+ # @param [Hash] opts the optional parameters
76
+ # @option opts [PatchedAccountLockdownStageRequest] :patched_account_lockdown_stage_request
77
+ # @return [AccountLockdownStage]
78
+ describe 'stages_account_lockdown_partial_update test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ # unit tests for stages_account_lockdown_retrieve
85
+ # AccountLockdownStage Viewset
86
+ # @param stage_uuid A UUID string identifying this Account Lockdown Stage.
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [AccountLockdownStage]
89
+ describe 'stages_account_lockdown_retrieve test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
92
+ end
93
+ end
94
+
95
+ # unit tests for stages_account_lockdown_update
96
+ # AccountLockdownStage Viewset
97
+ # @param stage_uuid A UUID string identifying this Account Lockdown Stage.
98
+ # @param account_lockdown_stage_request
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [AccountLockdownStage]
101
+ describe 'stages_account_lockdown_update test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
104
+ end
105
+ end
106
+
107
+ # unit tests for stages_account_lockdown_used_by_list
108
+ # Get a list of all objects that use this object
109
+ # @param stage_uuid A UUID string identifying this Account Lockdown Stage.
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [Array<UsedBy>]
112
+ describe 'stages_account_lockdown_used_by_list test' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
115
+ end
116
+ end
117
+
29
118
  # unit tests for stages_all_destroy
30
119
  # Stage Viewset
31
120
  # @param stage_uuid A UUID string identifying this stage.
@@ -424,7 +513,7 @@ describe 'StagesApi' do
424
513
  # @option opts [String] :account_sid
425
514
  # @option opts [String] :auth
426
515
  # @option opts [String] :auth_password
427
- # @option opts [String] :auth_type
516
+ # @option opts [AuthTypeEnum] :auth_type
428
517
  # @option opts [String] :configure_flow
429
518
  # @option opts [String] :friendly_name
430
519
  # @option opts [String] :from_number
@@ -433,7 +522,7 @@ describe 'StagesApi' do
433
522
  # @option opts [String] :ordering Which field to use when ordering the results.
434
523
  # @option opts [Integer] :page A page number within the paginated result set.
435
524
  # @option opts [Integer] :page_size Number of results to return per page.
436
- # @option opts [String] :provider
525
+ # @option opts [ProviderEnum] :provider
437
526
  # @option opts [String] :search A search term.
438
527
  # @option opts [String] :stage_uuid
439
528
  # @option opts [Boolean] :verify_only
@@ -604,7 +693,7 @@ describe 'StagesApi' do
604
693
  # AuthenticatorTOTPStage Viewset
605
694
  # @param [Hash] opts the optional parameters
606
695
  # @option opts [String] :configure_flow
607
- # @option opts [String] :digits
696
+ # @option opts [DigitsEnum] :digits
608
697
  # @option opts [String] :friendly_name
609
698
  # @option opts [String] :name
610
699
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -692,7 +781,7 @@ describe 'StagesApi' do
692
781
  # @param [Hash] opts the optional parameters
693
782
  # @option opts [Array<String>] :configuration_stages
694
783
  # @option opts [String] :name
695
- # @option opts [String] :not_configured_action
784
+ # @option opts [NotConfiguredActionEnum] :not_configured_action
696
785
  # @option opts [String] :ordering Which field to use when ordering the results.
697
786
  # @option opts [Integer] :page A page number within the paginated result set.
698
787
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -803,19 +892,17 @@ describe 'StagesApi' do
803
892
  # unit tests for stages_authenticator_webauthn_list
804
893
  # AuthenticatorWebAuthnStage Viewset
805
894
  # @param [Hash] opts the optional parameters
806
- # @option opts [String] :authenticator_attachment
895
+ # @option opts [AuthenticatorAttachmentEnum] :authenticator_attachment
807
896
  # @option opts [String] :configure_flow
808
897
  # @option opts [Array<String>] :device_type_restrictions
809
- # @option opts [String] :friendly_name
810
898
  # @option opts [Integer] :max_attempts
811
899
  # @option opts [String] :name
812
900
  # @option opts [String] :ordering Which field to use when ordering the results.
813
901
  # @option opts [Integer] :page A page number within the paginated result set.
814
902
  # @option opts [Integer] :page_size Number of results to return per page.
815
- # @option opts [String] :resident_key_requirement
903
+ # @option opts [UserVerificationEnum] :resident_key_requirement
816
904
  # @option opts [String] :search A search term.
817
- # @option opts [String] :stage_uuid
818
- # @option opts [String] :user_verification
905
+ # @option opts [UserVerificationEnum] :user_verification
819
906
  # @return [PaginatedAuthenticatorWebAuthnStageList]
820
907
  describe 'stages_authenticator_webauthn_list test' do
821
908
  it 'should work' do
@@ -979,7 +1066,7 @@ describe 'StagesApi' do
979
1066
  # ConsentStage Viewset
980
1067
  # @param [Hash] opts the optional parameters
981
1068
  # @option opts [String] :consent_expire_in
982
- # @option opts [String] :mode
1069
+ # @option opts [ConsentModeEnum] :mode
983
1070
  # @option opts [String] :name
984
1071
  # @option opts [String] :ordering Which field to use when ordering the results.
985
1072
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -1552,6 +1639,18 @@ describe 'StagesApi' do
1552
1639
  end
1553
1640
  end
1554
1641
 
1642
+ # unit tests for stages_invitation_invitations_send_email_create
1643
+ # Send invitation link via email to one or more addresses
1644
+ # @param invite_uuid A UUID string identifying this Invitation.
1645
+ # @param invitation_send_email_request
1646
+ # @param [Hash] opts the optional parameters
1647
+ # @return [nil]
1648
+ describe 'stages_invitation_invitations_send_email_create test' do
1649
+ it 'should work' do
1650
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1651
+ end
1652
+ end
1653
+
1555
1654
  # unit tests for stages_invitation_invitations_update
1556
1655
  # Invitation Viewset
1557
1656
  # @param invite_uuid A UUID string identifying this Invitation.
@@ -1686,16 +1785,16 @@ describe 'StagesApi' do
1686
1785
  # unit tests for stages_mtls_list
1687
1786
  # MutualTLSStage Viewset
1688
1787
  # @param [Hash] opts the optional parameters
1689
- # @option opts [String] :cert_attribute
1788
+ # @option opts [CertAttributeEnum] :cert_attribute
1690
1789
  # @option opts [Array<String>] :certificate_authorities
1691
- # @option opts [String] :mode
1790
+ # @option opts [StageModeEnum] :mode
1692
1791
  # @option opts [String] :name
1693
1792
  # @option opts [String] :ordering Which field to use when ordering the results.
1694
1793
  # @option opts [Integer] :page A page number within the paginated result set.
1695
1794
  # @option opts [Integer] :page_size Number of results to return per page.
1696
1795
  # @option opts [String] :search A search term.
1697
1796
  # @option opts [String] :stage_uuid
1698
- # @option opts [String] :user_attribute
1797
+ # @option opts [UserAttributeEnum] :user_attribute
1699
1798
  # @return [PaginatedMutualTLSStageList]
1700
1799
  describe 'stages_mtls_list test' do
1701
1800
  it 'should work' do
@@ -1868,7 +1967,7 @@ describe 'StagesApi' do
1868
1967
  # @option opts [Integer] :page_size Number of results to return per page.
1869
1968
  # @option opts [String] :placeholder
1870
1969
  # @option opts [String] :search A search term.
1871
- # @option opts [String] :type
1970
+ # @option opts [PromptTypeEnum] :type
1872
1971
  # @return [PaginatedPromptList]
1873
1972
  describe 'stages_prompt_prompts_list test' do
1874
1973
  it 'should work' do
@@ -2297,9 +2396,9 @@ describe 'StagesApi' do
2297
2396
  # unit tests for stages_user_login_list
2298
2397
  # UserLoginStage Viewset
2299
2398
  # @param [Hash] opts the optional parameters
2300
- # @option opts [String] :geoip_binding Bind sessions created by this stage to the configured GeoIP location
2399
+ # @option opts [GeoipBindingEnum] :geoip_binding
2301
2400
  # @option opts [String] :name
2302
- # @option opts [String] :network_binding Bind sessions created by this stage to the configured network
2401
+ # @option opts [NetworkBindingEnum] :network_binding
2303
2402
  # @option opts [String] :ordering Which field to use when ordering the results.
2304
2403
  # @option opts [Integer] :page A page number within the paginated result set.
2305
2404
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -2479,9 +2578,9 @@ describe 'StagesApi' do
2479
2578
  # @option opts [Integer] :page_size Number of results to return per page.
2480
2579
  # @option opts [String] :search A search term.
2481
2580
  # @option opts [String] :stage_uuid
2482
- # @option opts [String] :user_creation_mode
2581
+ # @option opts [UserCreationModeEnum] :user_creation_mode
2483
2582
  # @option opts [String] :user_path_template
2484
- # @option opts [String] :user_type
2583
+ # @option opts [UserTypeEnum] :user_type
2485
2584
  # @return [PaginatedUserWriteStageList]
2486
2585
  describe 'stages_user_write_list test' do
2487
2586
  it 'should work' do
@@ -91,7 +91,7 @@ describe 'TasksApi' do
91
91
  # unit tests for tasks_tasks_list
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @option opts [String] :actor_name
94
- # @option opts [Array<String>] :aggregated_status
94
+ # @option opts [Array<TaskAggregatedStatusEnum>] :aggregated_status
95
95
  # @option opts [String] :ordering Which field to use when ordering the results.
96
96
  # @option opts [Integer] :page A page number within the paginated result set.
97
97
  # @option opts [Integer] :page_size Number of results to return per page.
@@ -101,7 +101,7 @@ describe 'TasksApi' do
101
101
  # @option opts [String] :rel_obj_id
102
102
  # @option opts [Boolean] :rel_obj_id__isnull
103
103
  # @option opts [String] :search A search term.
104
- # @option opts [String] :state Task status
104
+ # @option opts [TaskStatusEnum] :state
105
105
  # @return [PaginatedTaskList]
106
106
  describe 'tasks_tasks_list test' do
107
107
  it 'should work' do
@@ -0,0 +1,60 @@
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
+ require 'date'
10
+
11
+ # Unit tests for Authentik::Api::AccountLockdownStageRequest
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::AccountLockdownStageRequest do
15
+ #let(:instance) { Authentik::Api::AccountLockdownStageRequest.new }
16
+
17
+ describe 'test an instance of AccountLockdownStageRequest' do
18
+ it 'should create an instance of AccountLockdownStageRequest' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::AccountLockdownStageRequest)
21
+ end
22
+ end
23
+
24
+ describe 'test attribute "name"' do
25
+ it 'should work' do
26
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "deactivate_user"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "set_unusable_password"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "delete_sessions"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "revoke_tokens"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "self_service_completion_flow"' 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
+ end
@@ -0,0 +1,96 @@
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
+ require 'date'
10
+
11
+ # Unit tests for Authentik::Api::AccountLockdownStage
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::AccountLockdownStage do
15
+ #let(:instance) { Authentik::Api::AccountLockdownStage.new }
16
+
17
+ describe 'test an instance of AccountLockdownStage' do
18
+ it 'should create an instance of AccountLockdownStage' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::AccountLockdownStage)
21
+ end
22
+ end
23
+
24
+ describe 'test attribute "pk"' do
25
+ it 'should work' do
26
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "component"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "verbose_name"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "verbose_name_plural"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "meta_model_name"' 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
+ describe 'test attribute "flow_set"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "deactivate_user"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "set_unusable_password"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "delete_sessions"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "revoke_tokens"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "self_service_completion_flow"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ end
@@ -0,0 +1,54 @@
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
+ require 'date'
10
+
11
+ # Unit tests for Authentik::Api::AppleIndependentSecureEnclaveRequest
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::AppleIndependentSecureEnclaveRequest do
15
+ #let(:instance) { Authentik::Api::AppleIndependentSecureEnclaveRequest.new }
16
+
17
+ describe 'test an instance of AppleIndependentSecureEnclaveRequest' do
18
+ it 'should create an instance of AppleIndependentSecureEnclaveRequest' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::AppleIndependentSecureEnclaveRequest)
21
+ end
22
+ end
23
+
24
+ describe 'test attribute "uuid"' do
25
+ it 'should work' do
26
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "user"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "apple_secure_enclave_key"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "apple_enclave_key_id"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "device_type"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,54 @@
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
+ require 'date'
10
+
11
+ # Unit tests for Authentik::Api::AppleIndependentSecureEnclave
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::AppleIndependentSecureEnclave do
15
+ #let(:instance) { Authentik::Api::AppleIndependentSecureEnclave.new }
16
+
17
+ describe 'test an instance of AppleIndependentSecureEnclave' do
18
+ it 'should create an instance of AppleIndependentSecureEnclave' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::AppleIndependentSecureEnclave)
21
+ end
22
+ end
23
+
24
+ describe 'test attribute "uuid"' do
25
+ it 'should work' do
26
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "user"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "apple_secure_enclave_key"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "apple_enclave_key_id"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "device_type"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -87,4 +87,10 @@ describe Authentik::Api::ApplicationRequest do
87
87
  end
88
88
  end
89
89
 
90
+ describe 'test attribute "meta_hide"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
90
96
  end
@@ -123,4 +123,10 @@ describe Authentik::Api::Application do
123
123
  end
124
124
  end
125
125
 
126
+ describe 'test attribute "meta_hide"' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
126
132
  end
@@ -57,10 +57,40 @@ describe Authentik::Api::AuthenticatorValidateStageRequest do
57
57
  end
58
58
  end
59
59
 
60
+ describe 'test attribute "webauthn_hints"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
60
66
  describe 'test attribute "webauthn_allowed_device_types"' do
61
67
  it 'should work' do
62
68
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
69
  end
64
70
  end
65
71
 
72
+ describe 'test attribute "email_otp_throttling_factor"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "sms_otp_throttling_factor"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "totp_otp_throttling_factor"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "static_otp_throttling_factor"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
66
96
  end
@@ -93,6 +93,12 @@ describe Authentik::Api::AuthenticatorValidateStage do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "webauthn_hints"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
96
102
  describe 'test attribute "webauthn_allowed_device_types"' do
97
103
  it 'should work' do
98
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -105,4 +111,28 @@ describe Authentik::Api::AuthenticatorValidateStage do
105
111
  end
106
112
  end
107
113
 
114
+ describe 'test attribute "email_otp_throttling_factor"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ describe 'test attribute "sms_otp_throttling_factor"' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
123
+ end
124
+ end
125
+
126
+ describe 'test attribute "totp_otp_throttling_factor"' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ describe 'test attribute "static_otp_throttling_factor"' do
133
+ it 'should work' do
134
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
135
+ end
136
+ end
137
+
108
138
  end
@@ -57,12 +57,24 @@ describe Authentik::Api::AuthenticatorWebAuthnStageRequest do
57
57
  end
58
58
  end
59
59
 
60
+ describe 'test attribute "hints"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
60
66
  describe 'test attribute "device_type_restrictions"' do
61
67
  it 'should work' do
62
68
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
69
  end
64
70
  end
65
71
 
72
+ describe 'test attribute "prevent_duplicate_devices"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
66
78
  describe 'test attribute "max_attempts"' do
67
79
  it 'should work' do
68
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -93,6 +93,12 @@ describe Authentik::Api::AuthenticatorWebAuthnStage do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "hints"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
96
102
  describe 'test attribute "device_type_restrictions"' do
97
103
  it 'should work' do
98
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -105,6 +111,12 @@ describe Authentik::Api::AuthenticatorWebAuthnStage do
105
111
  end
106
112
  end
107
113
 
114
+ describe 'test attribute "prevent_duplicate_devices"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
108
120
  describe 'test attribute "max_attempts"' do
109
121
  it 'should work' do
110
122
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/