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.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/README_API.md +67 -15
- data/lib/authentik/api/api/admin_api.rb +5 -13
- data/lib/authentik/api/api/authenticators_api.rb +60 -60
- data/lib/authentik/api/api/core_api.rb +188 -63
- data/lib/authentik/api/api/crypto_api.rb +9 -13
- data/lib/authentik/api/api/endpoints_api.rb +1600 -679
- data/lib/authentik/api/api/enterprise_api.rb +5 -5
- data/lib/authentik/api/api/events_api.rb +141 -58
- data/lib/authentik/api/api/flows_api.rb +24 -106
- data/lib/authentik/api/api/lifecycle_api.rb +27 -18
- data/lib/authentik/api/api/managed_api.rb +79 -6
- data/lib/authentik/api/api/oauth2_api.rb +9 -9
- data/lib/authentik/api/api/outposts_api.rb +22 -22
- data/lib/authentik/api/api/policies_api.rb +57 -58
- data/lib/authentik/api/api/propertymappings_api.rb +79 -79
- data/lib/authentik/api/api/providers_api.rb +134 -196
- data/lib/authentik/api/api/rac_api.rb +10 -10
- data/lib/authentik/api/api/rbac_api.rb +15 -20
- data/lib/authentik/api/api/reports_api.rb +2 -2
- data/lib/authentik/api/api/schema_api.rb +4 -12
- data/lib/authentik/api/api/sources_api.rb +158 -219
- data/lib/authentik/api/api/ssf_api.rb +64 -7
- data/lib/authentik/api/api/stages_api.rb +723 -244
- data/lib/authentik/api/api/tasks_api.rb +11 -19
- data/lib/authentik/api/api/tenants_api.rb +10 -10
- data/lib/authentik/api/models/account_lockdown_stage.rb +372 -0
- data/lib/authentik/api/models/account_lockdown_stage_request.rb +219 -0
- data/lib/authentik/api/models/app_enum.rb +3 -2
- data/lib/authentik/api/models/apple_independent_secure_enclave.rb +246 -0
- data/lib/authentik/api/models/apple_independent_secure_enclave_request.rb +273 -0
- data/lib/authentik/api/models/application.rb +14 -4
- data/lib/authentik/api/models/application_request.rb +14 -4
- data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +2 -30
- data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +4 -60
- data/lib/authentik/api/models/authentication_enum.rb +2 -1
- data/lib/authentik/api/models/authenticator_validate_stage.rb +51 -4
- data/lib/authentik/api/models/authenticator_validate_stage_request.rb +51 -4
- data/lib/authentik/api/models/authenticator_web_authn_stage.rb +23 -2
- data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +23 -2
- data/lib/authentik/api/models/{flow_import_result.rb → blueprint_import_result.rb} +4 -4
- data/lib/authentik/api/models/brand.rb +11 -1
- data/lib/authentik/api/models/brand_request.rb +11 -1
- data/lib/authentik/api/models/certificate_key_pair.rb +1 -1
- data/lib/authentik/api/models/certificate_key_pair_key_type_enum.rb +37 -0
- data/lib/authentik/api/models/compatibility_mode_enum.rb +3 -1
- data/lib/authentik/api/models/{consent_stage_mode_enum.rb → consent_mode_enum.rb} +3 -3
- data/lib/authentik/api/models/consent_stage.rb +1 -1
- data/lib/authentik/api/models/consent_stage_request.rb +1 -1
- data/lib/authentik/api/models/country_code_enum.rb +3 -3
- data/lib/authentik/api/models/current_brand.rb +10 -1
- data/lib/authentik/api/models/current_brand_flags.rb +31 -27
- data/lib/authentik/api/models/delivery_method_enum.rb +3 -1
- data/lib/authentik/api/models/device_user_binding.rb +3 -45
- data/lib/authentik/api/models/event_matcher_policy.rb +15 -5
- data/lib/authentik/api/models/event_matcher_policy_request.rb +30 -5
- data/lib/authentik/api/models/event_stats.rb +187 -0
- data/lib/authentik/api/models/event_volume.rb +1 -1
- data/lib/authentik/api/models/events_requested_enum.rb +7 -1
- data/lib/authentik/api/models/force_binding_enum.rb +34 -0
- data/lib/authentik/api/models/{resident_key_requirement_enum.rb → format_enum.rb} +6 -7
- data/lib/authentik/api/models/geo_ip_policy.rb +1 -1
- data/lib/authentik/api/models/{detailed_country_field.rb → geo_ip_policy_countries_obj_inner.rb} +22 -26
- data/lib/authentik/api/models/google_chrome_connector.rb +326 -0
- data/lib/authentik/api/models/google_chrome_connector_request.rb +214 -0
- data/lib/authentik/api/models/grant_types_enum.rb +39 -0
- data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
- data/lib/authentik/api/models/iframe_logout_challenge.rb +1 -1
- data/lib/authentik/api/models/invitation_send_email_request.rb +213 -0
- data/lib/authentik/api/models/key_type_enum.rb +3 -3
- data/lib/authentik/api/models/lang_enum.rb +131 -0
- data/lib/authentik/api/models/lifecycle_iteration.rb +30 -86
- data/lib/authentik/api/models/logout_url.rb +209 -0
- data/lib/authentik/api/models/model_enum.rb +3 -1
- data/lib/authentik/api/models/native_logout_challenge.rb +68 -37
- data/lib/authentik/api/models/notification_rule.rb +1 -15
- data/lib/authentik/api/models/notification_transport.rb +13 -2
- data/lib/authentik/api/models/notification_transport_request.rb +13 -2
- data/lib/authentik/api/models/o_auth2_provider.rb +12 -1
- data/lib/authentik/api/models/o_auth2_provider_request.rb +12 -1
- data/lib/authentik/api/models/operating_system.rb +0 -17
- data/lib/authentik/api/models/operating_system_request.rb +2 -9
- data/lib/authentik/api/models/paginated_account_lockdown_stage_list.rb +214 -0
- data/lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb +214 -0
- data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +32 -4
- data/lib/authentik/api/models/paginated_google_chrome_connector_list.rb +214 -0
- data/lib/authentik/api/models/patched_account_lockdown_stage_request.rb +212 -0
- data/lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb +235 -0
- data/lib/authentik/api/models/patched_application_request.rb +14 -4
- data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +51 -4
- data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +23 -2
- data/lib/authentik/api/models/patched_brand_request.rb +11 -1
- data/lib/authentik/api/models/patched_consent_stage_request.rb +1 -1
- data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +30 -5
- data/lib/authentik/api/models/patched_google_chrome_connector_request.rb +190 -0
- data/lib/authentik/api/models/patched_notification_transport_request.rb +13 -2
- data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +12 -1
- data/lib/authentik/api/models/patched_saml_provider_request.rb +17 -27
- data/lib/authentik/api/models/patched_saml_source_request.rb +11 -1
- data/lib/authentik/api/models/patched_settings_request_flags.rb +31 -27
- data/lib/authentik/api/models/patched_ssf_provider_request.rb +13 -4
- data/lib/authentik/api/models/policy_binding.rb +3 -45
- data/lib/authentik/api/models/prompt_type_enum.rb +4 -1
- data/lib/authentik/api/models/redirect_uri.rb +13 -4
- data/lib/authentik/api/models/redirect_uri_request.rb +13 -4
- data/lib/authentik/api/models/redirect_uri_type_enum.rb +34 -0
- data/lib/authentik/api/models/related_rule.rb +250 -0
- data/lib/authentik/api/models/saml_metadata.rb +0 -2
- data/lib/authentik/api/models/saml_provider.rb +98 -8
- data/lib/authentik/api/models/saml_provider_request.rb +17 -27
- data/lib/authentik/api/models/saml_source.rb +11 -1
- data/lib/authentik/api/models/saml_source_request.rb +11 -1
- data/lib/authentik/api/models/ssf_provider.rb +41 -4
- data/lib/authentik/api/models/ssf_provider_request.rb +13 -4
- data/lib/authentik/api/models/ssf_stream.rb +10 -1
- data/lib/authentik/api/models/ssf_stream_status_enum.rb +36 -0
- data/lib/authentik/api/models/task.rb +1 -1
- data/lib/authentik/api/models/{task_state_enum.rb → task_status_enum.rb} +3 -3
- data/lib/authentik/api/models/{notification_transport_mode_enum.rb → transport_mode_enum.rb} +3 -3
- data/lib/authentik/api/models/usage_enum.rb +33 -0
- data/lib/authentik/api/models/user_account_lockdown_request.rb +144 -0
- data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
- data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
- data/lib/authentik/api/models/vendor_enum.rb +2 -1
- data/lib/authentik/api/models/web_authn_hint_enum.rb +35 -0
- data/lib/authentik/api/version.rb +1 -1
- data/spec/api/admin_api_spec.rb +2 -2
- data/spec/api/core_api_spec.rb +27 -3
- data/spec/api/crypto_api_spec.rb +1 -1
- data/spec/api/endpoints_api_spec.rb +167 -0
- data/spec/api/events_api_spec.rb +33 -7
- data/spec/api/flows_api_spec.rb +4 -16
- data/spec/api/lifecycle_api_spec.rb +6 -3
- data/spec/api/managed_api_spec.rb +13 -0
- data/spec/api/policies_api_spec.rb +2 -1
- data/spec/api/providers_api_spec.rb +21 -19
- data/spec/api/schema_api_spec.rb +2 -2
- data/spec/api/sources_api_spec.rb +17 -16
- data/spec/api/ssf_api_spec.rb +12 -1
- data/spec/api/stages_api_spec.rb +117 -18
- data/spec/api/tasks_api_spec.rb +2 -2
- data/spec/models/account_lockdown_stage_request_spec.rb +60 -0
- data/spec/models/account_lockdown_stage_spec.rb +96 -0
- data/spec/models/apple_independent_secure_enclave_request_spec.rb +54 -0
- data/spec/models/apple_independent_secure_enclave_spec.rb +54 -0
- data/spec/models/application_request_spec.rb +6 -0
- data/spec/models/application_spec.rb +6 -0
- data/spec/models/authenticator_validate_stage_request_spec.rb +30 -0
- data/spec/models/authenticator_validate_stage_spec.rb +30 -0
- data/spec/models/authenticator_web_authn_stage_request_spec.rb +12 -0
- data/spec/models/authenticator_web_authn_stage_spec.rb +12 -0
- data/spec/models/{flow_import_result_spec.rb → blueprint_import_result_spec.rb} +6 -6
- data/spec/models/brand_request_spec.rb +6 -0
- data/spec/models/brand_spec.rb +6 -0
- data/spec/models/{notification_transport_mode_enum_spec.rb → certificate_key_pair_key_type_enum_spec.rb} +6 -6
- data/spec/models/{consent_stage_mode_enum_spec.rb → consent_mode_enum_spec.rb} +6 -6
- data/spec/models/current_brand_flags_spec.rb +2 -2
- data/spec/models/current_brand_spec.rb +6 -0
- data/spec/models/event_matcher_policy_request_spec.rb +6 -0
- data/spec/models/event_matcher_policy_spec.rb +6 -0
- data/spec/models/event_stats_spec.rb +36 -0
- data/spec/models/force_binding_enum_spec.rb +24 -0
- data/spec/models/format_enum_spec.rb +24 -0
- data/spec/models/{detailed_country_field_spec.rb → geo_ip_policy_countries_obj_inner_spec.rb} +6 -6
- data/spec/models/google_chrome_connector_request_spec.rb +48 -0
- data/spec/models/google_chrome_connector_spec.rb +78 -0
- data/spec/models/grant_types_enum_spec.rb +24 -0
- data/spec/models/group_ldap_source_connection_spec.rb +6 -0
- data/spec/models/invitation_send_email_request_spec.rb +48 -0
- data/spec/models/lang_enum_spec.rb +24 -0
- data/spec/models/lifecycle_iteration_spec.rb +2 -14
- data/spec/models/logout_url_spec.rb +60 -0
- data/spec/models/native_logout_challenge_spec.rb +13 -7
- data/spec/models/notification_transport_request_spec.rb +6 -0
- data/spec/models/notification_transport_spec.rb +6 -0
- data/spec/models/o_auth2_provider_request_spec.rb +6 -0
- data/spec/models/o_auth2_provider_spec.rb +6 -0
- data/spec/models/paginated_account_lockdown_stage_list_spec.rb +42 -0
- data/spec/models/paginated_apple_independent_secure_enclave_list_spec.rb +42 -0
- data/spec/models/paginated_extra_role_object_permission_list_spec.rb +6 -0
- data/spec/models/paginated_google_chrome_connector_list_spec.rb +42 -0
- data/spec/models/patched_account_lockdown_stage_request_spec.rb +60 -0
- data/spec/models/patched_apple_independent_secure_enclave_request_spec.rb +54 -0
- data/spec/models/patched_application_request_spec.rb +6 -0
- data/spec/models/patched_authenticator_validate_stage_request_spec.rb +30 -0
- data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +12 -0
- data/spec/models/patched_brand_request_spec.rb +6 -0
- data/spec/models/patched_event_matcher_policy_request_spec.rb +6 -0
- data/spec/models/patched_google_chrome_connector_request_spec.rb +48 -0
- data/spec/models/patched_notification_transport_request_spec.rb +6 -0
- data/spec/models/patched_o_auth2_provider_request_spec.rb +6 -0
- data/spec/models/patched_saml_provider_request_spec.rb +7 -1
- data/spec/models/patched_saml_source_request_spec.rb +6 -0
- data/spec/models/patched_settings_request_flags_spec.rb +2 -2
- data/spec/models/patched_ssf_provider_request_spec.rb +6 -0
- data/spec/models/redirect_uri_request_spec.rb +6 -0
- data/spec/models/redirect_uri_spec.rb +6 -0
- data/spec/models/redirect_uri_type_enum_spec.rb +24 -0
- data/spec/models/related_rule_spec.rb +54 -0
- data/spec/models/saml_provider_request_spec.rb +7 -1
- data/spec/models/saml_provider_spec.rb +25 -1
- data/spec/models/saml_source_request_spec.rb +6 -0
- data/spec/models/saml_source_spec.rb +6 -0
- data/spec/models/ssf_provider_request_spec.rb +6 -0
- data/spec/models/ssf_provider_spec.rb +12 -0
- data/spec/models/ssf_stream_spec.rb +6 -0
- data/spec/models/ssf_stream_status_enum_spec.rb +24 -0
- data/spec/models/{task_state_enum_spec.rb → task_status_enum_spec.rb} +6 -6
- data/spec/models/transport_mode_enum_spec.rb +24 -0
- data/spec/models/usage_enum_spec.rb +24 -0
- data/spec/models/user_account_lockdown_request_spec.rb +30 -0
- data/spec/models/user_ldap_source_connection_spec.rb +6 -0
- data/spec/models/user_password_hash_set_request_spec.rb +30 -0
- data/spec/models/web_authn_hint_enum_spec.rb +24 -0
- data/spec/zeitwerk_spec.rb +34 -0
- metadata +113 -32
- 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 'id' when calling ProvidersApi.providers_all_destroy"
|
|
36
36
|
end
|
|
37
37
|
# resource path
|
|
38
|
-
local_var_path = '/providers/all/{id}/'.sub('{
|
|
38
|
+
local_var_path = '/providers/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
39
39
|
|
|
40
40
|
# query parameters
|
|
41
41
|
query_params = opts[:query_params] || {}
|
|
@@ -169,7 +169,7 @@ module Authentik::Api
|
|
|
169
169
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_all_retrieve"
|
|
170
170
|
end
|
|
171
171
|
# resource path
|
|
172
|
-
local_var_path = '/providers/all/{id}/'.sub('{
|
|
172
|
+
local_var_path = '/providers/all/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
173
173
|
|
|
174
174
|
# query parameters
|
|
175
175
|
query_params = opts[:query_params] || {}
|
|
@@ -285,7 +285,7 @@ module Authentik::Api
|
|
|
285
285
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_all_used_by_list"
|
|
286
286
|
end
|
|
287
287
|
# resource path
|
|
288
|
-
local_var_path = '/providers/all/{id}/used_by/'.sub('{
|
|
288
|
+
local_var_path = '/providers/all/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
289
289
|
|
|
290
290
|
# query parameters
|
|
291
291
|
query_params = opts[:query_params] || {}
|
|
@@ -412,7 +412,7 @@ module Authentik::Api
|
|
|
412
412
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_destroy"
|
|
413
413
|
end
|
|
414
414
|
# resource path
|
|
415
|
-
local_var_path = '/providers/google_workspace/{id}/'.sub('{
|
|
415
|
+
local_var_path = '/providers/google_workspace/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
416
416
|
|
|
417
417
|
# query parameters
|
|
418
418
|
query_params = opts[:query_params] || {}
|
|
@@ -539,7 +539,7 @@ module Authentik::Api
|
|
|
539
539
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_groups_destroy"
|
|
540
540
|
end
|
|
541
541
|
# resource path
|
|
542
|
-
local_var_path = '/providers/google_workspace_groups/{id}/'.sub('{
|
|
542
|
+
local_var_path = '/providers/google_workspace_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
543
543
|
|
|
544
544
|
# query parameters
|
|
545
545
|
query_params = opts[:query_params] || {}
|
|
@@ -676,7 +676,7 @@ module Authentik::Api
|
|
|
676
676
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_groups_retrieve"
|
|
677
677
|
end
|
|
678
678
|
# resource path
|
|
679
|
-
local_var_path = '/providers/google_workspace_groups/{id}/'.sub('{
|
|
679
|
+
local_var_path = '/providers/google_workspace_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
680
680
|
|
|
681
681
|
# query parameters
|
|
682
682
|
query_params = opts[:query_params] || {}
|
|
@@ -737,7 +737,7 @@ module Authentik::Api
|
|
|
737
737
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_groups_used_by_list"
|
|
738
738
|
end
|
|
739
739
|
# resource path
|
|
740
|
-
local_var_path = '/providers/google_workspace_groups/{id}/used_by/'.sub('{
|
|
740
|
+
local_var_path = '/providers/google_workspace_groups/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
741
741
|
|
|
742
742
|
# query parameters
|
|
743
743
|
query_params = opts[:query_params] || {}
|
|
@@ -879,7 +879,7 @@ module Authentik::Api
|
|
|
879
879
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_partial_update"
|
|
880
880
|
end
|
|
881
881
|
# resource path
|
|
882
|
-
local_var_path = '/providers/google_workspace/{id}/'.sub('{
|
|
882
|
+
local_var_path = '/providers/google_workspace/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
883
883
|
|
|
884
884
|
# query parameters
|
|
885
885
|
query_params = opts[:query_params] || {}
|
|
@@ -945,7 +945,7 @@ module Authentik::Api
|
|
|
945
945
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_retrieve"
|
|
946
946
|
end
|
|
947
947
|
# resource path
|
|
948
|
-
local_var_path = '/providers/google_workspace/{id}/'.sub('{
|
|
948
|
+
local_var_path = '/providers/google_workspace/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
949
949
|
|
|
950
950
|
# query parameters
|
|
951
951
|
query_params = opts[:query_params] || {}
|
|
@@ -1012,7 +1012,7 @@ module Authentik::Api
|
|
|
1012
1012
|
fail ArgumentError, "Missing the required parameter 'sync_object_request' when calling ProvidersApi.providers_google_workspace_sync_object_create"
|
|
1013
1013
|
end
|
|
1014
1014
|
# resource path
|
|
1015
|
-
local_var_path = '/providers/google_workspace/{id}/sync/object/'.sub('{
|
|
1015
|
+
local_var_path = '/providers/google_workspace/{id}/sync/object/'.sub('{id}', CGI.escape(id.to_s))
|
|
1016
1016
|
|
|
1017
1017
|
# query parameters
|
|
1018
1018
|
query_params = opts[:query_params] || {}
|
|
@@ -1078,7 +1078,7 @@ module Authentik::Api
|
|
|
1078
1078
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_sync_status_retrieve"
|
|
1079
1079
|
end
|
|
1080
1080
|
# resource path
|
|
1081
|
-
local_var_path = '/providers/google_workspace/{id}/sync/status/'.sub('{
|
|
1081
|
+
local_var_path = '/providers/google_workspace/{id}/sync/status/'.sub('{id}', CGI.escape(id.to_s))
|
|
1082
1082
|
|
|
1083
1083
|
# query parameters
|
|
1084
1084
|
query_params = opts[:query_params] || {}
|
|
@@ -1145,7 +1145,7 @@ module Authentik::Api
|
|
|
1145
1145
|
fail ArgumentError, "Missing the required parameter 'google_workspace_provider_request' when calling ProvidersApi.providers_google_workspace_update"
|
|
1146
1146
|
end
|
|
1147
1147
|
# resource path
|
|
1148
|
-
local_var_path = '/providers/google_workspace/{id}/'.sub('{
|
|
1148
|
+
local_var_path = '/providers/google_workspace/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1149
1149
|
|
|
1150
1150
|
# query parameters
|
|
1151
1151
|
query_params = opts[:query_params] || {}
|
|
@@ -1211,7 +1211,7 @@ module Authentik::Api
|
|
|
1211
1211
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_used_by_list"
|
|
1212
1212
|
end
|
|
1213
1213
|
# resource path
|
|
1214
|
-
local_var_path = '/providers/google_workspace/{id}/used_by/'.sub('{
|
|
1214
|
+
local_var_path = '/providers/google_workspace/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
1215
1215
|
|
|
1216
1216
|
# query parameters
|
|
1217
1217
|
query_params = opts[:query_params] || {}
|
|
@@ -1338,7 +1338,7 @@ module Authentik::Api
|
|
|
1338
1338
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_users_destroy"
|
|
1339
1339
|
end
|
|
1340
1340
|
# resource path
|
|
1341
|
-
local_var_path = '/providers/google_workspace_users/{id}/'.sub('{
|
|
1341
|
+
local_var_path = '/providers/google_workspace_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1342
1342
|
|
|
1343
1343
|
# query parameters
|
|
1344
1344
|
query_params = opts[:query_params] || {}
|
|
@@ -1475,7 +1475,7 @@ module Authentik::Api
|
|
|
1475
1475
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_users_retrieve"
|
|
1476
1476
|
end
|
|
1477
1477
|
# resource path
|
|
1478
|
-
local_var_path = '/providers/google_workspace_users/{id}/'.sub('{
|
|
1478
|
+
local_var_path = '/providers/google_workspace_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1479
1479
|
|
|
1480
1480
|
# query parameters
|
|
1481
1481
|
query_params = opts[:query_params] || {}
|
|
@@ -1536,7 +1536,7 @@ module Authentik::Api
|
|
|
1536
1536
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_google_workspace_users_used_by_list"
|
|
1537
1537
|
end
|
|
1538
1538
|
# resource path
|
|
1539
|
-
local_var_path = '/providers/google_workspace_users/{id}/used_by/'.sub('{
|
|
1539
|
+
local_var_path = '/providers/google_workspace_users/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
1540
1540
|
|
|
1541
1541
|
# query parameters
|
|
1542
1542
|
query_params = opts[:query_params] || {}
|
|
@@ -1663,7 +1663,7 @@ module Authentik::Api
|
|
|
1663
1663
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ldap_destroy"
|
|
1664
1664
|
end
|
|
1665
1665
|
# resource path
|
|
1666
|
-
local_var_path = '/providers/ldap/{id}/'.sub('{
|
|
1666
|
+
local_var_path = '/providers/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1667
1667
|
|
|
1668
1668
|
# query parameters
|
|
1669
1669
|
query_params = opts[:query_params] || {}
|
|
@@ -1820,7 +1820,7 @@ module Authentik::Api
|
|
|
1820
1820
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ldap_partial_update"
|
|
1821
1821
|
end
|
|
1822
1822
|
# resource path
|
|
1823
|
-
local_var_path = '/providers/ldap/{id}/'.sub('{
|
|
1823
|
+
local_var_path = '/providers/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1824
1824
|
|
|
1825
1825
|
# query parameters
|
|
1826
1826
|
query_params = opts[:query_params] || {}
|
|
@@ -1886,7 +1886,7 @@ module Authentik::Api
|
|
|
1886
1886
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ldap_retrieve"
|
|
1887
1887
|
end
|
|
1888
1888
|
# resource path
|
|
1889
|
-
local_var_path = '/providers/ldap/{id}/'.sub('{
|
|
1889
|
+
local_var_path = '/providers/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1890
1890
|
|
|
1891
1891
|
# query parameters
|
|
1892
1892
|
query_params = opts[:query_params] || {}
|
|
@@ -1953,7 +1953,7 @@ module Authentik::Api
|
|
|
1953
1953
|
fail ArgumentError, "Missing the required parameter 'ldap_provider_request' when calling ProvidersApi.providers_ldap_update"
|
|
1954
1954
|
end
|
|
1955
1955
|
# resource path
|
|
1956
|
-
local_var_path = '/providers/ldap/{id}/'.sub('{
|
|
1956
|
+
local_var_path = '/providers/ldap/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
1957
1957
|
|
|
1958
1958
|
# query parameters
|
|
1959
1959
|
query_params = opts[:query_params] || {}
|
|
@@ -2019,7 +2019,7 @@ module Authentik::Api
|
|
|
2019
2019
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ldap_used_by_list"
|
|
2020
2020
|
end
|
|
2021
2021
|
# resource path
|
|
2022
|
-
local_var_path = '/providers/ldap/{id}/used_by/'.sub('{
|
|
2022
|
+
local_var_path = '/providers/ldap/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
2023
2023
|
|
|
2024
2024
|
# query parameters
|
|
2025
2025
|
query_params = opts[:query_params] || {}
|
|
@@ -2146,7 +2146,7 @@ module Authentik::Api
|
|
|
2146
2146
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_destroy"
|
|
2147
2147
|
end
|
|
2148
2148
|
# resource path
|
|
2149
|
-
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{
|
|
2149
|
+
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2150
2150
|
|
|
2151
2151
|
# query parameters
|
|
2152
2152
|
query_params = opts[:query_params] || {}
|
|
@@ -2273,7 +2273,7 @@ module Authentik::Api
|
|
|
2273
2273
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_groups_destroy"
|
|
2274
2274
|
end
|
|
2275
2275
|
# resource path
|
|
2276
|
-
local_var_path = '/providers/microsoft_entra_groups/{id}/'.sub('{
|
|
2276
|
+
local_var_path = '/providers/microsoft_entra_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2277
2277
|
|
|
2278
2278
|
# query parameters
|
|
2279
2279
|
query_params = opts[:query_params] || {}
|
|
@@ -2410,7 +2410,7 @@ module Authentik::Api
|
|
|
2410
2410
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_groups_retrieve"
|
|
2411
2411
|
end
|
|
2412
2412
|
# resource path
|
|
2413
|
-
local_var_path = '/providers/microsoft_entra_groups/{id}/'.sub('{
|
|
2413
|
+
local_var_path = '/providers/microsoft_entra_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2414
2414
|
|
|
2415
2415
|
# query parameters
|
|
2416
2416
|
query_params = opts[:query_params] || {}
|
|
@@ -2471,7 +2471,7 @@ module Authentik::Api
|
|
|
2471
2471
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_groups_used_by_list"
|
|
2472
2472
|
end
|
|
2473
2473
|
# resource path
|
|
2474
|
-
local_var_path = '/providers/microsoft_entra_groups/{id}/used_by/'.sub('{
|
|
2474
|
+
local_var_path = '/providers/microsoft_entra_groups/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
2475
2475
|
|
|
2476
2476
|
# query parameters
|
|
2477
2477
|
query_params = opts[:query_params] || {}
|
|
@@ -2610,7 +2610,7 @@ module Authentik::Api
|
|
|
2610
2610
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_partial_update"
|
|
2611
2611
|
end
|
|
2612
2612
|
# resource path
|
|
2613
|
-
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{
|
|
2613
|
+
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2614
2614
|
|
|
2615
2615
|
# query parameters
|
|
2616
2616
|
query_params = opts[:query_params] || {}
|
|
@@ -2676,7 +2676,7 @@ module Authentik::Api
|
|
|
2676
2676
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_retrieve"
|
|
2677
2677
|
end
|
|
2678
2678
|
# resource path
|
|
2679
|
-
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{
|
|
2679
|
+
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2680
2680
|
|
|
2681
2681
|
# query parameters
|
|
2682
2682
|
query_params = opts[:query_params] || {}
|
|
@@ -2743,7 +2743,7 @@ module Authentik::Api
|
|
|
2743
2743
|
fail ArgumentError, "Missing the required parameter 'sync_object_request' when calling ProvidersApi.providers_microsoft_entra_sync_object_create"
|
|
2744
2744
|
end
|
|
2745
2745
|
# resource path
|
|
2746
|
-
local_var_path = '/providers/microsoft_entra/{id}/sync/object/'.sub('{
|
|
2746
|
+
local_var_path = '/providers/microsoft_entra/{id}/sync/object/'.sub('{id}', CGI.escape(id.to_s))
|
|
2747
2747
|
|
|
2748
2748
|
# query parameters
|
|
2749
2749
|
query_params = opts[:query_params] || {}
|
|
@@ -2809,7 +2809,7 @@ module Authentik::Api
|
|
|
2809
2809
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_sync_status_retrieve"
|
|
2810
2810
|
end
|
|
2811
2811
|
# resource path
|
|
2812
|
-
local_var_path = '/providers/microsoft_entra/{id}/sync/status/'.sub('{
|
|
2812
|
+
local_var_path = '/providers/microsoft_entra/{id}/sync/status/'.sub('{id}', CGI.escape(id.to_s))
|
|
2813
2813
|
|
|
2814
2814
|
# query parameters
|
|
2815
2815
|
query_params = opts[:query_params] || {}
|
|
@@ -2876,7 +2876,7 @@ module Authentik::Api
|
|
|
2876
2876
|
fail ArgumentError, "Missing the required parameter 'microsoft_entra_provider_request' when calling ProvidersApi.providers_microsoft_entra_update"
|
|
2877
2877
|
end
|
|
2878
2878
|
# resource path
|
|
2879
|
-
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{
|
|
2879
|
+
local_var_path = '/providers/microsoft_entra/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
2880
2880
|
|
|
2881
2881
|
# query parameters
|
|
2882
2882
|
query_params = opts[:query_params] || {}
|
|
@@ -2942,7 +2942,7 @@ module Authentik::Api
|
|
|
2942
2942
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_used_by_list"
|
|
2943
2943
|
end
|
|
2944
2944
|
# resource path
|
|
2945
|
-
local_var_path = '/providers/microsoft_entra/{id}/used_by/'.sub('{
|
|
2945
|
+
local_var_path = '/providers/microsoft_entra/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
2946
2946
|
|
|
2947
2947
|
# query parameters
|
|
2948
2948
|
query_params = opts[:query_params] || {}
|
|
@@ -3069,7 +3069,7 @@ module Authentik::Api
|
|
|
3069
3069
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_users_destroy"
|
|
3070
3070
|
end
|
|
3071
3071
|
# resource path
|
|
3072
|
-
local_var_path = '/providers/microsoft_entra_users/{id}/'.sub('{
|
|
3072
|
+
local_var_path = '/providers/microsoft_entra_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
3073
3073
|
|
|
3074
3074
|
# query parameters
|
|
3075
3075
|
query_params = opts[:query_params] || {}
|
|
@@ -3206,7 +3206,7 @@ module Authentik::Api
|
|
|
3206
3206
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_users_retrieve"
|
|
3207
3207
|
end
|
|
3208
3208
|
# resource path
|
|
3209
|
-
local_var_path = '/providers/microsoft_entra_users/{id}/'.sub('{
|
|
3209
|
+
local_var_path = '/providers/microsoft_entra_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
3210
3210
|
|
|
3211
3211
|
# query parameters
|
|
3212
3212
|
query_params = opts[:query_params] || {}
|
|
@@ -3267,7 +3267,7 @@ module Authentik::Api
|
|
|
3267
3267
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_microsoft_entra_users_used_by_list"
|
|
3268
3268
|
end
|
|
3269
3269
|
# resource path
|
|
3270
|
-
local_var_path = '/providers/microsoft_entra_users/{id}/used_by/'.sub('{
|
|
3270
|
+
local_var_path = '/providers/microsoft_entra_users/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
3271
3271
|
|
|
3272
3272
|
# query parameters
|
|
3273
3273
|
query_params = opts[:query_params] || {}
|
|
@@ -3394,7 +3394,7 @@ module Authentik::Api
|
|
|
3394
3394
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_oauth2_destroy"
|
|
3395
3395
|
end
|
|
3396
3396
|
# resource path
|
|
3397
|
-
local_var_path = '/providers/oauth2/{id}/'.sub('{
|
|
3397
|
+
local_var_path = '/providers/oauth2/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
3398
3398
|
|
|
3399
3399
|
# query parameters
|
|
3400
3400
|
query_params = opts[:query_params] || {}
|
|
@@ -3440,9 +3440,9 @@ module Authentik::Api
|
|
|
3440
3440
|
# @option opts [String] :application
|
|
3441
3441
|
# @option opts [String] :authorization_flow
|
|
3442
3442
|
# @option opts [String] :client_id
|
|
3443
|
-
# @option opts [
|
|
3443
|
+
# @option opts [ClientTypeEnum] :client_type
|
|
3444
3444
|
# @option opts [Boolean] :include_claims_in_id_token
|
|
3445
|
-
# @option opts [
|
|
3445
|
+
# @option opts [IssuerModeEnum] :issuer_mode
|
|
3446
3446
|
# @option opts [String] :name
|
|
3447
3447
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
3448
3448
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -3451,7 +3451,7 @@ module Authentik::Api
|
|
|
3451
3451
|
# @option opts [String] :refresh_token_validity
|
|
3452
3452
|
# @option opts [String] :search A search term.
|
|
3453
3453
|
# @option opts [String] :signing_key
|
|
3454
|
-
# @option opts [
|
|
3454
|
+
# @option opts [SubModeEnum] :sub_mode
|
|
3455
3455
|
# @return [PaginatedOAuth2ProviderList]
|
|
3456
3456
|
def providers_oauth2_list(opts = {})
|
|
3457
3457
|
data, _status_code, _headers = providers_oauth2_list_with_http_info(opts)
|
|
@@ -3465,9 +3465,9 @@ module Authentik::Api
|
|
|
3465
3465
|
# @option opts [String] :application
|
|
3466
3466
|
# @option opts [String] :authorization_flow
|
|
3467
3467
|
# @option opts [String] :client_id
|
|
3468
|
-
# @option opts [
|
|
3468
|
+
# @option opts [ClientTypeEnum] :client_type
|
|
3469
3469
|
# @option opts [Boolean] :include_claims_in_id_token
|
|
3470
|
-
# @option opts [
|
|
3470
|
+
# @option opts [IssuerModeEnum] :issuer_mode
|
|
3471
3471
|
# @option opts [String] :name
|
|
3472
3472
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
3473
3473
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -3476,24 +3476,12 @@ module Authentik::Api
|
|
|
3476
3476
|
# @option opts [String] :refresh_token_validity
|
|
3477
3477
|
# @option opts [String] :search A search term.
|
|
3478
3478
|
# @option opts [String] :signing_key
|
|
3479
|
-
# @option opts [
|
|
3479
|
+
# @option opts [SubModeEnum] :sub_mode
|
|
3480
3480
|
# @return [Array<(PaginatedOAuth2ProviderList, Integer, Hash)>] PaginatedOAuth2ProviderList data, response status code and response headers
|
|
3481
3481
|
def providers_oauth2_list_with_http_info(opts = {})
|
|
3482
3482
|
if @api_client.config.debugging
|
|
3483
3483
|
@api_client.config.logger.debug 'Calling API: ProvidersApi.providers_oauth2_list ...'
|
|
3484
3484
|
end
|
|
3485
|
-
allowable_values = ["confidential", "public"]
|
|
3486
|
-
if @api_client.config.client_side_validation && opts[:'client_type'] && !allowable_values.include?(opts[:'client_type'])
|
|
3487
|
-
fail ArgumentError, "invalid value for \"client_type\", must be one of #{allowable_values}"
|
|
3488
|
-
end
|
|
3489
|
-
allowable_values = ["global", "per_provider"]
|
|
3490
|
-
if @api_client.config.client_side_validation && opts[:'issuer_mode'] && !allowable_values.include?(opts[:'issuer_mode'])
|
|
3491
|
-
fail ArgumentError, "invalid value for \"issuer_mode\", must be one of #{allowable_values}"
|
|
3492
|
-
end
|
|
3493
|
-
allowable_values = ["hashed_user_id", "user_email", "user_id", "user_upn", "user_username", "user_uuid"]
|
|
3494
|
-
if @api_client.config.client_side_validation && opts[:'sub_mode'] && !allowable_values.include?(opts[:'sub_mode'])
|
|
3495
|
-
fail ArgumentError, "invalid value for \"sub_mode\", must be one of #{allowable_values}"
|
|
3496
|
-
end
|
|
3497
3485
|
# resource path
|
|
3498
3486
|
local_var_path = '/providers/oauth2/'
|
|
3499
3487
|
|
|
@@ -3575,7 +3563,7 @@ module Authentik::Api
|
|
|
3575
3563
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_oauth2_partial_update"
|
|
3576
3564
|
end
|
|
3577
3565
|
# resource path
|
|
3578
|
-
local_var_path = '/providers/oauth2/{id}/'.sub('{
|
|
3566
|
+
local_var_path = '/providers/oauth2/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
3579
3567
|
|
|
3580
3568
|
# query parameters
|
|
3581
3569
|
query_params = opts[:query_params] || {}
|
|
@@ -3643,7 +3631,7 @@ module Authentik::Api
|
|
|
3643
3631
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_oauth2_preview_user_retrieve"
|
|
3644
3632
|
end
|
|
3645
3633
|
# resource path
|
|
3646
|
-
local_var_path = '/providers/oauth2/{id}/preview_user/'.sub('{
|
|
3634
|
+
local_var_path = '/providers/oauth2/{id}/preview_user/'.sub('{id}', CGI.escape(id.to_s))
|
|
3647
3635
|
|
|
3648
3636
|
# query parameters
|
|
3649
3637
|
query_params = opts[:query_params] || {}
|
|
@@ -3705,7 +3693,7 @@ module Authentik::Api
|
|
|
3705
3693
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_oauth2_retrieve"
|
|
3706
3694
|
end
|
|
3707
3695
|
# resource path
|
|
3708
|
-
local_var_path = '/providers/oauth2/{id}/'.sub('{
|
|
3696
|
+
local_var_path = '/providers/oauth2/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
3709
3697
|
|
|
3710
3698
|
# query parameters
|
|
3711
3699
|
query_params = opts[:query_params] || {}
|
|
@@ -3766,7 +3754,7 @@ module Authentik::Api
|
|
|
3766
3754
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_oauth2_setup_urls_retrieve"
|
|
3767
3755
|
end
|
|
3768
3756
|
# resource path
|
|
3769
|
-
local_var_path = '/providers/oauth2/{id}/setup_urls/'.sub('{
|
|
3757
|
+
local_var_path = '/providers/oauth2/{id}/setup_urls/'.sub('{id}', CGI.escape(id.to_s))
|
|
3770
3758
|
|
|
3771
3759
|
# query parameters
|
|
3772
3760
|
query_params = opts[:query_params] || {}
|
|
@@ -3833,7 +3821,7 @@ module Authentik::Api
|
|
|
3833
3821
|
fail ArgumentError, "Missing the required parameter 'o_auth2_provider_request' when calling ProvidersApi.providers_oauth2_update"
|
|
3834
3822
|
end
|
|
3835
3823
|
# resource path
|
|
3836
|
-
local_var_path = '/providers/oauth2/{id}/'.sub('{
|
|
3824
|
+
local_var_path = '/providers/oauth2/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
3837
3825
|
|
|
3838
3826
|
# query parameters
|
|
3839
3827
|
query_params = opts[:query_params] || {}
|
|
@@ -3899,7 +3887,7 @@ module Authentik::Api
|
|
|
3899
3887
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_oauth2_used_by_list"
|
|
3900
3888
|
end
|
|
3901
3889
|
# resource path
|
|
3902
|
-
local_var_path = '/providers/oauth2/{id}/used_by/'.sub('{
|
|
3890
|
+
local_var_path = '/providers/oauth2/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
3903
3891
|
|
|
3904
3892
|
# query parameters
|
|
3905
3893
|
query_params = opts[:query_params] || {}
|
|
@@ -4026,7 +4014,7 @@ module Authentik::Api
|
|
|
4026
4014
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_proxy_destroy"
|
|
4027
4015
|
end
|
|
4028
4016
|
# resource path
|
|
4029
|
-
local_var_path = '/providers/proxy/{id}/'.sub('{
|
|
4017
|
+
local_var_path = '/providers/proxy/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4030
4018
|
|
|
4031
4019
|
# query parameters
|
|
4032
4020
|
query_params = opts[:query_params] || {}
|
|
@@ -4201,7 +4189,7 @@ module Authentik::Api
|
|
|
4201
4189
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_proxy_partial_update"
|
|
4202
4190
|
end
|
|
4203
4191
|
# resource path
|
|
4204
|
-
local_var_path = '/providers/proxy/{id}/'.sub('{
|
|
4192
|
+
local_var_path = '/providers/proxy/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4205
4193
|
|
|
4206
4194
|
# query parameters
|
|
4207
4195
|
query_params = opts[:query_params] || {}
|
|
@@ -4267,7 +4255,7 @@ module Authentik::Api
|
|
|
4267
4255
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_proxy_retrieve"
|
|
4268
4256
|
end
|
|
4269
4257
|
# resource path
|
|
4270
|
-
local_var_path = '/providers/proxy/{id}/'.sub('{
|
|
4258
|
+
local_var_path = '/providers/proxy/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4271
4259
|
|
|
4272
4260
|
# query parameters
|
|
4273
4261
|
query_params = opts[:query_params] || {}
|
|
@@ -4334,7 +4322,7 @@ module Authentik::Api
|
|
|
4334
4322
|
fail ArgumentError, "Missing the required parameter 'proxy_provider_request' when calling ProvidersApi.providers_proxy_update"
|
|
4335
4323
|
end
|
|
4336
4324
|
# resource path
|
|
4337
|
-
local_var_path = '/providers/proxy/{id}/'.sub('{
|
|
4325
|
+
local_var_path = '/providers/proxy/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4338
4326
|
|
|
4339
4327
|
# query parameters
|
|
4340
4328
|
query_params = opts[:query_params] || {}
|
|
@@ -4400,7 +4388,7 @@ module Authentik::Api
|
|
|
4400
4388
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_proxy_used_by_list"
|
|
4401
4389
|
end
|
|
4402
4390
|
# resource path
|
|
4403
|
-
local_var_path = '/providers/proxy/{id}/used_by/'.sub('{
|
|
4391
|
+
local_var_path = '/providers/proxy/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
4404
4392
|
|
|
4405
4393
|
# query parameters
|
|
4406
4394
|
query_params = opts[:query_params] || {}
|
|
@@ -4527,7 +4515,7 @@ module Authentik::Api
|
|
|
4527
4515
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_rac_destroy"
|
|
4528
4516
|
end
|
|
4529
4517
|
# resource path
|
|
4530
|
-
local_var_path = '/providers/rac/{id}/'.sub('{
|
|
4518
|
+
local_var_path = '/providers/rac/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4531
4519
|
|
|
4532
4520
|
# query parameters
|
|
4533
4521
|
query_params = opts[:query_params] || {}
|
|
@@ -4663,7 +4651,7 @@ module Authentik::Api
|
|
|
4663
4651
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_rac_partial_update"
|
|
4664
4652
|
end
|
|
4665
4653
|
# resource path
|
|
4666
|
-
local_var_path = '/providers/rac/{id}/'.sub('{
|
|
4654
|
+
local_var_path = '/providers/rac/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4667
4655
|
|
|
4668
4656
|
# query parameters
|
|
4669
4657
|
query_params = opts[:query_params] || {}
|
|
@@ -4729,7 +4717,7 @@ module Authentik::Api
|
|
|
4729
4717
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_rac_retrieve"
|
|
4730
4718
|
end
|
|
4731
4719
|
# resource path
|
|
4732
|
-
local_var_path = '/providers/rac/{id}/'.sub('{
|
|
4720
|
+
local_var_path = '/providers/rac/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4733
4721
|
|
|
4734
4722
|
# query parameters
|
|
4735
4723
|
query_params = opts[:query_params] || {}
|
|
@@ -4796,7 +4784,7 @@ module Authentik::Api
|
|
|
4796
4784
|
fail ArgumentError, "Missing the required parameter 'rac_provider_request' when calling ProvidersApi.providers_rac_update"
|
|
4797
4785
|
end
|
|
4798
4786
|
# resource path
|
|
4799
|
-
local_var_path = '/providers/rac/{id}/'.sub('{
|
|
4787
|
+
local_var_path = '/providers/rac/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4800
4788
|
|
|
4801
4789
|
# query parameters
|
|
4802
4790
|
query_params = opts[:query_params] || {}
|
|
@@ -4862,7 +4850,7 @@ module Authentik::Api
|
|
|
4862
4850
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_rac_used_by_list"
|
|
4863
4851
|
end
|
|
4864
4852
|
# resource path
|
|
4865
|
-
local_var_path = '/providers/rac/{id}/used_by/'.sub('{
|
|
4853
|
+
local_var_path = '/providers/rac/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
4866
4854
|
|
|
4867
4855
|
# query parameters
|
|
4868
4856
|
query_params = opts[:query_params] || {}
|
|
@@ -4989,7 +4977,7 @@ module Authentik::Api
|
|
|
4989
4977
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_radius_destroy"
|
|
4990
4978
|
end
|
|
4991
4979
|
# resource path
|
|
4992
|
-
local_var_path = '/providers/radius/{id}/'.sub('{
|
|
4980
|
+
local_var_path = '/providers/radius/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
4993
4981
|
|
|
4994
4982
|
# query parameters
|
|
4995
4983
|
query_params = opts[:query_params] || {}
|
|
@@ -5131,7 +5119,7 @@ module Authentik::Api
|
|
|
5131
5119
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_radius_partial_update"
|
|
5132
5120
|
end
|
|
5133
5121
|
# resource path
|
|
5134
|
-
local_var_path = '/providers/radius/{id}/'.sub('{
|
|
5122
|
+
local_var_path = '/providers/radius/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
5135
5123
|
|
|
5136
5124
|
# query parameters
|
|
5137
5125
|
query_params = opts[:query_params] || {}
|
|
@@ -5197,7 +5185,7 @@ module Authentik::Api
|
|
|
5197
5185
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_radius_retrieve"
|
|
5198
5186
|
end
|
|
5199
5187
|
# resource path
|
|
5200
|
-
local_var_path = '/providers/radius/{id}/'.sub('{
|
|
5188
|
+
local_var_path = '/providers/radius/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
5201
5189
|
|
|
5202
5190
|
# query parameters
|
|
5203
5191
|
query_params = opts[:query_params] || {}
|
|
@@ -5264,7 +5252,7 @@ module Authentik::Api
|
|
|
5264
5252
|
fail ArgumentError, "Missing the required parameter 'radius_provider_request' when calling ProvidersApi.providers_radius_update"
|
|
5265
5253
|
end
|
|
5266
5254
|
# resource path
|
|
5267
|
-
local_var_path = '/providers/radius/{id}/'.sub('{
|
|
5255
|
+
local_var_path = '/providers/radius/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
5268
5256
|
|
|
5269
5257
|
# query parameters
|
|
5270
5258
|
query_params = opts[:query_params] || {}
|
|
@@ -5330,7 +5318,7 @@ module Authentik::Api
|
|
|
5330
5318
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_radius_used_by_list"
|
|
5331
5319
|
end
|
|
5332
5320
|
# resource path
|
|
5333
|
-
local_var_path = '/providers/radius/{id}/used_by/'.sub('{
|
|
5321
|
+
local_var_path = '/providers/radius/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
5334
5322
|
|
|
5335
5323
|
# query parameters
|
|
5336
5324
|
query_params = opts[:query_params] || {}
|
|
@@ -5457,7 +5445,7 @@ module Authentik::Api
|
|
|
5457
5445
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_saml_destroy"
|
|
5458
5446
|
end
|
|
5459
5447
|
# resource path
|
|
5460
|
-
local_var_path = '/providers/saml/{id}/'.sub('{
|
|
5448
|
+
local_var_path = '/providers/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
5461
5449
|
|
|
5462
5450
|
# query parameters
|
|
5463
5451
|
query_params = opts[:query_params] || {}
|
|
@@ -5598,14 +5586,14 @@ module Authentik::Api
|
|
|
5598
5586
|
# @option opts [String] :authn_context_class_ref_mapping
|
|
5599
5587
|
# @option opts [String] :authorization_flow
|
|
5600
5588
|
# @option opts [String] :backchannel_application
|
|
5601
|
-
# @option opts [
|
|
5589
|
+
# @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
|
|
5602
5590
|
# @option opts [String] :default_relay_state
|
|
5603
|
-
# @option opts [
|
|
5591
|
+
# @option opts [DigestAlgorithmEnum] :digest_algorithm
|
|
5604
5592
|
# @option opts [String] :encryption_kp
|
|
5605
5593
|
# @option opts [String] :invalidation_flow
|
|
5606
5594
|
# @option opts [Boolean] :is_backchannel
|
|
5607
|
-
# @option opts [String] :
|
|
5608
|
-
# @option opts [
|
|
5595
|
+
# @option opts [String] :issuer_override
|
|
5596
|
+
# @option opts [SAMLLogoutMethods] :logout_method
|
|
5609
5597
|
# @option opts [String] :name
|
|
5610
5598
|
# @option opts [String] :name_id_mapping
|
|
5611
5599
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -5616,12 +5604,13 @@ module Authentik::Api
|
|
|
5616
5604
|
# @option opts [String] :session_valid_not_on_or_after
|
|
5617
5605
|
# @option opts [Boolean] :sign_assertion
|
|
5618
5606
|
# @option opts [Boolean] :sign_logout_request
|
|
5607
|
+
# @option opts [Boolean] :sign_logout_response
|
|
5619
5608
|
# @option opts [Boolean] :sign_response
|
|
5620
|
-
# @option opts [
|
|
5609
|
+
# @option opts [SignatureAlgorithmEnum] :signature_algorithm
|
|
5621
5610
|
# @option opts [String] :signing_kp
|
|
5622
|
-
# @option opts [
|
|
5611
|
+
# @option opts [SAMLBindingsEnum] :sls_binding
|
|
5623
5612
|
# @option opts [String] :sls_url
|
|
5624
|
-
# @option opts [
|
|
5613
|
+
# @option opts [SAMLBindingsEnum] :sp_binding
|
|
5625
5614
|
# @option opts [String] :verification_kp
|
|
5626
5615
|
# @return [PaginatedSAMLProviderList]
|
|
5627
5616
|
def providers_saml_list(opts = {})
|
|
@@ -5639,14 +5628,14 @@ module Authentik::Api
|
|
|
5639
5628
|
# @option opts [String] :authn_context_class_ref_mapping
|
|
5640
5629
|
# @option opts [String] :authorization_flow
|
|
5641
5630
|
# @option opts [String] :backchannel_application
|
|
5642
|
-
# @option opts [
|
|
5631
|
+
# @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
|
|
5643
5632
|
# @option opts [String] :default_relay_state
|
|
5644
|
-
# @option opts [
|
|
5633
|
+
# @option opts [DigestAlgorithmEnum] :digest_algorithm
|
|
5645
5634
|
# @option opts [String] :encryption_kp
|
|
5646
5635
|
# @option opts [String] :invalidation_flow
|
|
5647
5636
|
# @option opts [Boolean] :is_backchannel
|
|
5648
|
-
# @option opts [String] :
|
|
5649
|
-
# @option opts [
|
|
5637
|
+
# @option opts [String] :issuer_override
|
|
5638
|
+
# @option opts [SAMLLogoutMethods] :logout_method
|
|
5650
5639
|
# @option opts [String] :name
|
|
5651
5640
|
# @option opts [String] :name_id_mapping
|
|
5652
5641
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -5657,42 +5646,19 @@ module Authentik::Api
|
|
|
5657
5646
|
# @option opts [String] :session_valid_not_on_or_after
|
|
5658
5647
|
# @option opts [Boolean] :sign_assertion
|
|
5659
5648
|
# @option opts [Boolean] :sign_logout_request
|
|
5649
|
+
# @option opts [Boolean] :sign_logout_response
|
|
5660
5650
|
# @option opts [Boolean] :sign_response
|
|
5661
|
-
# @option opts [
|
|
5651
|
+
# @option opts [SignatureAlgorithmEnum] :signature_algorithm
|
|
5662
5652
|
# @option opts [String] :signing_kp
|
|
5663
|
-
# @option opts [
|
|
5653
|
+
# @option opts [SAMLBindingsEnum] :sls_binding
|
|
5664
5654
|
# @option opts [String] :sls_url
|
|
5665
|
-
# @option opts [
|
|
5655
|
+
# @option opts [SAMLBindingsEnum] :sp_binding
|
|
5666
5656
|
# @option opts [String] :verification_kp
|
|
5667
5657
|
# @return [Array<(PaginatedSAMLProviderList, Integer, Hash)>] PaginatedSAMLProviderList data, response status code and response headers
|
|
5668
5658
|
def providers_saml_list_with_http_info(opts = {})
|
|
5669
5659
|
if @api_client.config.debugging
|
|
5670
5660
|
@api_client.config.logger.debug 'Calling API: ProvidersApi.providers_saml_list ...'
|
|
5671
5661
|
end
|
|
5672
|
-
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"]
|
|
5673
|
-
if @api_client.config.client_side_validation && opts[:'default_name_id_policy'] && !allowable_values.include?(opts[:'default_name_id_policy'])
|
|
5674
|
-
fail ArgumentError, "invalid value for \"default_name_id_policy\", must be one of #{allowable_values}"
|
|
5675
|
-
end
|
|
5676
|
-
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"]
|
|
5677
|
-
if @api_client.config.client_side_validation && opts[:'digest_algorithm'] && !allowable_values.include?(opts[:'digest_algorithm'])
|
|
5678
|
-
fail ArgumentError, "invalid value for \"digest_algorithm\", must be one of #{allowable_values}"
|
|
5679
|
-
end
|
|
5680
|
-
allowable_values = ["backchannel", "frontchannel_iframe", "frontchannel_native"]
|
|
5681
|
-
if @api_client.config.client_side_validation && opts[:'logout_method'] && !allowable_values.include?(opts[:'logout_method'])
|
|
5682
|
-
fail ArgumentError, "invalid value for \"logout_method\", must be one of #{allowable_values}"
|
|
5683
|
-
end
|
|
5684
|
-
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"]
|
|
5685
|
-
if @api_client.config.client_side_validation && opts[:'signature_algorithm'] && !allowable_values.include?(opts[:'signature_algorithm'])
|
|
5686
|
-
fail ArgumentError, "invalid value for \"signature_algorithm\", must be one of #{allowable_values}"
|
|
5687
|
-
end
|
|
5688
|
-
allowable_values = ["post", "redirect"]
|
|
5689
|
-
if @api_client.config.client_side_validation && opts[:'sls_binding'] && !allowable_values.include?(opts[:'sls_binding'])
|
|
5690
|
-
fail ArgumentError, "invalid value for \"sls_binding\", must be one of #{allowable_values}"
|
|
5691
|
-
end
|
|
5692
|
-
allowable_values = ["post", "redirect"]
|
|
5693
|
-
if @api_client.config.client_side_validation && opts[:'sp_binding'] && !allowable_values.include?(opts[:'sp_binding'])
|
|
5694
|
-
fail ArgumentError, "invalid value for \"sp_binding\", must be one of #{allowable_values}"
|
|
5695
|
-
end
|
|
5696
5662
|
# resource path
|
|
5697
5663
|
local_var_path = '/providers/saml/'
|
|
5698
5664
|
|
|
@@ -5712,7 +5678,7 @@ module Authentik::Api
|
|
|
5712
5678
|
query_params[:'encryption_kp'] = opts[:'encryption_kp'] if !opts[:'encryption_kp'].nil?
|
|
5713
5679
|
query_params[:'invalidation_flow'] = opts[:'invalidation_flow'] if !opts[:'invalidation_flow'].nil?
|
|
5714
5680
|
query_params[:'is_backchannel'] = opts[:'is_backchannel'] if !opts[:'is_backchannel'].nil?
|
|
5715
|
-
query_params[:'
|
|
5681
|
+
query_params[:'issuer_override'] = opts[:'issuer_override'] if !opts[:'issuer_override'].nil?
|
|
5716
5682
|
query_params[:'logout_method'] = opts[:'logout_method'] if !opts[:'logout_method'].nil?
|
|
5717
5683
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
5718
5684
|
query_params[:'name_id_mapping'] = opts[:'name_id_mapping'] if !opts[:'name_id_mapping'].nil?
|
|
@@ -5724,6 +5690,7 @@ module Authentik::Api
|
|
|
5724
5690
|
query_params[:'session_valid_not_on_or_after'] = opts[:'session_valid_not_on_or_after'] if !opts[:'session_valid_not_on_or_after'].nil?
|
|
5725
5691
|
query_params[:'sign_assertion'] = opts[:'sign_assertion'] if !opts[:'sign_assertion'].nil?
|
|
5726
5692
|
query_params[:'sign_logout_request'] = opts[:'sign_logout_request'] if !opts[:'sign_logout_request'].nil?
|
|
5693
|
+
query_params[:'sign_logout_response'] = opts[:'sign_logout_response'] if !opts[:'sign_logout_response'].nil?
|
|
5727
5694
|
query_params[:'sign_response'] = opts[:'sign_response'] if !opts[:'sign_response'].nil?
|
|
5728
5695
|
query_params[:'signature_algorithm'] = opts[:'signature_algorithm'] if !opts[:'signature_algorithm'].nil?
|
|
5729
5696
|
query_params[:'signing_kp'] = opts[:'signing_kp'] if !opts[:'signing_kp'].nil?
|
|
@@ -5770,7 +5737,7 @@ module Authentik::Api
|
|
|
5770
5737
|
# @param id [Integer] A unique integer value identifying this SAML Provider.
|
|
5771
5738
|
# @param [Hash] opts the optional parameters
|
|
5772
5739
|
# @option opts [Boolean] :download
|
|
5773
|
-
# @option opts [
|
|
5740
|
+
# @option opts [ForceBindingEnum] :force_binding
|
|
5774
5741
|
# @return [SAMLMetadata]
|
|
5775
5742
|
def providers_saml_metadata_retrieve(id, opts = {})
|
|
5776
5743
|
data, _status_code, _headers = providers_saml_metadata_retrieve_with_http_info(id, opts)
|
|
@@ -5781,7 +5748,7 @@ module Authentik::Api
|
|
|
5781
5748
|
# @param id [Integer] A unique integer value identifying this SAML Provider.
|
|
5782
5749
|
# @param [Hash] opts the optional parameters
|
|
5783
5750
|
# @option opts [Boolean] :download
|
|
5784
|
-
# @option opts [
|
|
5751
|
+
# @option opts [ForceBindingEnum] :force_binding
|
|
5785
5752
|
# @return [Array<(SAMLMetadata, Integer, Hash)>] SAMLMetadata data, response status code and response headers
|
|
5786
5753
|
def providers_saml_metadata_retrieve_with_http_info(id, opts = {})
|
|
5787
5754
|
if @api_client.config.debugging
|
|
@@ -5791,12 +5758,8 @@ module Authentik::Api
|
|
|
5791
5758
|
if @api_client.config.client_side_validation && id.nil?
|
|
5792
5759
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_saml_metadata_retrieve"
|
|
5793
5760
|
end
|
|
5794
|
-
allowable_values = ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"]
|
|
5795
|
-
if @api_client.config.client_side_validation && opts[:'force_binding'] && !allowable_values.include?(opts[:'force_binding'])
|
|
5796
|
-
fail ArgumentError, "invalid value for \"force_binding\", must be one of #{allowable_values}"
|
|
5797
|
-
end
|
|
5798
5761
|
# resource path
|
|
5799
|
-
local_var_path = '/providers/saml/{id}/metadata/'.sub('{
|
|
5762
|
+
local_var_path = '/providers/saml/{id}/metadata/'.sub('{id}', CGI.escape(id.to_s))
|
|
5800
5763
|
|
|
5801
5764
|
# query parameters
|
|
5802
5765
|
query_params = opts[:query_params] || {}
|
|
@@ -5861,7 +5824,7 @@ module Authentik::Api
|
|
|
5861
5824
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_saml_partial_update"
|
|
5862
5825
|
end
|
|
5863
5826
|
# resource path
|
|
5864
|
-
local_var_path = '/providers/saml/{id}/'.sub('{
|
|
5827
|
+
local_var_path = '/providers/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
5865
5828
|
|
|
5866
5829
|
# query parameters
|
|
5867
5830
|
query_params = opts[:query_params] || {}
|
|
@@ -5929,7 +5892,7 @@ module Authentik::Api
|
|
|
5929
5892
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_saml_preview_user_retrieve"
|
|
5930
5893
|
end
|
|
5931
5894
|
# resource path
|
|
5932
|
-
local_var_path = '/providers/saml/{id}/preview_user/'.sub('{
|
|
5895
|
+
local_var_path = '/providers/saml/{id}/preview_user/'.sub('{id}', CGI.escape(id.to_s))
|
|
5933
5896
|
|
|
5934
5897
|
# query parameters
|
|
5935
5898
|
query_params = opts[:query_params] || {}
|
|
@@ -5991,7 +5954,7 @@ module Authentik::Api
|
|
|
5991
5954
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_saml_retrieve"
|
|
5992
5955
|
end
|
|
5993
5956
|
# resource path
|
|
5994
|
-
local_var_path = '/providers/saml/{id}/'.sub('{
|
|
5957
|
+
local_var_path = '/providers/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
5995
5958
|
|
|
5996
5959
|
# query parameters
|
|
5997
5960
|
query_params = opts[:query_params] || {}
|
|
@@ -6058,7 +6021,7 @@ module Authentik::Api
|
|
|
6058
6021
|
fail ArgumentError, "Missing the required parameter 'saml_provider_request' when calling ProvidersApi.providers_saml_update"
|
|
6059
6022
|
end
|
|
6060
6023
|
# resource path
|
|
6061
|
-
local_var_path = '/providers/saml/{id}/'.sub('{
|
|
6024
|
+
local_var_path = '/providers/saml/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6062
6025
|
|
|
6063
6026
|
# query parameters
|
|
6064
6027
|
query_params = opts[:query_params] || {}
|
|
@@ -6124,7 +6087,7 @@ module Authentik::Api
|
|
|
6124
6087
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_saml_used_by_list"
|
|
6125
6088
|
end
|
|
6126
6089
|
# resource path
|
|
6127
|
-
local_var_path = '/providers/saml/{id}/used_by/'.sub('{
|
|
6090
|
+
local_var_path = '/providers/saml/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
6128
6091
|
|
|
6129
6092
|
# query parameters
|
|
6130
6093
|
query_params = opts[:query_params] || {}
|
|
@@ -6251,7 +6214,7 @@ module Authentik::Api
|
|
|
6251
6214
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_destroy"
|
|
6252
6215
|
end
|
|
6253
6216
|
# resource path
|
|
6254
|
-
local_var_path = '/providers/scim/{id}/'.sub('{
|
|
6217
|
+
local_var_path = '/providers/scim/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6255
6218
|
|
|
6256
6219
|
# query parameters
|
|
6257
6220
|
query_params = opts[:query_params] || {}
|
|
@@ -6378,7 +6341,7 @@ module Authentik::Api
|
|
|
6378
6341
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_groups_destroy"
|
|
6379
6342
|
end
|
|
6380
6343
|
# resource path
|
|
6381
|
-
local_var_path = '/providers/scim_groups/{id}/'.sub('{
|
|
6344
|
+
local_var_path = '/providers/scim_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6382
6345
|
|
|
6383
6346
|
# query parameters
|
|
6384
6347
|
query_params = opts[:query_params] || {}
|
|
@@ -6515,7 +6478,7 @@ module Authentik::Api
|
|
|
6515
6478
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_groups_retrieve"
|
|
6516
6479
|
end
|
|
6517
6480
|
# resource path
|
|
6518
|
-
local_var_path = '/providers/scim_groups/{id}/'.sub('{
|
|
6481
|
+
local_var_path = '/providers/scim_groups/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6519
6482
|
|
|
6520
6483
|
# query parameters
|
|
6521
6484
|
query_params = opts[:query_params] || {}
|
|
@@ -6576,7 +6539,7 @@ module Authentik::Api
|
|
|
6576
6539
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_groups_used_by_list"
|
|
6577
6540
|
end
|
|
6578
6541
|
# resource path
|
|
6579
|
-
local_var_path = '/providers/scim_groups/{id}/used_by/'.sub('{
|
|
6542
|
+
local_var_path = '/providers/scim_groups/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
6580
6543
|
|
|
6581
6544
|
# query parameters
|
|
6582
6545
|
query_params = opts[:query_params] || {}
|
|
@@ -6718,7 +6681,7 @@ module Authentik::Api
|
|
|
6718
6681
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_partial_update"
|
|
6719
6682
|
end
|
|
6720
6683
|
# resource path
|
|
6721
|
-
local_var_path = '/providers/scim/{id}/'.sub('{
|
|
6684
|
+
local_var_path = '/providers/scim/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6722
6685
|
|
|
6723
6686
|
# query parameters
|
|
6724
6687
|
query_params = opts[:query_params] || {}
|
|
@@ -6784,7 +6747,7 @@ module Authentik::Api
|
|
|
6784
6747
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_retrieve"
|
|
6785
6748
|
end
|
|
6786
6749
|
# resource path
|
|
6787
|
-
local_var_path = '/providers/scim/{id}/'.sub('{
|
|
6750
|
+
local_var_path = '/providers/scim/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6788
6751
|
|
|
6789
6752
|
# query parameters
|
|
6790
6753
|
query_params = opts[:query_params] || {}
|
|
@@ -6851,7 +6814,7 @@ module Authentik::Api
|
|
|
6851
6814
|
fail ArgumentError, "Missing the required parameter 'sync_object_request' when calling ProvidersApi.providers_scim_sync_object_create"
|
|
6852
6815
|
end
|
|
6853
6816
|
# resource path
|
|
6854
|
-
local_var_path = '/providers/scim/{id}/sync/object/'.sub('{
|
|
6817
|
+
local_var_path = '/providers/scim/{id}/sync/object/'.sub('{id}', CGI.escape(id.to_s))
|
|
6855
6818
|
|
|
6856
6819
|
# query parameters
|
|
6857
6820
|
query_params = opts[:query_params] || {}
|
|
@@ -6917,7 +6880,7 @@ module Authentik::Api
|
|
|
6917
6880
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_sync_status_retrieve"
|
|
6918
6881
|
end
|
|
6919
6882
|
# resource path
|
|
6920
|
-
local_var_path = '/providers/scim/{id}/sync/status/'.sub('{
|
|
6883
|
+
local_var_path = '/providers/scim/{id}/sync/status/'.sub('{id}', CGI.escape(id.to_s))
|
|
6921
6884
|
|
|
6922
6885
|
# query parameters
|
|
6923
6886
|
query_params = opts[:query_params] || {}
|
|
@@ -6984,7 +6947,7 @@ module Authentik::Api
|
|
|
6984
6947
|
fail ArgumentError, "Missing the required parameter 'scim_provider_request' when calling ProvidersApi.providers_scim_update"
|
|
6985
6948
|
end
|
|
6986
6949
|
# resource path
|
|
6987
|
-
local_var_path = '/providers/scim/{id}/'.sub('{
|
|
6950
|
+
local_var_path = '/providers/scim/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
6988
6951
|
|
|
6989
6952
|
# query parameters
|
|
6990
6953
|
query_params = opts[:query_params] || {}
|
|
@@ -7050,7 +7013,7 @@ module Authentik::Api
|
|
|
7050
7013
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_used_by_list"
|
|
7051
7014
|
end
|
|
7052
7015
|
# resource path
|
|
7053
|
-
local_var_path = '/providers/scim/{id}/used_by/'.sub('{
|
|
7016
|
+
local_var_path = '/providers/scim/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
7054
7017
|
|
|
7055
7018
|
# query parameters
|
|
7056
7019
|
query_params = opts[:query_params] || {}
|
|
@@ -7177,7 +7140,7 @@ module Authentik::Api
|
|
|
7177
7140
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_users_destroy"
|
|
7178
7141
|
end
|
|
7179
7142
|
# resource path
|
|
7180
|
-
local_var_path = '/providers/scim_users/{id}/'.sub('{
|
|
7143
|
+
local_var_path = '/providers/scim_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7181
7144
|
|
|
7182
7145
|
# query parameters
|
|
7183
7146
|
query_params = opts[:query_params] || {}
|
|
@@ -7314,7 +7277,7 @@ module Authentik::Api
|
|
|
7314
7277
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_users_retrieve"
|
|
7315
7278
|
end
|
|
7316
7279
|
# resource path
|
|
7317
|
-
local_var_path = '/providers/scim_users/{id}/'.sub('{
|
|
7280
|
+
local_var_path = '/providers/scim_users/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7318
7281
|
|
|
7319
7282
|
# query parameters
|
|
7320
7283
|
query_params = opts[:query_params] || {}
|
|
@@ -7375,7 +7338,7 @@ module Authentik::Api
|
|
|
7375
7338
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_scim_users_used_by_list"
|
|
7376
7339
|
end
|
|
7377
7340
|
# resource path
|
|
7378
|
-
local_var_path = '/providers/scim_users/{id}/used_by/'.sub('{
|
|
7341
|
+
local_var_path = '/providers/scim_users/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
7379
7342
|
|
|
7380
7343
|
# query parameters
|
|
7381
7344
|
query_params = opts[:query_params] || {}
|
|
@@ -7502,7 +7465,7 @@ module Authentik::Api
|
|
|
7502
7465
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ssf_destroy"
|
|
7503
7466
|
end
|
|
7504
7467
|
# resource path
|
|
7505
|
-
local_var_path = '/providers/ssf/{id}/'.sub('{
|
|
7468
|
+
local_var_path = '/providers/ssf/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7506
7469
|
|
|
7507
7470
|
# query parameters
|
|
7508
7471
|
query_params = opts[:query_params] || {}
|
|
@@ -7638,7 +7601,7 @@ module Authentik::Api
|
|
|
7638
7601
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ssf_partial_update"
|
|
7639
7602
|
end
|
|
7640
7603
|
# resource path
|
|
7641
|
-
local_var_path = '/providers/ssf/{id}/'.sub('{
|
|
7604
|
+
local_var_path = '/providers/ssf/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7642
7605
|
|
|
7643
7606
|
# query parameters
|
|
7644
7607
|
query_params = opts[:query_params] || {}
|
|
@@ -7704,7 +7667,7 @@ module Authentik::Api
|
|
|
7704
7667
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ssf_retrieve"
|
|
7705
7668
|
end
|
|
7706
7669
|
# resource path
|
|
7707
|
-
local_var_path = '/providers/ssf/{id}/'.sub('{
|
|
7670
|
+
local_var_path = '/providers/ssf/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7708
7671
|
|
|
7709
7672
|
# query parameters
|
|
7710
7673
|
query_params = opts[:query_params] || {}
|
|
@@ -7771,7 +7734,7 @@ module Authentik::Api
|
|
|
7771
7734
|
fail ArgumentError, "Missing the required parameter 'ssf_provider_request' when calling ProvidersApi.providers_ssf_update"
|
|
7772
7735
|
end
|
|
7773
7736
|
# resource path
|
|
7774
|
-
local_var_path = '/providers/ssf/{id}/'.sub('{
|
|
7737
|
+
local_var_path = '/providers/ssf/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7775
7738
|
|
|
7776
7739
|
# query parameters
|
|
7777
7740
|
query_params = opts[:query_params] || {}
|
|
@@ -7837,7 +7800,7 @@ module Authentik::Api
|
|
|
7837
7800
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_ssf_used_by_list"
|
|
7838
7801
|
end
|
|
7839
7802
|
# resource path
|
|
7840
|
-
local_var_path = '/providers/ssf/{id}/used_by/'.sub('{
|
|
7803
|
+
local_var_path = '/providers/ssf/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
7841
7804
|
|
|
7842
7805
|
# query parameters
|
|
7843
7806
|
query_params = opts[:query_params] || {}
|
|
@@ -7964,7 +7927,7 @@ module Authentik::Api
|
|
|
7964
7927
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_wsfed_destroy"
|
|
7965
7928
|
end
|
|
7966
7929
|
# resource path
|
|
7967
|
-
local_var_path = '/providers/wsfed/{id}/'.sub('{
|
|
7930
|
+
local_var_path = '/providers/wsfed/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
7968
7931
|
|
|
7969
7932
|
# query parameters
|
|
7970
7933
|
query_params = opts[:query_params] || {}
|
|
@@ -8013,14 +7976,14 @@ module Authentik::Api
|
|
|
8013
7976
|
# @option opts [String] :authn_context_class_ref_mapping
|
|
8014
7977
|
# @option opts [String] :authorization_flow
|
|
8015
7978
|
# @option opts [String] :backchannel_application
|
|
8016
|
-
# @option opts [
|
|
7979
|
+
# @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
|
|
8017
7980
|
# @option opts [String] :default_relay_state
|
|
8018
|
-
# @option opts [
|
|
7981
|
+
# @option opts [DigestAlgorithmEnum] :digest_algorithm
|
|
8019
7982
|
# @option opts [String] :encryption_kp
|
|
8020
7983
|
# @option opts [String] :invalidation_flow
|
|
8021
7984
|
# @option opts [Boolean] :is_backchannel
|
|
8022
|
-
# @option opts [String] :
|
|
8023
|
-
# @option opts [
|
|
7985
|
+
# @option opts [String] :issuer_override
|
|
7986
|
+
# @option opts [SAMLLogoutMethods] :logout_method
|
|
8024
7987
|
# @option opts [String] :name
|
|
8025
7988
|
# @option opts [String] :name_id_mapping
|
|
8026
7989
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -8031,12 +7994,13 @@ module Authentik::Api
|
|
|
8031
7994
|
# @option opts [String] :session_valid_not_on_or_after
|
|
8032
7995
|
# @option opts [Boolean] :sign_assertion
|
|
8033
7996
|
# @option opts [Boolean] :sign_logout_request
|
|
7997
|
+
# @option opts [Boolean] :sign_logout_response
|
|
8034
7998
|
# @option opts [Boolean] :sign_response
|
|
8035
|
-
# @option opts [
|
|
7999
|
+
# @option opts [SignatureAlgorithmEnum] :signature_algorithm
|
|
8036
8000
|
# @option opts [String] :signing_kp
|
|
8037
|
-
# @option opts [
|
|
8001
|
+
# @option opts [SAMLBindingsEnum] :sls_binding
|
|
8038
8002
|
# @option opts [String] :sls_url
|
|
8039
|
-
# @option opts [
|
|
8003
|
+
# @option opts [SAMLBindingsEnum] :sp_binding
|
|
8040
8004
|
# @option opts [String] :verification_kp
|
|
8041
8005
|
# @return [PaginatedWSFederationProviderList]
|
|
8042
8006
|
def providers_wsfed_list(opts = {})
|
|
@@ -8054,14 +8018,14 @@ module Authentik::Api
|
|
|
8054
8018
|
# @option opts [String] :authn_context_class_ref_mapping
|
|
8055
8019
|
# @option opts [String] :authorization_flow
|
|
8056
8020
|
# @option opts [String] :backchannel_application
|
|
8057
|
-
# @option opts [
|
|
8021
|
+
# @option opts [SAMLNameIDPolicyEnum] :default_name_id_policy
|
|
8058
8022
|
# @option opts [String] :default_relay_state
|
|
8059
|
-
# @option opts [
|
|
8023
|
+
# @option opts [DigestAlgorithmEnum] :digest_algorithm
|
|
8060
8024
|
# @option opts [String] :encryption_kp
|
|
8061
8025
|
# @option opts [String] :invalidation_flow
|
|
8062
8026
|
# @option opts [Boolean] :is_backchannel
|
|
8063
|
-
# @option opts [String] :
|
|
8064
|
-
# @option opts [
|
|
8027
|
+
# @option opts [String] :issuer_override
|
|
8028
|
+
# @option opts [SAMLLogoutMethods] :logout_method
|
|
8065
8029
|
# @option opts [String] :name
|
|
8066
8030
|
# @option opts [String] :name_id_mapping
|
|
8067
8031
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -8072,42 +8036,19 @@ module Authentik::Api
|
|
|
8072
8036
|
# @option opts [String] :session_valid_not_on_or_after
|
|
8073
8037
|
# @option opts [Boolean] :sign_assertion
|
|
8074
8038
|
# @option opts [Boolean] :sign_logout_request
|
|
8039
|
+
# @option opts [Boolean] :sign_logout_response
|
|
8075
8040
|
# @option opts [Boolean] :sign_response
|
|
8076
|
-
# @option opts [
|
|
8041
|
+
# @option opts [SignatureAlgorithmEnum] :signature_algorithm
|
|
8077
8042
|
# @option opts [String] :signing_kp
|
|
8078
|
-
# @option opts [
|
|
8043
|
+
# @option opts [SAMLBindingsEnum] :sls_binding
|
|
8079
8044
|
# @option opts [String] :sls_url
|
|
8080
|
-
# @option opts [
|
|
8045
|
+
# @option opts [SAMLBindingsEnum] :sp_binding
|
|
8081
8046
|
# @option opts [String] :verification_kp
|
|
8082
8047
|
# @return [Array<(PaginatedWSFederationProviderList, Integer, Hash)>] PaginatedWSFederationProviderList data, response status code and response headers
|
|
8083
8048
|
def providers_wsfed_list_with_http_info(opts = {})
|
|
8084
8049
|
if @api_client.config.debugging
|
|
8085
8050
|
@api_client.config.logger.debug 'Calling API: ProvidersApi.providers_wsfed_list ...'
|
|
8086
8051
|
end
|
|
8087
|
-
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"]
|
|
8088
|
-
if @api_client.config.client_side_validation && opts[:'default_name_id_policy'] && !allowable_values.include?(opts[:'default_name_id_policy'])
|
|
8089
|
-
fail ArgumentError, "invalid value for \"default_name_id_policy\", must be one of #{allowable_values}"
|
|
8090
|
-
end
|
|
8091
|
-
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"]
|
|
8092
|
-
if @api_client.config.client_side_validation && opts[:'digest_algorithm'] && !allowable_values.include?(opts[:'digest_algorithm'])
|
|
8093
|
-
fail ArgumentError, "invalid value for \"digest_algorithm\", must be one of #{allowable_values}"
|
|
8094
|
-
end
|
|
8095
|
-
allowable_values = ["backchannel", "frontchannel_iframe", "frontchannel_native"]
|
|
8096
|
-
if @api_client.config.client_side_validation && opts[:'logout_method'] && !allowable_values.include?(opts[:'logout_method'])
|
|
8097
|
-
fail ArgumentError, "invalid value for \"logout_method\", must be one of #{allowable_values}"
|
|
8098
|
-
end
|
|
8099
|
-
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"]
|
|
8100
|
-
if @api_client.config.client_side_validation && opts[:'signature_algorithm'] && !allowable_values.include?(opts[:'signature_algorithm'])
|
|
8101
|
-
fail ArgumentError, "invalid value for \"signature_algorithm\", must be one of #{allowable_values}"
|
|
8102
|
-
end
|
|
8103
|
-
allowable_values = ["post", "redirect"]
|
|
8104
|
-
if @api_client.config.client_side_validation && opts[:'sls_binding'] && !allowable_values.include?(opts[:'sls_binding'])
|
|
8105
|
-
fail ArgumentError, "invalid value for \"sls_binding\", must be one of #{allowable_values}"
|
|
8106
|
-
end
|
|
8107
|
-
allowable_values = ["post", "redirect"]
|
|
8108
|
-
if @api_client.config.client_side_validation && opts[:'sp_binding'] && !allowable_values.include?(opts[:'sp_binding'])
|
|
8109
|
-
fail ArgumentError, "invalid value for \"sp_binding\", must be one of #{allowable_values}"
|
|
8110
|
-
end
|
|
8111
8052
|
# resource path
|
|
8112
8053
|
local_var_path = '/providers/wsfed/'
|
|
8113
8054
|
|
|
@@ -8127,7 +8068,7 @@ module Authentik::Api
|
|
|
8127
8068
|
query_params[:'encryption_kp'] = opts[:'encryption_kp'] if !opts[:'encryption_kp'].nil?
|
|
8128
8069
|
query_params[:'invalidation_flow'] = opts[:'invalidation_flow'] if !opts[:'invalidation_flow'].nil?
|
|
8129
8070
|
query_params[:'is_backchannel'] = opts[:'is_backchannel'] if !opts[:'is_backchannel'].nil?
|
|
8130
|
-
query_params[:'
|
|
8071
|
+
query_params[:'issuer_override'] = opts[:'issuer_override'] if !opts[:'issuer_override'].nil?
|
|
8131
8072
|
query_params[:'logout_method'] = opts[:'logout_method'] if !opts[:'logout_method'].nil?
|
|
8132
8073
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
8133
8074
|
query_params[:'name_id_mapping'] = opts[:'name_id_mapping'] if !opts[:'name_id_mapping'].nil?
|
|
@@ -8139,6 +8080,7 @@ module Authentik::Api
|
|
|
8139
8080
|
query_params[:'session_valid_not_on_or_after'] = opts[:'session_valid_not_on_or_after'] if !opts[:'session_valid_not_on_or_after'].nil?
|
|
8140
8081
|
query_params[:'sign_assertion'] = opts[:'sign_assertion'] if !opts[:'sign_assertion'].nil?
|
|
8141
8082
|
query_params[:'sign_logout_request'] = opts[:'sign_logout_request'] if !opts[:'sign_logout_request'].nil?
|
|
8083
|
+
query_params[:'sign_logout_response'] = opts[:'sign_logout_response'] if !opts[:'sign_logout_response'].nil?
|
|
8142
8084
|
query_params[:'sign_response'] = opts[:'sign_response'] if !opts[:'sign_response'].nil?
|
|
8143
8085
|
query_params[:'signature_algorithm'] = opts[:'signature_algorithm'] if !opts[:'signature_algorithm'].nil?
|
|
8144
8086
|
query_params[:'signing_kp'] = opts[:'signing_kp'] if !opts[:'signing_kp'].nil?
|
|
@@ -8185,7 +8127,7 @@ module Authentik::Api
|
|
|
8185
8127
|
# @param id [Integer] A unique integer value identifying this WS-Federation Provider.
|
|
8186
8128
|
# @param [Hash] opts the optional parameters
|
|
8187
8129
|
# @option opts [Boolean] :download
|
|
8188
|
-
# @option opts [
|
|
8130
|
+
# @option opts [ForceBindingEnum] :force_binding
|
|
8189
8131
|
# @return [SAMLMetadata]
|
|
8190
8132
|
def providers_wsfed_metadata_retrieve(id, opts = {})
|
|
8191
8133
|
data, _status_code, _headers = providers_wsfed_metadata_retrieve_with_http_info(id, opts)
|
|
@@ -8196,7 +8138,7 @@ module Authentik::Api
|
|
|
8196
8138
|
# @param id [Integer] A unique integer value identifying this WS-Federation Provider.
|
|
8197
8139
|
# @param [Hash] opts the optional parameters
|
|
8198
8140
|
# @option opts [Boolean] :download
|
|
8199
|
-
# @option opts [
|
|
8141
|
+
# @option opts [ForceBindingEnum] :force_binding
|
|
8200
8142
|
# @return [Array<(SAMLMetadata, Integer, Hash)>] SAMLMetadata data, response status code and response headers
|
|
8201
8143
|
def providers_wsfed_metadata_retrieve_with_http_info(id, opts = {})
|
|
8202
8144
|
if @api_client.config.debugging
|
|
@@ -8206,12 +8148,8 @@ module Authentik::Api
|
|
|
8206
8148
|
if @api_client.config.client_side_validation && id.nil?
|
|
8207
8149
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_wsfed_metadata_retrieve"
|
|
8208
8150
|
end
|
|
8209
|
-
allowable_values = ["urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"]
|
|
8210
|
-
if @api_client.config.client_side_validation && opts[:'force_binding'] && !allowable_values.include?(opts[:'force_binding'])
|
|
8211
|
-
fail ArgumentError, "invalid value for \"force_binding\", must be one of #{allowable_values}"
|
|
8212
|
-
end
|
|
8213
8151
|
# resource path
|
|
8214
|
-
local_var_path = '/providers/wsfed/{id}/metadata/'.sub('{
|
|
8152
|
+
local_var_path = '/providers/wsfed/{id}/metadata/'.sub('{id}', CGI.escape(id.to_s))
|
|
8215
8153
|
|
|
8216
8154
|
# query parameters
|
|
8217
8155
|
query_params = opts[:query_params] || {}
|
|
@@ -8276,7 +8214,7 @@ module Authentik::Api
|
|
|
8276
8214
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_wsfed_partial_update"
|
|
8277
8215
|
end
|
|
8278
8216
|
# resource path
|
|
8279
|
-
local_var_path = '/providers/wsfed/{id}/'.sub('{
|
|
8217
|
+
local_var_path = '/providers/wsfed/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
8280
8218
|
|
|
8281
8219
|
# query parameters
|
|
8282
8220
|
query_params = opts[:query_params] || {}
|
|
@@ -8344,7 +8282,7 @@ module Authentik::Api
|
|
|
8344
8282
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_wsfed_preview_user_retrieve"
|
|
8345
8283
|
end
|
|
8346
8284
|
# resource path
|
|
8347
|
-
local_var_path = '/providers/wsfed/{id}/preview_user/'.sub('{
|
|
8285
|
+
local_var_path = '/providers/wsfed/{id}/preview_user/'.sub('{id}', CGI.escape(id.to_s))
|
|
8348
8286
|
|
|
8349
8287
|
# query parameters
|
|
8350
8288
|
query_params = opts[:query_params] || {}
|
|
@@ -8406,7 +8344,7 @@ module Authentik::Api
|
|
|
8406
8344
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_wsfed_retrieve"
|
|
8407
8345
|
end
|
|
8408
8346
|
# resource path
|
|
8409
|
-
local_var_path = '/providers/wsfed/{id}/'.sub('{
|
|
8347
|
+
local_var_path = '/providers/wsfed/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
8410
8348
|
|
|
8411
8349
|
# query parameters
|
|
8412
8350
|
query_params = opts[:query_params] || {}
|
|
@@ -8473,7 +8411,7 @@ module Authentik::Api
|
|
|
8473
8411
|
fail ArgumentError, "Missing the required parameter 'ws_federation_provider_request' when calling ProvidersApi.providers_wsfed_update"
|
|
8474
8412
|
end
|
|
8475
8413
|
# resource path
|
|
8476
|
-
local_var_path = '/providers/wsfed/{id}/'.sub('{
|
|
8414
|
+
local_var_path = '/providers/wsfed/{id}/'.sub('{id}', CGI.escape(id.to_s))
|
|
8477
8415
|
|
|
8478
8416
|
# query parameters
|
|
8479
8417
|
query_params = opts[:query_params] || {}
|
|
@@ -8539,7 +8477,7 @@ module Authentik::Api
|
|
|
8539
8477
|
fail ArgumentError, "Missing the required parameter 'id' when calling ProvidersApi.providers_wsfed_used_by_list"
|
|
8540
8478
|
end
|
|
8541
8479
|
# resource path
|
|
8542
|
-
local_var_path = '/providers/wsfed/{id}/used_by/'.sub('{
|
|
8480
|
+
local_var_path = '/providers/wsfed/{id}/used_by/'.sub('{id}', CGI.escape(id.to_s))
|
|
8543
8481
|
|
|
8544
8482
|
# query parameters
|
|
8545
8483
|
query_params = opts[:query_params] || {}
|