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
@@ -39,6 +39,8 @@ module Authentik::Api
39
39
 
40
40
  attr_accessor :flow_device_code
41
41
 
42
+ attr_accessor :flow_lockdown
43
+
42
44
  # When set, external users will be redirected to this application after authenticating.
43
45
  attr_accessor :default_application
44
46
 
@@ -67,6 +69,7 @@ module Authentik::Api
67
69
  :'flow_unenrollment' => :'flow_unenrollment',
68
70
  :'flow_user_settings' => :'flow_user_settings',
69
71
  :'flow_device_code' => :'flow_device_code',
72
+ :'flow_lockdown' => :'flow_lockdown',
70
73
  :'default_application' => :'default_application',
71
74
  :'web_certificate' => :'web_certificate',
72
75
  :'client_certificates' => :'client_certificates',
@@ -101,6 +104,7 @@ module Authentik::Api
101
104
  :'flow_unenrollment' => :'String',
102
105
  :'flow_user_settings' => :'String',
103
106
  :'flow_device_code' => :'String',
107
+ :'flow_lockdown' => :'String',
104
108
  :'default_application' => :'String',
105
109
  :'web_certificate' => :'String',
106
110
  :'client_certificates' => :'Array<String>',
@@ -117,6 +121,7 @@ module Authentik::Api
117
121
  :'flow_unenrollment',
118
122
  :'flow_user_settings',
119
123
  :'flow_device_code',
124
+ :'flow_lockdown',
120
125
  :'default_application',
121
126
  :'web_certificate',
122
127
  ])
@@ -198,6 +203,10 @@ module Authentik::Api
198
203
  self.flow_device_code = attributes[:'flow_device_code']
199
204
  end
200
205
 
206
+ if attributes.key?(:'flow_lockdown')
207
+ self.flow_lockdown = attributes[:'flow_lockdown']
208
+ end
209
+
201
210
  if attributes.key?(:'default_application')
202
211
  self.default_application = attributes[:'default_application']
203
212
  end
@@ -283,6 +292,7 @@ module Authentik::Api
283
292
  flow_unenrollment == o.flow_unenrollment &&
284
293
  flow_user_settings == o.flow_user_settings &&
285
294
  flow_device_code == o.flow_device_code &&
295
+ flow_lockdown == o.flow_lockdown &&
286
296
  default_application == o.default_application &&
287
297
  web_certificate == o.web_certificate &&
288
298
  client_certificates == o.client_certificates &&
@@ -298,7 +308,7 @@ module Authentik::Api
298
308
  # Calculates hash code according to all attributes.
299
309
  # @return [Integer] Hash code
300
310
  def hash
301
- [brand_uuid, domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, default_application, web_certificate, client_certificates, attributes].hash
311
+ [brand_uuid, domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, default_application, web_certificate, client_certificates, attributes].hash
302
312
  end
303
313
 
304
314
  # Builds the object from hash
@@ -37,6 +37,8 @@ module Authentik::Api
37
37
 
38
38
  attr_accessor :flow_device_code
39
39
 
40
+ attr_accessor :flow_lockdown
41
+
40
42
  # When set, external users will be redirected to this application after authenticating.
41
43
  attr_accessor :default_application
42
44
 
@@ -64,6 +66,7 @@ module Authentik::Api
64
66
  :'flow_unenrollment' => :'flow_unenrollment',
65
67
  :'flow_user_settings' => :'flow_user_settings',
66
68
  :'flow_device_code' => :'flow_device_code',
69
+ :'flow_lockdown' => :'flow_lockdown',
67
70
  :'default_application' => :'default_application',
68
71
  :'web_certificate' => :'web_certificate',
69
72
  :'client_certificates' => :'client_certificates',
@@ -97,6 +100,7 @@ module Authentik::Api
97
100
  :'flow_unenrollment' => :'String',
98
101
  :'flow_user_settings' => :'String',
99
102
  :'flow_device_code' => :'String',
103
+ :'flow_lockdown' => :'String',
100
104
  :'default_application' => :'String',
101
105
  :'web_certificate' => :'String',
102
106
  :'client_certificates' => :'Array<String>',
@@ -113,6 +117,7 @@ module Authentik::Api
113
117
  :'flow_unenrollment',
114
118
  :'flow_user_settings',
115
119
  :'flow_device_code',
120
+ :'flow_lockdown',
116
121
  :'default_application',
117
122
  :'web_certificate',
118
123
  ])
@@ -188,6 +193,10 @@ module Authentik::Api
188
193
  self.flow_device_code = attributes[:'flow_device_code']
189
194
  end
190
195
 
196
+ if attributes.key?(:'flow_lockdown')
197
+ self.flow_lockdown = attributes[:'flow_lockdown']
198
+ end
199
+
191
200
  if attributes.key?(:'default_application')
192
201
  self.default_application = attributes[:'default_application']
193
202
  end
@@ -342,6 +351,7 @@ module Authentik::Api
342
351
  flow_unenrollment == o.flow_unenrollment &&
343
352
  flow_user_settings == o.flow_user_settings &&
344
353
  flow_device_code == o.flow_device_code &&
354
+ flow_lockdown == o.flow_lockdown &&
345
355
  default_application == o.default_application &&
346
356
  web_certificate == o.web_certificate &&
347
357
  client_certificates == o.client_certificates &&
@@ -357,7 +367,7 @@ module Authentik::Api
357
367
  # Calculates hash code according to all attributes.
358
368
  # @return [Integer] Hash code
359
369
  def hash
360
- [domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, default_application, web_certificate, client_certificates, attributes].hash
370
+ [domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, default_application, web_certificate, client_certificates, attributes].hash
361
371
  end
362
372
 
363
373
  # Builds the object from hash
@@ -100,7 +100,7 @@ module Authentik::Api
100
100
  :'cert_expiry' => :'Time',
101
101
  :'cert_subject' => :'String',
102
102
  :'private_key_available' => :'Boolean',
103
- :'key_type' => :'KeyTypeEnum',
103
+ :'key_type' => :'CertificateKeyPairKeyTypeEnum',
104
104
  :'certificate_download_url' => :'String',
105
105
  :'private_key_download_url' => :'String',
106
106
  :'managed' => :'String'
@@ -0,0 +1,37 @@
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 'date'
8
+ require 'time'
9
+
10
+ module Authentik::Api
11
+ class CertificateKeyPairKeyTypeEnum
12
+ RSA = "rsa".freeze
13
+ EC = "ec".freeze
14
+ DSA = "dsa".freeze
15
+ ED25519 = "ed25519".freeze
16
+ ED448 = "ed448".freeze
17
+
18
+ def self.all_vars
19
+ @all_vars ||= [RSA, EC, DSA, ED25519, ED448].freeze
20
+ end
21
+
22
+ # Builds the enum from string
23
+ # @param [String] The enum value in the form of the string
24
+ # @return [String] The enum value
25
+ def self.build_from_hash(value)
26
+ new.build_from_hash(value)
27
+ end
28
+
29
+ # Builds the enum from string
30
+ # @param [String] The enum value in the form of the string
31
+ # @return [String] The enum value
32
+ def build_from_hash(value)
33
+ return value if CertificateKeyPairKeyTypeEnum.all_vars.include?(value)
34
+ raise "Invalid ENUM value #{value} for class #CertificateKeyPairKeyTypeEnum"
35
+ end
36
+ end
37
+ end
@@ -13,9 +13,11 @@ module Authentik::Api
13
13
  AWS = "aws".freeze
14
14
  SLACK = "slack".freeze
15
15
  SFDC = "sfdc".freeze
16
+ WEBEX = "webex".freeze
17
+ VCENTER = "vcenter".freeze
16
18
 
17
19
  def self.all_vars
18
- @all_vars ||= [DEFAULT, AWS, SLACK, SFDC].freeze
20
+ @all_vars ||= [DEFAULT, AWS, SLACK, SFDC, WEBEX, VCENTER].freeze
19
21
  end
20
22
 
21
23
  # Builds the enum from string
@@ -8,7 +8,7 @@ require 'date'
8
8
  require 'time'
9
9
 
10
10
  module Authentik::Api
11
- class ConsentStageModeEnum
11
+ class ConsentModeEnum
12
12
  ALWAYS_REQUIRE = "always_require".freeze
13
13
  PERMANENT = "permanent".freeze
14
14
  EXPIRING = "expiring".freeze
@@ -28,8 +28,8 @@ module Authentik::Api
28
28
  # @param [String] The enum value in the form of the string
29
29
  # @return [String] The enum value
30
30
  def build_from_hash(value)
31
- return value if ConsentStageModeEnum.all_vars.include?(value)
32
- raise "Invalid ENUM value #{value} for class #ConsentStageModeEnum"
31
+ return value if ConsentModeEnum.all_vars.include?(value)
32
+ raise "Invalid ENUM value #{value} for class #ConsentModeEnum"
33
33
  end
34
34
  end
35
35
  end
@@ -90,7 +90,7 @@ module Authentik::Api
90
90
  :'verbose_name_plural' => :'String',
91
91
  :'meta_model_name' => :'String',
92
92
  :'flow_set' => :'Array<FlowSet>',
93
- :'mode' => :'ConsentStageModeEnum',
93
+ :'mode' => :'ConsentModeEnum',
94
94
  :'consent_expire_in' => :'String'
95
95
  }
96
96
  end
@@ -62,7 +62,7 @@ module Authentik::Api
62
62
  def self.openapi_types
63
63
  {
64
64
  :'name' => :'String',
65
- :'mode' => :'ConsentStageModeEnum',
65
+ :'mode' => :'ConsentModeEnum',
66
66
  :'consent_expire_in' => :'String'
67
67
  }
68
68
  end
@@ -60,7 +60,6 @@ module Authentik::Api
60
60
  CO = "CO".freeze
61
61
  KM = "KM".freeze
62
62
  CG = "CG".freeze
63
- CD = "CD".freeze
64
63
  CK = "CK".freeze
65
64
  CR = "CR".freeze
66
65
  CI = "CI".freeze
@@ -69,6 +68,7 @@ module Authentik::Api
69
68
  CW = "CW".freeze
70
69
  CY = "CY".freeze
71
70
  CZ = "CZ".freeze
71
+ CD = "CD".freeze
72
72
  DK = "DK".freeze
73
73
  DJ = "DJ".freeze
74
74
  DM = "DM".freeze
@@ -107,7 +107,6 @@ module Authentik::Api
107
107
  GY = "GY".freeze
108
108
  HT = "HT".freeze
109
109
  HM = "HM".freeze
110
- VA = "VA".freeze
111
110
  HN = "HN".freeze
112
111
  HK = "HK".freeze
113
112
  HU = "HU".freeze
@@ -249,6 +248,7 @@ module Authentik::Api
249
248
  UY = "UY".freeze
250
249
  UZ = "UZ".freeze
251
250
  VU = "VU".freeze
251
+ VA = "VA".freeze
252
252
  VE = "VE".freeze
253
253
  VN = "VN".freeze
254
254
  VG = "VG".freeze
@@ -260,7 +260,7 @@ module Authentik::Api
260
260
  ZW = "ZW".freeze
261
261
 
262
262
  def self.all_vars
263
- @all_vars ||= [AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, CV, KH, CM, CA, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, SZ, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, KP, MK, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, SS, ES, LK, SD, SR, SJ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, US, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW].freeze
263
+ @all_vars ||= [AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, CV, KH, CM, CA, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, SZ, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, KP, MK, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, SS, ES, LK, SD, SR, SJ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, US, UY, UZ, VU, VA, VE, VN, VG, VI, WF, EH, YE, ZM, ZW].freeze
264
264
  end
265
265
 
266
266
  # Builds the enum from string
@@ -40,6 +40,8 @@ module Authentik::Api
40
40
 
41
41
  attr_accessor :flow_device_code
42
42
 
43
+ attr_accessor :flow_lockdown
44
+
43
45
  attr_accessor :default_locale
44
46
 
45
47
  attr_accessor :flags
@@ -84,6 +86,7 @@ module Authentik::Api
84
86
  :'flow_unenrollment' => :'flow_unenrollment',
85
87
  :'flow_user_settings' => :'flow_user_settings',
86
88
  :'flow_device_code' => :'flow_device_code',
89
+ :'flow_lockdown' => :'flow_lockdown',
87
90
  :'default_locale' => :'default_locale',
88
91
  :'flags' => :'flags'
89
92
  }
@@ -117,6 +120,7 @@ module Authentik::Api
117
120
  :'flow_unenrollment' => :'String',
118
121
  :'flow_user_settings' => :'String',
119
122
  :'flow_device_code' => :'String',
123
+ :'flow_lockdown' => :'String',
120
124
  :'default_locale' => :'String',
121
125
  :'flags' => :'CurrentBrandFlags'
122
126
  }
@@ -226,6 +230,10 @@ module Authentik::Api
226
230
  self.flow_device_code = attributes[:'flow_device_code']
227
231
  end
228
232
 
233
+ if attributes.key?(:'flow_lockdown')
234
+ self.flow_lockdown = attributes[:'flow_lockdown']
235
+ end
236
+
229
237
  if attributes.key?(:'default_locale')
230
238
  self.default_locale = attributes[:'default_locale']
231
239
  else
@@ -409,6 +417,7 @@ module Authentik::Api
409
417
  flow_unenrollment == o.flow_unenrollment &&
410
418
  flow_user_settings == o.flow_user_settings &&
411
419
  flow_device_code == o.flow_device_code &&
420
+ flow_lockdown == o.flow_lockdown &&
412
421
  default_locale == o.default_locale &&
413
422
  flags == o.flags
414
423
  end
@@ -422,7 +431,7 @@ module Authentik::Api
422
431
  # Calculates hash code according to all attributes.
423
432
  # @return [Integer] Hash code
424
433
  def hash
425
- [matched_domain, branding_title, branding_logo, branding_logo_themed_urls, branding_favicon, branding_favicon_themed_urls, branding_custom_css, ui_footer_links, ui_theme, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, default_locale, flags].hash
434
+ [matched_domain, branding_title, branding_logo, branding_logo_themed_urls, branding_favicon, branding_favicon_themed_urls, branding_custom_css, ui_footer_links, ui_theme, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, default_locale, flags].hash
426
435
  end
427
436
 
428
437
  # Builds the object from hash
@@ -9,19 +9,23 @@ require 'time'
9
9
 
10
10
  module Authentik::Api
11
11
  class CurrentBrandFlags < ApiModelBase
12
- attr_accessor :enterprise_audit_include_expanded_diff
12
+ # Configure if applications without any policy/group/user bindings should be accessible to any user.
13
+ attr_accessor :core_default_app_access
13
14
 
14
- attr_accessor :policies_buffered_access_view
15
+ # Include additional information in audit logs, may incur a performance penalty.
16
+ attr_accessor :enterprise_audit_include_expanded_diff
15
17
 
18
+ # Upon successful authentication, re-start authentication in other open tabs.
16
19
  attr_accessor :flows_continuous_login
17
20
 
21
+ # Refresh other tabs after successful authentication.
18
22
  attr_accessor :flows_refresh_others
19
23
 
20
24
  # Attribute mapping from ruby-style variable name to JSON key.
21
25
  def self.attribute_map
22
26
  {
27
+ :'core_default_app_access' => :'core_default_app_access',
23
28
  :'enterprise_audit_include_expanded_diff' => :'enterprise_audit_include_expanded_diff',
24
- :'policies_buffered_access_view' => :'policies_buffered_access_view',
25
29
  :'flows_continuous_login' => :'flows_continuous_login',
26
30
  :'flows_refresh_others' => :'flows_refresh_others'
27
31
  }
@@ -40,8 +44,8 @@ module Authentik::Api
40
44
  # Attribute type mapping.
41
45
  def self.openapi_types
42
46
  {
47
+ :'core_default_app_access' => :'Boolean',
43
48
  :'enterprise_audit_include_expanded_diff' => :'Boolean',
44
- :'policies_buffered_access_view' => :'Boolean',
45
49
  :'flows_continuous_login' => :'Boolean',
46
50
  :'flows_refresh_others' => :'Boolean'
47
51
  }
@@ -69,16 +73,16 @@ module Authentik::Api
69
73
  h[k.to_sym] = v
70
74
  }
71
75
 
72
- if attributes.key?(:'enterprise_audit_include_expanded_diff')
73
- self.enterprise_audit_include_expanded_diff = attributes[:'enterprise_audit_include_expanded_diff']
76
+ if attributes.key?(:'core_default_app_access')
77
+ self.core_default_app_access = attributes[:'core_default_app_access']
74
78
  else
75
- self.enterprise_audit_include_expanded_diff = nil
79
+ self.core_default_app_access = nil
76
80
  end
77
81
 
78
- if attributes.key?(:'policies_buffered_access_view')
79
- self.policies_buffered_access_view = attributes[:'policies_buffered_access_view']
82
+ if attributes.key?(:'enterprise_audit_include_expanded_diff')
83
+ self.enterprise_audit_include_expanded_diff = attributes[:'enterprise_audit_include_expanded_diff']
80
84
  else
81
- self.policies_buffered_access_view = nil
85
+ self.enterprise_audit_include_expanded_diff = nil
82
86
  end
83
87
 
84
88
  if attributes.key?(:'flows_continuous_login')
@@ -99,12 +103,12 @@ module Authentik::Api
99
103
  def list_invalid_properties
100
104
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
101
105
  invalid_properties = Array.new
102
- if @enterprise_audit_include_expanded_diff.nil?
103
- invalid_properties.push('invalid value for "enterprise_audit_include_expanded_diff", enterprise_audit_include_expanded_diff cannot be nil.')
106
+ if @core_default_app_access.nil?
107
+ invalid_properties.push('invalid value for "core_default_app_access", core_default_app_access cannot be nil.')
104
108
  end
105
109
 
106
- if @policies_buffered_access_view.nil?
107
- invalid_properties.push('invalid value for "policies_buffered_access_view", policies_buffered_access_view cannot be nil.')
110
+ if @enterprise_audit_include_expanded_diff.nil?
111
+ invalid_properties.push('invalid value for "enterprise_audit_include_expanded_diff", enterprise_audit_include_expanded_diff cannot be nil.')
108
112
  end
109
113
 
110
114
  if @flows_continuous_login.nil?
@@ -122,31 +126,31 @@ module Authentik::Api
122
126
  # @return true if the model is valid
123
127
  def valid?
124
128
  warn '[DEPRECATED] the `valid?` method is obsolete'
129
+ return false if @core_default_app_access.nil?
125
130
  return false if @enterprise_audit_include_expanded_diff.nil?
126
- return false if @policies_buffered_access_view.nil?
127
131
  return false if @flows_continuous_login.nil?
128
132
  return false if @flows_refresh_others.nil?
129
133
  true
130
134
  end
131
135
 
132
136
  # Custom attribute writer method with validation
133
- # @param [Object] enterprise_audit_include_expanded_diff Value to be assigned
134
- def enterprise_audit_include_expanded_diff=(enterprise_audit_include_expanded_diff)
135
- if enterprise_audit_include_expanded_diff.nil?
136
- fail ArgumentError, 'enterprise_audit_include_expanded_diff cannot be nil'
137
+ # @param [Object] core_default_app_access Value to be assigned
138
+ def core_default_app_access=(core_default_app_access)
139
+ if core_default_app_access.nil?
140
+ fail ArgumentError, 'core_default_app_access cannot be nil'
137
141
  end
138
142
 
139
- @enterprise_audit_include_expanded_diff = enterprise_audit_include_expanded_diff
143
+ @core_default_app_access = core_default_app_access
140
144
  end
141
145
 
142
146
  # Custom attribute writer method with validation
143
- # @param [Object] policies_buffered_access_view Value to be assigned
144
- def policies_buffered_access_view=(policies_buffered_access_view)
145
- if policies_buffered_access_view.nil?
146
- fail ArgumentError, 'policies_buffered_access_view cannot be nil'
147
+ # @param [Object] enterprise_audit_include_expanded_diff Value to be assigned
148
+ def enterprise_audit_include_expanded_diff=(enterprise_audit_include_expanded_diff)
149
+ if enterprise_audit_include_expanded_diff.nil?
150
+ fail ArgumentError, 'enterprise_audit_include_expanded_diff cannot be nil'
147
151
  end
148
152
 
149
- @policies_buffered_access_view = policies_buffered_access_view
153
+ @enterprise_audit_include_expanded_diff = enterprise_audit_include_expanded_diff
150
154
  end
151
155
 
152
156
  # Custom attribute writer method with validation
@@ -174,8 +178,8 @@ module Authentik::Api
174
178
  def ==(o)
175
179
  return true if self.equal?(o)
176
180
  self.class == o.class &&
181
+ core_default_app_access == o.core_default_app_access &&
177
182
  enterprise_audit_include_expanded_diff == o.enterprise_audit_include_expanded_diff &&
178
- policies_buffered_access_view == o.policies_buffered_access_view &&
179
183
  flows_continuous_login == o.flows_continuous_login &&
180
184
  flows_refresh_others == o.flows_refresh_others
181
185
  end
@@ -189,7 +193,7 @@ module Authentik::Api
189
193
  # Calculates hash code according to all attributes.
190
194
  # @return [Integer] Hash code
191
195
  def hash
192
- [enterprise_audit_include_expanded_diff, policies_buffered_access_view, flows_continuous_login, flows_refresh_others].hash
196
+ [core_default_app_access, enterprise_audit_include_expanded_diff, flows_continuous_login, flows_refresh_others].hash
193
197
  end
194
198
 
195
199
  # Builds the object from hash
@@ -11,9 +11,11 @@ module Authentik::Api
11
11
  class DeliveryMethodEnum
12
12
  HTTPS___SCHEMAS_OPENID_NET_SECEVENT_RISC_DELIVERY_METHOD_PUSH = "https://schemas.openid.net/secevent/risc/delivery-method/push".freeze
13
13
  HTTPS___SCHEMAS_OPENID_NET_SECEVENT_RISC_DELIVERY_METHOD_POLL = "https://schemas.openid.net/secevent/risc/delivery-method/poll".freeze
14
+ URN_IETF_RFC_8935 = "urn:ietf:rfc:8935".freeze
15
+ URN_IETF_RFC_8936 = "urn:ietf:rfc:8936".freeze
14
16
 
15
17
  def self.all_vars
16
- @all_vars ||= [HTTPS___SCHEMAS_OPENID_NET_SECEVENT_RISC_DELIVERY_METHOD_PUSH, HTTPS___SCHEMAS_OPENID_NET_SECEVENT_RISC_DELIVERY_METHOD_POLL].freeze
18
+ @all_vars ||= [HTTPS___SCHEMAS_OPENID_NET_SECEVENT_RISC_DELIVERY_METHOD_PUSH, HTTPS___SCHEMAS_OPENID_NET_SECEVENT_RISC_DELIVERY_METHOD_POLL, URN_IETF_RFC_8935, URN_IETF_RFC_8936].freeze
17
19
  end
18
20
 
19
21
  # Builds the enum from string
@@ -44,6 +44,8 @@ module Authentik::Api
44
44
  # Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched.
45
45
  attr_accessor :model
46
46
 
47
+ attr_accessor :query
48
+
47
49
  class EnumAttributeValidator
48
50
  attr_reader :datatype
49
51
  attr_reader :allowable_values
@@ -80,7 +82,8 @@ module Authentik::Api
80
82
  :'action' => :'action',
81
83
  :'client_ip' => :'client_ip',
82
84
  :'app' => :'app',
83
- :'model' => :'model'
85
+ :'model' => :'model',
86
+ :'query' => :'query'
84
87
  }
85
88
  end
86
89
 
@@ -108,7 +111,8 @@ module Authentik::Api
108
111
  :'action' => :'EventActions',
109
112
  :'client_ip' => :'String',
110
113
  :'app' => :'AppEnum',
111
- :'model' => :'ModelEnum'
114
+ :'model' => :'ModelEnum',
115
+ :'query' => :'String'
112
116
  }
113
117
  end
114
118
 
@@ -118,7 +122,8 @@ module Authentik::Api
118
122
  :'action',
119
123
  :'client_ip',
120
124
  :'app',
121
- :'model'
125
+ :'model',
126
+ :'query'
122
127
  ])
123
128
  end
124
129
 
@@ -199,6 +204,10 @@ module Authentik::Api
199
204
  if attributes.key?(:'model')
200
205
  self.model = attributes[:'model']
201
206
  end
207
+
208
+ if attributes.key?(:'query')
209
+ self.query = attributes[:'query']
210
+ end
202
211
  end
203
212
 
204
213
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -337,7 +346,8 @@ module Authentik::Api
337
346
  action == o.action &&
338
347
  client_ip == o.client_ip &&
339
348
  app == o.app &&
340
- model == o.model
349
+ model == o.model &&
350
+ query == o.query
341
351
  end
342
352
 
343
353
  # @see the `==` method
@@ -349,7 +359,7 @@ module Authentik::Api
349
359
  # Calculates hash code according to all attributes.
350
360
  # @return [Integer] Hash code
351
361
  def hash
352
- [pk, name, execution_logging, component, verbose_name, verbose_name_plural, meta_model_name, bound_to, action, client_ip, app, model].hash
362
+ [pk, name, execution_logging, component, verbose_name, verbose_name_plural, meta_model_name, bound_to, action, client_ip, app, model, query].hash
353
363
  end
354
364
 
355
365
  # Builds the object from hash
@@ -27,6 +27,8 @@ module Authentik::Api
27
27
  # Match events created by selected model. When left empty, all models are matched. When an app is selected, all the application's models are matched.
28
28
  attr_accessor :model
29
29
 
30
+ attr_accessor :query
31
+
30
32
  class EnumAttributeValidator
31
33
  attr_reader :datatype
32
34
  attr_reader :allowable_values
@@ -57,7 +59,8 @@ module Authentik::Api
57
59
  :'action' => :'action',
58
60
  :'client_ip' => :'client_ip',
59
61
  :'app' => :'app',
60
- :'model' => :'model'
62
+ :'model' => :'model',
63
+ :'query' => :'query'
61
64
  }
62
65
  end
63
66
 
@@ -79,7 +82,8 @@ module Authentik::Api
79
82
  :'action' => :'EventActions',
80
83
  :'client_ip' => :'String',
81
84
  :'app' => :'AppEnum',
82
- :'model' => :'ModelEnum'
85
+ :'model' => :'ModelEnum',
86
+ :'query' => :'String'
83
87
  }
84
88
  end
85
89
 
@@ -89,7 +93,8 @@ module Authentik::Api
89
93
  :'action',
90
94
  :'client_ip',
91
95
  :'app',
92
- :'model'
96
+ :'model',
97
+ :'query'
93
98
  ])
94
99
  end
95
100
 
@@ -134,6 +139,10 @@ module Authentik::Api
134
139
  if attributes.key?(:'model')
135
140
  self.model = attributes[:'model']
136
141
  end
142
+
143
+ if attributes.key?(:'query')
144
+ self.query = attributes[:'query']
145
+ end
137
146
  end
138
147
 
139
148
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -153,6 +162,10 @@ module Authentik::Api
153
162
  invalid_properties.push('invalid value for "client_ip", the character length must be greater than or equal to 1.')
154
163
  end
155
164
 
165
+ if !@query.nil? && @query.to_s.length < 1
166
+ invalid_properties.push('invalid value for "query", the character length must be greater than or equal to 1.')
167
+ end
168
+
156
169
  invalid_properties
157
170
  end
158
171
 
@@ -163,6 +176,7 @@ module Authentik::Api
163
176
  return false if @name.nil?
164
177
  return false if @name.to_s.length < 1
165
178
  return false if !@client_ip.nil? && @client_ip.to_s.length < 1
179
+ return false if !@query.nil? && @query.to_s.length < 1
166
180
  true
167
181
  end
168
182
 
@@ -190,6 +204,16 @@ module Authentik::Api
190
204
  @client_ip = client_ip
191
205
  end
192
206
 
207
+ # Custom attribute writer method with validation
208
+ # @param [Object] query Value to be assigned
209
+ def query=(query)
210
+ if !query.nil? && query.to_s.length < 1
211
+ fail ArgumentError, 'invalid value for "query", the character length must be greater than or equal to 1.'
212
+ end
213
+
214
+ @query = query
215
+ end
216
+
193
217
  # Checks equality by comparing each attribute.
194
218
  # @param [Object] Object to be compared
195
219
  def ==(o)
@@ -200,7 +224,8 @@ module Authentik::Api
200
224
  action == o.action &&
201
225
  client_ip == o.client_ip &&
202
226
  app == o.app &&
203
- model == o.model
227
+ model == o.model &&
228
+ query == o.query
204
229
  end
205
230
 
206
231
  # @see the `==` method
@@ -212,7 +237,7 @@ module Authentik::Api
212
237
  # Calculates hash code according to all attributes.
213
238
  # @return [Integer] Hash code
214
239
  def hash
215
- [name, execution_logging, action, client_ip, app, model].hash
240
+ [name, execution_logging, action, client_ip, app, model, query].hash
216
241
  end
217
242
 
218
243
  # Builds the object from hash