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
@@ -35,7 +35,7 @@ module Authentik::Api
35
35
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_all_destroy"
36
36
  end
37
37
  # resource path
38
- local_var_path = '/sources/all/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
38
+ local_var_path = '/sources/all/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
39
39
 
40
40
  # query parameters
41
41
  query_params = opts[:query_params] || {}
@@ -175,7 +175,7 @@ module Authentik::Api
175
175
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_all_retrieve"
176
176
  end
177
177
  # resource path
178
- local_var_path = '/sources/all/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
178
+ local_var_path = '/sources/all/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
179
179
 
180
180
  # query parameters
181
181
  query_params = opts[:query_params] || {}
@@ -291,7 +291,7 @@ module Authentik::Api
291
291
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_all_used_by_list"
292
292
  end
293
293
  # resource path
294
- local_var_path = '/sources/all/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
294
+ local_var_path = '/sources/all/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
295
295
 
296
296
  # query parameters
297
297
  query_params = opts[:query_params] || {}
@@ -407,7 +407,7 @@ module Authentik::Api
407
407
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_all_destroy"
408
408
  end
409
409
  # resource path
410
- local_var_path = '/sources/group_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
410
+ local_var_path = '/sources/group_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
411
411
 
412
412
  # query parameters
413
413
  query_params = opts[:query_params] || {}
@@ -543,7 +543,7 @@ module Authentik::Api
543
543
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_all_partial_update"
544
544
  end
545
545
  # resource path
546
- local_var_path = '/sources/group_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
546
+ local_var_path = '/sources/group_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
547
547
 
548
548
  # query parameters
549
549
  query_params = opts[:query_params] || {}
@@ -609,7 +609,7 @@ module Authentik::Api
609
609
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_all_retrieve"
610
610
  end
611
611
  # resource path
612
- local_var_path = '/sources/group_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
612
+ local_var_path = '/sources/group_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
613
613
 
614
614
  # query parameters
615
615
  query_params = opts[:query_params] || {}
@@ -676,7 +676,7 @@ module Authentik::Api
676
676
  fail ArgumentError, "Missing the required parameter 'group_source_connection_request' when calling SourcesApi.sources_group_connections_all_update"
677
677
  end
678
678
  # resource path
679
- local_var_path = '/sources/group_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
679
+ local_var_path = '/sources/group_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
680
680
 
681
681
  # query parameters
682
682
  query_params = opts[:query_params] || {}
@@ -742,7 +742,7 @@ module Authentik::Api
742
742
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_all_used_by_list"
743
743
  end
744
744
  # resource path
745
- local_var_path = '/sources/group_connections/all/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
745
+ local_var_path = '/sources/group_connections/all/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
746
746
 
747
747
  # query parameters
748
748
  query_params = opts[:query_params] || {}
@@ -869,7 +869,7 @@ module Authentik::Api
869
869
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_kerberos_destroy"
870
870
  end
871
871
  # resource path
872
- local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
872
+ local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
873
873
 
874
874
  # query parameters
875
875
  query_params = opts[:query_params] || {}
@@ -1005,7 +1005,7 @@ module Authentik::Api
1005
1005
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_kerberos_partial_update"
1006
1006
  end
1007
1007
  # resource path
1008
- local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1008
+ local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
1009
1009
 
1010
1010
  # query parameters
1011
1011
  query_params = opts[:query_params] || {}
@@ -1071,7 +1071,7 @@ module Authentik::Api
1071
1071
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_kerberos_retrieve"
1072
1072
  end
1073
1073
  # resource path
1074
- local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1074
+ local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
1075
1075
 
1076
1076
  # query parameters
1077
1077
  query_params = opts[:query_params] || {}
@@ -1138,7 +1138,7 @@ module Authentik::Api
1138
1138
  fail ArgumentError, "Missing the required parameter 'group_kerberos_source_connection_request' when calling SourcesApi.sources_group_connections_kerberos_update"
1139
1139
  end
1140
1140
  # resource path
1141
- local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1141
+ local_var_path = '/sources/group_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
1142
1142
 
1143
1143
  # query parameters
1144
1144
  query_params = opts[:query_params] || {}
@@ -1204,7 +1204,7 @@ module Authentik::Api
1204
1204
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_kerberos_used_by_list"
1205
1205
  end
1206
1206
  # resource path
1207
- local_var_path = '/sources/group_connections/kerberos/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1207
+ local_var_path = '/sources/group_connections/kerberos/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
1208
1208
 
1209
1209
  # query parameters
1210
1210
  query_params = opts[:query_params] || {}
@@ -1331,7 +1331,7 @@ module Authentik::Api
1331
1331
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_ldap_destroy"
1332
1332
  end
1333
1333
  # resource path
1334
- local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1334
+ local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
1335
1335
 
1336
1336
  # query parameters
1337
1337
  query_params = opts[:query_params] || {}
@@ -1467,7 +1467,7 @@ module Authentik::Api
1467
1467
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_ldap_partial_update"
1468
1468
  end
1469
1469
  # resource path
1470
- local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1470
+ local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
1471
1471
 
1472
1472
  # query parameters
1473
1473
  query_params = opts[:query_params] || {}
@@ -1533,7 +1533,7 @@ module Authentik::Api
1533
1533
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_ldap_retrieve"
1534
1534
  end
1535
1535
  # resource path
1536
- local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1536
+ local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
1537
1537
 
1538
1538
  # query parameters
1539
1539
  query_params = opts[:query_params] || {}
@@ -1600,7 +1600,7 @@ module Authentik::Api
1600
1600
  fail ArgumentError, "Missing the required parameter 'group_ldap_source_connection_request' when calling SourcesApi.sources_group_connections_ldap_update"
1601
1601
  end
1602
1602
  # resource path
1603
- local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1603
+ local_var_path = '/sources/group_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
1604
1604
 
1605
1605
  # query parameters
1606
1606
  query_params = opts[:query_params] || {}
@@ -1666,7 +1666,7 @@ module Authentik::Api
1666
1666
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_ldap_used_by_list"
1667
1667
  end
1668
1668
  # resource path
1669
- local_var_path = '/sources/group_connections/ldap/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1669
+ local_var_path = '/sources/group_connections/ldap/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
1670
1670
 
1671
1671
  # query parameters
1672
1672
  query_params = opts[:query_params] || {}
@@ -1793,7 +1793,7 @@ module Authentik::Api
1793
1793
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_oauth_destroy"
1794
1794
  end
1795
1795
  # resource path
1796
- local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1796
+ local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
1797
1797
 
1798
1798
  # query parameters
1799
1799
  query_params = opts[:query_params] || {}
@@ -1929,7 +1929,7 @@ module Authentik::Api
1929
1929
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_oauth_partial_update"
1930
1930
  end
1931
1931
  # resource path
1932
- local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1932
+ local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
1933
1933
 
1934
1934
  # query parameters
1935
1935
  query_params = opts[:query_params] || {}
@@ -1995,7 +1995,7 @@ module Authentik::Api
1995
1995
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_oauth_retrieve"
1996
1996
  end
1997
1997
  # resource path
1998
- local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1998
+ local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
1999
1999
 
2000
2000
  # query parameters
2001
2001
  query_params = opts[:query_params] || {}
@@ -2062,7 +2062,7 @@ module Authentik::Api
2062
2062
  fail ArgumentError, "Missing the required parameter 'group_o_auth_source_connection_request' when calling SourcesApi.sources_group_connections_oauth_update"
2063
2063
  end
2064
2064
  # resource path
2065
- local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2065
+ local_var_path = '/sources/group_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
2066
2066
 
2067
2067
  # query parameters
2068
2068
  query_params = opts[:query_params] || {}
@@ -2128,7 +2128,7 @@ module Authentik::Api
2128
2128
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_oauth_used_by_list"
2129
2129
  end
2130
2130
  # resource path
2131
- local_var_path = '/sources/group_connections/oauth/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2131
+ local_var_path = '/sources/group_connections/oauth/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
2132
2132
 
2133
2133
  # query parameters
2134
2134
  query_params = opts[:query_params] || {}
@@ -2255,7 +2255,7 @@ module Authentik::Api
2255
2255
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_plex_destroy"
2256
2256
  end
2257
2257
  # resource path
2258
- local_var_path = '/sources/group_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2258
+ local_var_path = '/sources/group_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
2259
2259
 
2260
2260
  # query parameters
2261
2261
  query_params = opts[:query_params] || {}
@@ -2391,7 +2391,7 @@ module Authentik::Api
2391
2391
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_plex_partial_update"
2392
2392
  end
2393
2393
  # resource path
2394
- local_var_path = '/sources/group_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2394
+ local_var_path = '/sources/group_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
2395
2395
 
2396
2396
  # query parameters
2397
2397
  query_params = opts[:query_params] || {}
@@ -2457,7 +2457,7 @@ module Authentik::Api
2457
2457
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_plex_retrieve"
2458
2458
  end
2459
2459
  # resource path
2460
- local_var_path = '/sources/group_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2460
+ local_var_path = '/sources/group_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
2461
2461
 
2462
2462
  # query parameters
2463
2463
  query_params = opts[:query_params] || {}
@@ -2524,7 +2524,7 @@ module Authentik::Api
2524
2524
  fail ArgumentError, "Missing the required parameter 'group_plex_source_connection_request' when calling SourcesApi.sources_group_connections_plex_update"
2525
2525
  end
2526
2526
  # resource path
2527
- local_var_path = '/sources/group_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2527
+ local_var_path = '/sources/group_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
2528
2528
 
2529
2529
  # query parameters
2530
2530
  query_params = opts[:query_params] || {}
@@ -2590,7 +2590,7 @@ module Authentik::Api
2590
2590
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_plex_used_by_list"
2591
2591
  end
2592
2592
  # resource path
2593
- local_var_path = '/sources/group_connections/plex/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2593
+ local_var_path = '/sources/group_connections/plex/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
2594
2594
 
2595
2595
  # query parameters
2596
2596
  query_params = opts[:query_params] || {}
@@ -2717,7 +2717,7 @@ module Authentik::Api
2717
2717
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_saml_destroy"
2718
2718
  end
2719
2719
  # resource path
2720
- local_var_path = '/sources/group_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2720
+ local_var_path = '/sources/group_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
2721
2721
 
2722
2722
  # query parameters
2723
2723
  query_params = opts[:query_params] || {}
@@ -2853,7 +2853,7 @@ module Authentik::Api
2853
2853
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_saml_partial_update"
2854
2854
  end
2855
2855
  # resource path
2856
- local_var_path = '/sources/group_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2856
+ local_var_path = '/sources/group_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
2857
2857
 
2858
2858
  # query parameters
2859
2859
  query_params = opts[:query_params] || {}
@@ -2919,7 +2919,7 @@ module Authentik::Api
2919
2919
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_saml_retrieve"
2920
2920
  end
2921
2921
  # resource path
2922
- local_var_path = '/sources/group_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2922
+ local_var_path = '/sources/group_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
2923
2923
 
2924
2924
  # query parameters
2925
2925
  query_params = opts[:query_params] || {}
@@ -2986,7 +2986,7 @@ module Authentik::Api
2986
2986
  fail ArgumentError, "Missing the required parameter 'group_saml_source_connection_request' when calling SourcesApi.sources_group_connections_saml_update"
2987
2987
  end
2988
2988
  # resource path
2989
- local_var_path = '/sources/group_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
2989
+ local_var_path = '/sources/group_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
2990
2990
 
2991
2991
  # query parameters
2992
2992
  query_params = opts[:query_params] || {}
@@ -3052,7 +3052,7 @@ module Authentik::Api
3052
3052
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_saml_used_by_list"
3053
3053
  end
3054
3054
  # resource path
3055
- local_var_path = '/sources/group_connections/saml/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
3055
+ local_var_path = '/sources/group_connections/saml/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
3056
3056
 
3057
3057
  # query parameters
3058
3058
  query_params = opts[:query_params] || {}
@@ -3179,7 +3179,7 @@ module Authentik::Api
3179
3179
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_telegram_destroy"
3180
3180
  end
3181
3181
  # resource path
3182
- local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
3182
+ local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
3183
3183
 
3184
3184
  # query parameters
3185
3185
  query_params = opts[:query_params] || {}
@@ -3315,7 +3315,7 @@ module Authentik::Api
3315
3315
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_telegram_partial_update"
3316
3316
  end
3317
3317
  # resource path
3318
- local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
3318
+ local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
3319
3319
 
3320
3320
  # query parameters
3321
3321
  query_params = opts[:query_params] || {}
@@ -3381,7 +3381,7 @@ module Authentik::Api
3381
3381
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_telegram_retrieve"
3382
3382
  end
3383
3383
  # resource path
3384
- local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
3384
+ local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
3385
3385
 
3386
3386
  # query parameters
3387
3387
  query_params = opts[:query_params] || {}
@@ -3448,7 +3448,7 @@ module Authentik::Api
3448
3448
  fail ArgumentError, "Missing the required parameter 'group_telegram_source_connection_request' when calling SourcesApi.sources_group_connections_telegram_update"
3449
3449
  end
3450
3450
  # resource path
3451
- local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
3451
+ local_var_path = '/sources/group_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
3452
3452
 
3453
3453
  # query parameters
3454
3454
  query_params = opts[:query_params] || {}
@@ -3514,7 +3514,7 @@ module Authentik::Api
3514
3514
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_group_connections_telegram_used_by_list"
3515
3515
  end
3516
3516
  # resource path
3517
- local_var_path = '/sources/group_connections/telegram/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
3517
+ local_var_path = '/sources/group_connections/telegram/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
3518
3518
 
3519
3519
  # query parameters
3520
3520
  query_params = opts[:query_params] || {}
@@ -3641,7 +3641,7 @@ module Authentik::Api
3641
3641
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_kerberos_destroy"
3642
3642
  end
3643
3643
  # resource path
3644
- local_var_path = '/sources/kerberos/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
3644
+ local_var_path = '/sources/kerberos/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
3645
3645
 
3646
3646
  # query parameters
3647
3647
  query_params = opts[:query_params] || {}
@@ -3683,7 +3683,7 @@ module Authentik::Api
3683
3683
  # Kerberos Source Viewset
3684
3684
  # @param [Hash] opts the optional parameters
3685
3685
  # @option opts [Boolean] :enabled
3686
- # @option opts [String] :kadmin_type KAdmin server type
3686
+ # @option opts [KadminTypeEnum] :kadmin_type
3687
3687
  # @option opts [String] :name
3688
3688
  # @option opts [String] :ordering Which field to use when ordering the results.
3689
3689
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -3706,7 +3706,7 @@ module Authentik::Api
3706
3706
  # Kerberos Source Viewset
3707
3707
  # @param [Hash] opts the optional parameters
3708
3708
  # @option opts [Boolean] :enabled
3709
- # @option opts [String] :kadmin_type KAdmin server type
3709
+ # @option opts [KadminTypeEnum] :kadmin_type
3710
3710
  # @option opts [String] :name
3711
3711
  # @option opts [String] :ordering Which field to use when ordering the results.
3712
3712
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -3725,10 +3725,6 @@ module Authentik::Api
3725
3725
  if @api_client.config.debugging
3726
3726
  @api_client.config.logger.debug 'Calling API: SourcesApi.sources_kerberos_list ...'
3727
3727
  end
3728
- allowable_values = ["Heimdal", "MIT"]
3729
- if @api_client.config.client_side_validation && opts[:'kadmin_type'] && !allowable_values.include?(opts[:'kadmin_type'])
3730
- fail ArgumentError, "invalid value for \"kadmin_type\", must be one of #{allowable_values}"
3731
- end
3732
3728
  # resource path
3733
3729
  local_var_path = '/sources/kerberos/'
3734
3730
 
@@ -3808,7 +3804,7 @@ module Authentik::Api
3808
3804
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_kerberos_partial_update"
3809
3805
  end
3810
3806
  # resource path
3811
- local_var_path = '/sources/kerberos/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
3807
+ local_var_path = '/sources/kerberos/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
3812
3808
 
3813
3809
  # query parameters
3814
3810
  query_params = opts[:query_params] || {}
@@ -3874,7 +3870,7 @@ module Authentik::Api
3874
3870
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_kerberos_retrieve"
3875
3871
  end
3876
3872
  # resource path
3877
- local_var_path = '/sources/kerberos/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
3873
+ local_var_path = '/sources/kerberos/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
3878
3874
 
3879
3875
  # query parameters
3880
3876
  query_params = opts[:query_params] || {}
@@ -3935,7 +3931,7 @@ module Authentik::Api
3935
3931
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_kerberos_sync_status_retrieve"
3936
3932
  end
3937
3933
  # resource path
3938
- local_var_path = '/sources/kerberos/{slug}/sync/status/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
3934
+ local_var_path = '/sources/kerberos/{slug}/sync/status/'.sub('{slug}', CGI.escape(slug.to_s))
3939
3935
 
3940
3936
  # query parameters
3941
3937
  query_params = opts[:query_params] || {}
@@ -4002,7 +3998,7 @@ module Authentik::Api
4002
3998
  fail ArgumentError, "Missing the required parameter 'kerberos_source_request' when calling SourcesApi.sources_kerberos_update"
4003
3999
  end
4004
4000
  # resource path
4005
- local_var_path = '/sources/kerberos/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4001
+ local_var_path = '/sources/kerberos/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
4006
4002
 
4007
4003
  # query parameters
4008
4004
  query_params = opts[:query_params] || {}
@@ -4068,7 +4064,7 @@ module Authentik::Api
4068
4064
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_kerberos_used_by_list"
4069
4065
  end
4070
4066
  # resource path
4071
- local_var_path = '/sources/kerberos/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4067
+ local_var_path = '/sources/kerberos/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
4072
4068
 
4073
4069
  # query parameters
4074
4070
  query_params = opts[:query_params] || {}
@@ -4195,7 +4191,7 @@ module Authentik::Api
4195
4191
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_ldap_debug_retrieve"
4196
4192
  end
4197
4193
  # resource path
4198
- local_var_path = '/sources/ldap/{slug}/debug/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4194
+ local_var_path = '/sources/ldap/{slug}/debug/'.sub('{slug}', CGI.escape(slug.to_s))
4199
4195
 
4200
4196
  # query parameters
4201
4197
  query_params = opts[:query_params] || {}
@@ -4256,7 +4252,7 @@ module Authentik::Api
4256
4252
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_ldap_destroy"
4257
4253
  end
4258
4254
  # resource path
4259
- local_var_path = '/sources/ldap/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4255
+ local_var_path = '/sources/ldap/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
4260
4256
 
4261
4257
  # query parameters
4262
4258
  query_params = opts[:query_params] || {}
@@ -4467,7 +4463,7 @@ module Authentik::Api
4467
4463
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_ldap_partial_update"
4468
4464
  end
4469
4465
  # resource path
4470
- local_var_path = '/sources/ldap/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4466
+ local_var_path = '/sources/ldap/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
4471
4467
 
4472
4468
  # query parameters
4473
4469
  query_params = opts[:query_params] || {}
@@ -4533,7 +4529,7 @@ module Authentik::Api
4533
4529
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_ldap_retrieve"
4534
4530
  end
4535
4531
  # resource path
4536
- local_var_path = '/sources/ldap/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4532
+ local_var_path = '/sources/ldap/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
4537
4533
 
4538
4534
  # query parameters
4539
4535
  query_params = opts[:query_params] || {}
@@ -4594,7 +4590,7 @@ module Authentik::Api
4594
4590
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_ldap_sync_status_retrieve"
4595
4591
  end
4596
4592
  # resource path
4597
- local_var_path = '/sources/ldap/{slug}/sync/status/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4593
+ local_var_path = '/sources/ldap/{slug}/sync/status/'.sub('{slug}', CGI.escape(slug.to_s))
4598
4594
 
4599
4595
  # query parameters
4600
4596
  query_params = opts[:query_params] || {}
@@ -4661,7 +4657,7 @@ module Authentik::Api
4661
4657
  fail ArgumentError, "Missing the required parameter 'ldap_source_request' when calling SourcesApi.sources_ldap_update"
4662
4658
  end
4663
4659
  # resource path
4664
- local_var_path = '/sources/ldap/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4660
+ local_var_path = '/sources/ldap/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
4665
4661
 
4666
4662
  # query parameters
4667
4663
  query_params = opts[:query_params] || {}
@@ -4727,7 +4723,7 @@ module Authentik::Api
4727
4723
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_ldap_used_by_list"
4728
4724
  end
4729
4725
  # resource path
4730
- local_var_path = '/sources/ldap/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4726
+ local_var_path = '/sources/ldap/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
4731
4727
 
4732
4728
  # query parameters
4733
4729
  query_params = opts[:query_params] || {}
@@ -4854,7 +4850,7 @@ module Authentik::Api
4854
4850
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_oauth_destroy"
4855
4851
  end
4856
4852
  # resource path
4857
- local_var_path = '/sources/oauth/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
4853
+ local_var_path = '/sources/oauth/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
4858
4854
 
4859
4855
  # query parameters
4860
4856
  query_params = opts[:query_params] || {}
@@ -4902,20 +4898,20 @@ module Authentik::Api
4902
4898
  # @option opts [String] :consumer_key
4903
4899
  # @option opts [Boolean] :enabled
4904
4900
  # @option opts [String] :enrollment_flow
4905
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
4901
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
4906
4902
  # @option opts [Boolean] :has_jwks Only return sources with JWKS data
4907
4903
  # @option opts [String] :name
4908
4904
  # @option opts [String] :ordering Which field to use when ordering the results.
4909
4905
  # @option opts [Integer] :page A page number within the paginated result set.
4910
4906
  # @option opts [Integer] :page_size Number of results to return per page.
4911
4907
  # @option opts [String] :pbm_uuid
4912
- # @option opts [String] :policy_engine_mode
4908
+ # @option opts [PolicyEngineMode] :policy_engine_mode
4913
4909
  # @option opts [String] :profile_url
4914
4910
  # @option opts [String] :provider_type
4915
4911
  # @option opts [String] :request_token_url
4916
4912
  # @option opts [String] :search A search term.
4917
4913
  # @option opts [String] :slug
4918
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
4914
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
4919
4915
  # @return [PaginatedOAuthSourceList]
4920
4916
  def sources_oauth_list(opts = {})
4921
4917
  data, _status_code, _headers = sources_oauth_list_with_http_info(opts)
@@ -4931,37 +4927,25 @@ module Authentik::Api
4931
4927
  # @option opts [String] :consumer_key
4932
4928
  # @option opts [Boolean] :enabled
4933
4929
  # @option opts [String] :enrollment_flow
4934
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
4930
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
4935
4931
  # @option opts [Boolean] :has_jwks Only return sources with JWKS data
4936
4932
  # @option opts [String] :name
4937
4933
  # @option opts [String] :ordering Which field to use when ordering the results.
4938
4934
  # @option opts [Integer] :page A page number within the paginated result set.
4939
4935
  # @option opts [Integer] :page_size Number of results to return per page.
4940
4936
  # @option opts [String] :pbm_uuid
4941
- # @option opts [String] :policy_engine_mode
4937
+ # @option opts [PolicyEngineMode] :policy_engine_mode
4942
4938
  # @option opts [String] :profile_url
4943
4939
  # @option opts [String] :provider_type
4944
4940
  # @option opts [String] :request_token_url
4945
4941
  # @option opts [String] :search A search term.
4946
4942
  # @option opts [String] :slug
4947
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
4943
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
4948
4944
  # @return [Array<(PaginatedOAuthSourceList, Integer, Hash)>] PaginatedOAuthSourceList data, response status code and response headers
4949
4945
  def sources_oauth_list_with_http_info(opts = {})
4950
4946
  if @api_client.config.debugging
4951
4947
  @api_client.config.logger.debug 'Calling API: SourcesApi.sources_oauth_list ...'
4952
4948
  end
4953
- allowable_values = ["identifier", "name_deny", "name_link"]
4954
- if @api_client.config.client_side_validation && opts[:'group_matching_mode'] && !allowable_values.include?(opts[:'group_matching_mode'])
4955
- fail ArgumentError, "invalid value for \"group_matching_mode\", must be one of #{allowable_values}"
4956
- end
4957
- allowable_values = ["all", "any"]
4958
- if @api_client.config.client_side_validation && opts[:'policy_engine_mode'] && !allowable_values.include?(opts[:'policy_engine_mode'])
4959
- fail ArgumentError, "invalid value for \"policy_engine_mode\", must be one of #{allowable_values}"
4960
- end
4961
- allowable_values = ["email_deny", "email_link", "identifier", "username_deny", "username_link"]
4962
- if @api_client.config.client_side_validation && opts[:'user_matching_mode'] && !allowable_values.include?(opts[:'user_matching_mode'])
4963
- fail ArgumentError, "invalid value for \"user_matching_mode\", must be one of #{allowable_values}"
4964
- end
4965
4949
  # resource path
4966
4950
  local_var_path = '/sources/oauth/'
4967
4951
 
@@ -5047,7 +5031,7 @@ module Authentik::Api
5047
5031
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_oauth_partial_update"
5048
5032
  end
5049
5033
  # resource path
5050
- local_var_path = '/sources/oauth/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5034
+ local_var_path = '/sources/oauth/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5051
5035
 
5052
5036
  # query parameters
5053
5037
  query_params = opts[:query_params] || {}
@@ -5113,7 +5097,7 @@ module Authentik::Api
5113
5097
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_oauth_retrieve"
5114
5098
  end
5115
5099
  # resource path
5116
- local_var_path = '/sources/oauth/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5100
+ local_var_path = '/sources/oauth/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5117
5101
 
5118
5102
  # query parameters
5119
5103
  query_params = opts[:query_params] || {}
@@ -5238,7 +5222,7 @@ module Authentik::Api
5238
5222
  fail ArgumentError, "Missing the required parameter 'o_auth_source_request' when calling SourcesApi.sources_oauth_update"
5239
5223
  end
5240
5224
  # resource path
5241
- local_var_path = '/sources/oauth/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5225
+ local_var_path = '/sources/oauth/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5242
5226
 
5243
5227
  # query parameters
5244
5228
  query_params = opts[:query_params] || {}
@@ -5304,7 +5288,7 @@ module Authentik::Api
5304
5288
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_oauth_used_by_list"
5305
5289
  end
5306
5290
  # resource path
5307
- local_var_path = '/sources/oauth/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5291
+ local_var_path = '/sources/oauth/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
5308
5292
 
5309
5293
  # query parameters
5310
5294
  query_params = opts[:query_params] || {}
@@ -5431,7 +5415,7 @@ module Authentik::Api
5431
5415
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_plex_destroy"
5432
5416
  end
5433
5417
  # resource path
5434
- local_var_path = '/sources/plex/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5418
+ local_var_path = '/sources/plex/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5435
5419
 
5436
5420
  # query parameters
5437
5421
  query_params = opts[:query_params] || {}
@@ -5477,16 +5461,16 @@ module Authentik::Api
5477
5461
  # @option opts [String] :client_id
5478
5462
  # @option opts [Boolean] :enabled
5479
5463
  # @option opts [String] :enrollment_flow
5480
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
5464
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
5481
5465
  # @option opts [String] :name
5482
5466
  # @option opts [String] :ordering Which field to use when ordering the results.
5483
5467
  # @option opts [Integer] :page A page number within the paginated result set.
5484
5468
  # @option opts [Integer] :page_size Number of results to return per page.
5485
5469
  # @option opts [String] :pbm_uuid
5486
- # @option opts [String] :policy_engine_mode
5470
+ # @option opts [PolicyEngineMode] :policy_engine_mode
5487
5471
  # @option opts [String] :search A search term.
5488
5472
  # @option opts [String] :slug
5489
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
5473
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
5490
5474
  # @return [PaginatedPlexSourceList]
5491
5475
  def sources_plex_list(opts = {})
5492
5476
  data, _status_code, _headers = sources_plex_list_with_http_info(opts)
@@ -5500,33 +5484,21 @@ module Authentik::Api
5500
5484
  # @option opts [String] :client_id
5501
5485
  # @option opts [Boolean] :enabled
5502
5486
  # @option opts [String] :enrollment_flow
5503
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
5487
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
5504
5488
  # @option opts [String] :name
5505
5489
  # @option opts [String] :ordering Which field to use when ordering the results.
5506
5490
  # @option opts [Integer] :page A page number within the paginated result set.
5507
5491
  # @option opts [Integer] :page_size Number of results to return per page.
5508
5492
  # @option opts [String] :pbm_uuid
5509
- # @option opts [String] :policy_engine_mode
5493
+ # @option opts [PolicyEngineMode] :policy_engine_mode
5510
5494
  # @option opts [String] :search A search term.
5511
5495
  # @option opts [String] :slug
5512
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
5496
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
5513
5497
  # @return [Array<(PaginatedPlexSourceList, Integer, Hash)>] PaginatedPlexSourceList data, response status code and response headers
5514
5498
  def sources_plex_list_with_http_info(opts = {})
5515
5499
  if @api_client.config.debugging
5516
5500
  @api_client.config.logger.debug 'Calling API: SourcesApi.sources_plex_list ...'
5517
5501
  end
5518
- allowable_values = ["identifier", "name_deny", "name_link"]
5519
- if @api_client.config.client_side_validation && opts[:'group_matching_mode'] && !allowable_values.include?(opts[:'group_matching_mode'])
5520
- fail ArgumentError, "invalid value for \"group_matching_mode\", must be one of #{allowable_values}"
5521
- end
5522
- allowable_values = ["all", "any"]
5523
- if @api_client.config.client_side_validation && opts[:'policy_engine_mode'] && !allowable_values.include?(opts[:'policy_engine_mode'])
5524
- fail ArgumentError, "invalid value for \"policy_engine_mode\", must be one of #{allowable_values}"
5525
- end
5526
- allowable_values = ["email_deny", "email_link", "identifier", "username_deny", "username_link"]
5527
- if @api_client.config.client_side_validation && opts[:'user_matching_mode'] && !allowable_values.include?(opts[:'user_matching_mode'])
5528
- fail ArgumentError, "invalid value for \"user_matching_mode\", must be one of #{allowable_values}"
5529
- end
5530
5502
  # resource path
5531
5503
  local_var_path = '/sources/plex/'
5532
5504
 
@@ -5606,7 +5578,7 @@ module Authentik::Api
5606
5578
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_plex_partial_update"
5607
5579
  end
5608
5580
  # resource path
5609
- local_var_path = '/sources/plex/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5581
+ local_var_path = '/sources/plex/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5610
5582
 
5611
5583
  # query parameters
5612
5584
  query_params = opts[:query_params] || {}
@@ -5808,7 +5780,7 @@ module Authentik::Api
5808
5780
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_plex_retrieve"
5809
5781
  end
5810
5782
  # resource path
5811
- local_var_path = '/sources/plex/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5783
+ local_var_path = '/sources/plex/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5812
5784
 
5813
5785
  # query parameters
5814
5786
  query_params = opts[:query_params] || {}
@@ -5875,7 +5847,7 @@ module Authentik::Api
5875
5847
  fail ArgumentError, "Missing the required parameter 'plex_source_request' when calling SourcesApi.sources_plex_update"
5876
5848
  end
5877
5849
  # resource path
5878
- local_var_path = '/sources/plex/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5850
+ local_var_path = '/sources/plex/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
5879
5851
 
5880
5852
  # query parameters
5881
5853
  query_params = opts[:query_params] || {}
@@ -5941,7 +5913,7 @@ module Authentik::Api
5941
5913
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_plex_used_by_list"
5942
5914
  end
5943
5915
  # resource path
5944
- local_var_path = '/sources/plex/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
5916
+ local_var_path = '/sources/plex/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
5945
5917
 
5946
5918
  # query parameters
5947
5919
  query_params = opts[:query_params] || {}
@@ -6068,7 +6040,7 @@ module Authentik::Api
6068
6040
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_saml_destroy"
6069
6041
  end
6070
6042
  # resource path
6071
- local_var_path = '/sources/saml/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6043
+ local_var_path = '/sources/saml/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
6072
6044
 
6073
6045
  # query parameters
6074
6046
  query_params = opts[:query_params] || {}
@@ -6111,22 +6083,23 @@ module Authentik::Api
6111
6083
  # @param [Hash] opts the optional parameters
6112
6084
  # @option opts [Boolean] :allow_idp_initiated
6113
6085
  # @option opts [String] :authentication_flow
6114
- # @option opts [String] :binding_type
6115
- # @option opts [String] :digest_algorithm
6086
+ # @option opts [BindingTypeEnum] :binding_type
6087
+ # @option opts [DigestAlgorithmEnum] :digest_algorithm
6116
6088
  # @option opts [Boolean] :enabled
6117
6089
  # @option opts [String] :enrollment_flow
6090
+ # @option opts [Boolean] :force_authn
6118
6091
  # @option opts [String] :issuer
6119
6092
  # @option opts [String] :managed
6120
6093
  # @option opts [String] :name
6121
- # @option opts [String] :name_id_policy NameID Policy sent to the IdP. Can be unset, in which case no Policy is sent.
6094
+ # @option opts [SAMLNameIDPolicyEnum] :name_id_policy
6122
6095
  # @option opts [String] :ordering Which field to use when ordering the results.
6123
6096
  # @option opts [Integer] :page A page number within the paginated result set.
6124
6097
  # @option opts [Integer] :page_size Number of results to return per page.
6125
6098
  # @option opts [String] :pbm_uuid
6126
- # @option opts [String] :policy_engine_mode
6099
+ # @option opts [PolicyEngineMode] :policy_engine_mode
6127
6100
  # @option opts [String] :pre_authentication_flow
6128
6101
  # @option opts [String] :search A search term.
6129
- # @option opts [String] :signature_algorithm
6102
+ # @option opts [SignatureAlgorithmEnum] :signature_algorithm
6130
6103
  # @option opts [Boolean] :signed_assertion
6131
6104
  # @option opts [Boolean] :signed_response
6132
6105
  # @option opts [String] :signing_kp
@@ -6134,7 +6107,7 @@ module Authentik::Api
6134
6107
  # @option opts [String] :slug
6135
6108
  # @option opts [String] :sso_url
6136
6109
  # @option opts [String] :temporary_user_delete_after
6137
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
6110
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
6138
6111
  # @option opts [String] :verification_kp
6139
6112
  # @return [PaginatedSAMLSourceList]
6140
6113
  def sources_saml_list(opts = {})
@@ -6146,22 +6119,23 @@ module Authentik::Api
6146
6119
  # @param [Hash] opts the optional parameters
6147
6120
  # @option opts [Boolean] :allow_idp_initiated
6148
6121
  # @option opts [String] :authentication_flow
6149
- # @option opts [String] :binding_type
6150
- # @option opts [String] :digest_algorithm
6122
+ # @option opts [BindingTypeEnum] :binding_type
6123
+ # @option opts [DigestAlgorithmEnum] :digest_algorithm
6151
6124
  # @option opts [Boolean] :enabled
6152
6125
  # @option opts [String] :enrollment_flow
6126
+ # @option opts [Boolean] :force_authn
6153
6127
  # @option opts [String] :issuer
6154
6128
  # @option opts [String] :managed
6155
6129
  # @option opts [String] :name
6156
- # @option opts [String] :name_id_policy NameID Policy sent to the IdP. Can be unset, in which case no Policy is sent.
6130
+ # @option opts [SAMLNameIDPolicyEnum] :name_id_policy
6157
6131
  # @option opts [String] :ordering Which field to use when ordering the results.
6158
6132
  # @option opts [Integer] :page A page number within the paginated result set.
6159
6133
  # @option opts [Integer] :page_size Number of results to return per page.
6160
6134
  # @option opts [String] :pbm_uuid
6161
- # @option opts [String] :policy_engine_mode
6135
+ # @option opts [PolicyEngineMode] :policy_engine_mode
6162
6136
  # @option opts [String] :pre_authentication_flow
6163
6137
  # @option opts [String] :search A search term.
6164
- # @option opts [String] :signature_algorithm
6138
+ # @option opts [SignatureAlgorithmEnum] :signature_algorithm
6165
6139
  # @option opts [Boolean] :signed_assertion
6166
6140
  # @option opts [Boolean] :signed_response
6167
6141
  # @option opts [String] :signing_kp
@@ -6169,37 +6143,13 @@ module Authentik::Api
6169
6143
  # @option opts [String] :slug
6170
6144
  # @option opts [String] :sso_url
6171
6145
  # @option opts [String] :temporary_user_delete_after
6172
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
6146
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
6173
6147
  # @option opts [String] :verification_kp
6174
6148
  # @return [Array<(PaginatedSAMLSourceList, Integer, Hash)>] PaginatedSAMLSourceList data, response status code and response headers
6175
6149
  def sources_saml_list_with_http_info(opts = {})
6176
6150
  if @api_client.config.debugging
6177
6151
  @api_client.config.logger.debug 'Calling API: SourcesApi.sources_saml_list ...'
6178
6152
  end
6179
- allowable_values = ["POST", "POST_AUTO", "REDIRECT"]
6180
- if @api_client.config.client_side_validation && opts[:'binding_type'] && !allowable_values.include?(opts[:'binding_type'])
6181
- fail ArgumentError, "invalid value for \"binding_type\", must be one of #{allowable_values}"
6182
- end
6183
- allowable_values = ["http://www.w3.org/2000/09/xmldsig#sha1", "http://www.w3.org/2001/04/xmldsig-more#sha384", "http://www.w3.org/2001/04/xmlenc#sha256", "http://www.w3.org/2001/04/xmlenc#sha512"]
6184
- if @api_client.config.client_side_validation && opts[:'digest_algorithm'] && !allowable_values.include?(opts[:'digest_algorithm'])
6185
- fail ArgumentError, "invalid value for \"digest_algorithm\", must be one of #{allowable_values}"
6186
- end
6187
- allowable_values = ["urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName", "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified", "urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName", "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent", "urn:oasis:names:tc:SAML:2.0:nameid-format:transient"]
6188
- if @api_client.config.client_side_validation && opts[:'name_id_policy'] && !allowable_values.include?(opts[:'name_id_policy'])
6189
- fail ArgumentError, "invalid value for \"name_id_policy\", must be one of #{allowable_values}"
6190
- end
6191
- allowable_values = ["all", "any"]
6192
- if @api_client.config.client_side_validation && opts[:'policy_engine_mode'] && !allowable_values.include?(opts[:'policy_engine_mode'])
6193
- fail ArgumentError, "invalid value for \"policy_engine_mode\", must be one of #{allowable_values}"
6194
- end
6195
- allowable_values = ["http://www.w3.org/2000/09/xmldsig#dsa-sha1", "http://www.w3.org/2000/09/xmldsig#rsa-sha1", "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1", "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256", "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384", "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512", "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384", "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"]
6196
- if @api_client.config.client_side_validation && opts[:'signature_algorithm'] && !allowable_values.include?(opts[:'signature_algorithm'])
6197
- fail ArgumentError, "invalid value for \"signature_algorithm\", must be one of #{allowable_values}"
6198
- end
6199
- allowable_values = ["email_deny", "email_link", "identifier", "username_deny", "username_link"]
6200
- if @api_client.config.client_side_validation && opts[:'user_matching_mode'] && !allowable_values.include?(opts[:'user_matching_mode'])
6201
- fail ArgumentError, "invalid value for \"user_matching_mode\", must be one of #{allowable_values}"
6202
- end
6203
6153
  # resource path
6204
6154
  local_var_path = '/sources/saml/'
6205
6155
 
@@ -6211,6 +6161,7 @@ module Authentik::Api
6211
6161
  query_params[:'digest_algorithm'] = opts[:'digest_algorithm'] if !opts[:'digest_algorithm'].nil?
6212
6162
  query_params[:'enabled'] = opts[:'enabled'] if !opts[:'enabled'].nil?
6213
6163
  query_params[:'enrollment_flow'] = opts[:'enrollment_flow'] if !opts[:'enrollment_flow'].nil?
6164
+ query_params[:'force_authn'] = opts[:'force_authn'] if !opts[:'force_authn'].nil?
6214
6165
  query_params[:'issuer'] = opts[:'issuer'] if !opts[:'issuer'].nil?
6215
6166
  query_params[:'managed'] = opts[:'managed'] if !opts[:'managed'].nil?
6216
6167
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
@@ -6289,7 +6240,7 @@ module Authentik::Api
6289
6240
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_saml_metadata_retrieve"
6290
6241
  end
6291
6242
  # resource path
6292
- local_var_path = '/sources/saml/{slug}/metadata/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6243
+ local_var_path = '/sources/saml/{slug}/metadata/'.sub('{slug}', CGI.escape(slug.to_s))
6293
6244
 
6294
6245
  # query parameters
6295
6246
  query_params = opts[:query_params] || {}
@@ -6352,7 +6303,7 @@ module Authentik::Api
6352
6303
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_saml_partial_update"
6353
6304
  end
6354
6305
  # resource path
6355
- local_var_path = '/sources/saml/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6306
+ local_var_path = '/sources/saml/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
6356
6307
 
6357
6308
  # query parameters
6358
6309
  query_params = opts[:query_params] || {}
@@ -6418,7 +6369,7 @@ module Authentik::Api
6418
6369
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_saml_retrieve"
6419
6370
  end
6420
6371
  # resource path
6421
- local_var_path = '/sources/saml/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6372
+ local_var_path = '/sources/saml/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
6422
6373
 
6423
6374
  # query parameters
6424
6375
  query_params = opts[:query_params] || {}
@@ -6485,7 +6436,7 @@ module Authentik::Api
6485
6436
  fail ArgumentError, "Missing the required parameter 'saml_source_request' when calling SourcesApi.sources_saml_update"
6486
6437
  end
6487
6438
  # resource path
6488
- local_var_path = '/sources/saml/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6439
+ local_var_path = '/sources/saml/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
6489
6440
 
6490
6441
  # query parameters
6491
6442
  query_params = opts[:query_params] || {}
@@ -6551,7 +6502,7 @@ module Authentik::Api
6551
6502
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_saml_used_by_list"
6552
6503
  end
6553
6504
  # resource path
6554
- local_var_path = '/sources/saml/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6505
+ local_var_path = '/sources/saml/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
6555
6506
 
6556
6507
  # query parameters
6557
6508
  query_params = opts[:query_params] || {}
@@ -6678,7 +6629,7 @@ module Authentik::Api
6678
6629
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_scim_destroy"
6679
6630
  end
6680
6631
  # resource path
6681
- local_var_path = '/sources/scim/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
6632
+ local_var_path = '/sources/scim/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
6682
6633
 
6683
6634
  # query parameters
6684
6635
  query_params = opts[:query_params] || {}
@@ -6805,7 +6756,7 @@ module Authentik::Api
6805
6756
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_groups_destroy"
6806
6757
  end
6807
6758
  # resource path
6808
- local_var_path = '/sources/scim_groups/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
6759
+ local_var_path = '/sources/scim_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
6809
6760
 
6810
6761
  # query parameters
6811
6762
  query_params = opts[:query_params] || {}
@@ -6944,7 +6895,7 @@ module Authentik::Api
6944
6895
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_groups_partial_update"
6945
6896
  end
6946
6897
  # resource path
6947
- local_var_path = '/sources/scim_groups/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
6898
+ local_var_path = '/sources/scim_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
6948
6899
 
6949
6900
  # query parameters
6950
6901
  query_params = opts[:query_params] || {}
@@ -7010,7 +6961,7 @@ module Authentik::Api
7010
6961
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_groups_retrieve"
7011
6962
  end
7012
6963
  # resource path
7013
- local_var_path = '/sources/scim_groups/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
6964
+ local_var_path = '/sources/scim_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
7014
6965
 
7015
6966
  # query parameters
7016
6967
  query_params = opts[:query_params] || {}
@@ -7077,7 +7028,7 @@ module Authentik::Api
7077
7028
  fail ArgumentError, "Missing the required parameter 'scim_source_group_request' when calling SourcesApi.sources_scim_groups_update"
7078
7029
  end
7079
7030
  # resource path
7080
- local_var_path = '/sources/scim_groups/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7031
+ local_var_path = '/sources/scim_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
7081
7032
 
7082
7033
  # query parameters
7083
7034
  query_params = opts[:query_params] || {}
@@ -7143,7 +7094,7 @@ module Authentik::Api
7143
7094
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_groups_used_by_list"
7144
7095
  end
7145
7096
  # resource path
7146
- local_var_path = '/sources/scim_groups/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7097
+ local_var_path = '/sources/scim_groups/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
7147
7098
 
7148
7099
  # query parameters
7149
7100
  query_params = opts[:query_params] || {}
@@ -7282,7 +7233,7 @@ module Authentik::Api
7282
7233
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_scim_partial_update"
7283
7234
  end
7284
7235
  # resource path
7285
- local_var_path = '/sources/scim/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
7236
+ local_var_path = '/sources/scim/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
7286
7237
 
7287
7238
  # query parameters
7288
7239
  query_params = opts[:query_params] || {}
@@ -7348,7 +7299,7 @@ module Authentik::Api
7348
7299
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_scim_retrieve"
7349
7300
  end
7350
7301
  # resource path
7351
- local_var_path = '/sources/scim/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
7302
+ local_var_path = '/sources/scim/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
7352
7303
 
7353
7304
  # query parameters
7354
7305
  query_params = opts[:query_params] || {}
@@ -7415,7 +7366,7 @@ module Authentik::Api
7415
7366
  fail ArgumentError, "Missing the required parameter 'scim_source_request' when calling SourcesApi.sources_scim_update"
7416
7367
  end
7417
7368
  # resource path
7418
- local_var_path = '/sources/scim/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
7369
+ local_var_path = '/sources/scim/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
7419
7370
 
7420
7371
  # query parameters
7421
7372
  query_params = opts[:query_params] || {}
@@ -7481,7 +7432,7 @@ module Authentik::Api
7481
7432
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_scim_used_by_list"
7482
7433
  end
7483
7434
  # resource path
7484
- local_var_path = '/sources/scim/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
7435
+ local_var_path = '/sources/scim/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
7485
7436
 
7486
7437
  # query parameters
7487
7438
  query_params = opts[:query_params] || {}
@@ -7608,7 +7559,7 @@ module Authentik::Api
7608
7559
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_users_destroy"
7609
7560
  end
7610
7561
  # resource path
7611
- local_var_path = '/sources/scim_users/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7562
+ local_var_path = '/sources/scim_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
7612
7563
 
7613
7564
  # query parameters
7614
7565
  query_params = opts[:query_params] || {}
@@ -7747,7 +7698,7 @@ module Authentik::Api
7747
7698
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_users_partial_update"
7748
7699
  end
7749
7700
  # resource path
7750
- local_var_path = '/sources/scim_users/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7701
+ local_var_path = '/sources/scim_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
7751
7702
 
7752
7703
  # query parameters
7753
7704
  query_params = opts[:query_params] || {}
@@ -7813,7 +7764,7 @@ module Authentik::Api
7813
7764
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_users_retrieve"
7814
7765
  end
7815
7766
  # resource path
7816
- local_var_path = '/sources/scim_users/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7767
+ local_var_path = '/sources/scim_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
7817
7768
 
7818
7769
  # query parameters
7819
7770
  query_params = opts[:query_params] || {}
@@ -7880,7 +7831,7 @@ module Authentik::Api
7880
7831
  fail ArgumentError, "Missing the required parameter 'scim_source_user_request' when calling SourcesApi.sources_scim_users_update"
7881
7832
  end
7882
7833
  # resource path
7883
- local_var_path = '/sources/scim_users/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7834
+ local_var_path = '/sources/scim_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
7884
7835
 
7885
7836
  # query parameters
7886
7837
  query_params = opts[:query_params] || {}
@@ -7946,7 +7897,7 @@ module Authentik::Api
7946
7897
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_scim_users_used_by_list"
7947
7898
  end
7948
7899
  # resource path
7949
- local_var_path = '/sources/scim_users/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
7900
+ local_var_path = '/sources/scim_users/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
7950
7901
 
7951
7902
  # query parameters
7952
7903
  query_params = opts[:query_params] || {}
@@ -8013,7 +7964,7 @@ module Authentik::Api
8013
7964
  fail ArgumentError, "Missing the required parameter 'telegram_auth_request' when calling SourcesApi.sources_telegram_connect_user_create"
8014
7965
  end
8015
7966
  # resource path
8016
- local_var_path = '/sources/telegram/{slug}/connect_user/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
7967
+ local_var_path = '/sources/telegram/{slug}/connect_user/'.sub('{slug}', CGI.escape(slug.to_s))
8017
7968
 
8018
7969
  # query parameters
8019
7970
  query_params = opts[:query_params] || {}
@@ -8145,7 +8096,7 @@ module Authentik::Api
8145
8096
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_telegram_destroy"
8146
8097
  end
8147
8098
  # resource path
8148
- local_var_path = '/sources/telegram/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
8099
+ local_var_path = '/sources/telegram/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
8149
8100
 
8150
8101
  # query parameters
8151
8102
  query_params = opts[:query_params] || {}
@@ -8190,17 +8141,17 @@ module Authentik::Api
8190
8141
  # @option opts [String] :bot_username
8191
8142
  # @option opts [Boolean] :enabled
8192
8143
  # @option opts [String] :enrollment_flow
8193
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
8144
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
8194
8145
  # @option opts [String] :name
8195
8146
  # @option opts [String] :ordering Which field to use when ordering the results.
8196
8147
  # @option opts [Integer] :page A page number within the paginated result set.
8197
8148
  # @option opts [Integer] :page_size Number of results to return per page.
8198
8149
  # @option opts [String] :pbm_uuid
8199
- # @option opts [String] :policy_engine_mode
8150
+ # @option opts [PolicyEngineMode] :policy_engine_mode
8200
8151
  # @option opts [Boolean] :request_message_access
8201
8152
  # @option opts [String] :search A search term.
8202
8153
  # @option opts [String] :slug
8203
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
8154
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
8204
8155
  # @return [PaginatedTelegramSourceList]
8205
8156
  def sources_telegram_list(opts = {})
8206
8157
  data, _status_code, _headers = sources_telegram_list_with_http_info(opts)
@@ -8213,34 +8164,22 @@ module Authentik::Api
8213
8164
  # @option opts [String] :bot_username
8214
8165
  # @option opts [Boolean] :enabled
8215
8166
  # @option opts [String] :enrollment_flow
8216
- # @option opts [String] :group_matching_mode How the source determines if an existing group should be used or a new group created.
8167
+ # @option opts [GroupMatchingModeEnum] :group_matching_mode
8217
8168
  # @option opts [String] :name
8218
8169
  # @option opts [String] :ordering Which field to use when ordering the results.
8219
8170
  # @option opts [Integer] :page A page number within the paginated result set.
8220
8171
  # @option opts [Integer] :page_size Number of results to return per page.
8221
8172
  # @option opts [String] :pbm_uuid
8222
- # @option opts [String] :policy_engine_mode
8173
+ # @option opts [PolicyEngineMode] :policy_engine_mode
8223
8174
  # @option opts [Boolean] :request_message_access
8224
8175
  # @option opts [String] :search A search term.
8225
8176
  # @option opts [String] :slug
8226
- # @option opts [String] :user_matching_mode How the source determines if an existing user should be authenticated or a new user enrolled.
8177
+ # @option opts [UserMatchingModeEnum] :user_matching_mode
8227
8178
  # @return [Array<(PaginatedTelegramSourceList, Integer, Hash)>] PaginatedTelegramSourceList data, response status code and response headers
8228
8179
  def sources_telegram_list_with_http_info(opts = {})
8229
8180
  if @api_client.config.debugging
8230
8181
  @api_client.config.logger.debug 'Calling API: SourcesApi.sources_telegram_list ...'
8231
8182
  end
8232
- allowable_values = ["identifier", "name_deny", "name_link"]
8233
- if @api_client.config.client_side_validation && opts[:'group_matching_mode'] && !allowable_values.include?(opts[:'group_matching_mode'])
8234
- fail ArgumentError, "invalid value for \"group_matching_mode\", must be one of #{allowable_values}"
8235
- end
8236
- allowable_values = ["all", "any"]
8237
- if @api_client.config.client_side_validation && opts[:'policy_engine_mode'] && !allowable_values.include?(opts[:'policy_engine_mode'])
8238
- fail ArgumentError, "invalid value for \"policy_engine_mode\", must be one of #{allowable_values}"
8239
- end
8240
- allowable_values = ["email_deny", "email_link", "identifier", "username_deny", "username_link"]
8241
- if @api_client.config.client_side_validation && opts[:'user_matching_mode'] && !allowable_values.include?(opts[:'user_matching_mode'])
8242
- fail ArgumentError, "invalid value for \"user_matching_mode\", must be one of #{allowable_values}"
8243
- end
8244
8183
  # resource path
8245
8184
  local_var_path = '/sources/telegram/'
8246
8185
 
@@ -8320,7 +8259,7 @@ module Authentik::Api
8320
8259
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_telegram_partial_update"
8321
8260
  end
8322
8261
  # resource path
8323
- local_var_path = '/sources/telegram/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
8262
+ local_var_path = '/sources/telegram/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
8324
8263
 
8325
8264
  # query parameters
8326
8265
  query_params = opts[:query_params] || {}
@@ -8386,7 +8325,7 @@ module Authentik::Api
8386
8325
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_telegram_retrieve"
8387
8326
  end
8388
8327
  # resource path
8389
- local_var_path = '/sources/telegram/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
8328
+ local_var_path = '/sources/telegram/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
8390
8329
 
8391
8330
  # query parameters
8392
8331
  query_params = opts[:query_params] || {}
@@ -8453,7 +8392,7 @@ module Authentik::Api
8453
8392
  fail ArgumentError, "Missing the required parameter 'telegram_source_request' when calling SourcesApi.sources_telegram_update"
8454
8393
  end
8455
8394
  # resource path
8456
- local_var_path = '/sources/telegram/{slug}/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
8395
+ local_var_path = '/sources/telegram/{slug}/'.sub('{slug}', CGI.escape(slug.to_s))
8457
8396
 
8458
8397
  # query parameters
8459
8398
  query_params = opts[:query_params] || {}
@@ -8519,7 +8458,7 @@ module Authentik::Api
8519
8458
  fail ArgumentError, "Missing the required parameter 'slug' when calling SourcesApi.sources_telegram_used_by_list"
8520
8459
  end
8521
8460
  # resource path
8522
- local_var_path = '/sources/telegram/{slug}/used_by/'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
8461
+ local_var_path = '/sources/telegram/{slug}/used_by/'.sub('{slug}', CGI.escape(slug.to_s))
8523
8462
 
8524
8463
  # query parameters
8525
8464
  query_params = opts[:query_params] || {}
@@ -8580,7 +8519,7 @@ module Authentik::Api
8580
8519
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_all_destroy"
8581
8520
  end
8582
8521
  # resource path
8583
- local_var_path = '/sources/user_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
8522
+ local_var_path = '/sources/user_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
8584
8523
 
8585
8524
  # query parameters
8586
8525
  query_params = opts[:query_params] || {}
@@ -8716,7 +8655,7 @@ module Authentik::Api
8716
8655
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_all_partial_update"
8717
8656
  end
8718
8657
  # resource path
8719
- local_var_path = '/sources/user_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
8658
+ local_var_path = '/sources/user_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
8720
8659
 
8721
8660
  # query parameters
8722
8661
  query_params = opts[:query_params] || {}
@@ -8782,7 +8721,7 @@ module Authentik::Api
8782
8721
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_all_retrieve"
8783
8722
  end
8784
8723
  # resource path
8785
- local_var_path = '/sources/user_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
8724
+ local_var_path = '/sources/user_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
8786
8725
 
8787
8726
  # query parameters
8788
8727
  query_params = opts[:query_params] || {}
@@ -8849,7 +8788,7 @@ module Authentik::Api
8849
8788
  fail ArgumentError, "Missing the required parameter 'user_source_connection_request' when calling SourcesApi.sources_user_connections_all_update"
8850
8789
  end
8851
8790
  # resource path
8852
- local_var_path = '/sources/user_connections/all/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
8791
+ local_var_path = '/sources/user_connections/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
8853
8792
 
8854
8793
  # query parameters
8855
8794
  query_params = opts[:query_params] || {}
@@ -8915,7 +8854,7 @@ module Authentik::Api
8915
8854
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_all_used_by_list"
8916
8855
  end
8917
8856
  # resource path
8918
- local_var_path = '/sources/user_connections/all/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
8857
+ local_var_path = '/sources/user_connections/all/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
8919
8858
 
8920
8859
  # query parameters
8921
8860
  query_params = opts[:query_params] || {}
@@ -9042,7 +8981,7 @@ module Authentik::Api
9042
8981
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_kerberos_destroy"
9043
8982
  end
9044
8983
  # resource path
9045
- local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
8984
+ local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
9046
8985
 
9047
8986
  # query parameters
9048
8987
  query_params = opts[:query_params] || {}
@@ -9178,7 +9117,7 @@ module Authentik::Api
9178
9117
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_kerberos_partial_update"
9179
9118
  end
9180
9119
  # resource path
9181
- local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9120
+ local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
9182
9121
 
9183
9122
  # query parameters
9184
9123
  query_params = opts[:query_params] || {}
@@ -9244,7 +9183,7 @@ module Authentik::Api
9244
9183
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_kerberos_retrieve"
9245
9184
  end
9246
9185
  # resource path
9247
- local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9186
+ local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
9248
9187
 
9249
9188
  # query parameters
9250
9189
  query_params = opts[:query_params] || {}
@@ -9311,7 +9250,7 @@ module Authentik::Api
9311
9250
  fail ArgumentError, "Missing the required parameter 'user_kerberos_source_connection_request' when calling SourcesApi.sources_user_connections_kerberos_update"
9312
9251
  end
9313
9252
  # resource path
9314
- local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9253
+ local_var_path = '/sources/user_connections/kerberos/{id}/'.sub('{id}', CGI.escape(id.to_s))
9315
9254
 
9316
9255
  # query parameters
9317
9256
  query_params = opts[:query_params] || {}
@@ -9377,7 +9316,7 @@ module Authentik::Api
9377
9316
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_kerberos_used_by_list"
9378
9317
  end
9379
9318
  # resource path
9380
- local_var_path = '/sources/user_connections/kerberos/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9319
+ local_var_path = '/sources/user_connections/kerberos/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
9381
9320
 
9382
9321
  # query parameters
9383
9322
  query_params = opts[:query_params] || {}
@@ -9504,7 +9443,7 @@ module Authentik::Api
9504
9443
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_ldap_destroy"
9505
9444
  end
9506
9445
  # resource path
9507
- local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9446
+ local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
9508
9447
 
9509
9448
  # query parameters
9510
9449
  query_params = opts[:query_params] || {}
@@ -9640,7 +9579,7 @@ module Authentik::Api
9640
9579
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_ldap_partial_update"
9641
9580
  end
9642
9581
  # resource path
9643
- local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9582
+ local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
9644
9583
 
9645
9584
  # query parameters
9646
9585
  query_params = opts[:query_params] || {}
@@ -9706,7 +9645,7 @@ module Authentik::Api
9706
9645
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_ldap_retrieve"
9707
9646
  end
9708
9647
  # resource path
9709
- local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9648
+ local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
9710
9649
 
9711
9650
  # query parameters
9712
9651
  query_params = opts[:query_params] || {}
@@ -9773,7 +9712,7 @@ module Authentik::Api
9773
9712
  fail ArgumentError, "Missing the required parameter 'user_ldap_source_connection_request' when calling SourcesApi.sources_user_connections_ldap_update"
9774
9713
  end
9775
9714
  # resource path
9776
- local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9715
+ local_var_path = '/sources/user_connections/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
9777
9716
 
9778
9717
  # query parameters
9779
9718
  query_params = opts[:query_params] || {}
@@ -9839,7 +9778,7 @@ module Authentik::Api
9839
9778
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_ldap_used_by_list"
9840
9779
  end
9841
9780
  # resource path
9842
- local_var_path = '/sources/user_connections/ldap/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9781
+ local_var_path = '/sources/user_connections/ldap/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
9843
9782
 
9844
9783
  # query parameters
9845
9784
  query_params = opts[:query_params] || {}
@@ -9966,7 +9905,7 @@ module Authentik::Api
9966
9905
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_oauth_destroy"
9967
9906
  end
9968
9907
  # resource path
9969
- local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
9908
+ local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
9970
9909
 
9971
9910
  # query parameters
9972
9911
  query_params = opts[:query_params] || {}
@@ -10102,7 +10041,7 @@ module Authentik::Api
10102
10041
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_oauth_partial_update"
10103
10042
  end
10104
10043
  # resource path
10105
- local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10044
+ local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
10106
10045
 
10107
10046
  # query parameters
10108
10047
  query_params = opts[:query_params] || {}
@@ -10168,7 +10107,7 @@ module Authentik::Api
10168
10107
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_oauth_retrieve"
10169
10108
  end
10170
10109
  # resource path
10171
- local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10110
+ local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
10172
10111
 
10173
10112
  # query parameters
10174
10113
  query_params = opts[:query_params] || {}
@@ -10235,7 +10174,7 @@ module Authentik::Api
10235
10174
  fail ArgumentError, "Missing the required parameter 'user_o_auth_source_connection_request' when calling SourcesApi.sources_user_connections_oauth_update"
10236
10175
  end
10237
10176
  # resource path
10238
- local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10177
+ local_var_path = '/sources/user_connections/oauth/{id}/'.sub('{id}', CGI.escape(id.to_s))
10239
10178
 
10240
10179
  # query parameters
10241
10180
  query_params = opts[:query_params] || {}
@@ -10301,7 +10240,7 @@ module Authentik::Api
10301
10240
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_oauth_used_by_list"
10302
10241
  end
10303
10242
  # resource path
10304
- local_var_path = '/sources/user_connections/oauth/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10243
+ local_var_path = '/sources/user_connections/oauth/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
10305
10244
 
10306
10245
  # query parameters
10307
10246
  query_params = opts[:query_params] || {}
@@ -10428,7 +10367,7 @@ module Authentik::Api
10428
10367
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_plex_destroy"
10429
10368
  end
10430
10369
  # resource path
10431
- local_var_path = '/sources/user_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10370
+ local_var_path = '/sources/user_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
10432
10371
 
10433
10372
  # query parameters
10434
10373
  query_params = opts[:query_params] || {}
@@ -10564,7 +10503,7 @@ module Authentik::Api
10564
10503
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_plex_partial_update"
10565
10504
  end
10566
10505
  # resource path
10567
- local_var_path = '/sources/user_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10506
+ local_var_path = '/sources/user_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
10568
10507
 
10569
10508
  # query parameters
10570
10509
  query_params = opts[:query_params] || {}
@@ -10630,7 +10569,7 @@ module Authentik::Api
10630
10569
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_plex_retrieve"
10631
10570
  end
10632
10571
  # resource path
10633
- local_var_path = '/sources/user_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10572
+ local_var_path = '/sources/user_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
10634
10573
 
10635
10574
  # query parameters
10636
10575
  query_params = opts[:query_params] || {}
@@ -10697,7 +10636,7 @@ module Authentik::Api
10697
10636
  fail ArgumentError, "Missing the required parameter 'user_plex_source_connection_request' when calling SourcesApi.sources_user_connections_plex_update"
10698
10637
  end
10699
10638
  # resource path
10700
- local_var_path = '/sources/user_connections/plex/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10639
+ local_var_path = '/sources/user_connections/plex/{id}/'.sub('{id}', CGI.escape(id.to_s))
10701
10640
 
10702
10641
  # query parameters
10703
10642
  query_params = opts[:query_params] || {}
@@ -10763,7 +10702,7 @@ module Authentik::Api
10763
10702
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_plex_used_by_list"
10764
10703
  end
10765
10704
  # resource path
10766
- local_var_path = '/sources/user_connections/plex/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10705
+ local_var_path = '/sources/user_connections/plex/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
10767
10706
 
10768
10707
  # query parameters
10769
10708
  query_params = opts[:query_params] || {}
@@ -10890,7 +10829,7 @@ module Authentik::Api
10890
10829
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_saml_destroy"
10891
10830
  end
10892
10831
  # resource path
10893
- local_var_path = '/sources/user_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10832
+ local_var_path = '/sources/user_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
10894
10833
 
10895
10834
  # query parameters
10896
10835
  query_params = opts[:query_params] || {}
@@ -11026,7 +10965,7 @@ module Authentik::Api
11026
10965
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_saml_partial_update"
11027
10966
  end
11028
10967
  # resource path
11029
- local_var_path = '/sources/user_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
10968
+ local_var_path = '/sources/user_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
11030
10969
 
11031
10970
  # query parameters
11032
10971
  query_params = opts[:query_params] || {}
@@ -11092,7 +11031,7 @@ module Authentik::Api
11092
11031
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_saml_retrieve"
11093
11032
  end
11094
11033
  # resource path
11095
- local_var_path = '/sources/user_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11034
+ local_var_path = '/sources/user_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
11096
11035
 
11097
11036
  # query parameters
11098
11037
  query_params = opts[:query_params] || {}
@@ -11159,7 +11098,7 @@ module Authentik::Api
11159
11098
  fail ArgumentError, "Missing the required parameter 'user_saml_source_connection_request' when calling SourcesApi.sources_user_connections_saml_update"
11160
11099
  end
11161
11100
  # resource path
11162
- local_var_path = '/sources/user_connections/saml/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11101
+ local_var_path = '/sources/user_connections/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
11163
11102
 
11164
11103
  # query parameters
11165
11104
  query_params = opts[:query_params] || {}
@@ -11225,7 +11164,7 @@ module Authentik::Api
11225
11164
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_saml_used_by_list"
11226
11165
  end
11227
11166
  # resource path
11228
- local_var_path = '/sources/user_connections/saml/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11167
+ local_var_path = '/sources/user_connections/saml/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
11229
11168
 
11230
11169
  # query parameters
11231
11170
  query_params = opts[:query_params] || {}
@@ -11352,7 +11291,7 @@ module Authentik::Api
11352
11291
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_telegram_destroy"
11353
11292
  end
11354
11293
  # resource path
11355
- local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11294
+ local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
11356
11295
 
11357
11296
  # query parameters
11358
11297
  query_params = opts[:query_params] || {}
@@ -11488,7 +11427,7 @@ module Authentik::Api
11488
11427
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_telegram_partial_update"
11489
11428
  end
11490
11429
  # resource path
11491
- local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11430
+ local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
11492
11431
 
11493
11432
  # query parameters
11494
11433
  query_params = opts[:query_params] || {}
@@ -11554,7 +11493,7 @@ module Authentik::Api
11554
11493
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_telegram_retrieve"
11555
11494
  end
11556
11495
  # resource path
11557
- local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11496
+ local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
11558
11497
 
11559
11498
  # query parameters
11560
11499
  query_params = opts[:query_params] || {}
@@ -11621,7 +11560,7 @@ module Authentik::Api
11621
11560
  fail ArgumentError, "Missing the required parameter 'user_telegram_source_connection_request' when calling SourcesApi.sources_user_connections_telegram_update"
11622
11561
  end
11623
11562
  # resource path
11624
- local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11563
+ local_var_path = '/sources/user_connections/telegram/{id}/'.sub('{id}', CGI.escape(id.to_s))
11625
11564
 
11626
11565
  # query parameters
11627
11566
  query_params = opts[:query_params] || {}
@@ -11687,7 +11626,7 @@ module Authentik::Api
11687
11626
  fail ArgumentError, "Missing the required parameter 'id' when calling SourcesApi.sources_user_connections_telegram_used_by_list"
11688
11627
  end
11689
11628
  # resource path
11690
- local_var_path = '/sources/user_connections/telegram/{id}/used_by/'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
11629
+ local_var_path = '/sources/user_connections/telegram/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
11691
11630
 
11692
11631
  # query parameters
11693
11632
  query_params = opts[:query_params] || {}