authentik-api 2026.2.7 → 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 (277) 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 +4 -12
  5. data/lib/authentik/api/api/core_api.rb +143 -18
  6. data/lib/authentik/api/api/crypto_api.rb +2 -6
  7. data/lib/authentik/api/api/endpoints_api.rb +1577 -656
  8. data/lib/authentik/api/api/events_api.rb +121 -38
  9. data/lib/authentik/api/api/flows_api.rb +8 -90
  10. data/lib/authentik/api/api/lifecycle_api.rb +22 -13
  11. data/lib/authentik/api/api/managed_api.rb +73 -0
  12. data/lib/authentik/api/api/policies_api.rb +5 -6
  13. data/lib/authentik/api/api/providers_api.rb +46 -108
  14. data/lib/authentik/api/api/rbac_api.rb +0 -5
  15. data/lib/authentik/api/api/schema_api.rb +4 -12
  16. data/lib/authentik/api/api/sources_api.rb +35 -96
  17. data/lib/authentik/api/api/ssf_api.rb +63 -6
  18. data/lib/authentik/api/api/stages_api.rb +581 -102
  19. data/lib/authentik/api/api/tasks_api.rb +5 -13
  20. data/lib/authentik/api/models/account_lockdown_stage.rb +372 -0
  21. data/lib/authentik/api/models/account_lockdown_stage_request.rb +219 -0
  22. data/lib/authentik/api/models/app_enum.rb +3 -2
  23. data/lib/authentik/api/models/apple_independent_secure_enclave.rb +246 -0
  24. data/lib/authentik/api/models/apple_independent_secure_enclave_request.rb +273 -0
  25. data/lib/authentik/api/models/application.rb +14 -4
  26. data/lib/authentik/api/models/application_request.rb +14 -4
  27. data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +2 -30
  28. data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +4 -60
  29. data/lib/authentik/api/models/authentication_enum.rb +2 -1
  30. data/lib/authentik/api/models/authenticator_email_stage.rb +10 -1
  31. data/lib/authentik/api/models/authenticator_sms_stage.rb +36 -1
  32. data/lib/authentik/api/models/authenticator_validate_stage.rb +51 -4
  33. data/lib/authentik/api/models/authenticator_validate_stage_request.rb +51 -4
  34. data/lib/authentik/api/models/authenticator_web_authn_stage.rb +23 -2
  35. data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +23 -2
  36. data/lib/authentik/api/models/{flow_import_result.rb → blueprint_import_result.rb} +4 -4
  37. data/lib/authentik/api/models/brand.rb +11 -1
  38. data/lib/authentik/api/models/brand_request.rb +11 -1
  39. data/lib/authentik/api/models/certificate_key_pair.rb +1 -1
  40. data/lib/authentik/api/models/certificate_key_pair_key_type_enum.rb +37 -0
  41. data/lib/authentik/api/models/compatibility_mode_enum.rb +3 -1
  42. data/lib/authentik/api/models/{consent_stage_mode_enum.rb → consent_mode_enum.rb} +3 -3
  43. data/lib/authentik/api/models/consent_stage.rb +1 -1
  44. data/lib/authentik/api/models/consent_stage_request.rb +1 -1
  45. data/lib/authentik/api/models/country_code_enum.rb +3 -3
  46. data/lib/authentik/api/models/current_brand.rb +10 -1
  47. data/lib/authentik/api/models/current_brand_flags.rb +31 -27
  48. data/lib/authentik/api/models/delivery_method_enum.rb +3 -1
  49. data/lib/authentik/api/models/event_matcher_policy.rb +15 -5
  50. data/lib/authentik/api/models/event_matcher_policy_request.rb +30 -5
  51. data/lib/authentik/api/models/event_stats.rb +187 -0
  52. data/lib/authentik/api/models/event_volume.rb +1 -1
  53. data/lib/authentik/api/models/events_requested_enum.rb +7 -1
  54. data/lib/authentik/api/models/expiring_base_grant_model.rb +1 -1
  55. data/lib/authentik/api/models/force_binding_enum.rb +34 -0
  56. data/lib/authentik/api/models/{resident_key_requirement_enum.rb → format_enum.rb} +6 -7
  57. data/lib/authentik/api/models/geo_ip_policy.rb +1 -1
  58. data/lib/authentik/api/models/{detailed_country_field.rb → geo_ip_policy_countries_obj_inner.rb} +22 -26
  59. data/lib/authentik/api/models/google_chrome_connector.rb +326 -0
  60. data/lib/authentik/api/models/google_chrome_connector_request.rb +214 -0
  61. data/lib/authentik/api/models/grant_types_enum.rb +39 -0
  62. data/lib/authentik/api/models/group_kerberos_source_connection_request.rb +27 -1
  63. data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
  64. data/lib/authentik/api/models/group_ldap_source_connection_request.rb +27 -1
  65. data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +27 -1
  66. data/lib/authentik/api/models/group_plex_source_connection_request.rb +27 -1
  67. data/lib/authentik/api/models/group_saml_source_connection_request.rb +27 -1
  68. data/lib/authentik/api/models/group_source_connection_request.rb +27 -1
  69. data/lib/authentik/api/models/group_telegram_source_connection_request.rb +27 -1
  70. data/lib/authentik/api/models/iframe_logout_challenge.rb +1 -1
  71. data/lib/authentik/api/models/invitation_send_email_request.rb +213 -0
  72. data/lib/authentik/api/models/kerberos_source.rb +21 -1
  73. data/lib/authentik/api/models/key_type_enum.rb +3 -3
  74. data/lib/authentik/api/models/lang_enum.rb +131 -0
  75. data/lib/authentik/api/models/lifecycle_iteration.rb +30 -86
  76. data/lib/authentik/api/models/logout_url.rb +209 -0
  77. data/lib/authentik/api/models/microsoft_entra_provider.rb +27 -1
  78. data/lib/authentik/api/models/model_enum.rb +3 -1
  79. data/lib/authentik/api/models/native_logout_challenge.rb +68 -37
  80. data/lib/authentik/api/models/notification_transport.rb +13 -2
  81. data/lib/authentik/api/models/notification_transport_request.rb +13 -2
  82. data/lib/authentik/api/models/o_auth2_provider.rb +12 -1
  83. data/lib/authentik/api/models/o_auth2_provider_request.rb +12 -1
  84. data/lib/authentik/api/models/operating_system.rb +0 -17
  85. data/lib/authentik/api/models/operating_system_request.rb +2 -9
  86. data/lib/authentik/api/models/paginated_account_lockdown_stage_list.rb +214 -0
  87. data/lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb +214 -0
  88. data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +32 -4
  89. data/lib/authentik/api/models/paginated_google_chrome_connector_list.rb +214 -0
  90. data/lib/authentik/api/models/patched_account_lockdown_stage_request.rb +212 -0
  91. data/lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb +235 -0
  92. data/lib/authentik/api/models/patched_application_request.rb +14 -4
  93. data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +51 -4
  94. data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +23 -2
  95. data/lib/authentik/api/models/patched_brand_request.rb +11 -1
  96. data/lib/authentik/api/models/patched_consent_stage_request.rb +1 -1
  97. data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +30 -5
  98. data/lib/authentik/api/models/patched_google_chrome_connector_request.rb +190 -0
  99. data/lib/authentik/api/models/patched_group_kerberos_source_connection_request.rb +10 -1
  100. data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +10 -1
  101. data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +10 -1
  102. data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +10 -1
  103. data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +10 -1
  104. data/lib/authentik/api/models/patched_group_source_connection_request.rb +10 -1
  105. data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +10 -1
  106. data/lib/authentik/api/models/patched_notification_transport_request.rb +13 -2
  107. data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +12 -1
  108. data/lib/authentik/api/models/patched_saml_provider_request.rb +17 -27
  109. data/lib/authentik/api/models/patched_saml_source_request.rb +11 -1
  110. data/lib/authentik/api/models/patched_settings_request_flags.rb +31 -27
  111. data/lib/authentik/api/models/patched_ssf_provider_request.rb +13 -4
  112. data/lib/authentik/api/models/patched_user_kerberos_source_connection_request.rb +10 -1
  113. data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +10 -1
  114. data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +10 -1
  115. data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +10 -1
  116. data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +10 -1
  117. data/lib/authentik/api/models/patched_user_source_connection_request.rb +10 -1
  118. data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +10 -1
  119. data/lib/authentik/api/models/prompt_type_enum.rb +4 -1
  120. data/lib/authentik/api/models/provider_type_enum.rb +2 -2
  121. data/lib/authentik/api/models/redirect_challenge.rb +4 -15
  122. data/lib/authentik/api/models/redirect_uri.rb +13 -4
  123. data/lib/authentik/api/models/redirect_uri_request.rb +13 -4
  124. data/lib/authentik/api/models/redirect_uri_type_enum.rb +34 -0
  125. data/lib/authentik/api/models/related_rule.rb +250 -0
  126. data/lib/authentik/api/models/saml_provider.rb +98 -8
  127. data/lib/authentik/api/models/saml_provider_request.rb +17 -27
  128. data/lib/authentik/api/models/saml_source.rb +11 -1
  129. data/lib/authentik/api/models/saml_source_request.rb +11 -1
  130. data/lib/authentik/api/models/scim_provider.rb +11 -1
  131. data/lib/authentik/api/models/ssf_provider.rb +41 -4
  132. data/lib/authentik/api/models/ssf_provider_request.rb +13 -4
  133. data/lib/authentik/api/models/ssf_stream.rb +10 -1
  134. data/lib/authentik/api/models/ssf_stream_status_enum.rb +36 -0
  135. data/lib/authentik/api/models/task.rb +1 -1
  136. data/lib/authentik/api/models/{task_state_enum.rb → task_status_enum.rb} +3 -3
  137. data/lib/authentik/api/models/token_model.rb +1 -1
  138. data/lib/authentik/api/models/{notification_transport_mode_enum.rb → transport_mode_enum.rb} +3 -3
  139. data/lib/authentik/api/models/usage_enum.rb +33 -0
  140. data/lib/authentik/api/models/user_account_lockdown_request.rb +144 -0
  141. data/lib/authentik/api/models/user_kerberos_source_connection_request.rb +27 -1
  142. data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
  143. data/lib/authentik/api/models/user_ldap_source_connection_request.rb +27 -1
  144. data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +27 -1
  145. data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
  146. data/lib/authentik/api/models/user_plex_source_connection_request.rb +27 -1
  147. data/lib/authentik/api/models/user_saml_source_connection_request.rb +27 -1
  148. data/lib/authentik/api/models/user_source_connection_request.rb +27 -1
  149. data/lib/authentik/api/models/user_telegram_source_connection_request.rb +27 -1
  150. data/lib/authentik/api/models/vendor_enum.rb +2 -1
  151. data/lib/authentik/api/models/web_authn_hint_enum.rb +35 -0
  152. data/lib/authentik/api/version.rb +1 -1
  153. data/spec/api/admin_api_spec.rb +2 -2
  154. data/spec/api/core_api_spec.rb +27 -3
  155. data/spec/api/crypto_api_spec.rb +1 -1
  156. data/spec/api/endpoints_api_spec.rb +167 -0
  157. data/spec/api/events_api_spec.rb +33 -7
  158. data/spec/api/flows_api_spec.rb +4 -16
  159. data/spec/api/lifecycle_api_spec.rb +6 -3
  160. data/spec/api/managed_api_spec.rb +13 -0
  161. data/spec/api/policies_api_spec.rb +2 -1
  162. data/spec/api/providers_api_spec.rb +21 -19
  163. data/spec/api/schema_api_spec.rb +2 -2
  164. data/spec/api/sources_api_spec.rb +17 -16
  165. data/spec/api/ssf_api_spec.rb +12 -1
  166. data/spec/api/stages_api_spec.rb +117 -18
  167. data/spec/api/tasks_api_spec.rb +2 -2
  168. data/spec/models/account_lockdown_stage_request_spec.rb +60 -0
  169. data/spec/models/account_lockdown_stage_spec.rb +96 -0
  170. data/spec/models/apple_independent_secure_enclave_request_spec.rb +54 -0
  171. data/spec/models/apple_independent_secure_enclave_spec.rb +54 -0
  172. data/spec/models/application_request_spec.rb +6 -0
  173. data/spec/models/application_spec.rb +6 -0
  174. data/spec/models/authenticator_email_stage_spec.rb +6 -0
  175. data/spec/models/authenticator_sms_stage_spec.rb +12 -0
  176. data/spec/models/authenticator_validate_stage_request_spec.rb +30 -0
  177. data/spec/models/authenticator_validate_stage_spec.rb +30 -0
  178. data/spec/models/authenticator_web_authn_stage_request_spec.rb +12 -0
  179. data/spec/models/authenticator_web_authn_stage_spec.rb +12 -0
  180. data/spec/models/{flow_import_result_spec.rb → blueprint_import_result_spec.rb} +6 -6
  181. data/spec/models/brand_request_spec.rb +6 -0
  182. data/spec/models/brand_spec.rb +6 -0
  183. data/spec/models/{notification_transport_mode_enum_spec.rb → certificate_key_pair_key_type_enum_spec.rb} +6 -6
  184. data/spec/models/{consent_stage_mode_enum_spec.rb → consent_mode_enum_spec.rb} +6 -6
  185. data/spec/models/current_brand_flags_spec.rb +2 -2
  186. data/spec/models/current_brand_spec.rb +6 -0
  187. data/spec/models/event_matcher_policy_request_spec.rb +6 -0
  188. data/spec/models/event_matcher_policy_spec.rb +6 -0
  189. data/spec/models/event_stats_spec.rb +36 -0
  190. data/spec/models/force_binding_enum_spec.rb +24 -0
  191. data/spec/models/format_enum_spec.rb +24 -0
  192. data/spec/models/{detailed_country_field_spec.rb → geo_ip_policy_countries_obj_inner_spec.rb} +6 -6
  193. data/spec/models/google_chrome_connector_request_spec.rb +48 -0
  194. data/spec/models/google_chrome_connector_spec.rb +78 -0
  195. data/spec/models/grant_types_enum_spec.rb +24 -0
  196. data/spec/models/group_kerberos_source_connection_request_spec.rb +6 -0
  197. data/spec/models/group_ldap_source_connection_request_spec.rb +6 -0
  198. data/spec/models/group_ldap_source_connection_spec.rb +6 -0
  199. data/spec/models/group_o_auth_source_connection_request_spec.rb +6 -0
  200. data/spec/models/group_plex_source_connection_request_spec.rb +6 -0
  201. data/spec/models/group_saml_source_connection_request_spec.rb +6 -0
  202. data/spec/models/group_source_connection_request_spec.rb +6 -0
  203. data/spec/models/group_telegram_source_connection_request_spec.rb +6 -0
  204. data/spec/models/invitation_send_email_request_spec.rb +48 -0
  205. data/spec/models/kerberos_source_spec.rb +12 -0
  206. data/spec/models/lang_enum_spec.rb +24 -0
  207. data/spec/models/lifecycle_iteration_spec.rb +2 -14
  208. data/spec/models/logout_url_spec.rb +60 -0
  209. data/spec/models/microsoft_entra_provider_spec.rb +6 -0
  210. data/spec/models/native_logout_challenge_spec.rb +13 -7
  211. data/spec/models/notification_transport_request_spec.rb +6 -0
  212. data/spec/models/notification_transport_spec.rb +6 -0
  213. data/spec/models/o_auth2_provider_request_spec.rb +6 -0
  214. data/spec/models/o_auth2_provider_spec.rb +6 -0
  215. data/spec/models/paginated_account_lockdown_stage_list_spec.rb +42 -0
  216. data/spec/models/paginated_apple_independent_secure_enclave_list_spec.rb +42 -0
  217. data/spec/models/paginated_extra_role_object_permission_list_spec.rb +6 -0
  218. data/spec/models/paginated_google_chrome_connector_list_spec.rb +42 -0
  219. data/spec/models/patched_account_lockdown_stage_request_spec.rb +60 -0
  220. data/spec/models/patched_apple_independent_secure_enclave_request_spec.rb +54 -0
  221. data/spec/models/patched_application_request_spec.rb +6 -0
  222. data/spec/models/patched_authenticator_validate_stage_request_spec.rb +30 -0
  223. data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +12 -0
  224. data/spec/models/patched_brand_request_spec.rb +6 -0
  225. data/spec/models/patched_event_matcher_policy_request_spec.rb +6 -0
  226. data/spec/models/patched_google_chrome_connector_request_spec.rb +48 -0
  227. data/spec/models/patched_group_kerberos_source_connection_request_spec.rb +6 -0
  228. data/spec/models/patched_group_ldap_source_connection_request_spec.rb +6 -0
  229. data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +6 -0
  230. data/spec/models/patched_group_plex_source_connection_request_spec.rb +6 -0
  231. data/spec/models/patched_group_saml_source_connection_request_spec.rb +6 -0
  232. data/spec/models/patched_group_source_connection_request_spec.rb +6 -0
  233. data/spec/models/patched_group_telegram_source_connection_request_spec.rb +6 -0
  234. data/spec/models/patched_notification_transport_request_spec.rb +6 -0
  235. data/spec/models/patched_o_auth2_provider_request_spec.rb +6 -0
  236. data/spec/models/patched_saml_provider_request_spec.rb +7 -1
  237. data/spec/models/patched_saml_source_request_spec.rb +6 -0
  238. data/spec/models/patched_settings_request_flags_spec.rb +2 -2
  239. data/spec/models/patched_ssf_provider_request_spec.rb +6 -0
  240. data/spec/models/patched_user_kerberos_source_connection_request_spec.rb +6 -0
  241. data/spec/models/patched_user_ldap_source_connection_request_spec.rb +6 -0
  242. data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +6 -0
  243. data/spec/models/patched_user_plex_source_connection_request_spec.rb +6 -0
  244. data/spec/models/patched_user_saml_source_connection_request_spec.rb +6 -0
  245. data/spec/models/patched_user_source_connection_request_spec.rb +6 -0
  246. data/spec/models/patched_user_telegram_source_connection_request_spec.rb +6 -0
  247. data/spec/models/redirect_challenge_spec.rb +0 -6
  248. data/spec/models/redirect_uri_request_spec.rb +6 -0
  249. data/spec/models/redirect_uri_spec.rb +6 -0
  250. data/spec/models/redirect_uri_type_enum_spec.rb +24 -0
  251. data/spec/models/related_rule_spec.rb +54 -0
  252. data/spec/models/saml_provider_request_spec.rb +7 -1
  253. data/spec/models/saml_provider_spec.rb +25 -1
  254. data/spec/models/saml_source_request_spec.rb +6 -0
  255. data/spec/models/saml_source_spec.rb +6 -0
  256. data/spec/models/scim_provider_spec.rb +6 -0
  257. data/spec/models/ssf_provider_request_spec.rb +6 -0
  258. data/spec/models/ssf_provider_spec.rb +12 -0
  259. data/spec/models/ssf_stream_spec.rb +6 -0
  260. data/spec/models/ssf_stream_status_enum_spec.rb +24 -0
  261. data/spec/models/{task_state_enum_spec.rb → task_status_enum_spec.rb} +6 -6
  262. data/spec/models/transport_mode_enum_spec.rb +24 -0
  263. data/spec/models/usage_enum_spec.rb +24 -0
  264. data/spec/models/user_account_lockdown_request_spec.rb +30 -0
  265. data/spec/models/user_kerberos_source_connection_request_spec.rb +6 -0
  266. data/spec/models/user_ldap_source_connection_request_spec.rb +6 -0
  267. data/spec/models/user_ldap_source_connection_spec.rb +6 -0
  268. data/spec/models/user_o_auth_source_connection_request_spec.rb +6 -0
  269. data/spec/models/user_password_hash_set_request_spec.rb +30 -0
  270. data/spec/models/user_plex_source_connection_request_spec.rb +6 -0
  271. data/spec/models/user_saml_source_connection_request_spec.rb +6 -0
  272. data/spec/models/user_source_connection_request_spec.rb +6 -0
  273. data/spec/models/user_telegram_source_connection_request_spec.rb +6 -0
  274. data/spec/models/web_authn_hint_enum_spec.rb +24 -0
  275. data/spec/zeitwerk_spec.rb +34 -0
  276. metadata +113 -32
  277. data/spec/models/resident_key_requirement_enum_spec.rb +0 -24
@@ -93,6 +93,12 @@ describe Authentik::Api::SCIMProvider do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "token"' 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 "auth_mode"' do
97
103
  it 'should work' do
98
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -45,4 +45,10 @@ describe Authentik::Api::SSFProviderRequest do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "push_verify_certificates"' 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
+
48
54
  end
@@ -75,6 +75,12 @@ describe Authentik::Api::SSFProvider do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "oidc_auth_providers_obj"' 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
+
78
84
  describe 'test attribute "ssf_url"' do
79
85
  it 'should work' do
80
86
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -87,4 +93,10 @@ describe Authentik::Api::SSFProvider do
87
93
  end
88
94
  end
89
95
 
96
+ describe 'test attribute "push_verify_certificates"' 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
+
90
102
  end
@@ -27,6 +27,12 @@ describe Authentik::Api::SSFStream do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "status"' 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
+
30
36
  describe 'test attribute "provider"' do
31
37
  it 'should work' do
32
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,24 @@
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::SSFStreamStatusEnum
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::SSFStreamStatusEnum do
15
+ #let(:instance) { Authentik::Api::SSFStreamStatusEnum.new }
16
+
17
+ describe 'test an instance of SSFStreamStatusEnum' do
18
+ it 'should create an instance of SSFStreamStatusEnum' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::SSFStreamStatusEnum)
21
+ end
22
+ end
23
+
24
+ end
@@ -8,16 +8,16 @@ require 'spec_helper'
8
8
  require 'json'
9
9
  require 'date'
10
10
 
11
- # Unit tests for Authentik::Api::TaskStateEnum
11
+ # Unit tests for Authentik::Api::TaskStatusEnum
12
12
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
13
  # Please update as you see appropriate
14
- describe Authentik::Api::TaskStateEnum do
15
- #let(:instance) { Authentik::Api::TaskStateEnum.new }
14
+ describe Authentik::Api::TaskStatusEnum do
15
+ #let(:instance) { Authentik::Api::TaskStatusEnum.new }
16
16
 
17
- describe 'test an instance of TaskStateEnum' do
18
- it 'should create an instance of TaskStateEnum' do
17
+ describe 'test an instance of TaskStatusEnum' do
18
+ it 'should create an instance of TaskStatusEnum' do
19
19
  # uncomment below to test the instance creation
20
- #expect(instance).to be_instance_of(Authentik::Api::TaskStateEnum)
20
+ #expect(instance).to be_instance_of(Authentik::Api::TaskStatusEnum)
21
21
  end
22
22
  end
23
23
 
@@ -0,0 +1,24 @@
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::TransportModeEnum
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::TransportModeEnum do
15
+ #let(:instance) { Authentik::Api::TransportModeEnum.new }
16
+
17
+ describe 'test an instance of TransportModeEnum' do
18
+ it 'should create an instance of TransportModeEnum' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::TransportModeEnum)
21
+ end
22
+ end
23
+
24
+ end
@@ -0,0 +1,24 @@
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::UsageEnum
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::UsageEnum do
15
+ #let(:instance) { Authentik::Api::UsageEnum.new }
16
+
17
+ describe 'test an instance of UsageEnum' do
18
+ it 'should create an instance of UsageEnum' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::UsageEnum)
21
+ end
22
+ end
23
+
24
+ end
@@ -0,0 +1,30 @@
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::UserAccountLockdownRequest
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::UserAccountLockdownRequest do
15
+ #let(:instance) { Authentik::Api::UserAccountLockdownRequest.new }
16
+
17
+ describe 'test an instance of UserAccountLockdownRequest' do
18
+ it 'should create an instance of UserAccountLockdownRequest' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::UserAccountLockdownRequest)
21
+ end
22
+ end
23
+
24
+ describe 'test attribute "user"' 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
+ end
@@ -21,6 +21,12 @@ describe Authentik::Api::UserKerberosSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -21,6 +21,12 @@ describe Authentik::Api::UserLDAPSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -63,4 +63,10 @@ describe Authentik::Api::UserLDAPSourceConnection do
63
63
  end
64
64
  end
65
65
 
66
+ describe 'test attribute "user_obj"' 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
+
66
72
  end
@@ -21,6 +21,12 @@ describe Authentik::Api::UserOAuthSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,30 @@
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::UserPasswordHashSetRequest
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::UserPasswordHashSetRequest do
15
+ #let(:instance) { Authentik::Api::UserPasswordHashSetRequest.new }
16
+
17
+ describe 'test an instance of UserPasswordHashSetRequest' do
18
+ it 'should create an instance of UserPasswordHashSetRequest' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::UserPasswordHashSetRequest)
21
+ end
22
+ end
23
+
24
+ describe 'test attribute "password"' 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
+ end
@@ -21,6 +21,12 @@ describe Authentik::Api::UserPlexSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -21,6 +21,12 @@ describe Authentik::Api::UserSAMLSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -21,6 +21,12 @@ describe Authentik::Api::UserSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -21,6 +21,12 @@ describe Authentik::Api::UserTelegramSourceConnectionRequest do
21
21
  end
22
22
  end
23
23
 
24
+ describe 'test attribute "user"' 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
+
24
30
  describe 'test attribute "source"' do
25
31
  it 'should work' do
26
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,24 @@
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::WebAuthnHintEnum
12
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
13
+ # Please update as you see appropriate
14
+ describe Authentik::Api::WebAuthnHintEnum do
15
+ #let(:instance) { Authentik::Api::WebAuthnHintEnum.new }
16
+
17
+ describe 'test an instance of WebAuthnHintEnum' do
18
+ it 'should create an instance of WebAuthnHintEnum' do
19
+ # uncomment below to test the instance creation
20
+ #expect(instance).to be_instance_of(Authentik::Api::WebAuthnHintEnum)
21
+ end
22
+ end
23
+
24
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ This file is automatically copied into the gem’s spec path from the `.openapi-generator` directory. Modifications should be made in the latter directory.
3
+ =end
4
+ # frozen_string_literal: true
5
+
6
+ require "zeitwerk"
7
+ require "authentik/api/inflector"
8
+
9
+ RSpec.describe "Zeitwerk compliance" do
10
+ let(:project_root) { File.expand_path("../..", __FILE__) }
11
+ let(:default_inflector) { Zeitwerk::Inflector.new }
12
+ let(:inflection_pattern) { /(?=[A-Z]|\z)/ }
13
+ let(:generated_basenames) do
14
+ Dir[File.join(project_root, "lib/authentik/api/{api,models}/*.rb")].map do |path|
15
+ File.basename(path, ".rb")
16
+ end
17
+ end
18
+
19
+ it "eager loads without raising errors" do
20
+ # Regression test to catch added irregular inflections.
21
+ expect { Zeitwerk::Loader.eager_load_all }.not_to raise_error
22
+ end
23
+
24
+ it "does not keep unused irregular inflections" do
25
+ default_constants = generated_basenames.map { default_inflector.camelize(_1, nil) }
26
+ unused_keys = Authentik::Api::Inflector::IRREGULAR_INFLECTIONS.keys.reject do |key|
27
+ pattern = /#{Regexp.escape(key)}#{inflection_pattern}/
28
+ default_constants.any? { _1.match?(pattern) }
29
+ end
30
+
31
+ expect(unused_keys)
32
+ .to be_empty, "Unused irregular inflections: #{unused_keys.join(", ")}"
33
+ end
34
+ end