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
|
@@ -13,6 +13,483 @@ module Authentik::Api
|
|
|
13
13
|
def initialize(api_client = ApiClient.default)
|
|
14
14
|
@api_client = api_client
|
|
15
15
|
end
|
|
16
|
+
# AccountLockdownStage Viewset
|
|
17
|
+
# @param account_lockdown_stage_request [AccountLockdownStageRequest]
|
|
18
|
+
# @param [Hash] opts the optional parameters
|
|
19
|
+
# @return [AccountLockdownStage]
|
|
20
|
+
def stages_account_lockdown_create(account_lockdown_stage_request, opts = {})
|
|
21
|
+
data, _status_code, _headers = stages_account_lockdown_create_with_http_info(account_lockdown_stage_request, opts)
|
|
22
|
+
data
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# AccountLockdownStage Viewset
|
|
26
|
+
# @param account_lockdown_stage_request [AccountLockdownStageRequest]
|
|
27
|
+
# @param [Hash] opts the optional parameters
|
|
28
|
+
# @return [Array<(AccountLockdownStage, Integer, Hash)>] AccountLockdownStage data, response status code and response headers
|
|
29
|
+
def stages_account_lockdown_create_with_http_info(account_lockdown_stage_request, opts = {})
|
|
30
|
+
if @api_client.config.debugging
|
|
31
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_create ...'
|
|
32
|
+
end
|
|
33
|
+
# verify the required parameter 'account_lockdown_stage_request' is set
|
|
34
|
+
if @api_client.config.client_side_validation && account_lockdown_stage_request.nil?
|
|
35
|
+
fail ArgumentError, "Missing the required parameter 'account_lockdown_stage_request' when calling StagesApi.stages_account_lockdown_create"
|
|
36
|
+
end
|
|
37
|
+
# resource path
|
|
38
|
+
local_var_path = '/stages/account_lockdown/'
|
|
39
|
+
|
|
40
|
+
# query parameters
|
|
41
|
+
query_params = opts[:query_params] || {}
|
|
42
|
+
|
|
43
|
+
# header parameters
|
|
44
|
+
header_params = opts[:header_params] || {}
|
|
45
|
+
# HTTP header 'Accept' (if needed)
|
|
46
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
47
|
+
# HTTP header 'Content-Type'
|
|
48
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
49
|
+
if !content_type.nil?
|
|
50
|
+
header_params['Content-Type'] = content_type
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# form parameters
|
|
54
|
+
form_params = opts[:form_params] || {}
|
|
55
|
+
|
|
56
|
+
# http body (model)
|
|
57
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(account_lockdown_stage_request)
|
|
58
|
+
|
|
59
|
+
# return_type
|
|
60
|
+
return_type = opts[:debug_return_type] || 'AccountLockdownStage'
|
|
61
|
+
|
|
62
|
+
# auth_names
|
|
63
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
64
|
+
|
|
65
|
+
new_options = opts.merge(
|
|
66
|
+
:operation => :"StagesApi.stages_account_lockdown_create",
|
|
67
|
+
:header_params => header_params,
|
|
68
|
+
:query_params => query_params,
|
|
69
|
+
:form_params => form_params,
|
|
70
|
+
:body => post_body,
|
|
71
|
+
:auth_names => auth_names,
|
|
72
|
+
:return_type => return_type
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
76
|
+
if @api_client.config.debugging
|
|
77
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
78
|
+
end
|
|
79
|
+
return data, status_code, headers
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# AccountLockdownStage Viewset
|
|
83
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
84
|
+
# @param [Hash] opts the optional parameters
|
|
85
|
+
# @return [nil]
|
|
86
|
+
def stages_account_lockdown_destroy(stage_uuid, opts = {})
|
|
87
|
+
stages_account_lockdown_destroy_with_http_info(stage_uuid, opts)
|
|
88
|
+
nil
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# AccountLockdownStage Viewset
|
|
92
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
95
|
+
def stages_account_lockdown_destroy_with_http_info(stage_uuid, opts = {})
|
|
96
|
+
if @api_client.config.debugging
|
|
97
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_destroy ...'
|
|
98
|
+
end
|
|
99
|
+
# verify the required parameter 'stage_uuid' is set
|
|
100
|
+
if @api_client.config.client_side_validation && stage_uuid.nil?
|
|
101
|
+
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_account_lockdown_destroy"
|
|
102
|
+
end
|
|
103
|
+
# resource path
|
|
104
|
+
local_var_path = '/stages/account_lockdown/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
105
|
+
|
|
106
|
+
# query parameters
|
|
107
|
+
query_params = opts[:query_params] || {}
|
|
108
|
+
|
|
109
|
+
# header parameters
|
|
110
|
+
header_params = opts[:header_params] || {}
|
|
111
|
+
# HTTP header 'Accept' (if needed)
|
|
112
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
113
|
+
|
|
114
|
+
# form parameters
|
|
115
|
+
form_params = opts[:form_params] || {}
|
|
116
|
+
|
|
117
|
+
# http body (model)
|
|
118
|
+
post_body = opts[:debug_body]
|
|
119
|
+
|
|
120
|
+
# return_type
|
|
121
|
+
return_type = opts[:debug_return_type]
|
|
122
|
+
|
|
123
|
+
# auth_names
|
|
124
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
125
|
+
|
|
126
|
+
new_options = opts.merge(
|
|
127
|
+
:operation => :"StagesApi.stages_account_lockdown_destroy",
|
|
128
|
+
:header_params => header_params,
|
|
129
|
+
:query_params => query_params,
|
|
130
|
+
:form_params => form_params,
|
|
131
|
+
:body => post_body,
|
|
132
|
+
:auth_names => auth_names,
|
|
133
|
+
:return_type => return_type
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
137
|
+
if @api_client.config.debugging
|
|
138
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_destroy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
139
|
+
end
|
|
140
|
+
return data, status_code, headers
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# AccountLockdownStage Viewset
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @option opts [Boolean] :deactivate_user
|
|
146
|
+
# @option opts [Boolean] :delete_sessions
|
|
147
|
+
# @option opts [String] :name
|
|
148
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
149
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
150
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
151
|
+
# @option opts [Boolean] :revoke_tokens
|
|
152
|
+
# @option opts [String] :search A search term.
|
|
153
|
+
# @option opts [String] :self_service_completion_flow
|
|
154
|
+
# @option opts [Boolean] :set_unusable_password
|
|
155
|
+
# @option opts [String] :stage_uuid
|
|
156
|
+
# @return [PaginatedAccountLockdownStageList]
|
|
157
|
+
def stages_account_lockdown_list(opts = {})
|
|
158
|
+
data, _status_code, _headers = stages_account_lockdown_list_with_http_info(opts)
|
|
159
|
+
data
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# AccountLockdownStage Viewset
|
|
163
|
+
# @param [Hash] opts the optional parameters
|
|
164
|
+
# @option opts [Boolean] :deactivate_user
|
|
165
|
+
# @option opts [Boolean] :delete_sessions
|
|
166
|
+
# @option opts [String] :name
|
|
167
|
+
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
168
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
169
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
170
|
+
# @option opts [Boolean] :revoke_tokens
|
|
171
|
+
# @option opts [String] :search A search term.
|
|
172
|
+
# @option opts [String] :self_service_completion_flow
|
|
173
|
+
# @option opts [Boolean] :set_unusable_password
|
|
174
|
+
# @option opts [String] :stage_uuid
|
|
175
|
+
# @return [Array<(PaginatedAccountLockdownStageList, Integer, Hash)>] PaginatedAccountLockdownStageList data, response status code and response headers
|
|
176
|
+
def stages_account_lockdown_list_with_http_info(opts = {})
|
|
177
|
+
if @api_client.config.debugging
|
|
178
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_list ...'
|
|
179
|
+
end
|
|
180
|
+
# resource path
|
|
181
|
+
local_var_path = '/stages/account_lockdown/'
|
|
182
|
+
|
|
183
|
+
# query parameters
|
|
184
|
+
query_params = opts[:query_params] || {}
|
|
185
|
+
query_params[:'deactivate_user'] = opts[:'deactivate_user'] if !opts[:'deactivate_user'].nil?
|
|
186
|
+
query_params[:'delete_sessions'] = opts[:'delete_sessions'] if !opts[:'delete_sessions'].nil?
|
|
187
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
188
|
+
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
189
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
190
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
191
|
+
query_params[:'revoke_tokens'] = opts[:'revoke_tokens'] if !opts[:'revoke_tokens'].nil?
|
|
192
|
+
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
193
|
+
query_params[:'self_service_completion_flow'] = opts[:'self_service_completion_flow'] if !opts[:'self_service_completion_flow'].nil?
|
|
194
|
+
query_params[:'set_unusable_password'] = opts[:'set_unusable_password'] if !opts[:'set_unusable_password'].nil?
|
|
195
|
+
query_params[:'stage_uuid'] = opts[:'stage_uuid'] if !opts[:'stage_uuid'].nil?
|
|
196
|
+
|
|
197
|
+
# header parameters
|
|
198
|
+
header_params = opts[:header_params] || {}
|
|
199
|
+
# HTTP header 'Accept' (if needed)
|
|
200
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
201
|
+
|
|
202
|
+
# form parameters
|
|
203
|
+
form_params = opts[:form_params] || {}
|
|
204
|
+
|
|
205
|
+
# http body (model)
|
|
206
|
+
post_body = opts[:debug_body]
|
|
207
|
+
|
|
208
|
+
# return_type
|
|
209
|
+
return_type = opts[:debug_return_type] || 'PaginatedAccountLockdownStageList'
|
|
210
|
+
|
|
211
|
+
# auth_names
|
|
212
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
213
|
+
|
|
214
|
+
new_options = opts.merge(
|
|
215
|
+
:operation => :"StagesApi.stages_account_lockdown_list",
|
|
216
|
+
:header_params => header_params,
|
|
217
|
+
:query_params => query_params,
|
|
218
|
+
:form_params => form_params,
|
|
219
|
+
:body => post_body,
|
|
220
|
+
:auth_names => auth_names,
|
|
221
|
+
:return_type => return_type
|
|
222
|
+
)
|
|
223
|
+
|
|
224
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
225
|
+
if @api_client.config.debugging
|
|
226
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
227
|
+
end
|
|
228
|
+
return data, status_code, headers
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# AccountLockdownStage Viewset
|
|
232
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
233
|
+
# @param [Hash] opts the optional parameters
|
|
234
|
+
# @option opts [PatchedAccountLockdownStageRequest] :patched_account_lockdown_stage_request
|
|
235
|
+
# @return [AccountLockdownStage]
|
|
236
|
+
def stages_account_lockdown_partial_update(stage_uuid, opts = {})
|
|
237
|
+
data, _status_code, _headers = stages_account_lockdown_partial_update_with_http_info(stage_uuid, opts)
|
|
238
|
+
data
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# AccountLockdownStage Viewset
|
|
242
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
243
|
+
# @param [Hash] opts the optional parameters
|
|
244
|
+
# @option opts [PatchedAccountLockdownStageRequest] :patched_account_lockdown_stage_request
|
|
245
|
+
# @return [Array<(AccountLockdownStage, Integer, Hash)>] AccountLockdownStage data, response status code and response headers
|
|
246
|
+
def stages_account_lockdown_partial_update_with_http_info(stage_uuid, opts = {})
|
|
247
|
+
if @api_client.config.debugging
|
|
248
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_partial_update ...'
|
|
249
|
+
end
|
|
250
|
+
# verify the required parameter 'stage_uuid' is set
|
|
251
|
+
if @api_client.config.client_side_validation && stage_uuid.nil?
|
|
252
|
+
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_account_lockdown_partial_update"
|
|
253
|
+
end
|
|
254
|
+
# resource path
|
|
255
|
+
local_var_path = '/stages/account_lockdown/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
256
|
+
|
|
257
|
+
# query parameters
|
|
258
|
+
query_params = opts[:query_params] || {}
|
|
259
|
+
|
|
260
|
+
# header parameters
|
|
261
|
+
header_params = opts[:header_params] || {}
|
|
262
|
+
# HTTP header 'Accept' (if needed)
|
|
263
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
264
|
+
# HTTP header 'Content-Type'
|
|
265
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
266
|
+
if !content_type.nil?
|
|
267
|
+
header_params['Content-Type'] = content_type
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
# form parameters
|
|
271
|
+
form_params = opts[:form_params] || {}
|
|
272
|
+
|
|
273
|
+
# http body (model)
|
|
274
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'patched_account_lockdown_stage_request'])
|
|
275
|
+
|
|
276
|
+
# return_type
|
|
277
|
+
return_type = opts[:debug_return_type] || 'AccountLockdownStage'
|
|
278
|
+
|
|
279
|
+
# auth_names
|
|
280
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
281
|
+
|
|
282
|
+
new_options = opts.merge(
|
|
283
|
+
:operation => :"StagesApi.stages_account_lockdown_partial_update",
|
|
284
|
+
:header_params => header_params,
|
|
285
|
+
:query_params => query_params,
|
|
286
|
+
:form_params => form_params,
|
|
287
|
+
:body => post_body,
|
|
288
|
+
:auth_names => auth_names,
|
|
289
|
+
:return_type => return_type
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
293
|
+
if @api_client.config.debugging
|
|
294
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
295
|
+
end
|
|
296
|
+
return data, status_code, headers
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# AccountLockdownStage Viewset
|
|
300
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
301
|
+
# @param [Hash] opts the optional parameters
|
|
302
|
+
# @return [AccountLockdownStage]
|
|
303
|
+
def stages_account_lockdown_retrieve(stage_uuid, opts = {})
|
|
304
|
+
data, _status_code, _headers = stages_account_lockdown_retrieve_with_http_info(stage_uuid, opts)
|
|
305
|
+
data
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# AccountLockdownStage Viewset
|
|
309
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
310
|
+
# @param [Hash] opts the optional parameters
|
|
311
|
+
# @return [Array<(AccountLockdownStage, Integer, Hash)>] AccountLockdownStage data, response status code and response headers
|
|
312
|
+
def stages_account_lockdown_retrieve_with_http_info(stage_uuid, opts = {})
|
|
313
|
+
if @api_client.config.debugging
|
|
314
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_retrieve ...'
|
|
315
|
+
end
|
|
316
|
+
# verify the required parameter 'stage_uuid' is set
|
|
317
|
+
if @api_client.config.client_side_validation && stage_uuid.nil?
|
|
318
|
+
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_account_lockdown_retrieve"
|
|
319
|
+
end
|
|
320
|
+
# resource path
|
|
321
|
+
local_var_path = '/stages/account_lockdown/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
322
|
+
|
|
323
|
+
# query parameters
|
|
324
|
+
query_params = opts[:query_params] || {}
|
|
325
|
+
|
|
326
|
+
# header parameters
|
|
327
|
+
header_params = opts[:header_params] || {}
|
|
328
|
+
# HTTP header 'Accept' (if needed)
|
|
329
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
330
|
+
|
|
331
|
+
# form parameters
|
|
332
|
+
form_params = opts[:form_params] || {}
|
|
333
|
+
|
|
334
|
+
# http body (model)
|
|
335
|
+
post_body = opts[:debug_body]
|
|
336
|
+
|
|
337
|
+
# return_type
|
|
338
|
+
return_type = opts[:debug_return_type] || 'AccountLockdownStage'
|
|
339
|
+
|
|
340
|
+
# auth_names
|
|
341
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
342
|
+
|
|
343
|
+
new_options = opts.merge(
|
|
344
|
+
:operation => :"StagesApi.stages_account_lockdown_retrieve",
|
|
345
|
+
:header_params => header_params,
|
|
346
|
+
:query_params => query_params,
|
|
347
|
+
:form_params => form_params,
|
|
348
|
+
:body => post_body,
|
|
349
|
+
:auth_names => auth_names,
|
|
350
|
+
:return_type => return_type
|
|
351
|
+
)
|
|
352
|
+
|
|
353
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
354
|
+
if @api_client.config.debugging
|
|
355
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
356
|
+
end
|
|
357
|
+
return data, status_code, headers
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
# AccountLockdownStage Viewset
|
|
361
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
362
|
+
# @param account_lockdown_stage_request [AccountLockdownStageRequest]
|
|
363
|
+
# @param [Hash] opts the optional parameters
|
|
364
|
+
# @return [AccountLockdownStage]
|
|
365
|
+
def stages_account_lockdown_update(stage_uuid, account_lockdown_stage_request, opts = {})
|
|
366
|
+
data, _status_code, _headers = stages_account_lockdown_update_with_http_info(stage_uuid, account_lockdown_stage_request, opts)
|
|
367
|
+
data
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
# AccountLockdownStage Viewset
|
|
371
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
372
|
+
# @param account_lockdown_stage_request [AccountLockdownStageRequest]
|
|
373
|
+
# @param [Hash] opts the optional parameters
|
|
374
|
+
# @return [Array<(AccountLockdownStage, Integer, Hash)>] AccountLockdownStage data, response status code and response headers
|
|
375
|
+
def stages_account_lockdown_update_with_http_info(stage_uuid, account_lockdown_stage_request, opts = {})
|
|
376
|
+
if @api_client.config.debugging
|
|
377
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_update ...'
|
|
378
|
+
end
|
|
379
|
+
# verify the required parameter 'stage_uuid' is set
|
|
380
|
+
if @api_client.config.client_side_validation && stage_uuid.nil?
|
|
381
|
+
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_account_lockdown_update"
|
|
382
|
+
end
|
|
383
|
+
# verify the required parameter 'account_lockdown_stage_request' is set
|
|
384
|
+
if @api_client.config.client_side_validation && account_lockdown_stage_request.nil?
|
|
385
|
+
fail ArgumentError, "Missing the required parameter 'account_lockdown_stage_request' when calling StagesApi.stages_account_lockdown_update"
|
|
386
|
+
end
|
|
387
|
+
# resource path
|
|
388
|
+
local_var_path = '/stages/account_lockdown/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
389
|
+
|
|
390
|
+
# query parameters
|
|
391
|
+
query_params = opts[:query_params] || {}
|
|
392
|
+
|
|
393
|
+
# header parameters
|
|
394
|
+
header_params = opts[:header_params] || {}
|
|
395
|
+
# HTTP header 'Accept' (if needed)
|
|
396
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
397
|
+
# HTTP header 'Content-Type'
|
|
398
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
399
|
+
if !content_type.nil?
|
|
400
|
+
header_params['Content-Type'] = content_type
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# form parameters
|
|
404
|
+
form_params = opts[:form_params] || {}
|
|
405
|
+
|
|
406
|
+
# http body (model)
|
|
407
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(account_lockdown_stage_request)
|
|
408
|
+
|
|
409
|
+
# return_type
|
|
410
|
+
return_type = opts[:debug_return_type] || 'AccountLockdownStage'
|
|
411
|
+
|
|
412
|
+
# auth_names
|
|
413
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
414
|
+
|
|
415
|
+
new_options = opts.merge(
|
|
416
|
+
:operation => :"StagesApi.stages_account_lockdown_update",
|
|
417
|
+
:header_params => header_params,
|
|
418
|
+
:query_params => query_params,
|
|
419
|
+
:form_params => form_params,
|
|
420
|
+
:body => post_body,
|
|
421
|
+
:auth_names => auth_names,
|
|
422
|
+
:return_type => return_type
|
|
423
|
+
)
|
|
424
|
+
|
|
425
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
426
|
+
if @api_client.config.debugging
|
|
427
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
428
|
+
end
|
|
429
|
+
return data, status_code, headers
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
# Get a list of all objects that use this object
|
|
433
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
434
|
+
# @param [Hash] opts the optional parameters
|
|
435
|
+
# @return [Array<UsedBy>]
|
|
436
|
+
def stages_account_lockdown_used_by_list(stage_uuid, opts = {})
|
|
437
|
+
data, _status_code, _headers = stages_account_lockdown_used_by_list_with_http_info(stage_uuid, opts)
|
|
438
|
+
data
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Get a list of all objects that use this object
|
|
442
|
+
# @param stage_uuid [String] A UUID string identifying this Account Lockdown Stage.
|
|
443
|
+
# @param [Hash] opts the optional parameters
|
|
444
|
+
# @return [Array<(Array<UsedBy>, Integer, Hash)>] Array<UsedBy> data, response status code and response headers
|
|
445
|
+
def stages_account_lockdown_used_by_list_with_http_info(stage_uuid, opts = {})
|
|
446
|
+
if @api_client.config.debugging
|
|
447
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_account_lockdown_used_by_list ...'
|
|
448
|
+
end
|
|
449
|
+
# verify the required parameter 'stage_uuid' is set
|
|
450
|
+
if @api_client.config.client_side_validation && stage_uuid.nil?
|
|
451
|
+
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_account_lockdown_used_by_list"
|
|
452
|
+
end
|
|
453
|
+
# resource path
|
|
454
|
+
local_var_path = '/stages/account_lockdown/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
455
|
+
|
|
456
|
+
# query parameters
|
|
457
|
+
query_params = opts[:query_params] || {}
|
|
458
|
+
|
|
459
|
+
# header parameters
|
|
460
|
+
header_params = opts[:header_params] || {}
|
|
461
|
+
# HTTP header 'Accept' (if needed)
|
|
462
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
463
|
+
|
|
464
|
+
# form parameters
|
|
465
|
+
form_params = opts[:form_params] || {}
|
|
466
|
+
|
|
467
|
+
# http body (model)
|
|
468
|
+
post_body = opts[:debug_body]
|
|
469
|
+
|
|
470
|
+
# return_type
|
|
471
|
+
return_type = opts[:debug_return_type] || 'Array<UsedBy>'
|
|
472
|
+
|
|
473
|
+
# auth_names
|
|
474
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
475
|
+
|
|
476
|
+
new_options = opts.merge(
|
|
477
|
+
:operation => :"StagesApi.stages_account_lockdown_used_by_list",
|
|
478
|
+
:header_params => header_params,
|
|
479
|
+
:query_params => query_params,
|
|
480
|
+
:form_params => form_params,
|
|
481
|
+
:body => post_body,
|
|
482
|
+
:auth_names => auth_names,
|
|
483
|
+
:return_type => return_type
|
|
484
|
+
)
|
|
485
|
+
|
|
486
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
487
|
+
if @api_client.config.debugging
|
|
488
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_account_lockdown_used_by_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
489
|
+
end
|
|
490
|
+
return data, status_code, headers
|
|
491
|
+
end
|
|
492
|
+
|
|
16
493
|
# Stage Viewset
|
|
17
494
|
# @param stage_uuid [String] A UUID string identifying this stage.
|
|
18
495
|
# @param [Hash] opts the optional parameters
|
|
@@ -35,7 +512,7 @@ module Authentik::Api
|
|
|
35
512
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_all_destroy"
|
|
36
513
|
end
|
|
37
514
|
# resource path
|
|
38
|
-
local_var_path = '/stages/all/{stage_uuid}/'.sub('{
|
|
515
|
+
local_var_path = '/stages/all/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
39
516
|
|
|
40
517
|
# query parameters
|
|
41
518
|
query_params = opts[:query_params] || {}
|
|
@@ -166,7 +643,7 @@ module Authentik::Api
|
|
|
166
643
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_all_retrieve"
|
|
167
644
|
end
|
|
168
645
|
# resource path
|
|
169
|
-
local_var_path = '/stages/all/{stage_uuid}/'.sub('{
|
|
646
|
+
local_var_path = '/stages/all/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
170
647
|
|
|
171
648
|
# query parameters
|
|
172
649
|
query_params = opts[:query_params] || {}
|
|
@@ -282,7 +759,7 @@ module Authentik::Api
|
|
|
282
759
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_all_used_by_list"
|
|
283
760
|
end
|
|
284
761
|
# resource path
|
|
285
|
-
local_var_path = '/stages/all/{stage_uuid}/used_by/'.sub('{
|
|
762
|
+
local_var_path = '/stages/all/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
286
763
|
|
|
287
764
|
# query parameters
|
|
288
765
|
query_params = opts[:query_params] || {}
|
|
@@ -464,7 +941,7 @@ module Authentik::Api
|
|
|
464
941
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_duo_destroy"
|
|
465
942
|
end
|
|
466
943
|
# resource path
|
|
467
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{
|
|
944
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
468
945
|
|
|
469
946
|
# query parameters
|
|
470
947
|
query_params = opts[:query_params] || {}
|
|
@@ -525,7 +1002,7 @@ module Authentik::Api
|
|
|
525
1002
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_duo_enrollment_status_create"
|
|
526
1003
|
end
|
|
527
1004
|
# resource path
|
|
528
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/enrollment_status/'.sub('{
|
|
1005
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/enrollment_status/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
529
1006
|
|
|
530
1007
|
# query parameters
|
|
531
1008
|
query_params = opts[:query_params] || {}
|
|
@@ -592,7 +1069,7 @@ module Authentik::Api
|
|
|
592
1069
|
fail ArgumentError, "Missing the required parameter 'authenticator_duo_stage_manual_device_import_request' when calling StagesApi.stages_authenticator_duo_import_device_manual_create"
|
|
593
1070
|
end
|
|
594
1071
|
# resource path
|
|
595
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/import_device_manual/'.sub('{
|
|
1072
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/import_device_manual/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
596
1073
|
|
|
597
1074
|
# query parameters
|
|
598
1075
|
query_params = opts[:query_params] || {}
|
|
@@ -658,7 +1135,7 @@ module Authentik::Api
|
|
|
658
1135
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_duo_import_devices_automatic_create"
|
|
659
1136
|
end
|
|
660
1137
|
# resource path
|
|
661
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/import_devices_automatic/'.sub('{
|
|
1138
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/import_devices_automatic/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
662
1139
|
|
|
663
1140
|
# query parameters
|
|
664
1141
|
query_params = opts[:query_params] || {}
|
|
@@ -800,7 +1277,7 @@ module Authentik::Api
|
|
|
800
1277
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_duo_partial_update"
|
|
801
1278
|
end
|
|
802
1279
|
# resource path
|
|
803
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{
|
|
1280
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
804
1281
|
|
|
805
1282
|
# query parameters
|
|
806
1283
|
query_params = opts[:query_params] || {}
|
|
@@ -866,7 +1343,7 @@ module Authentik::Api
|
|
|
866
1343
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_duo_retrieve"
|
|
867
1344
|
end
|
|
868
1345
|
# resource path
|
|
869
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{
|
|
1346
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
870
1347
|
|
|
871
1348
|
# query parameters
|
|
872
1349
|
query_params = opts[:query_params] || {}
|
|
@@ -933,7 +1410,7 @@ module Authentik::Api
|
|
|
933
1410
|
fail ArgumentError, "Missing the required parameter 'authenticator_duo_stage_request' when calling StagesApi.stages_authenticator_duo_update"
|
|
934
1411
|
end
|
|
935
1412
|
# resource path
|
|
936
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{
|
|
1413
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
937
1414
|
|
|
938
1415
|
# query parameters
|
|
939
1416
|
query_params = opts[:query_params] || {}
|
|
@@ -999,7 +1476,7 @@ module Authentik::Api
|
|
|
999
1476
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_duo_used_by_list"
|
|
1000
1477
|
end
|
|
1001
1478
|
# resource path
|
|
1002
|
-
local_var_path = '/stages/authenticator/duo/{stage_uuid}/used_by/'.sub('{
|
|
1479
|
+
local_var_path = '/stages/authenticator/duo/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1003
1480
|
|
|
1004
1481
|
# query parameters
|
|
1005
1482
|
query_params = opts[:query_params] || {}
|
|
@@ -1126,7 +1603,7 @@ module Authentik::Api
|
|
|
1126
1603
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_email_destroy"
|
|
1127
1604
|
end
|
|
1128
1605
|
# resource path
|
|
1129
|
-
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{
|
|
1606
|
+
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1130
1607
|
|
|
1131
1608
|
# query parameters
|
|
1132
1609
|
query_params = opts[:query_params] || {}
|
|
@@ -1304,7 +1781,7 @@ module Authentik::Api
|
|
|
1304
1781
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_email_partial_update"
|
|
1305
1782
|
end
|
|
1306
1783
|
# resource path
|
|
1307
|
-
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{
|
|
1784
|
+
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1308
1785
|
|
|
1309
1786
|
# query parameters
|
|
1310
1787
|
query_params = opts[:query_params] || {}
|
|
@@ -1370,7 +1847,7 @@ module Authentik::Api
|
|
|
1370
1847
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_email_retrieve"
|
|
1371
1848
|
end
|
|
1372
1849
|
# resource path
|
|
1373
|
-
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{
|
|
1850
|
+
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1374
1851
|
|
|
1375
1852
|
# query parameters
|
|
1376
1853
|
query_params = opts[:query_params] || {}
|
|
@@ -1437,7 +1914,7 @@ module Authentik::Api
|
|
|
1437
1914
|
fail ArgumentError, "Missing the required parameter 'authenticator_email_stage_request' when calling StagesApi.stages_authenticator_email_update"
|
|
1438
1915
|
end
|
|
1439
1916
|
# resource path
|
|
1440
|
-
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{
|
|
1917
|
+
local_var_path = '/stages/authenticator/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1441
1918
|
|
|
1442
1919
|
# query parameters
|
|
1443
1920
|
query_params = opts[:query_params] || {}
|
|
@@ -1503,7 +1980,7 @@ module Authentik::Api
|
|
|
1503
1980
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_email_used_by_list"
|
|
1504
1981
|
end
|
|
1505
1982
|
# resource path
|
|
1506
|
-
local_var_path = '/stages/authenticator/email/{stage_uuid}/used_by/'.sub('{
|
|
1983
|
+
local_var_path = '/stages/authenticator/email/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1507
1984
|
|
|
1508
1985
|
# query parameters
|
|
1509
1986
|
query_params = opts[:query_params] || {}
|
|
@@ -1630,7 +2107,7 @@ module Authentik::Api
|
|
|
1630
2107
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_endpoint_gdtc_destroy"
|
|
1631
2108
|
end
|
|
1632
2109
|
# resource path
|
|
1633
|
-
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{
|
|
2110
|
+
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1634
2111
|
|
|
1635
2112
|
# query parameters
|
|
1636
2113
|
query_params = opts[:query_params] || {}
|
|
@@ -1766,7 +2243,7 @@ module Authentik::Api
|
|
|
1766
2243
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_endpoint_gdtc_partial_update"
|
|
1767
2244
|
end
|
|
1768
2245
|
# resource path
|
|
1769
|
-
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{
|
|
2246
|
+
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1770
2247
|
|
|
1771
2248
|
# query parameters
|
|
1772
2249
|
query_params = opts[:query_params] || {}
|
|
@@ -1832,7 +2309,7 @@ module Authentik::Api
|
|
|
1832
2309
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_endpoint_gdtc_retrieve"
|
|
1833
2310
|
end
|
|
1834
2311
|
# resource path
|
|
1835
|
-
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{
|
|
2312
|
+
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1836
2313
|
|
|
1837
2314
|
# query parameters
|
|
1838
2315
|
query_params = opts[:query_params] || {}
|
|
@@ -1899,7 +2376,7 @@ module Authentik::Api
|
|
|
1899
2376
|
fail ArgumentError, "Missing the required parameter 'authenticator_endpoint_gdtc_stage_request' when calling StagesApi.stages_authenticator_endpoint_gdtc_update"
|
|
1900
2377
|
end
|
|
1901
2378
|
# resource path
|
|
1902
|
-
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{
|
|
2379
|
+
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1903
2380
|
|
|
1904
2381
|
# query parameters
|
|
1905
2382
|
query_params = opts[:query_params] || {}
|
|
@@ -1965,7 +2442,7 @@ module Authentik::Api
|
|
|
1965
2442
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_endpoint_gdtc_used_by_list"
|
|
1966
2443
|
end
|
|
1967
2444
|
# resource path
|
|
1968
|
-
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/used_by/'.sub('{
|
|
2445
|
+
local_var_path = '/stages/authenticator/endpoint_gdtc/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
1969
2446
|
|
|
1970
2447
|
# query parameters
|
|
1971
2448
|
query_params = opts[:query_params] || {}
|
|
@@ -2092,7 +2569,7 @@ module Authentik::Api
|
|
|
2092
2569
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_sms_destroy"
|
|
2093
2570
|
end
|
|
2094
2571
|
# resource path
|
|
2095
|
-
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{
|
|
2572
|
+
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2096
2573
|
|
|
2097
2574
|
# query parameters
|
|
2098
2575
|
query_params = opts[:query_params] || {}
|
|
@@ -2136,7 +2613,7 @@ module Authentik::Api
|
|
|
2136
2613
|
# @option opts [String] :account_sid
|
|
2137
2614
|
# @option opts [String] :auth
|
|
2138
2615
|
# @option opts [String] :auth_password
|
|
2139
|
-
# @option opts [
|
|
2616
|
+
# @option opts [AuthTypeEnum] :auth_type
|
|
2140
2617
|
# @option opts [String] :configure_flow
|
|
2141
2618
|
# @option opts [String] :friendly_name
|
|
2142
2619
|
# @option opts [String] :from_number
|
|
@@ -2145,7 +2622,7 @@ module Authentik::Api
|
|
|
2145
2622
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
2146
2623
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2147
2624
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2148
|
-
# @option opts [
|
|
2625
|
+
# @option opts [ProviderEnum] :provider
|
|
2149
2626
|
# @option opts [String] :search A search term.
|
|
2150
2627
|
# @option opts [String] :stage_uuid
|
|
2151
2628
|
# @option opts [Boolean] :verify_only
|
|
@@ -2160,7 +2637,7 @@ module Authentik::Api
|
|
|
2160
2637
|
# @option opts [String] :account_sid
|
|
2161
2638
|
# @option opts [String] :auth
|
|
2162
2639
|
# @option opts [String] :auth_password
|
|
2163
|
-
# @option opts [
|
|
2640
|
+
# @option opts [AuthTypeEnum] :auth_type
|
|
2164
2641
|
# @option opts [String] :configure_flow
|
|
2165
2642
|
# @option opts [String] :friendly_name
|
|
2166
2643
|
# @option opts [String] :from_number
|
|
@@ -2169,7 +2646,7 @@ module Authentik::Api
|
|
|
2169
2646
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
2170
2647
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
2171
2648
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
2172
|
-
# @option opts [
|
|
2649
|
+
# @option opts [ProviderEnum] :provider
|
|
2173
2650
|
# @option opts [String] :search A search term.
|
|
2174
2651
|
# @option opts [String] :stage_uuid
|
|
2175
2652
|
# @option opts [Boolean] :verify_only
|
|
@@ -2178,14 +2655,6 @@ module Authentik::Api
|
|
|
2178
2655
|
if @api_client.config.debugging
|
|
2179
2656
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_authenticator_sms_list ...'
|
|
2180
2657
|
end
|
|
2181
|
-
allowable_values = ["basic", "bearer"]
|
|
2182
|
-
if @api_client.config.client_side_validation && opts[:'auth_type'] && !allowable_values.include?(opts[:'auth_type'])
|
|
2183
|
-
fail ArgumentError, "invalid value for \"auth_type\", must be one of #{allowable_values}"
|
|
2184
|
-
end
|
|
2185
|
-
allowable_values = ["generic", "twilio"]
|
|
2186
|
-
if @api_client.config.client_side_validation && opts[:'provider'] && !allowable_values.include?(opts[:'provider'])
|
|
2187
|
-
fail ArgumentError, "invalid value for \"provider\", must be one of #{allowable_values}"
|
|
2188
|
-
end
|
|
2189
2658
|
# resource path
|
|
2190
2659
|
local_var_path = '/stages/authenticator/sms/'
|
|
2191
2660
|
|
|
@@ -2266,7 +2735,7 @@ module Authentik::Api
|
|
|
2266
2735
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_sms_partial_update"
|
|
2267
2736
|
end
|
|
2268
2737
|
# resource path
|
|
2269
|
-
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{
|
|
2738
|
+
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2270
2739
|
|
|
2271
2740
|
# query parameters
|
|
2272
2741
|
query_params = opts[:query_params] || {}
|
|
@@ -2332,7 +2801,7 @@ module Authentik::Api
|
|
|
2332
2801
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_sms_retrieve"
|
|
2333
2802
|
end
|
|
2334
2803
|
# resource path
|
|
2335
|
-
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{
|
|
2804
|
+
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2336
2805
|
|
|
2337
2806
|
# query parameters
|
|
2338
2807
|
query_params = opts[:query_params] || {}
|
|
@@ -2399,7 +2868,7 @@ module Authentik::Api
|
|
|
2399
2868
|
fail ArgumentError, "Missing the required parameter 'authenticator_sms_stage_request' when calling StagesApi.stages_authenticator_sms_update"
|
|
2400
2869
|
end
|
|
2401
2870
|
# resource path
|
|
2402
|
-
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{
|
|
2871
|
+
local_var_path = '/stages/authenticator/sms/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2403
2872
|
|
|
2404
2873
|
# query parameters
|
|
2405
2874
|
query_params = opts[:query_params] || {}
|
|
@@ -2465,7 +2934,7 @@ module Authentik::Api
|
|
|
2465
2934
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_sms_used_by_list"
|
|
2466
2935
|
end
|
|
2467
2936
|
# resource path
|
|
2468
|
-
local_var_path = '/stages/authenticator/sms/{stage_uuid}/used_by/'.sub('{
|
|
2937
|
+
local_var_path = '/stages/authenticator/sms/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2469
2938
|
|
|
2470
2939
|
# query parameters
|
|
2471
2940
|
query_params = opts[:query_params] || {}
|
|
@@ -2592,7 +3061,7 @@ module Authentik::Api
|
|
|
2592
3061
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_static_destroy"
|
|
2593
3062
|
end
|
|
2594
3063
|
# resource path
|
|
2595
|
-
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{
|
|
3064
|
+
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2596
3065
|
|
|
2597
3066
|
# query parameters
|
|
2598
3067
|
query_params = opts[:query_params] || {}
|
|
@@ -2740,7 +3209,7 @@ module Authentik::Api
|
|
|
2740
3209
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_static_partial_update"
|
|
2741
3210
|
end
|
|
2742
3211
|
# resource path
|
|
2743
|
-
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{
|
|
3212
|
+
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2744
3213
|
|
|
2745
3214
|
# query parameters
|
|
2746
3215
|
query_params = opts[:query_params] || {}
|
|
@@ -2806,7 +3275,7 @@ module Authentik::Api
|
|
|
2806
3275
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_static_retrieve"
|
|
2807
3276
|
end
|
|
2808
3277
|
# resource path
|
|
2809
|
-
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{
|
|
3278
|
+
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2810
3279
|
|
|
2811
3280
|
# query parameters
|
|
2812
3281
|
query_params = opts[:query_params] || {}
|
|
@@ -2873,7 +3342,7 @@ module Authentik::Api
|
|
|
2873
3342
|
fail ArgumentError, "Missing the required parameter 'authenticator_static_stage_request' when calling StagesApi.stages_authenticator_static_update"
|
|
2874
3343
|
end
|
|
2875
3344
|
# resource path
|
|
2876
|
-
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{
|
|
3345
|
+
local_var_path = '/stages/authenticator/static/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2877
3346
|
|
|
2878
3347
|
# query parameters
|
|
2879
3348
|
query_params = opts[:query_params] || {}
|
|
@@ -2939,7 +3408,7 @@ module Authentik::Api
|
|
|
2939
3408
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_static_used_by_list"
|
|
2940
3409
|
end
|
|
2941
3410
|
# resource path
|
|
2942
|
-
local_var_path = '/stages/authenticator/static/{stage_uuid}/used_by/'.sub('{
|
|
3411
|
+
local_var_path = '/stages/authenticator/static/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
2943
3412
|
|
|
2944
3413
|
# query parameters
|
|
2945
3414
|
query_params = opts[:query_params] || {}
|
|
@@ -3066,7 +3535,7 @@ module Authentik::Api
|
|
|
3066
3535
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_totp_destroy"
|
|
3067
3536
|
end
|
|
3068
3537
|
# resource path
|
|
3069
|
-
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{
|
|
3538
|
+
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3070
3539
|
|
|
3071
3540
|
# query parameters
|
|
3072
3541
|
query_params = opts[:query_params] || {}
|
|
@@ -3108,7 +3577,7 @@ module Authentik::Api
|
|
|
3108
3577
|
# AuthenticatorTOTPStage Viewset
|
|
3109
3578
|
# @param [Hash] opts the optional parameters
|
|
3110
3579
|
# @option opts [String] :configure_flow
|
|
3111
|
-
# @option opts [
|
|
3580
|
+
# @option opts [DigitsEnum] :digits
|
|
3112
3581
|
# @option opts [String] :friendly_name
|
|
3113
3582
|
# @option opts [String] :name
|
|
3114
3583
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -3125,7 +3594,7 @@ module Authentik::Api
|
|
|
3125
3594
|
# AuthenticatorTOTPStage Viewset
|
|
3126
3595
|
# @param [Hash] opts the optional parameters
|
|
3127
3596
|
# @option opts [String] :configure_flow
|
|
3128
|
-
# @option opts [
|
|
3597
|
+
# @option opts [DigitsEnum] :digits
|
|
3129
3598
|
# @option opts [String] :friendly_name
|
|
3130
3599
|
# @option opts [String] :name
|
|
3131
3600
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
@@ -3138,10 +3607,6 @@ module Authentik::Api
|
|
|
3138
3607
|
if @api_client.config.debugging
|
|
3139
3608
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_authenticator_totp_list ...'
|
|
3140
3609
|
end
|
|
3141
|
-
allowable_values = ["6", "8"]
|
|
3142
|
-
if @api_client.config.client_side_validation && opts[:'digits'] && !allowable_values.include?(opts[:'digits'])
|
|
3143
|
-
fail ArgumentError, "invalid value for \"digits\", must be one of #{allowable_values}"
|
|
3144
|
-
end
|
|
3145
3610
|
# resource path
|
|
3146
3611
|
local_var_path = '/stages/authenticator/totp/'
|
|
3147
3612
|
|
|
@@ -3215,7 +3680,7 @@ module Authentik::Api
|
|
|
3215
3680
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_totp_partial_update"
|
|
3216
3681
|
end
|
|
3217
3682
|
# resource path
|
|
3218
|
-
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{
|
|
3683
|
+
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3219
3684
|
|
|
3220
3685
|
# query parameters
|
|
3221
3686
|
query_params = opts[:query_params] || {}
|
|
@@ -3281,7 +3746,7 @@ module Authentik::Api
|
|
|
3281
3746
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_totp_retrieve"
|
|
3282
3747
|
end
|
|
3283
3748
|
# resource path
|
|
3284
|
-
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{
|
|
3749
|
+
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3285
3750
|
|
|
3286
3751
|
# query parameters
|
|
3287
3752
|
query_params = opts[:query_params] || {}
|
|
@@ -3348,7 +3813,7 @@ module Authentik::Api
|
|
|
3348
3813
|
fail ArgumentError, "Missing the required parameter 'authenticator_totp_stage_request' when calling StagesApi.stages_authenticator_totp_update"
|
|
3349
3814
|
end
|
|
3350
3815
|
# resource path
|
|
3351
|
-
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{
|
|
3816
|
+
local_var_path = '/stages/authenticator/totp/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3352
3817
|
|
|
3353
3818
|
# query parameters
|
|
3354
3819
|
query_params = opts[:query_params] || {}
|
|
@@ -3414,7 +3879,7 @@ module Authentik::Api
|
|
|
3414
3879
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_totp_used_by_list"
|
|
3415
3880
|
end
|
|
3416
3881
|
# resource path
|
|
3417
|
-
local_var_path = '/stages/authenticator/totp/{stage_uuid}/used_by/'.sub('{
|
|
3882
|
+
local_var_path = '/stages/authenticator/totp/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3418
3883
|
|
|
3419
3884
|
# query parameters
|
|
3420
3885
|
query_params = opts[:query_params] || {}
|
|
@@ -3541,7 +4006,7 @@ module Authentik::Api
|
|
|
3541
4006
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_validate_destroy"
|
|
3542
4007
|
end
|
|
3543
4008
|
# resource path
|
|
3544
|
-
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{
|
|
4009
|
+
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3545
4010
|
|
|
3546
4011
|
# query parameters
|
|
3547
4012
|
query_params = opts[:query_params] || {}
|
|
@@ -3584,7 +4049,7 @@ module Authentik::Api
|
|
|
3584
4049
|
# @param [Hash] opts the optional parameters
|
|
3585
4050
|
# @option opts [Array<String>] :configuration_stages
|
|
3586
4051
|
# @option opts [String] :name
|
|
3587
|
-
# @option opts [
|
|
4052
|
+
# @option opts [NotConfiguredActionEnum] :not_configured_action
|
|
3588
4053
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
3589
4054
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3590
4055
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
@@ -3599,7 +4064,7 @@ module Authentik::Api
|
|
|
3599
4064
|
# @param [Hash] opts the optional parameters
|
|
3600
4065
|
# @option opts [Array<String>] :configuration_stages
|
|
3601
4066
|
# @option opts [String] :name
|
|
3602
|
-
# @option opts [
|
|
4067
|
+
# @option opts [NotConfiguredActionEnum] :not_configured_action
|
|
3603
4068
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
3604
4069
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
3605
4070
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
@@ -3609,10 +4074,6 @@ module Authentik::Api
|
|
|
3609
4074
|
if @api_client.config.debugging
|
|
3610
4075
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_authenticator_validate_list ...'
|
|
3611
4076
|
end
|
|
3612
|
-
allowable_values = ["configure", "deny", "skip"]
|
|
3613
|
-
if @api_client.config.client_side_validation && opts[:'not_configured_action'] && !allowable_values.include?(opts[:'not_configured_action'])
|
|
3614
|
-
fail ArgumentError, "invalid value for \"not_configured_action\", must be one of #{allowable_values}"
|
|
3615
|
-
end
|
|
3616
4077
|
# resource path
|
|
3617
4078
|
local_var_path = '/stages/authenticator/validate/'
|
|
3618
4079
|
|
|
@@ -3684,7 +4145,7 @@ module Authentik::Api
|
|
|
3684
4145
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_validate_partial_update"
|
|
3685
4146
|
end
|
|
3686
4147
|
# resource path
|
|
3687
|
-
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{
|
|
4148
|
+
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3688
4149
|
|
|
3689
4150
|
# query parameters
|
|
3690
4151
|
query_params = opts[:query_params] || {}
|
|
@@ -3750,7 +4211,7 @@ module Authentik::Api
|
|
|
3750
4211
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_validate_retrieve"
|
|
3751
4212
|
end
|
|
3752
4213
|
# resource path
|
|
3753
|
-
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{
|
|
4214
|
+
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3754
4215
|
|
|
3755
4216
|
# query parameters
|
|
3756
4217
|
query_params = opts[:query_params] || {}
|
|
@@ -3817,7 +4278,7 @@ module Authentik::Api
|
|
|
3817
4278
|
fail ArgumentError, "Missing the required parameter 'authenticator_validate_stage_request' when calling StagesApi.stages_authenticator_validate_update"
|
|
3818
4279
|
end
|
|
3819
4280
|
# resource path
|
|
3820
|
-
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{
|
|
4281
|
+
local_var_path = '/stages/authenticator/validate/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3821
4282
|
|
|
3822
4283
|
# query parameters
|
|
3823
4284
|
query_params = opts[:query_params] || {}
|
|
@@ -3883,7 +4344,7 @@ module Authentik::Api
|
|
|
3883
4344
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_validate_used_by_list"
|
|
3884
4345
|
end
|
|
3885
4346
|
# resource path
|
|
3886
|
-
local_var_path = '/stages/authenticator/validate/{stage_uuid}/used_by/'.sub('{
|
|
4347
|
+
local_var_path = '/stages/authenticator/validate/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
3887
4348
|
|
|
3888
4349
|
# query parameters
|
|
3889
4350
|
query_params = opts[:query_params] || {}
|
|
@@ -4010,7 +4471,7 @@ module Authentik::Api
|
|
|
4010
4471
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_webauthn_destroy"
|
|
4011
4472
|
end
|
|
4012
4473
|
# resource path
|
|
4013
|
-
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{
|
|
4474
|
+
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4014
4475
|
|
|
4015
4476
|
# query parameters
|
|
4016
4477
|
query_params = opts[:query_params] || {}
|
|
@@ -4147,7 +4608,7 @@ module Authentik::Api
|
|
|
4147
4608
|
fail ArgumentError, "Missing the required parameter 'aaguid' when calling StagesApi.stages_authenticator_webauthn_device_types_retrieve"
|
|
4148
4609
|
end
|
|
4149
4610
|
# resource path
|
|
4150
|
-
local_var_path = '/stages/authenticator/webauthn_device_types/{aaguid}/'.sub('{
|
|
4611
|
+
local_var_path = '/stages/authenticator/webauthn_device_types/{aaguid}/'.sub('{aaguid}', CGI.escape(aaguid.to_s))
|
|
4151
4612
|
|
|
4152
4613
|
# query parameters
|
|
4153
4614
|
query_params = opts[:query_params] || {}
|
|
@@ -4188,19 +4649,17 @@ module Authentik::Api
|
|
|
4188
4649
|
|
|
4189
4650
|
# AuthenticatorWebAuthnStage Viewset
|
|
4190
4651
|
# @param [Hash] opts the optional parameters
|
|
4191
|
-
# @option opts [
|
|
4652
|
+
# @option opts [AuthenticatorAttachmentEnum] :authenticator_attachment
|
|
4192
4653
|
# @option opts [String] :configure_flow
|
|
4193
4654
|
# @option opts [Array<String>] :device_type_restrictions
|
|
4194
|
-
# @option opts [String] :friendly_name
|
|
4195
4655
|
# @option opts [Integer] :max_attempts
|
|
4196
4656
|
# @option opts [String] :name
|
|
4197
4657
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
4198
4658
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
4199
4659
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
4200
|
-
# @option opts [
|
|
4660
|
+
# @option opts [UserVerificationEnum] :resident_key_requirement
|
|
4201
4661
|
# @option opts [String] :search A search term.
|
|
4202
|
-
# @option opts [
|
|
4203
|
-
# @option opts [String] :user_verification
|
|
4662
|
+
# @option opts [UserVerificationEnum] :user_verification
|
|
4204
4663
|
# @return [PaginatedAuthenticatorWebAuthnStageList]
|
|
4205
4664
|
def stages_authenticator_webauthn_list(opts = {})
|
|
4206
4665
|
data, _status_code, _headers = stages_authenticator_webauthn_list_with_http_info(opts)
|
|
@@ -4209,36 +4668,22 @@ module Authentik::Api
|
|
|
4209
4668
|
|
|
4210
4669
|
# AuthenticatorWebAuthnStage Viewset
|
|
4211
4670
|
# @param [Hash] opts the optional parameters
|
|
4212
|
-
# @option opts [
|
|
4671
|
+
# @option opts [AuthenticatorAttachmentEnum] :authenticator_attachment
|
|
4213
4672
|
# @option opts [String] :configure_flow
|
|
4214
4673
|
# @option opts [Array<String>] :device_type_restrictions
|
|
4215
|
-
# @option opts [String] :friendly_name
|
|
4216
4674
|
# @option opts [Integer] :max_attempts
|
|
4217
4675
|
# @option opts [String] :name
|
|
4218
4676
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
4219
4677
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
4220
4678
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
4221
|
-
# @option opts [
|
|
4679
|
+
# @option opts [UserVerificationEnum] :resident_key_requirement
|
|
4222
4680
|
# @option opts [String] :search A search term.
|
|
4223
|
-
# @option opts [
|
|
4224
|
-
# @option opts [String] :user_verification
|
|
4681
|
+
# @option opts [UserVerificationEnum] :user_verification
|
|
4225
4682
|
# @return [Array<(PaginatedAuthenticatorWebAuthnStageList, Integer, Hash)>] PaginatedAuthenticatorWebAuthnStageList data, response status code and response headers
|
|
4226
4683
|
def stages_authenticator_webauthn_list_with_http_info(opts = {})
|
|
4227
4684
|
if @api_client.config.debugging
|
|
4228
4685
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_authenticator_webauthn_list ...'
|
|
4229
4686
|
end
|
|
4230
|
-
allowable_values = ["cross-platform", "platform"]
|
|
4231
|
-
if @api_client.config.client_side_validation && opts[:'authenticator_attachment'] && !allowable_values.include?(opts[:'authenticator_attachment'])
|
|
4232
|
-
fail ArgumentError, "invalid value for \"authenticator_attachment\", must be one of #{allowable_values}"
|
|
4233
|
-
end
|
|
4234
|
-
allowable_values = ["discouraged", "preferred", "required"]
|
|
4235
|
-
if @api_client.config.client_side_validation && opts[:'resident_key_requirement'] && !allowable_values.include?(opts[:'resident_key_requirement'])
|
|
4236
|
-
fail ArgumentError, "invalid value for \"resident_key_requirement\", must be one of #{allowable_values}"
|
|
4237
|
-
end
|
|
4238
|
-
allowable_values = ["discouraged", "preferred", "required"]
|
|
4239
|
-
if @api_client.config.client_side_validation && opts[:'user_verification'] && !allowable_values.include?(opts[:'user_verification'])
|
|
4240
|
-
fail ArgumentError, "invalid value for \"user_verification\", must be one of #{allowable_values}"
|
|
4241
|
-
end
|
|
4242
4687
|
# resource path
|
|
4243
4688
|
local_var_path = '/stages/authenticator/webauthn/'
|
|
4244
4689
|
|
|
@@ -4247,7 +4692,6 @@ module Authentik::Api
|
|
|
4247
4692
|
query_params[:'authenticator_attachment'] = opts[:'authenticator_attachment'] if !opts[:'authenticator_attachment'].nil?
|
|
4248
4693
|
query_params[:'configure_flow'] = opts[:'configure_flow'] if !opts[:'configure_flow'].nil?
|
|
4249
4694
|
query_params[:'device_type_restrictions'] = @api_client.build_collection_param(opts[:'device_type_restrictions'], :multi) if !opts[:'device_type_restrictions'].nil?
|
|
4250
|
-
query_params[:'friendly_name'] = opts[:'friendly_name'] if !opts[:'friendly_name'].nil?
|
|
4251
4695
|
query_params[:'max_attempts'] = opts[:'max_attempts'] if !opts[:'max_attempts'].nil?
|
|
4252
4696
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
4253
4697
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
@@ -4255,7 +4699,6 @@ module Authentik::Api
|
|
|
4255
4699
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
4256
4700
|
query_params[:'resident_key_requirement'] = opts[:'resident_key_requirement'] if !opts[:'resident_key_requirement'].nil?
|
|
4257
4701
|
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
|
4258
|
-
query_params[:'stage_uuid'] = opts[:'stage_uuid'] if !opts[:'stage_uuid'].nil?
|
|
4259
4702
|
query_params[:'user_verification'] = opts[:'user_verification'] if !opts[:'user_verification'].nil?
|
|
4260
4703
|
|
|
4261
4704
|
# header parameters
|
|
@@ -4316,7 +4759,7 @@ module Authentik::Api
|
|
|
4316
4759
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_webauthn_partial_update"
|
|
4317
4760
|
end
|
|
4318
4761
|
# resource path
|
|
4319
|
-
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{
|
|
4762
|
+
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4320
4763
|
|
|
4321
4764
|
# query parameters
|
|
4322
4765
|
query_params = opts[:query_params] || {}
|
|
@@ -4382,7 +4825,7 @@ module Authentik::Api
|
|
|
4382
4825
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_webauthn_retrieve"
|
|
4383
4826
|
end
|
|
4384
4827
|
# resource path
|
|
4385
|
-
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{
|
|
4828
|
+
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4386
4829
|
|
|
4387
4830
|
# query parameters
|
|
4388
4831
|
query_params = opts[:query_params] || {}
|
|
@@ -4449,7 +4892,7 @@ module Authentik::Api
|
|
|
4449
4892
|
fail ArgumentError, "Missing the required parameter 'authenticator_web_authn_stage_request' when calling StagesApi.stages_authenticator_webauthn_update"
|
|
4450
4893
|
end
|
|
4451
4894
|
# resource path
|
|
4452
|
-
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{
|
|
4895
|
+
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4453
4896
|
|
|
4454
4897
|
# query parameters
|
|
4455
4898
|
query_params = opts[:query_params] || {}
|
|
@@ -4515,7 +4958,7 @@ module Authentik::Api
|
|
|
4515
4958
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_authenticator_webauthn_used_by_list"
|
|
4516
4959
|
end
|
|
4517
4960
|
# resource path
|
|
4518
|
-
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/used_by/'.sub('{
|
|
4961
|
+
local_var_path = '/stages/authenticator/webauthn/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4519
4962
|
|
|
4520
4963
|
# query parameters
|
|
4521
4964
|
query_params = opts[:query_params] || {}
|
|
@@ -4642,7 +5085,7 @@ module Authentik::Api
|
|
|
4642
5085
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_captcha_destroy"
|
|
4643
5086
|
end
|
|
4644
5087
|
# resource path
|
|
4645
|
-
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{
|
|
5088
|
+
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4646
5089
|
|
|
4647
5090
|
# query parameters
|
|
4648
5091
|
query_params = opts[:query_params] || {}
|
|
@@ -4778,7 +5221,7 @@ module Authentik::Api
|
|
|
4778
5221
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_captcha_partial_update"
|
|
4779
5222
|
end
|
|
4780
5223
|
# resource path
|
|
4781
|
-
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{
|
|
5224
|
+
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4782
5225
|
|
|
4783
5226
|
# query parameters
|
|
4784
5227
|
query_params = opts[:query_params] || {}
|
|
@@ -4844,7 +5287,7 @@ module Authentik::Api
|
|
|
4844
5287
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_captcha_retrieve"
|
|
4845
5288
|
end
|
|
4846
5289
|
# resource path
|
|
4847
|
-
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{
|
|
5290
|
+
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4848
5291
|
|
|
4849
5292
|
# query parameters
|
|
4850
5293
|
query_params = opts[:query_params] || {}
|
|
@@ -4911,7 +5354,7 @@ module Authentik::Api
|
|
|
4911
5354
|
fail ArgumentError, "Missing the required parameter 'captcha_stage_request' when calling StagesApi.stages_captcha_update"
|
|
4912
5355
|
end
|
|
4913
5356
|
# resource path
|
|
4914
|
-
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{
|
|
5357
|
+
local_var_path = '/stages/captcha/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4915
5358
|
|
|
4916
5359
|
# query parameters
|
|
4917
5360
|
query_params = opts[:query_params] || {}
|
|
@@ -4977,7 +5420,7 @@ module Authentik::Api
|
|
|
4977
5420
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_captcha_used_by_list"
|
|
4978
5421
|
end
|
|
4979
5422
|
# resource path
|
|
4980
|
-
local_var_path = '/stages/captcha/{stage_uuid}/used_by/'.sub('{
|
|
5423
|
+
local_var_path = '/stages/captcha/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
4981
5424
|
|
|
4982
5425
|
# query parameters
|
|
4983
5426
|
query_params = opts[:query_params] || {}
|
|
@@ -5104,7 +5547,7 @@ module Authentik::Api
|
|
|
5104
5547
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_consent_destroy"
|
|
5105
5548
|
end
|
|
5106
5549
|
# resource path
|
|
5107
|
-
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{
|
|
5550
|
+
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5108
5551
|
|
|
5109
5552
|
# query parameters
|
|
5110
5553
|
query_params = opts[:query_params] || {}
|
|
@@ -5146,7 +5589,7 @@ module Authentik::Api
|
|
|
5146
5589
|
# ConsentStage Viewset
|
|
5147
5590
|
# @param [Hash] opts the optional parameters
|
|
5148
5591
|
# @option opts [String] :consent_expire_in
|
|
5149
|
-
# @option opts [
|
|
5592
|
+
# @option opts [ConsentModeEnum] :mode
|
|
5150
5593
|
# @option opts [String] :name
|
|
5151
5594
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
5152
5595
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -5162,7 +5605,7 @@ module Authentik::Api
|
|
|
5162
5605
|
# ConsentStage Viewset
|
|
5163
5606
|
# @param [Hash] opts the optional parameters
|
|
5164
5607
|
# @option opts [String] :consent_expire_in
|
|
5165
|
-
# @option opts [
|
|
5608
|
+
# @option opts [ConsentModeEnum] :mode
|
|
5166
5609
|
# @option opts [String] :name
|
|
5167
5610
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
5168
5611
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
@@ -5174,10 +5617,6 @@ module Authentik::Api
|
|
|
5174
5617
|
if @api_client.config.debugging
|
|
5175
5618
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_consent_list ...'
|
|
5176
5619
|
end
|
|
5177
|
-
allowable_values = ["always_require", "expiring", "permanent"]
|
|
5178
|
-
if @api_client.config.client_side_validation && opts[:'mode'] && !allowable_values.include?(opts[:'mode'])
|
|
5179
|
-
fail ArgumentError, "invalid value for \"mode\", must be one of #{allowable_values}"
|
|
5180
|
-
end
|
|
5181
5620
|
# resource path
|
|
5182
5621
|
local_var_path = '/stages/consent/'
|
|
5183
5622
|
|
|
@@ -5250,7 +5689,7 @@ module Authentik::Api
|
|
|
5250
5689
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_consent_partial_update"
|
|
5251
5690
|
end
|
|
5252
5691
|
# resource path
|
|
5253
|
-
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{
|
|
5692
|
+
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5254
5693
|
|
|
5255
5694
|
# query parameters
|
|
5256
5695
|
query_params = opts[:query_params] || {}
|
|
@@ -5316,7 +5755,7 @@ module Authentik::Api
|
|
|
5316
5755
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_consent_retrieve"
|
|
5317
5756
|
end
|
|
5318
5757
|
# resource path
|
|
5319
|
-
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{
|
|
5758
|
+
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5320
5759
|
|
|
5321
5760
|
# query parameters
|
|
5322
5761
|
query_params = opts[:query_params] || {}
|
|
@@ -5383,7 +5822,7 @@ module Authentik::Api
|
|
|
5383
5822
|
fail ArgumentError, "Missing the required parameter 'consent_stage_request' when calling StagesApi.stages_consent_update"
|
|
5384
5823
|
end
|
|
5385
5824
|
# resource path
|
|
5386
|
-
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{
|
|
5825
|
+
local_var_path = '/stages/consent/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5387
5826
|
|
|
5388
5827
|
# query parameters
|
|
5389
5828
|
query_params = opts[:query_params] || {}
|
|
@@ -5449,7 +5888,7 @@ module Authentik::Api
|
|
|
5449
5888
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_consent_used_by_list"
|
|
5450
5889
|
end
|
|
5451
5890
|
# resource path
|
|
5452
|
-
local_var_path = '/stages/consent/{stage_uuid}/used_by/'.sub('{
|
|
5891
|
+
local_var_path = '/stages/consent/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5453
5892
|
|
|
5454
5893
|
# query parameters
|
|
5455
5894
|
query_params = opts[:query_params] || {}
|
|
@@ -5576,7 +6015,7 @@ module Authentik::Api
|
|
|
5576
6015
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_deny_destroy"
|
|
5577
6016
|
end
|
|
5578
6017
|
# resource path
|
|
5579
|
-
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{
|
|
6018
|
+
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5580
6019
|
|
|
5581
6020
|
# query parameters
|
|
5582
6021
|
query_params = opts[:query_params] || {}
|
|
@@ -5715,7 +6154,7 @@ module Authentik::Api
|
|
|
5715
6154
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_deny_partial_update"
|
|
5716
6155
|
end
|
|
5717
6156
|
# resource path
|
|
5718
|
-
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{
|
|
6157
|
+
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5719
6158
|
|
|
5720
6159
|
# query parameters
|
|
5721
6160
|
query_params = opts[:query_params] || {}
|
|
@@ -5781,7 +6220,7 @@ module Authentik::Api
|
|
|
5781
6220
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_deny_retrieve"
|
|
5782
6221
|
end
|
|
5783
6222
|
# resource path
|
|
5784
|
-
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{
|
|
6223
|
+
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5785
6224
|
|
|
5786
6225
|
# query parameters
|
|
5787
6226
|
query_params = opts[:query_params] || {}
|
|
@@ -5848,7 +6287,7 @@ module Authentik::Api
|
|
|
5848
6287
|
fail ArgumentError, "Missing the required parameter 'deny_stage_request' when calling StagesApi.stages_deny_update"
|
|
5849
6288
|
end
|
|
5850
6289
|
# resource path
|
|
5851
|
-
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{
|
|
6290
|
+
local_var_path = '/stages/deny/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5852
6291
|
|
|
5853
6292
|
# query parameters
|
|
5854
6293
|
query_params = opts[:query_params] || {}
|
|
@@ -5914,7 +6353,7 @@ module Authentik::Api
|
|
|
5914
6353
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_deny_used_by_list"
|
|
5915
6354
|
end
|
|
5916
6355
|
# resource path
|
|
5917
|
-
local_var_path = '/stages/deny/{stage_uuid}/used_by/'.sub('{
|
|
6356
|
+
local_var_path = '/stages/deny/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
5918
6357
|
|
|
5919
6358
|
# query parameters
|
|
5920
6359
|
query_params = opts[:query_params] || {}
|
|
@@ -6041,7 +6480,7 @@ module Authentik::Api
|
|
|
6041
6480
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_dummy_destroy"
|
|
6042
6481
|
end
|
|
6043
6482
|
# resource path
|
|
6044
|
-
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{
|
|
6483
|
+
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6045
6484
|
|
|
6046
6485
|
# query parameters
|
|
6047
6486
|
query_params = opts[:query_params] || {}
|
|
@@ -6180,7 +6619,7 @@ module Authentik::Api
|
|
|
6180
6619
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_dummy_partial_update"
|
|
6181
6620
|
end
|
|
6182
6621
|
# resource path
|
|
6183
|
-
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{
|
|
6622
|
+
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6184
6623
|
|
|
6185
6624
|
# query parameters
|
|
6186
6625
|
query_params = opts[:query_params] || {}
|
|
@@ -6246,7 +6685,7 @@ module Authentik::Api
|
|
|
6246
6685
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_dummy_retrieve"
|
|
6247
6686
|
end
|
|
6248
6687
|
# resource path
|
|
6249
|
-
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{
|
|
6688
|
+
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6250
6689
|
|
|
6251
6690
|
# query parameters
|
|
6252
6691
|
query_params = opts[:query_params] || {}
|
|
@@ -6313,7 +6752,7 @@ module Authentik::Api
|
|
|
6313
6752
|
fail ArgumentError, "Missing the required parameter 'dummy_stage_request' when calling StagesApi.stages_dummy_update"
|
|
6314
6753
|
end
|
|
6315
6754
|
# resource path
|
|
6316
|
-
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{
|
|
6755
|
+
local_var_path = '/stages/dummy/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6317
6756
|
|
|
6318
6757
|
# query parameters
|
|
6319
6758
|
query_params = opts[:query_params] || {}
|
|
@@ -6379,7 +6818,7 @@ module Authentik::Api
|
|
|
6379
6818
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_dummy_used_by_list"
|
|
6380
6819
|
end
|
|
6381
6820
|
# resource path
|
|
6382
|
-
local_var_path = '/stages/dummy/{stage_uuid}/used_by/'.sub('{
|
|
6821
|
+
local_var_path = '/stages/dummy/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6383
6822
|
|
|
6384
6823
|
# query parameters
|
|
6385
6824
|
query_params = opts[:query_params] || {}
|
|
@@ -6506,7 +6945,7 @@ module Authentik::Api
|
|
|
6506
6945
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_email_destroy"
|
|
6507
6946
|
end
|
|
6508
6947
|
# resource path
|
|
6509
|
-
local_var_path = '/stages/email/{stage_uuid}/'.sub('{
|
|
6948
|
+
local_var_path = '/stages/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6510
6949
|
|
|
6511
6950
|
# query parameters
|
|
6512
6951
|
query_params = opts[:query_params] || {}
|
|
@@ -6675,7 +7114,7 @@ module Authentik::Api
|
|
|
6675
7114
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_email_partial_update"
|
|
6676
7115
|
end
|
|
6677
7116
|
# resource path
|
|
6678
|
-
local_var_path = '/stages/email/{stage_uuid}/'.sub('{
|
|
7117
|
+
local_var_path = '/stages/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6679
7118
|
|
|
6680
7119
|
# query parameters
|
|
6681
7120
|
query_params = opts[:query_params] || {}
|
|
@@ -6741,7 +7180,7 @@ module Authentik::Api
|
|
|
6741
7180
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_email_retrieve"
|
|
6742
7181
|
end
|
|
6743
7182
|
# resource path
|
|
6744
|
-
local_var_path = '/stages/email/{stage_uuid}/'.sub('{
|
|
7183
|
+
local_var_path = '/stages/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6745
7184
|
|
|
6746
7185
|
# query parameters
|
|
6747
7186
|
query_params = opts[:query_params] || {}
|
|
@@ -6863,7 +7302,7 @@ module Authentik::Api
|
|
|
6863
7302
|
fail ArgumentError, "Missing the required parameter 'email_stage_request' when calling StagesApi.stages_email_update"
|
|
6864
7303
|
end
|
|
6865
7304
|
# resource path
|
|
6866
|
-
local_var_path = '/stages/email/{stage_uuid}/'.sub('{
|
|
7305
|
+
local_var_path = '/stages/email/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6867
7306
|
|
|
6868
7307
|
# query parameters
|
|
6869
7308
|
query_params = opts[:query_params] || {}
|
|
@@ -6929,7 +7368,7 @@ module Authentik::Api
|
|
|
6929
7368
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_email_used_by_list"
|
|
6930
7369
|
end
|
|
6931
7370
|
# resource path
|
|
6932
|
-
local_var_path = '/stages/email/{stage_uuid}/used_by/'.sub('{
|
|
7371
|
+
local_var_path = '/stages/email/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
6933
7372
|
|
|
6934
7373
|
# query parameters
|
|
6935
7374
|
query_params = opts[:query_params] || {}
|
|
@@ -7056,7 +7495,7 @@ module Authentik::Api
|
|
|
7056
7495
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_endpoints_destroy"
|
|
7057
7496
|
end
|
|
7058
7497
|
# resource path
|
|
7059
|
-
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{
|
|
7498
|
+
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7060
7499
|
|
|
7061
7500
|
# query parameters
|
|
7062
7501
|
query_params = opts[:query_params] || {}
|
|
@@ -7189,7 +7628,7 @@ module Authentik::Api
|
|
|
7189
7628
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_endpoints_partial_update"
|
|
7190
7629
|
end
|
|
7191
7630
|
# resource path
|
|
7192
|
-
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{
|
|
7631
|
+
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7193
7632
|
|
|
7194
7633
|
# query parameters
|
|
7195
7634
|
query_params = opts[:query_params] || {}
|
|
@@ -7255,7 +7694,7 @@ module Authentik::Api
|
|
|
7255
7694
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_endpoints_retrieve"
|
|
7256
7695
|
end
|
|
7257
7696
|
# resource path
|
|
7258
|
-
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{
|
|
7697
|
+
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7259
7698
|
|
|
7260
7699
|
# query parameters
|
|
7261
7700
|
query_params = opts[:query_params] || {}
|
|
@@ -7322,7 +7761,7 @@ module Authentik::Api
|
|
|
7322
7761
|
fail ArgumentError, "Missing the required parameter 'endpoint_stage_request' when calling StagesApi.stages_endpoints_update"
|
|
7323
7762
|
end
|
|
7324
7763
|
# resource path
|
|
7325
|
-
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{
|
|
7764
|
+
local_var_path = '/stages/endpoints/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7326
7765
|
|
|
7327
7766
|
# query parameters
|
|
7328
7767
|
query_params = opts[:query_params] || {}
|
|
@@ -7388,7 +7827,7 @@ module Authentik::Api
|
|
|
7388
7827
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_endpoints_used_by_list"
|
|
7389
7828
|
end
|
|
7390
7829
|
# resource path
|
|
7391
|
-
local_var_path = '/stages/endpoints/{stage_uuid}/used_by/'.sub('{
|
|
7830
|
+
local_var_path = '/stages/endpoints/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7392
7831
|
|
|
7393
7832
|
# query parameters
|
|
7394
7833
|
query_params = opts[:query_params] || {}
|
|
@@ -7515,7 +7954,7 @@ module Authentik::Api
|
|
|
7515
7954
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_identification_destroy"
|
|
7516
7955
|
end
|
|
7517
7956
|
# resource path
|
|
7518
|
-
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{
|
|
7957
|
+
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7519
7958
|
|
|
7520
7959
|
# query parameters
|
|
7521
7960
|
query_params = opts[:query_params] || {}
|
|
@@ -7675,7 +8114,7 @@ module Authentik::Api
|
|
|
7675
8114
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_identification_partial_update"
|
|
7676
8115
|
end
|
|
7677
8116
|
# resource path
|
|
7678
|
-
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{
|
|
8117
|
+
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7679
8118
|
|
|
7680
8119
|
# query parameters
|
|
7681
8120
|
query_params = opts[:query_params] || {}
|
|
@@ -7741,7 +8180,7 @@ module Authentik::Api
|
|
|
7741
8180
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_identification_retrieve"
|
|
7742
8181
|
end
|
|
7743
8182
|
# resource path
|
|
7744
|
-
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{
|
|
8183
|
+
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7745
8184
|
|
|
7746
8185
|
# query parameters
|
|
7747
8186
|
query_params = opts[:query_params] || {}
|
|
@@ -7808,7 +8247,7 @@ module Authentik::Api
|
|
|
7808
8247
|
fail ArgumentError, "Missing the required parameter 'identification_stage_request' when calling StagesApi.stages_identification_update"
|
|
7809
8248
|
end
|
|
7810
8249
|
# resource path
|
|
7811
|
-
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{
|
|
8250
|
+
local_var_path = '/stages/identification/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7812
8251
|
|
|
7813
8252
|
# query parameters
|
|
7814
8253
|
query_params = opts[:query_params] || {}
|
|
@@ -7874,7 +8313,7 @@ module Authentik::Api
|
|
|
7874
8313
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_identification_used_by_list"
|
|
7875
8314
|
end
|
|
7876
8315
|
# resource path
|
|
7877
|
-
local_var_path = '/stages/identification/{stage_uuid}/used_by/'.sub('{
|
|
8316
|
+
local_var_path = '/stages/identification/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
7878
8317
|
|
|
7879
8318
|
# query parameters
|
|
7880
8319
|
query_params = opts[:query_params] || {}
|
|
@@ -8001,7 +8440,7 @@ module Authentik::Api
|
|
|
8001
8440
|
fail ArgumentError, "Missing the required parameter 'invite_uuid' when calling StagesApi.stages_invitation_invitations_destroy"
|
|
8002
8441
|
end
|
|
8003
8442
|
# resource path
|
|
8004
|
-
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{
|
|
8443
|
+
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{invite_uuid}', CGI.escape(invite_uuid.to_s))
|
|
8005
8444
|
|
|
8006
8445
|
# query parameters
|
|
8007
8446
|
query_params = opts[:query_params] || {}
|
|
@@ -8143,7 +8582,7 @@ module Authentik::Api
|
|
|
8143
8582
|
fail ArgumentError, "Missing the required parameter 'invite_uuid' when calling StagesApi.stages_invitation_invitations_partial_update"
|
|
8144
8583
|
end
|
|
8145
8584
|
# resource path
|
|
8146
|
-
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{
|
|
8585
|
+
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{invite_uuid}', CGI.escape(invite_uuid.to_s))
|
|
8147
8586
|
|
|
8148
8587
|
# query parameters
|
|
8149
8588
|
query_params = opts[:query_params] || {}
|
|
@@ -8209,7 +8648,7 @@ module Authentik::Api
|
|
|
8209
8648
|
fail ArgumentError, "Missing the required parameter 'invite_uuid' when calling StagesApi.stages_invitation_invitations_retrieve"
|
|
8210
8649
|
end
|
|
8211
8650
|
# resource path
|
|
8212
|
-
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{
|
|
8651
|
+
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{invite_uuid}', CGI.escape(invite_uuid.to_s))
|
|
8213
8652
|
|
|
8214
8653
|
# query parameters
|
|
8215
8654
|
query_params = opts[:query_params] || {}
|
|
@@ -8248,6 +8687,78 @@ module Authentik::Api
|
|
|
8248
8687
|
return data, status_code, headers
|
|
8249
8688
|
end
|
|
8250
8689
|
|
|
8690
|
+
# Send invitation link via email to one or more addresses
|
|
8691
|
+
# @param invite_uuid [String] A UUID string identifying this Invitation.
|
|
8692
|
+
# @param invitation_send_email_request [InvitationSendEmailRequest]
|
|
8693
|
+
# @param [Hash] opts the optional parameters
|
|
8694
|
+
# @return [nil]
|
|
8695
|
+
def stages_invitation_invitations_send_email_create(invite_uuid, invitation_send_email_request, opts = {})
|
|
8696
|
+
stages_invitation_invitations_send_email_create_with_http_info(invite_uuid, invitation_send_email_request, opts)
|
|
8697
|
+
nil
|
|
8698
|
+
end
|
|
8699
|
+
|
|
8700
|
+
# Send invitation link via email to one or more addresses
|
|
8701
|
+
# @param invite_uuid [String] A UUID string identifying this Invitation.
|
|
8702
|
+
# @param invitation_send_email_request [InvitationSendEmailRequest]
|
|
8703
|
+
# @param [Hash] opts the optional parameters
|
|
8704
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
8705
|
+
def stages_invitation_invitations_send_email_create_with_http_info(invite_uuid, invitation_send_email_request, opts = {})
|
|
8706
|
+
if @api_client.config.debugging
|
|
8707
|
+
@api_client.config.logger.debug 'Calling API: StagesApi.stages_invitation_invitations_send_email_create ...'
|
|
8708
|
+
end
|
|
8709
|
+
# verify the required parameter 'invite_uuid' is set
|
|
8710
|
+
if @api_client.config.client_side_validation && invite_uuid.nil?
|
|
8711
|
+
fail ArgumentError, "Missing the required parameter 'invite_uuid' when calling StagesApi.stages_invitation_invitations_send_email_create"
|
|
8712
|
+
end
|
|
8713
|
+
# verify the required parameter 'invitation_send_email_request' is set
|
|
8714
|
+
if @api_client.config.client_side_validation && invitation_send_email_request.nil?
|
|
8715
|
+
fail ArgumentError, "Missing the required parameter 'invitation_send_email_request' when calling StagesApi.stages_invitation_invitations_send_email_create"
|
|
8716
|
+
end
|
|
8717
|
+
# resource path
|
|
8718
|
+
local_var_path = '/stages/invitation/invitations/{invite_uuid}/send_email/'.sub('{invite_uuid}', CGI.escape(invite_uuid.to_s))
|
|
8719
|
+
|
|
8720
|
+
# query parameters
|
|
8721
|
+
query_params = opts[:query_params] || {}
|
|
8722
|
+
|
|
8723
|
+
# header parameters
|
|
8724
|
+
header_params = opts[:header_params] || {}
|
|
8725
|
+
# HTTP header 'Accept' (if needed)
|
|
8726
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
8727
|
+
# HTTP header 'Content-Type'
|
|
8728
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
8729
|
+
if !content_type.nil?
|
|
8730
|
+
header_params['Content-Type'] = content_type
|
|
8731
|
+
end
|
|
8732
|
+
|
|
8733
|
+
# form parameters
|
|
8734
|
+
form_params = opts[:form_params] || {}
|
|
8735
|
+
|
|
8736
|
+
# http body (model)
|
|
8737
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(invitation_send_email_request)
|
|
8738
|
+
|
|
8739
|
+
# return_type
|
|
8740
|
+
return_type = opts[:debug_return_type]
|
|
8741
|
+
|
|
8742
|
+
# auth_names
|
|
8743
|
+
auth_names = opts[:debug_auth_names] || ['authentik']
|
|
8744
|
+
|
|
8745
|
+
new_options = opts.merge(
|
|
8746
|
+
:operation => :"StagesApi.stages_invitation_invitations_send_email_create",
|
|
8747
|
+
:header_params => header_params,
|
|
8748
|
+
:query_params => query_params,
|
|
8749
|
+
:form_params => form_params,
|
|
8750
|
+
:body => post_body,
|
|
8751
|
+
:auth_names => auth_names,
|
|
8752
|
+
:return_type => return_type
|
|
8753
|
+
)
|
|
8754
|
+
|
|
8755
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
8756
|
+
if @api_client.config.debugging
|
|
8757
|
+
@api_client.config.logger.debug "API called: StagesApi#stages_invitation_invitations_send_email_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8758
|
+
end
|
|
8759
|
+
return data, status_code, headers
|
|
8760
|
+
end
|
|
8761
|
+
|
|
8251
8762
|
# Invitation Viewset
|
|
8252
8763
|
# @param invite_uuid [String] A UUID string identifying this Invitation.
|
|
8253
8764
|
# @param invitation_request [InvitationRequest]
|
|
@@ -8276,7 +8787,7 @@ module Authentik::Api
|
|
|
8276
8787
|
fail ArgumentError, "Missing the required parameter 'invitation_request' when calling StagesApi.stages_invitation_invitations_update"
|
|
8277
8788
|
end
|
|
8278
8789
|
# resource path
|
|
8279
|
-
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{
|
|
8790
|
+
local_var_path = '/stages/invitation/invitations/{invite_uuid}/'.sub('{invite_uuid}', CGI.escape(invite_uuid.to_s))
|
|
8280
8791
|
|
|
8281
8792
|
# query parameters
|
|
8282
8793
|
query_params = opts[:query_params] || {}
|
|
@@ -8342,7 +8853,7 @@ module Authentik::Api
|
|
|
8342
8853
|
fail ArgumentError, "Missing the required parameter 'invite_uuid' when calling StagesApi.stages_invitation_invitations_used_by_list"
|
|
8343
8854
|
end
|
|
8344
8855
|
# resource path
|
|
8345
|
-
local_var_path = '/stages/invitation/invitations/{invite_uuid}/used_by/'.sub('{
|
|
8856
|
+
local_var_path = '/stages/invitation/invitations/{invite_uuid}/used_by/'.sub('{invite_uuid}', CGI.escape(invite_uuid.to_s))
|
|
8346
8857
|
|
|
8347
8858
|
# query parameters
|
|
8348
8859
|
query_params = opts[:query_params] || {}
|
|
@@ -8469,7 +8980,7 @@ module Authentik::Api
|
|
|
8469
8980
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_invitation_stages_destroy"
|
|
8470
8981
|
end
|
|
8471
8982
|
# resource path
|
|
8472
|
-
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{
|
|
8983
|
+
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
8473
8984
|
|
|
8474
8985
|
# query parameters
|
|
8475
8986
|
query_params = opts[:query_params] || {}
|
|
@@ -8611,7 +9122,7 @@ module Authentik::Api
|
|
|
8611
9122
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_invitation_stages_partial_update"
|
|
8612
9123
|
end
|
|
8613
9124
|
# resource path
|
|
8614
|
-
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{
|
|
9125
|
+
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
8615
9126
|
|
|
8616
9127
|
# query parameters
|
|
8617
9128
|
query_params = opts[:query_params] || {}
|
|
@@ -8677,7 +9188,7 @@ module Authentik::Api
|
|
|
8677
9188
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_invitation_stages_retrieve"
|
|
8678
9189
|
end
|
|
8679
9190
|
# resource path
|
|
8680
|
-
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{
|
|
9191
|
+
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
8681
9192
|
|
|
8682
9193
|
# query parameters
|
|
8683
9194
|
query_params = opts[:query_params] || {}
|
|
@@ -8744,7 +9255,7 @@ module Authentik::Api
|
|
|
8744
9255
|
fail ArgumentError, "Missing the required parameter 'invitation_stage_request' when calling StagesApi.stages_invitation_stages_update"
|
|
8745
9256
|
end
|
|
8746
9257
|
# resource path
|
|
8747
|
-
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{
|
|
9258
|
+
local_var_path = '/stages/invitation/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
8748
9259
|
|
|
8749
9260
|
# query parameters
|
|
8750
9261
|
query_params = opts[:query_params] || {}
|
|
@@ -8810,7 +9321,7 @@ module Authentik::Api
|
|
|
8810
9321
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_invitation_stages_used_by_list"
|
|
8811
9322
|
end
|
|
8812
9323
|
# resource path
|
|
8813
|
-
local_var_path = '/stages/invitation/stages/{stage_uuid}/used_by/'.sub('{
|
|
9324
|
+
local_var_path = '/stages/invitation/stages/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
8814
9325
|
|
|
8815
9326
|
# query parameters
|
|
8816
9327
|
query_params = opts[:query_params] || {}
|
|
@@ -8937,7 +9448,7 @@ module Authentik::Api
|
|
|
8937
9448
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_mtls_destroy"
|
|
8938
9449
|
end
|
|
8939
9450
|
# resource path
|
|
8940
|
-
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{
|
|
9451
|
+
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
8941
9452
|
|
|
8942
9453
|
# query parameters
|
|
8943
9454
|
query_params = opts[:query_params] || {}
|
|
@@ -8978,16 +9489,16 @@ module Authentik::Api
|
|
|
8978
9489
|
|
|
8979
9490
|
# MutualTLSStage Viewset
|
|
8980
9491
|
# @param [Hash] opts the optional parameters
|
|
8981
|
-
# @option opts [
|
|
9492
|
+
# @option opts [CertAttributeEnum] :cert_attribute
|
|
8982
9493
|
# @option opts [Array<String>] :certificate_authorities
|
|
8983
|
-
# @option opts [
|
|
9494
|
+
# @option opts [StageModeEnum] :mode
|
|
8984
9495
|
# @option opts [String] :name
|
|
8985
9496
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
8986
9497
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
8987
9498
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
8988
9499
|
# @option opts [String] :search A search term.
|
|
8989
9500
|
# @option opts [String] :stage_uuid
|
|
8990
|
-
# @option opts [
|
|
9501
|
+
# @option opts [UserAttributeEnum] :user_attribute
|
|
8991
9502
|
# @return [PaginatedMutualTLSStageList]
|
|
8992
9503
|
def stages_mtls_list(opts = {})
|
|
8993
9504
|
data, _status_code, _headers = stages_mtls_list_with_http_info(opts)
|
|
@@ -8996,33 +9507,21 @@ module Authentik::Api
|
|
|
8996
9507
|
|
|
8997
9508
|
# MutualTLSStage Viewset
|
|
8998
9509
|
# @param [Hash] opts the optional parameters
|
|
8999
|
-
# @option opts [
|
|
9510
|
+
# @option opts [CertAttributeEnum] :cert_attribute
|
|
9000
9511
|
# @option opts [Array<String>] :certificate_authorities
|
|
9001
|
-
# @option opts [
|
|
9512
|
+
# @option opts [StageModeEnum] :mode
|
|
9002
9513
|
# @option opts [String] :name
|
|
9003
9514
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
9004
9515
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
9005
9516
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
9006
9517
|
# @option opts [String] :search A search term.
|
|
9007
9518
|
# @option opts [String] :stage_uuid
|
|
9008
|
-
# @option opts [
|
|
9519
|
+
# @option opts [UserAttributeEnum] :user_attribute
|
|
9009
9520
|
# @return [Array<(PaginatedMutualTLSStageList, Integer, Hash)>] PaginatedMutualTLSStageList data, response status code and response headers
|
|
9010
9521
|
def stages_mtls_list_with_http_info(opts = {})
|
|
9011
9522
|
if @api_client.config.debugging
|
|
9012
9523
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_mtls_list ...'
|
|
9013
9524
|
end
|
|
9014
|
-
allowable_values = ["common_name", "email", "subject"]
|
|
9015
|
-
if @api_client.config.client_side_validation && opts[:'cert_attribute'] && !allowable_values.include?(opts[:'cert_attribute'])
|
|
9016
|
-
fail ArgumentError, "invalid value for \"cert_attribute\", must be one of #{allowable_values}"
|
|
9017
|
-
end
|
|
9018
|
-
allowable_values = ["optional", "required"]
|
|
9019
|
-
if @api_client.config.client_side_validation && opts[:'mode'] && !allowable_values.include?(opts[:'mode'])
|
|
9020
|
-
fail ArgumentError, "invalid value for \"mode\", must be one of #{allowable_values}"
|
|
9021
|
-
end
|
|
9022
|
-
allowable_values = ["email", "username"]
|
|
9023
|
-
if @api_client.config.client_side_validation && opts[:'user_attribute'] && !allowable_values.include?(opts[:'user_attribute'])
|
|
9024
|
-
fail ArgumentError, "invalid value for \"user_attribute\", must be one of #{allowable_values}"
|
|
9025
|
-
end
|
|
9026
9525
|
# resource path
|
|
9027
9526
|
local_var_path = '/stages/mtls/'
|
|
9028
9527
|
|
|
@@ -9097,7 +9596,7 @@ module Authentik::Api
|
|
|
9097
9596
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_mtls_partial_update"
|
|
9098
9597
|
end
|
|
9099
9598
|
# resource path
|
|
9100
|
-
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{
|
|
9599
|
+
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9101
9600
|
|
|
9102
9601
|
# query parameters
|
|
9103
9602
|
query_params = opts[:query_params] || {}
|
|
@@ -9163,7 +9662,7 @@ module Authentik::Api
|
|
|
9163
9662
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_mtls_retrieve"
|
|
9164
9663
|
end
|
|
9165
9664
|
# resource path
|
|
9166
|
-
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{
|
|
9665
|
+
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9167
9666
|
|
|
9168
9667
|
# query parameters
|
|
9169
9668
|
query_params = opts[:query_params] || {}
|
|
@@ -9230,7 +9729,7 @@ module Authentik::Api
|
|
|
9230
9729
|
fail ArgumentError, "Missing the required parameter 'mutual_tls_stage_request' when calling StagesApi.stages_mtls_update"
|
|
9231
9730
|
end
|
|
9232
9731
|
# resource path
|
|
9233
|
-
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{
|
|
9732
|
+
local_var_path = '/stages/mtls/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9234
9733
|
|
|
9235
9734
|
# query parameters
|
|
9236
9735
|
query_params = opts[:query_params] || {}
|
|
@@ -9296,7 +9795,7 @@ module Authentik::Api
|
|
|
9296
9795
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_mtls_used_by_list"
|
|
9297
9796
|
end
|
|
9298
9797
|
# resource path
|
|
9299
|
-
local_var_path = '/stages/mtls/{stage_uuid}/used_by/'.sub('{
|
|
9798
|
+
local_var_path = '/stages/mtls/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9300
9799
|
|
|
9301
9800
|
# query parameters
|
|
9302
9801
|
query_params = opts[:query_params] || {}
|
|
@@ -9423,7 +9922,7 @@ module Authentik::Api
|
|
|
9423
9922
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_password_destroy"
|
|
9424
9923
|
end
|
|
9425
9924
|
# resource path
|
|
9426
|
-
local_var_path = '/stages/password/{stage_uuid}/'.sub('{
|
|
9925
|
+
local_var_path = '/stages/password/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9427
9926
|
|
|
9428
9927
|
# query parameters
|
|
9429
9928
|
query_params = opts[:query_params] || {}
|
|
@@ -9565,7 +10064,7 @@ module Authentik::Api
|
|
|
9565
10064
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_password_partial_update"
|
|
9566
10065
|
end
|
|
9567
10066
|
# resource path
|
|
9568
|
-
local_var_path = '/stages/password/{stage_uuid}/'.sub('{
|
|
10067
|
+
local_var_path = '/stages/password/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9569
10068
|
|
|
9570
10069
|
# query parameters
|
|
9571
10070
|
query_params = opts[:query_params] || {}
|
|
@@ -9631,7 +10130,7 @@ module Authentik::Api
|
|
|
9631
10130
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_password_retrieve"
|
|
9632
10131
|
end
|
|
9633
10132
|
# resource path
|
|
9634
|
-
local_var_path = '/stages/password/{stage_uuid}/'.sub('{
|
|
10133
|
+
local_var_path = '/stages/password/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9635
10134
|
|
|
9636
10135
|
# query parameters
|
|
9637
10136
|
query_params = opts[:query_params] || {}
|
|
@@ -9698,7 +10197,7 @@ module Authentik::Api
|
|
|
9698
10197
|
fail ArgumentError, "Missing the required parameter 'password_stage_request' when calling StagesApi.stages_password_update"
|
|
9699
10198
|
end
|
|
9700
10199
|
# resource path
|
|
9701
|
-
local_var_path = '/stages/password/{stage_uuid}/'.sub('{
|
|
10200
|
+
local_var_path = '/stages/password/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9702
10201
|
|
|
9703
10202
|
# query parameters
|
|
9704
10203
|
query_params = opts[:query_params] || {}
|
|
@@ -9764,7 +10263,7 @@ module Authentik::Api
|
|
|
9764
10263
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_password_used_by_list"
|
|
9765
10264
|
end
|
|
9766
10265
|
# resource path
|
|
9767
|
-
local_var_path = '/stages/password/{stage_uuid}/used_by/'.sub('{
|
|
10266
|
+
local_var_path = '/stages/password/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
9768
10267
|
|
|
9769
10268
|
# query parameters
|
|
9770
10269
|
query_params = opts[:query_params] || {}
|
|
@@ -9891,7 +10390,7 @@ module Authentik::Api
|
|
|
9891
10390
|
fail ArgumentError, "Missing the required parameter 'prompt_uuid' when calling StagesApi.stages_prompt_prompts_destroy"
|
|
9892
10391
|
end
|
|
9893
10392
|
# resource path
|
|
9894
|
-
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{
|
|
10393
|
+
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{prompt_uuid}', CGI.escape(prompt_uuid.to_s))
|
|
9895
10394
|
|
|
9896
10395
|
# query parameters
|
|
9897
10396
|
query_params = opts[:query_params] || {}
|
|
@@ -9940,7 +10439,7 @@ module Authentik::Api
|
|
|
9940
10439
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
9941
10440
|
# @option opts [String] :placeholder
|
|
9942
10441
|
# @option opts [String] :search A search term.
|
|
9943
|
-
# @option opts [
|
|
10442
|
+
# @option opts [PromptTypeEnum] :type
|
|
9944
10443
|
# @return [PaginatedPromptList]
|
|
9945
10444
|
def stages_prompt_prompts_list(opts = {})
|
|
9946
10445
|
data, _status_code, _headers = stages_prompt_prompts_list_with_http_info(opts)
|
|
@@ -9957,16 +10456,12 @@ module Authentik::Api
|
|
|
9957
10456
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
9958
10457
|
# @option opts [String] :placeholder
|
|
9959
10458
|
# @option opts [String] :search A search term.
|
|
9960
|
-
# @option opts [
|
|
10459
|
+
# @option opts [PromptTypeEnum] :type
|
|
9961
10460
|
# @return [Array<(PaginatedPromptList, Integer, Hash)>] PaginatedPromptList data, response status code and response headers
|
|
9962
10461
|
def stages_prompt_prompts_list_with_http_info(opts = {})
|
|
9963
10462
|
if @api_client.config.debugging
|
|
9964
10463
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_prompt_prompts_list ...'
|
|
9965
10464
|
end
|
|
9966
|
-
allowable_values = ["ak-locale", "checkbox", "date", "date-time", "dropdown", "email", "file", "hidden", "number", "password", "radio-button-group", "separator", "static", "text", "text_area", "text_area_read_only", "text_read_only", "username"]
|
|
9967
|
-
if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
|
|
9968
|
-
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
|
9969
|
-
end
|
|
9970
10465
|
# resource path
|
|
9971
10466
|
local_var_path = '/stages/prompt/prompts/'
|
|
9972
10467
|
|
|
@@ -10040,7 +10535,7 @@ module Authentik::Api
|
|
|
10040
10535
|
fail ArgumentError, "Missing the required parameter 'prompt_uuid' when calling StagesApi.stages_prompt_prompts_partial_update"
|
|
10041
10536
|
end
|
|
10042
10537
|
# resource path
|
|
10043
|
-
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{
|
|
10538
|
+
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{prompt_uuid}', CGI.escape(prompt_uuid.to_s))
|
|
10044
10539
|
|
|
10045
10540
|
# query parameters
|
|
10046
10541
|
query_params = opts[:query_params] || {}
|
|
@@ -10172,7 +10667,7 @@ module Authentik::Api
|
|
|
10172
10667
|
fail ArgumentError, "Missing the required parameter 'prompt_uuid' when calling StagesApi.stages_prompt_prompts_retrieve"
|
|
10173
10668
|
end
|
|
10174
10669
|
# resource path
|
|
10175
|
-
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{
|
|
10670
|
+
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{prompt_uuid}', CGI.escape(prompt_uuid.to_s))
|
|
10176
10671
|
|
|
10177
10672
|
# query parameters
|
|
10178
10673
|
query_params = opts[:query_params] || {}
|
|
@@ -10239,7 +10734,7 @@ module Authentik::Api
|
|
|
10239
10734
|
fail ArgumentError, "Missing the required parameter 'prompt_request' when calling StagesApi.stages_prompt_prompts_update"
|
|
10240
10735
|
end
|
|
10241
10736
|
# resource path
|
|
10242
|
-
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{
|
|
10737
|
+
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/'.sub('{prompt_uuid}', CGI.escape(prompt_uuid.to_s))
|
|
10243
10738
|
|
|
10244
10739
|
# query parameters
|
|
10245
10740
|
query_params = opts[:query_params] || {}
|
|
@@ -10305,7 +10800,7 @@ module Authentik::Api
|
|
|
10305
10800
|
fail ArgumentError, "Missing the required parameter 'prompt_uuid' when calling StagesApi.stages_prompt_prompts_used_by_list"
|
|
10306
10801
|
end
|
|
10307
10802
|
# resource path
|
|
10308
|
-
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/used_by/'.sub('{
|
|
10803
|
+
local_var_path = '/stages/prompt/prompts/{prompt_uuid}/used_by/'.sub('{prompt_uuid}', CGI.escape(prompt_uuid.to_s))
|
|
10309
10804
|
|
|
10310
10805
|
# query parameters
|
|
10311
10806
|
query_params = opts[:query_params] || {}
|
|
@@ -10432,7 +10927,7 @@ module Authentik::Api
|
|
|
10432
10927
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_prompt_stages_destroy"
|
|
10433
10928
|
end
|
|
10434
10929
|
# resource path
|
|
10435
|
-
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{
|
|
10930
|
+
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
10436
10931
|
|
|
10437
10932
|
# query parameters
|
|
10438
10933
|
query_params = opts[:query_params] || {}
|
|
@@ -10574,7 +11069,7 @@ module Authentik::Api
|
|
|
10574
11069
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_prompt_stages_partial_update"
|
|
10575
11070
|
end
|
|
10576
11071
|
# resource path
|
|
10577
|
-
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{
|
|
11072
|
+
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
10578
11073
|
|
|
10579
11074
|
# query parameters
|
|
10580
11075
|
query_params = opts[:query_params] || {}
|
|
@@ -10640,7 +11135,7 @@ module Authentik::Api
|
|
|
10640
11135
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_prompt_stages_retrieve"
|
|
10641
11136
|
end
|
|
10642
11137
|
# resource path
|
|
10643
|
-
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{
|
|
11138
|
+
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
10644
11139
|
|
|
10645
11140
|
# query parameters
|
|
10646
11141
|
query_params = opts[:query_params] || {}
|
|
@@ -10707,7 +11202,7 @@ module Authentik::Api
|
|
|
10707
11202
|
fail ArgumentError, "Missing the required parameter 'prompt_stage_request' when calling StagesApi.stages_prompt_stages_update"
|
|
10708
11203
|
end
|
|
10709
11204
|
# resource path
|
|
10710
|
-
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{
|
|
11205
|
+
local_var_path = '/stages/prompt/stages/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
10711
11206
|
|
|
10712
11207
|
# query parameters
|
|
10713
11208
|
query_params = opts[:query_params] || {}
|
|
@@ -10773,7 +11268,7 @@ module Authentik::Api
|
|
|
10773
11268
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_prompt_stages_used_by_list"
|
|
10774
11269
|
end
|
|
10775
11270
|
# resource path
|
|
10776
|
-
local_var_path = '/stages/prompt/stages/{stage_uuid}/used_by/'.sub('{
|
|
11271
|
+
local_var_path = '/stages/prompt/stages/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
10777
11272
|
|
|
10778
11273
|
# query parameters
|
|
10779
11274
|
query_params = opts[:query_params] || {}
|
|
@@ -10900,7 +11395,7 @@ module Authentik::Api
|
|
|
10900
11395
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_redirect_destroy"
|
|
10901
11396
|
end
|
|
10902
11397
|
# resource path
|
|
10903
|
-
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{
|
|
11398
|
+
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
10904
11399
|
|
|
10905
11400
|
# query parameters
|
|
10906
11401
|
query_params = opts[:query_params] || {}
|
|
@@ -11033,7 +11528,7 @@ module Authentik::Api
|
|
|
11033
11528
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_redirect_partial_update"
|
|
11034
11529
|
end
|
|
11035
11530
|
# resource path
|
|
11036
|
-
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{
|
|
11531
|
+
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11037
11532
|
|
|
11038
11533
|
# query parameters
|
|
11039
11534
|
query_params = opts[:query_params] || {}
|
|
@@ -11099,7 +11594,7 @@ module Authentik::Api
|
|
|
11099
11594
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_redirect_retrieve"
|
|
11100
11595
|
end
|
|
11101
11596
|
# resource path
|
|
11102
|
-
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{
|
|
11597
|
+
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11103
11598
|
|
|
11104
11599
|
# query parameters
|
|
11105
11600
|
query_params = opts[:query_params] || {}
|
|
@@ -11166,7 +11661,7 @@ module Authentik::Api
|
|
|
11166
11661
|
fail ArgumentError, "Missing the required parameter 'redirect_stage_request' when calling StagesApi.stages_redirect_update"
|
|
11167
11662
|
end
|
|
11168
11663
|
# resource path
|
|
11169
|
-
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{
|
|
11664
|
+
local_var_path = '/stages/redirect/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11170
11665
|
|
|
11171
11666
|
# query parameters
|
|
11172
11667
|
query_params = opts[:query_params] || {}
|
|
@@ -11232,7 +11727,7 @@ module Authentik::Api
|
|
|
11232
11727
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_redirect_used_by_list"
|
|
11233
11728
|
end
|
|
11234
11729
|
# resource path
|
|
11235
|
-
local_var_path = '/stages/redirect/{stage_uuid}/used_by/'.sub('{
|
|
11730
|
+
local_var_path = '/stages/redirect/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11236
11731
|
|
|
11237
11732
|
# query parameters
|
|
11238
11733
|
query_params = opts[:query_params] || {}
|
|
@@ -11359,7 +11854,7 @@ module Authentik::Api
|
|
|
11359
11854
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_source_destroy"
|
|
11360
11855
|
end
|
|
11361
11856
|
# resource path
|
|
11362
|
-
local_var_path = '/stages/source/{stage_uuid}/'.sub('{
|
|
11857
|
+
local_var_path = '/stages/source/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11363
11858
|
|
|
11364
11859
|
# query parameters
|
|
11365
11860
|
query_params = opts[:query_params] || {}
|
|
@@ -11501,7 +11996,7 @@ module Authentik::Api
|
|
|
11501
11996
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_source_partial_update"
|
|
11502
11997
|
end
|
|
11503
11998
|
# resource path
|
|
11504
|
-
local_var_path = '/stages/source/{stage_uuid}/'.sub('{
|
|
11999
|
+
local_var_path = '/stages/source/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11505
12000
|
|
|
11506
12001
|
# query parameters
|
|
11507
12002
|
query_params = opts[:query_params] || {}
|
|
@@ -11567,7 +12062,7 @@ module Authentik::Api
|
|
|
11567
12062
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_source_retrieve"
|
|
11568
12063
|
end
|
|
11569
12064
|
# resource path
|
|
11570
|
-
local_var_path = '/stages/source/{stage_uuid}/'.sub('{
|
|
12065
|
+
local_var_path = '/stages/source/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11571
12066
|
|
|
11572
12067
|
# query parameters
|
|
11573
12068
|
query_params = opts[:query_params] || {}
|
|
@@ -11634,7 +12129,7 @@ module Authentik::Api
|
|
|
11634
12129
|
fail ArgumentError, "Missing the required parameter 'source_stage_request' when calling StagesApi.stages_source_update"
|
|
11635
12130
|
end
|
|
11636
12131
|
# resource path
|
|
11637
|
-
local_var_path = '/stages/source/{stage_uuid}/'.sub('{
|
|
12132
|
+
local_var_path = '/stages/source/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11638
12133
|
|
|
11639
12134
|
# query parameters
|
|
11640
12135
|
query_params = opts[:query_params] || {}
|
|
@@ -11700,7 +12195,7 @@ module Authentik::Api
|
|
|
11700
12195
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_source_used_by_list"
|
|
11701
12196
|
end
|
|
11702
12197
|
# resource path
|
|
11703
|
-
local_var_path = '/stages/source/{stage_uuid}/used_by/'.sub('{
|
|
12198
|
+
local_var_path = '/stages/source/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11704
12199
|
|
|
11705
12200
|
# query parameters
|
|
11706
12201
|
query_params = opts[:query_params] || {}
|
|
@@ -11827,7 +12322,7 @@ module Authentik::Api
|
|
|
11827
12322
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_delete_destroy"
|
|
11828
12323
|
end
|
|
11829
12324
|
# resource path
|
|
11830
|
-
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{
|
|
12325
|
+
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11831
12326
|
|
|
11832
12327
|
# query parameters
|
|
11833
12328
|
query_params = opts[:query_params] || {}
|
|
@@ -11963,7 +12458,7 @@ module Authentik::Api
|
|
|
11963
12458
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_delete_partial_update"
|
|
11964
12459
|
end
|
|
11965
12460
|
# resource path
|
|
11966
|
-
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{
|
|
12461
|
+
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
11967
12462
|
|
|
11968
12463
|
# query parameters
|
|
11969
12464
|
query_params = opts[:query_params] || {}
|
|
@@ -12029,7 +12524,7 @@ module Authentik::Api
|
|
|
12029
12524
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_delete_retrieve"
|
|
12030
12525
|
end
|
|
12031
12526
|
# resource path
|
|
12032
|
-
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{
|
|
12527
|
+
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12033
12528
|
|
|
12034
12529
|
# query parameters
|
|
12035
12530
|
query_params = opts[:query_params] || {}
|
|
@@ -12096,7 +12591,7 @@ module Authentik::Api
|
|
|
12096
12591
|
fail ArgumentError, "Missing the required parameter 'user_delete_stage_request' when calling StagesApi.stages_user_delete_update"
|
|
12097
12592
|
end
|
|
12098
12593
|
# resource path
|
|
12099
|
-
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{
|
|
12594
|
+
local_var_path = '/stages/user_delete/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12100
12595
|
|
|
12101
12596
|
# query parameters
|
|
12102
12597
|
query_params = opts[:query_params] || {}
|
|
@@ -12162,7 +12657,7 @@ module Authentik::Api
|
|
|
12162
12657
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_delete_used_by_list"
|
|
12163
12658
|
end
|
|
12164
12659
|
# resource path
|
|
12165
|
-
local_var_path = '/stages/user_delete/{stage_uuid}/used_by/'.sub('{
|
|
12660
|
+
local_var_path = '/stages/user_delete/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12166
12661
|
|
|
12167
12662
|
# query parameters
|
|
12168
12663
|
query_params = opts[:query_params] || {}
|
|
@@ -12289,7 +12784,7 @@ module Authentik::Api
|
|
|
12289
12784
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_login_destroy"
|
|
12290
12785
|
end
|
|
12291
12786
|
# resource path
|
|
12292
|
-
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{
|
|
12787
|
+
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12293
12788
|
|
|
12294
12789
|
# query parameters
|
|
12295
12790
|
query_params = opts[:query_params] || {}
|
|
@@ -12330,9 +12825,9 @@ module Authentik::Api
|
|
|
12330
12825
|
|
|
12331
12826
|
# UserLoginStage Viewset
|
|
12332
12827
|
# @param [Hash] opts the optional parameters
|
|
12333
|
-
# @option opts [
|
|
12828
|
+
# @option opts [GeoipBindingEnum] :geoip_binding
|
|
12334
12829
|
# @option opts [String] :name
|
|
12335
|
-
# @option opts [
|
|
12830
|
+
# @option opts [NetworkBindingEnum] :network_binding
|
|
12336
12831
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
12337
12832
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
12338
12833
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
@@ -12350,9 +12845,9 @@ module Authentik::Api
|
|
|
12350
12845
|
|
|
12351
12846
|
# UserLoginStage Viewset
|
|
12352
12847
|
# @param [Hash] opts the optional parameters
|
|
12353
|
-
# @option opts [
|
|
12848
|
+
# @option opts [GeoipBindingEnum] :geoip_binding
|
|
12354
12849
|
# @option opts [String] :name
|
|
12355
|
-
# @option opts [
|
|
12850
|
+
# @option opts [NetworkBindingEnum] :network_binding
|
|
12356
12851
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
12357
12852
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
12358
12853
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
@@ -12367,14 +12862,6 @@ module Authentik::Api
|
|
|
12367
12862
|
if @api_client.config.debugging
|
|
12368
12863
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_user_login_list ...'
|
|
12369
12864
|
end
|
|
12370
|
-
allowable_values = ["bind_continent", "bind_continent_country", "bind_continent_country_city", "no_binding"]
|
|
12371
|
-
if @api_client.config.client_side_validation && opts[:'geoip_binding'] && !allowable_values.include?(opts[:'geoip_binding'])
|
|
12372
|
-
fail ArgumentError, "invalid value for \"geoip_binding\", must be one of #{allowable_values}"
|
|
12373
|
-
end
|
|
12374
|
-
allowable_values = ["bind_asn", "bind_asn_network", "bind_asn_network_ip", "no_binding"]
|
|
12375
|
-
if @api_client.config.client_side_validation && opts[:'network_binding'] && !allowable_values.include?(opts[:'network_binding'])
|
|
12376
|
-
fail ArgumentError, "invalid value for \"network_binding\", must be one of #{allowable_values}"
|
|
12377
|
-
end
|
|
12378
12865
|
# resource path
|
|
12379
12866
|
local_var_path = '/stages/user_login/'
|
|
12380
12867
|
|
|
@@ -12451,7 +12938,7 @@ module Authentik::Api
|
|
|
12451
12938
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_login_partial_update"
|
|
12452
12939
|
end
|
|
12453
12940
|
# resource path
|
|
12454
|
-
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{
|
|
12941
|
+
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12455
12942
|
|
|
12456
12943
|
# query parameters
|
|
12457
12944
|
query_params = opts[:query_params] || {}
|
|
@@ -12517,7 +13004,7 @@ module Authentik::Api
|
|
|
12517
13004
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_login_retrieve"
|
|
12518
13005
|
end
|
|
12519
13006
|
# resource path
|
|
12520
|
-
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{
|
|
13007
|
+
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12521
13008
|
|
|
12522
13009
|
# query parameters
|
|
12523
13010
|
query_params = opts[:query_params] || {}
|
|
@@ -12584,7 +13071,7 @@ module Authentik::Api
|
|
|
12584
13071
|
fail ArgumentError, "Missing the required parameter 'user_login_stage_request' when calling StagesApi.stages_user_login_update"
|
|
12585
13072
|
end
|
|
12586
13073
|
# resource path
|
|
12587
|
-
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{
|
|
13074
|
+
local_var_path = '/stages/user_login/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12588
13075
|
|
|
12589
13076
|
# query parameters
|
|
12590
13077
|
query_params = opts[:query_params] || {}
|
|
@@ -12650,7 +13137,7 @@ module Authentik::Api
|
|
|
12650
13137
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_login_used_by_list"
|
|
12651
13138
|
end
|
|
12652
13139
|
# resource path
|
|
12653
|
-
local_var_path = '/stages/user_login/{stage_uuid}/used_by/'.sub('{
|
|
13140
|
+
local_var_path = '/stages/user_login/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12654
13141
|
|
|
12655
13142
|
# query parameters
|
|
12656
13143
|
query_params = opts[:query_params] || {}
|
|
@@ -12777,7 +13264,7 @@ module Authentik::Api
|
|
|
12777
13264
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_logout_destroy"
|
|
12778
13265
|
end
|
|
12779
13266
|
# resource path
|
|
12780
|
-
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{
|
|
13267
|
+
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12781
13268
|
|
|
12782
13269
|
# query parameters
|
|
12783
13270
|
query_params = opts[:query_params] || {}
|
|
@@ -12913,7 +13400,7 @@ module Authentik::Api
|
|
|
12913
13400
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_logout_partial_update"
|
|
12914
13401
|
end
|
|
12915
13402
|
# resource path
|
|
12916
|
-
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{
|
|
13403
|
+
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12917
13404
|
|
|
12918
13405
|
# query parameters
|
|
12919
13406
|
query_params = opts[:query_params] || {}
|
|
@@ -12979,7 +13466,7 @@ module Authentik::Api
|
|
|
12979
13466
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_logout_retrieve"
|
|
12980
13467
|
end
|
|
12981
13468
|
# resource path
|
|
12982
|
-
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{
|
|
13469
|
+
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
12983
13470
|
|
|
12984
13471
|
# query parameters
|
|
12985
13472
|
query_params = opts[:query_params] || {}
|
|
@@ -13046,7 +13533,7 @@ module Authentik::Api
|
|
|
13046
13533
|
fail ArgumentError, "Missing the required parameter 'user_logout_stage_request' when calling StagesApi.stages_user_logout_update"
|
|
13047
13534
|
end
|
|
13048
13535
|
# resource path
|
|
13049
|
-
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{
|
|
13536
|
+
local_var_path = '/stages/user_logout/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13050
13537
|
|
|
13051
13538
|
# query parameters
|
|
13052
13539
|
query_params = opts[:query_params] || {}
|
|
@@ -13112,7 +13599,7 @@ module Authentik::Api
|
|
|
13112
13599
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_logout_used_by_list"
|
|
13113
13600
|
end
|
|
13114
13601
|
# resource path
|
|
13115
|
-
local_var_path = '/stages/user_logout/{stage_uuid}/used_by/'.sub('{
|
|
13602
|
+
local_var_path = '/stages/user_logout/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13116
13603
|
|
|
13117
13604
|
# query parameters
|
|
13118
13605
|
query_params = opts[:query_params] || {}
|
|
@@ -13239,7 +13726,7 @@ module Authentik::Api
|
|
|
13239
13726
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_write_destroy"
|
|
13240
13727
|
end
|
|
13241
13728
|
# resource path
|
|
13242
|
-
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{
|
|
13729
|
+
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13243
13730
|
|
|
13244
13731
|
# query parameters
|
|
13245
13732
|
query_params = opts[:query_params] || {}
|
|
@@ -13288,9 +13775,9 @@ module Authentik::Api
|
|
|
13288
13775
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
13289
13776
|
# @option opts [String] :search A search term.
|
|
13290
13777
|
# @option opts [String] :stage_uuid
|
|
13291
|
-
# @option opts [
|
|
13778
|
+
# @option opts [UserCreationModeEnum] :user_creation_mode
|
|
13292
13779
|
# @option opts [String] :user_path_template
|
|
13293
|
-
# @option opts [
|
|
13780
|
+
# @option opts [UserTypeEnum] :user_type
|
|
13294
13781
|
# @return [PaginatedUserWriteStageList]
|
|
13295
13782
|
def stages_user_write_list(opts = {})
|
|
13296
13783
|
data, _status_code, _headers = stages_user_write_list_with_http_info(opts)
|
|
@@ -13307,22 +13794,14 @@ module Authentik::Api
|
|
|
13307
13794
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
13308
13795
|
# @option opts [String] :search A search term.
|
|
13309
13796
|
# @option opts [String] :stage_uuid
|
|
13310
|
-
# @option opts [
|
|
13797
|
+
# @option opts [UserCreationModeEnum] :user_creation_mode
|
|
13311
13798
|
# @option opts [String] :user_path_template
|
|
13312
|
-
# @option opts [
|
|
13799
|
+
# @option opts [UserTypeEnum] :user_type
|
|
13313
13800
|
# @return [Array<(PaginatedUserWriteStageList, Integer, Hash)>] PaginatedUserWriteStageList data, response status code and response headers
|
|
13314
13801
|
def stages_user_write_list_with_http_info(opts = {})
|
|
13315
13802
|
if @api_client.config.debugging
|
|
13316
13803
|
@api_client.config.logger.debug 'Calling API: StagesApi.stages_user_write_list ...'
|
|
13317
13804
|
end
|
|
13318
|
-
allowable_values = ["always_create", "create_when_required", "never_create"]
|
|
13319
|
-
if @api_client.config.client_side_validation && opts[:'user_creation_mode'] && !allowable_values.include?(opts[:'user_creation_mode'])
|
|
13320
|
-
fail ArgumentError, "invalid value for \"user_creation_mode\", must be one of #{allowable_values}"
|
|
13321
|
-
end
|
|
13322
|
-
allowable_values = ["external", "internal", "internal_service_account", "service_account"]
|
|
13323
|
-
if @api_client.config.client_side_validation && opts[:'user_type'] && !allowable_values.include?(opts[:'user_type'])
|
|
13324
|
-
fail ArgumentError, "invalid value for \"user_type\", must be one of #{allowable_values}"
|
|
13325
|
-
end
|
|
13326
13805
|
# resource path
|
|
13327
13806
|
local_var_path = '/stages/user_write/'
|
|
13328
13807
|
|
|
@@ -13398,7 +13877,7 @@ module Authentik::Api
|
|
|
13398
13877
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_write_partial_update"
|
|
13399
13878
|
end
|
|
13400
13879
|
# resource path
|
|
13401
|
-
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{
|
|
13880
|
+
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13402
13881
|
|
|
13403
13882
|
# query parameters
|
|
13404
13883
|
query_params = opts[:query_params] || {}
|
|
@@ -13464,7 +13943,7 @@ module Authentik::Api
|
|
|
13464
13943
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_write_retrieve"
|
|
13465
13944
|
end
|
|
13466
13945
|
# resource path
|
|
13467
|
-
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{
|
|
13946
|
+
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13468
13947
|
|
|
13469
13948
|
# query parameters
|
|
13470
13949
|
query_params = opts[:query_params] || {}
|
|
@@ -13531,7 +14010,7 @@ module Authentik::Api
|
|
|
13531
14010
|
fail ArgumentError, "Missing the required parameter 'user_write_stage_request' when calling StagesApi.stages_user_write_update"
|
|
13532
14011
|
end
|
|
13533
14012
|
# resource path
|
|
13534
|
-
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{
|
|
14013
|
+
local_var_path = '/stages/user_write/{stage_uuid}/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13535
14014
|
|
|
13536
14015
|
# query parameters
|
|
13537
14016
|
query_params = opts[:query_params] || {}
|
|
@@ -13597,7 +14076,7 @@ module Authentik::Api
|
|
|
13597
14076
|
fail ArgumentError, "Missing the required parameter 'stage_uuid' when calling StagesApi.stages_user_write_used_by_list"
|
|
13598
14077
|
end
|
|
13599
14078
|
# resource path
|
|
13600
|
-
local_var_path = '/stages/user_write/{stage_uuid}/used_by/'.sub('{
|
|
14079
|
+
local_var_path = '/stages/user_write/{stage_uuid}/used_by/'.sub('{stage_uuid}', CGI.escape(stage_uuid.to_s))
|
|
13601
14080
|
|
|
13602
14081
|
# query parameters
|
|
13603
14082
|
query_params = opts[:query_params] || {}
|