authentik-api 2026.5.5 → 2026.8.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_API.md +105 -9
- data/lib/authentik/api/api/admin_api.rb +3 -0
- data/lib/authentik/api/api/core_api.rb +651 -27
- data/lib/authentik/api/api/endpoints_api.rb +7 -7
- data/lib/authentik/api/api/events_api.rb +35 -2
- data/lib/authentik/api/api/lifecycle_api.rb +258 -0
- data/lib/authentik/api/api/providers_api.rb +401 -0
- data/lib/authentik/api/api/requests_api.rb +1858 -0
- data/lib/authentik/api/api/sources_api.rb +6 -3
- data/lib/authentik/api/configuration.rb +14 -0
- data/lib/authentik/api/inflector.rb +2 -1
- data/lib/authentik/api/models/app_enum.rb +3 -1
- data/lib/authentik/api/models/application.rb +27 -1
- data/lib/authentik/api/models/authenticator_web_authn_stage.rb +1 -11
- data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +1 -11
- data/lib/authentik/api/models/brand.rb +21 -1
- data/lib/authentik/api/models/brand_request.rb +21 -1
- data/lib/authentik/api/models/captcha_stage.rb +32 -1
- data/lib/authentik/api/models/captcha_stage_request.rb +32 -1
- data/lib/authentik/api/models/compatibility_mode_enum.rb +2 -1
- data/lib/authentik/api/models/content_type.rb +30 -4
- data/lib/authentik/api/models/current_brand.rb +19 -1
- data/lib/authentik/api/models/current_brand_flags.rb +1 -55
- data/lib/authentik/api/models/device_user_binding.rb +39 -1
- data/lib/authentik/api/models/event_actions.rb +6 -1
- data/lib/authentik/api/models/grant_request.rb +382 -0
- data/lib/authentik/api/models/{reviewer_group.rb → grant_request_create_request.rb} +29 -42
- data/lib/authentik/api/models/{grant_types_enum.rb → grant_type_enum.rb} +5 -4
- data/lib/authentik/api/models/last_task_status_enum.rb +2 -1
- data/lib/authentik/api/models/ldap_outpost_config.rb +1 -1
- data/lib/authentik/api/models/ldap_source.rb +14 -4
- data/lib/authentik/api/models/ldap_source_request.rb +14 -4
- data/lib/authentik/api/models/lifecycle_rule.rb +2 -2
- data/lib/authentik/api/models/model_enum.rb +8 -1
- data/lib/authentik/api/models/notification_mode_enum.rb +35 -0
- data/lib/authentik/api/models/o_auth2_dynamic_client_registration.rb +291 -0
- data/lib/authentik/api/models/o_auth2_dynamic_client_registration_request.rb +303 -0
- data/lib/authentik/api/models/o_auth2_provider.rb +1 -1
- data/lib/authentik/api/models/o_auth2_provider_request.rb +1 -1
- data/lib/authentik/api/models/o_auth_source.rb +0 -60
- data/lib/authentik/api/models/o_auth_source_request.rb +0 -60
- data/lib/authentik/api/models/object_attribute.rb +420 -0
- data/lib/authentik/api/models/object_attribute_request.rb +358 -0
- data/lib/authentik/api/models/object_attribute_type_enum.rb +35 -0
- data/lib/authentik/api/models/offboarding_action_enum.rb +34 -0
- data/lib/authentik/api/models/offboarding_status_enum.rb +36 -0
- data/lib/authentik/api/models/paginated_grant_request_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth2_dynamic_client_registration_list.rb +214 -0
- data/lib/authentik/api/models/paginated_object_attribute_list.rb +214 -0
- data/lib/authentik/api/models/paginated_request_rule_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_request_rule_child_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_request_rule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_requestable_target_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_offboarding_list.rb +214 -0
- data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +1 -11
- data/lib/authentik/api/models/patched_brand_request.rb +21 -1
- data/lib/authentik/api/models/patched_captcha_stage_request.rb +32 -1
- data/lib/authentik/api/models/patched_grant_request_fulfill_request.rb +175 -0
- data/lib/authentik/api/models/patched_ldap_source_request.rb +14 -4
- data/lib/authentik/api/models/patched_o_auth2_dynamic_client_registration_request.rb +286 -0
- data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +1 -1
- data/lib/authentik/api/models/patched_o_auth_source_request.rb +0 -60
- data/lib/authentik/api/models/patched_object_attribute_request.rb +320 -0
- data/lib/authentik/api/models/patched_request_rule_binding_request.rb +249 -0
- data/lib/authentik/api/models/patched_request_rule_child_binding_request.rb +159 -0
- data/lib/authentik/api/models/patched_request_rule_request.rb +277 -0
- data/lib/authentik/api/models/patched_saml_source_request.rb +8 -8
- data/lib/authentik/api/models/patched_settings_request.rb +30 -1
- data/lib/authentik/api/models/patched_settings_request_flags.rb +1 -1
- data/lib/authentik/api/models/patched_ws_federation_provider_request.rb +11 -1
- data/lib/authentik/api/models/policy_binding.rb +42 -4
- data/lib/authentik/api/models/provider_type_enum.rb +2 -3
- data/lib/authentik/api/models/related_rule.rb +2 -2
- data/lib/authentik/api/models/related_target.rb +266 -0
- data/lib/authentik/api/models/request_content_type_enum.rb +34 -0
- data/lib/authentik/api/models/request_rule.rb +329 -0
- data/lib/authentik/api/models/request_rule_binding.rb +353 -0
- data/lib/authentik/api/models/request_rule_binding_request.rb +283 -0
- data/lib/authentik/api/models/{reviewer_user.rb → request_rule_child_binding.rb} +34 -99
- data/lib/authentik/api/models/request_rule_child_binding_request.rb +193 -0
- data/lib/authentik/api/models/request_rule_request.rb +284 -0
- data/lib/authentik/api/models/request_status.rb +36 -0
- data/lib/authentik/api/models/requestable_target.rb +278 -0
- data/lib/authentik/api/models/review.rb +1 -1
- data/lib/authentik/api/models/saml_source.rb +35 -8
- data/lib/authentik/api/models/saml_source_request.rb +8 -8
- data/lib/authentik/api/models/saml_version_enum.rb +34 -0
- data/lib/authentik/api/models/session_user.rb +32 -4
- data/lib/authentik/api/models/settings.rb +30 -1
- data/lib/authentik/api/models/settings_request.rb +30 -1
- data/lib/authentik/api/models/system_info.rb +31 -4
- data/lib/authentik/api/models/task_aggregated_status_enum.rb +2 -1
- data/lib/authentik/api/models/task_status_enum.rb +2 -1
- data/lib/authentik/api/models/user_offboarding.rb +379 -0
- data/lib/authentik/api/models/user_offboarding_request.rb +237 -0
- data/lib/authentik/api/models/user_self.rb +28 -1
- data/lib/authentik/api/models/user_switch_action_enum.rb +34 -0
- data/lib/authentik/api/models/user_switch_request.rb +173 -0
- data/lib/authentik/api/models/user_switch_response.rb +159 -0
- data/lib/authentik/api/models/ws_federation_provider.rb +41 -4
- data/lib/authentik/api/models/ws_federation_provider_request.rb +11 -1
- data/lib/authentik/api/version.rb +1 -1
- data/spec/api/admin_api_spec.rb +1 -0
- data/spec/api/core_api_spec.rb +119 -0
- data/spec/api/events_api_spec.rb +11 -0
- data/spec/api/lifecycle_api_spec.rb +47 -0
- data/spec/api/providers_api_spec.rb +73 -0
- data/spec/api/requests_api_spec.rb +365 -0
- data/spec/api/sources_api_spec.rb +2 -1
- data/spec/models/application_spec.rb +6 -0
- data/spec/models/authenticator_web_authn_stage_request_spec.rb +0 -6
- data/spec/models/authenticator_web_authn_stage_spec.rb +0 -6
- data/spec/models/brand_request_spec.rb +12 -0
- data/spec/models/brand_spec.rb +12 -0
- data/spec/models/captcha_stage_request_spec.rb +6 -0
- data/spec/models/captcha_stage_spec.rb +6 -0
- data/spec/models/content_type_spec.rb +6 -0
- data/spec/models/current_brand_flags_spec.rb +0 -12
- data/spec/models/current_brand_spec.rb +12 -0
- data/spec/models/device_user_binding_spec.rb +12 -0
- data/spec/models/grant_request_create_request_spec.rb +36 -0
- data/spec/models/grant_request_spec.rb +90 -0
- data/spec/models/{grant_types_enum_spec.rb → grant_type_enum_spec.rb} +6 -6
- data/spec/models/ldap_source_request_spec.rb +6 -0
- data/spec/models/ldap_source_spec.rb +6 -0
- data/spec/models/notification_mode_enum_spec.rb +24 -0
- data/spec/models/o_auth2_dynamic_client_registration_request_spec.rb +78 -0
- data/spec/models/o_auth2_dynamic_client_registration_spec.rb +84 -0
- data/spec/models/object_attribute_request_spec.rb +84 -0
- data/spec/models/object_attribute_spec.rb +108 -0
- data/spec/models/object_attribute_type_enum_spec.rb +24 -0
- data/spec/models/offboarding_action_enum_spec.rb +24 -0
- data/spec/models/offboarding_status_enum_spec.rb +24 -0
- data/spec/models/paginated_grant_request_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth2_dynamic_client_registration_list_spec.rb +42 -0
- data/spec/models/paginated_object_attribute_list_spec.rb +42 -0
- data/spec/models/paginated_request_rule_binding_list_spec.rb +42 -0
- data/spec/models/paginated_request_rule_child_binding_list_spec.rb +42 -0
- data/spec/models/paginated_request_rule_list_spec.rb +42 -0
- data/spec/models/paginated_requestable_target_list_spec.rb +42 -0
- data/spec/models/paginated_user_offboarding_list_spec.rb +42 -0
- data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +0 -6
- data/spec/models/patched_brand_request_spec.rb +12 -0
- data/spec/models/patched_captcha_stage_request_spec.rb +6 -0
- data/spec/models/patched_grant_request_fulfill_request_spec.rb +36 -0
- data/spec/models/patched_ldap_source_request_spec.rb +6 -0
- data/spec/models/patched_o_auth2_dynamic_client_registration_request_spec.rb +78 -0
- data/spec/models/patched_object_attribute_request_spec.rb +84 -0
- data/spec/models/patched_request_rule_binding_request_spec.rb +60 -0
- data/spec/models/patched_request_rule_child_binding_request_spec.rb +42 -0
- data/spec/models/patched_request_rule_request_spec.rb +72 -0
- data/spec/models/patched_saml_source_request_spec.rb +1 -1
- data/spec/models/patched_settings_request_spec.rb +6 -0
- data/spec/models/patched_ws_federation_provider_request_spec.rb +6 -0
- data/spec/models/policy_binding_spec.rb +12 -0
- data/spec/models/related_target_spec.rb +54 -0
- data/spec/models/request_content_type_enum_spec.rb +24 -0
- data/spec/models/request_rule_binding_request_spec.rb +60 -0
- data/spec/models/request_rule_binding_spec.rb +84 -0
- data/spec/models/request_rule_child_binding_request_spec.rb +42 -0
- data/spec/models/{reviewer_user_spec.rb → request_rule_child_binding_spec.rb} +8 -14
- data/spec/models/request_rule_request_spec.rb +72 -0
- data/spec/models/request_rule_spec.rb +84 -0
- data/spec/models/request_status_spec.rb +24 -0
- data/spec/models/requestable_target_spec.rb +60 -0
- data/spec/models/saml_source_request_spec.rb +1 -1
- data/spec/models/saml_source_spec.rb +7 -1
- data/spec/models/saml_version_enum_spec.rb +24 -0
- data/spec/models/session_user_spec.rb +6 -0
- data/spec/models/settings_request_spec.rb +6 -0
- data/spec/models/settings_spec.rb +6 -0
- data/spec/models/system_info_spec.rb +6 -0
- data/spec/models/user_offboarding_request_spec.rb +54 -0
- data/spec/models/user_offboarding_spec.rb +90 -0
- data/spec/models/user_self_spec.rb +6 -0
- data/spec/models/user_switch_action_enum_spec.rb +24 -0
- data/spec/models/{reviewer_group_spec.rb → user_switch_request_spec.rb} +8 -8
- data/spec/models/user_switch_response_spec.rb +30 -0
- data/spec/models/ws_federation_provider_request_spec.rb +6 -0
- data/spec/models/ws_federation_provider_spec.rb +12 -0
- metadata +127 -10
|
@@ -4317,6 +4317,7 @@ module Authentik::Api
|
|
|
4317
4317
|
# @option opts [String] :slug
|
|
4318
4318
|
# @option opts [Boolean] :sni
|
|
4319
4319
|
# @option opts [Boolean] :start_tls
|
|
4320
|
+
# @option opts [Boolean] :sync_group_hierarchy
|
|
4320
4321
|
# @option opts [Boolean] :sync_groups
|
|
4321
4322
|
# @option opts [String] :sync_parent_group
|
|
4322
4323
|
# @option opts [Boolean] :sync_users
|
|
@@ -4356,6 +4357,7 @@ module Authentik::Api
|
|
|
4356
4357
|
# @option opts [String] :slug
|
|
4357
4358
|
# @option opts [Boolean] :sni
|
|
4358
4359
|
# @option opts [Boolean] :start_tls
|
|
4360
|
+
# @option opts [Boolean] :sync_group_hierarchy
|
|
4359
4361
|
# @option opts [Boolean] :sync_groups
|
|
4360
4362
|
# @option opts [String] :sync_parent_group
|
|
4361
4363
|
# @option opts [Boolean] :sync_users
|
|
@@ -4397,6 +4399,7 @@ module Authentik::Api
|
|
|
4397
4399
|
query_params[:'slug'] = opts[:'slug'] if !opts[:'slug'].nil?
|
|
4398
4400
|
query_params[:'sni'] = opts[:'sni'] if !opts[:'sni'].nil?
|
|
4399
4401
|
query_params[:'start_tls'] = opts[:'start_tls'] if !opts[:'start_tls'].nil?
|
|
4402
|
+
query_params[:'sync_group_hierarchy'] = opts[:'sync_group_hierarchy'] if !opts[:'sync_group_hierarchy'].nil?
|
|
4400
4403
|
query_params[:'sync_groups'] = opts[:'sync_groups'] if !opts[:'sync_groups'].nil?
|
|
4401
4404
|
query_params[:'sync_parent_group'] = opts[:'sync_parent_group'] if !opts[:'sync_parent_group'].nil?
|
|
4402
4405
|
query_params[:'sync_users'] = opts[:'sync_users'] if !opts[:'sync_users'].nil?
|
|
@@ -6088,7 +6091,7 @@ module Authentik::Api
|
|
|
6088
6091
|
# @option opts [Boolean] :enabled
|
|
6089
6092
|
# @option opts [String] :enrollment_flow
|
|
6090
6093
|
# @option opts [Boolean] :force_authn
|
|
6091
|
-
# @option opts [String] :
|
|
6094
|
+
# @option opts [String] :issuer_override
|
|
6092
6095
|
# @option opts [String] :managed
|
|
6093
6096
|
# @option opts [String] :name
|
|
6094
6097
|
# @option opts [SAMLNameIDPolicyEnum] :name_id_policy
|
|
@@ -6124,7 +6127,7 @@ module Authentik::Api
|
|
|
6124
6127
|
# @option opts [Boolean] :enabled
|
|
6125
6128
|
# @option opts [String] :enrollment_flow
|
|
6126
6129
|
# @option opts [Boolean] :force_authn
|
|
6127
|
-
# @option opts [String] :
|
|
6130
|
+
# @option opts [String] :issuer_override
|
|
6128
6131
|
# @option opts [String] :managed
|
|
6129
6132
|
# @option opts [String] :name
|
|
6130
6133
|
# @option opts [SAMLNameIDPolicyEnum] :name_id_policy
|
|
@@ -6162,7 +6165,7 @@ module Authentik::Api
|
|
|
6162
6165
|
query_params[:'enabled'] = opts[:'enabled'] if !opts[:'enabled'].nil?
|
|
6163
6166
|
query_params[:'enrollment_flow'] = opts[:'enrollment_flow'] if !opts[:'enrollment_flow'].nil?
|
|
6164
6167
|
query_params[:'force_authn'] = opts[:'force_authn'] if !opts[:'force_authn'].nil?
|
|
6165
|
-
query_params[:'
|
|
6168
|
+
query_params[:'issuer_override'] = opts[:'issuer_override'] if !opts[:'issuer_override'].nil?
|
|
6166
6169
|
query_params[:'managed'] = opts[:'managed'] if !opts[:'managed'].nil?
|
|
6167
6170
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
6168
6171
|
query_params[:'name_id_policy'] = opts[:'name_id_policy'] if !opts[:'name_id_policy'].nil?
|
|
@@ -245,6 +245,20 @@ module Authentik::Api
|
|
|
245
245
|
key: 'Authorization',
|
|
246
246
|
value: "Bearer #{access_token_with_refresh}"
|
|
247
247
|
},
|
|
248
|
+
'authentik_device_enroll' =>
|
|
249
|
+
{
|
|
250
|
+
type: 'bearer',
|
|
251
|
+
in: 'header',
|
|
252
|
+
key: 'Authorization',
|
|
253
|
+
value: "Bearer #{access_token_with_refresh}"
|
|
254
|
+
},
|
|
255
|
+
'authentik_device_federation' =>
|
|
256
|
+
{
|
|
257
|
+
type: 'bearer',
|
|
258
|
+
in: 'header',
|
|
259
|
+
key: 'Authorization',
|
|
260
|
+
value: "Bearer #{access_token_with_refresh}"
|
|
261
|
+
},
|
|
248
262
|
}
|
|
249
263
|
end
|
|
250
264
|
|
|
@@ -13,7 +13,8 @@ module Authentik
|
|
|
13
13
|
IRREGULAR_INFLECTIONS = {
|
|
14
14
|
"OAuth2ProviderSetupUrls" => "OAuth2ProviderSetupURLs",
|
|
15
15
|
"AuthenticatedSessionGeoIp" => "AuthenticatedSessionGeoIp",
|
|
16
|
-
"AuthenticatedSessionUserAgentOs" => "AuthenticatedSessionUserAgentOs"
|
|
16
|
+
"AuthenticatedSessionUserAgentOs" => "AuthenticatedSessionUserAgentOs",
|
|
17
|
+
"SamlVersionEnum" => "SamlVersionEnum"
|
|
17
18
|
}.freeze
|
|
18
19
|
INFLECTIONS = IRREGULAR_INFLECTIONS.merge(REGULAR_INFLECTIONS).freeze
|
|
19
20
|
# Matches inflections followed by an upcase letter or EOL.
|
|
@@ -80,18 +80,20 @@ module Authentik::Api
|
|
|
80
80
|
AUTHENTIK_ENTERPRISE_POLICIES_UNIQUE_PASSWORD = "authentik.enterprise.policies.unique_password".freeze
|
|
81
81
|
AUTHENTIK_ENTERPRISE_PROVIDERS_GOOGLE_WORKSPACE = "authentik.enterprise.providers.google_workspace".freeze
|
|
82
82
|
AUTHENTIK_ENTERPRISE_PROVIDERS_MICROSOFT_ENTRA = "authentik.enterprise.providers.microsoft_entra".freeze
|
|
83
|
+
AUTHENTIK_ENTERPRISE_PROVIDERS_OAUTH2 = "authentik.enterprise.providers.oauth2".freeze
|
|
83
84
|
AUTHENTIK_ENTERPRISE_PROVIDERS_RADIUS = "authentik.enterprise.providers.radius".freeze
|
|
84
85
|
AUTHENTIK_ENTERPRISE_PROVIDERS_SCIM = "authentik.enterprise.providers.scim".freeze
|
|
85
86
|
AUTHENTIK_ENTERPRISE_PROVIDERS_SSF = "authentik.enterprise.providers.ssf".freeze
|
|
86
87
|
AUTHENTIK_ENTERPRISE_PROVIDERS_WS_FEDERATION = "authentik.enterprise.providers.ws_federation".freeze
|
|
87
88
|
AUTHENTIK_ENTERPRISE_REPORTS = "authentik.enterprise.reports".freeze
|
|
89
|
+
AUTHENTIK_ENTERPRISE_REQUESTS = "authentik.enterprise.requests".freeze
|
|
88
90
|
AUTHENTIK_ENTERPRISE_STAGES_ACCOUNT_LOCKDOWN = "authentik.enterprise.stages.account_lockdown".freeze
|
|
89
91
|
AUTHENTIK_ENTERPRISE_STAGES_AUTHENTICATOR_ENDPOINT_GDTC = "authentik.enterprise.stages.authenticator_endpoint_gdtc".freeze
|
|
90
92
|
AUTHENTIK_ENTERPRISE_STAGES_MTLS = "authentik.enterprise.stages.mtls".freeze
|
|
91
93
|
AUTHENTIK_ENTERPRISE_STAGES_SOURCE = "authentik.enterprise.stages.source".freeze
|
|
92
94
|
|
|
93
95
|
def self.all_vars
|
|
94
|
-
@all_vars ||= [AUTHENTIK_COMMANDS, AUTHENTIK_TENANTS, AUTHENTIK_TASKS, AUTHENTIK_ADMIN, AUTHENTIK_API, AUTHENTIK_CORE, AUTHENTIK_CRYPTO, AUTHENTIK_ENDPOINTS, AUTHENTIK_ENDPOINTS_CONNECTORS_AGENT, AUTHENTIK_ENTERPRISE, AUTHENTIK_EVENTS, AUTHENTIK_ADMIN_FILES, AUTHENTIK_FLOWS, AUTHENTIK_OUTPOSTS, AUTHENTIK_POLICIES_DUMMY, AUTHENTIK_POLICIES_EVENT_MATCHER, AUTHENTIK_POLICIES_EXPIRY, AUTHENTIK_POLICIES_EXPRESSION, AUTHENTIK_POLICIES_GEOIP, AUTHENTIK_POLICIES_PASSWORD, AUTHENTIK_POLICIES_REPUTATION, AUTHENTIK_POLICIES, AUTHENTIK_PROVIDERS_LDAP, AUTHENTIK_PROVIDERS_OAUTH2, AUTHENTIK_PROVIDERS_PROXY, AUTHENTIK_PROVIDERS_RAC, AUTHENTIK_PROVIDERS_RADIUS, AUTHENTIK_PROVIDERS_SAML, AUTHENTIK_PROVIDERS_SCIM, AUTHENTIK_RBAC, AUTHENTIK_RECOVERY, AUTHENTIK_SOURCES_KERBEROS, AUTHENTIK_SOURCES_LDAP, AUTHENTIK_SOURCES_OAUTH, AUTHENTIK_SOURCES_PLEX, AUTHENTIK_SOURCES_SAML, AUTHENTIK_SOURCES_SCIM, AUTHENTIK_SOURCES_TELEGRAM, AUTHENTIK_STAGES_AUTHENTICATOR, AUTHENTIK_STAGES_AUTHENTICATOR_DUO, AUTHENTIK_STAGES_AUTHENTICATOR_EMAIL, AUTHENTIK_STAGES_AUTHENTICATOR_SMS, AUTHENTIK_STAGES_AUTHENTICATOR_STATIC, AUTHENTIK_STAGES_AUTHENTICATOR_TOTP, AUTHENTIK_STAGES_AUTHENTICATOR_VALIDATE, AUTHENTIK_STAGES_AUTHENTICATOR_WEBAUTHN, AUTHENTIK_STAGES_CAPTCHA, AUTHENTIK_STAGES_CONSENT, AUTHENTIK_STAGES_DENY, AUTHENTIK_STAGES_DUMMY, AUTHENTIK_STAGES_EMAIL, AUTHENTIK_STAGES_IDENTIFICATION, AUTHENTIK_STAGES_INVITATION, AUTHENTIK_STAGES_PASSWORD, AUTHENTIK_STAGES_PROMPT, AUTHENTIK_STAGES_REDIRECT, AUTHENTIK_STAGES_USER_DELETE, AUTHENTIK_STAGES_USER_LOGIN, AUTHENTIK_STAGES_USER_LOGOUT, AUTHENTIK_STAGES_USER_WRITE, AUTHENTIK_TASKS_SCHEDULES, AUTHENTIK_BRANDS, AUTHENTIK_BLUEPRINTS, AUTHENTIK_ENTERPRISE_AUDIT, AUTHENTIK_ENTERPRISE_ENDPOINTS_CONNECTORS_AGENT, AUTHENTIK_ENTERPRISE_ENDPOINTS_CONNECTORS_FLEET, AUTHENTIK_ENTERPRISE_ENDPOINTS_CONNECTORS_GOOGLE_CHROME, AUTHENTIK_ENTERPRISE_LIFECYCLE, AUTHENTIK_ENTERPRISE_POLICIES_UNIQUE_PASSWORD, AUTHENTIK_ENTERPRISE_PROVIDERS_GOOGLE_WORKSPACE, AUTHENTIK_ENTERPRISE_PROVIDERS_MICROSOFT_ENTRA, AUTHENTIK_ENTERPRISE_PROVIDERS_RADIUS, AUTHENTIK_ENTERPRISE_PROVIDERS_SCIM, AUTHENTIK_ENTERPRISE_PROVIDERS_SSF, AUTHENTIK_ENTERPRISE_PROVIDERS_WS_FEDERATION, AUTHENTIK_ENTERPRISE_REPORTS, AUTHENTIK_ENTERPRISE_STAGES_ACCOUNT_LOCKDOWN, AUTHENTIK_ENTERPRISE_STAGES_AUTHENTICATOR_ENDPOINT_GDTC, AUTHENTIK_ENTERPRISE_STAGES_MTLS, AUTHENTIK_ENTERPRISE_STAGES_SOURCE].freeze
|
|
96
|
+
@all_vars ||= [AUTHENTIK_COMMANDS, AUTHENTIK_TENANTS, AUTHENTIK_TASKS, AUTHENTIK_ADMIN, AUTHENTIK_API, AUTHENTIK_CORE, AUTHENTIK_CRYPTO, AUTHENTIK_ENDPOINTS, AUTHENTIK_ENDPOINTS_CONNECTORS_AGENT, AUTHENTIK_ENTERPRISE, AUTHENTIK_EVENTS, AUTHENTIK_ADMIN_FILES, AUTHENTIK_FLOWS, AUTHENTIK_OUTPOSTS, AUTHENTIK_POLICIES_DUMMY, AUTHENTIK_POLICIES_EVENT_MATCHER, AUTHENTIK_POLICIES_EXPIRY, AUTHENTIK_POLICIES_EXPRESSION, AUTHENTIK_POLICIES_GEOIP, AUTHENTIK_POLICIES_PASSWORD, AUTHENTIK_POLICIES_REPUTATION, AUTHENTIK_POLICIES, AUTHENTIK_PROVIDERS_LDAP, AUTHENTIK_PROVIDERS_OAUTH2, AUTHENTIK_PROVIDERS_PROXY, AUTHENTIK_PROVIDERS_RAC, AUTHENTIK_PROVIDERS_RADIUS, AUTHENTIK_PROVIDERS_SAML, AUTHENTIK_PROVIDERS_SCIM, AUTHENTIK_RBAC, AUTHENTIK_RECOVERY, AUTHENTIK_SOURCES_KERBEROS, AUTHENTIK_SOURCES_LDAP, AUTHENTIK_SOURCES_OAUTH, AUTHENTIK_SOURCES_PLEX, AUTHENTIK_SOURCES_SAML, AUTHENTIK_SOURCES_SCIM, AUTHENTIK_SOURCES_TELEGRAM, AUTHENTIK_STAGES_AUTHENTICATOR, AUTHENTIK_STAGES_AUTHENTICATOR_DUO, AUTHENTIK_STAGES_AUTHENTICATOR_EMAIL, AUTHENTIK_STAGES_AUTHENTICATOR_SMS, AUTHENTIK_STAGES_AUTHENTICATOR_STATIC, AUTHENTIK_STAGES_AUTHENTICATOR_TOTP, AUTHENTIK_STAGES_AUTHENTICATOR_VALIDATE, AUTHENTIK_STAGES_AUTHENTICATOR_WEBAUTHN, AUTHENTIK_STAGES_CAPTCHA, AUTHENTIK_STAGES_CONSENT, AUTHENTIK_STAGES_DENY, AUTHENTIK_STAGES_DUMMY, AUTHENTIK_STAGES_EMAIL, AUTHENTIK_STAGES_IDENTIFICATION, AUTHENTIK_STAGES_INVITATION, AUTHENTIK_STAGES_PASSWORD, AUTHENTIK_STAGES_PROMPT, AUTHENTIK_STAGES_REDIRECT, AUTHENTIK_STAGES_USER_DELETE, AUTHENTIK_STAGES_USER_LOGIN, AUTHENTIK_STAGES_USER_LOGOUT, AUTHENTIK_STAGES_USER_WRITE, AUTHENTIK_TASKS_SCHEDULES, AUTHENTIK_BRANDS, AUTHENTIK_BLUEPRINTS, AUTHENTIK_ENTERPRISE_AUDIT, AUTHENTIK_ENTERPRISE_ENDPOINTS_CONNECTORS_AGENT, AUTHENTIK_ENTERPRISE_ENDPOINTS_CONNECTORS_FLEET, AUTHENTIK_ENTERPRISE_ENDPOINTS_CONNECTORS_GOOGLE_CHROME, AUTHENTIK_ENTERPRISE_LIFECYCLE, AUTHENTIK_ENTERPRISE_POLICIES_UNIQUE_PASSWORD, AUTHENTIK_ENTERPRISE_PROVIDERS_GOOGLE_WORKSPACE, AUTHENTIK_ENTERPRISE_PROVIDERS_MICROSOFT_ENTRA, AUTHENTIK_ENTERPRISE_PROVIDERS_OAUTH2, AUTHENTIK_ENTERPRISE_PROVIDERS_RADIUS, AUTHENTIK_ENTERPRISE_PROVIDERS_SCIM, AUTHENTIK_ENTERPRISE_PROVIDERS_SSF, AUTHENTIK_ENTERPRISE_PROVIDERS_WS_FEDERATION, AUTHENTIK_ENTERPRISE_REPORTS, AUTHENTIK_ENTERPRISE_REQUESTS, AUTHENTIK_ENTERPRISE_STAGES_ACCOUNT_LOCKDOWN, AUTHENTIK_ENTERPRISE_STAGES_AUTHENTICATOR_ENDPOINT_GDTC, AUTHENTIK_ENTERPRISE_STAGES_MTLS, AUTHENTIK_ENTERPRISE_STAGES_SOURCE].freeze
|
|
95
97
|
end
|
|
96
98
|
|
|
97
99
|
# Builds the enum from string
|
|
@@ -12,6 +12,8 @@ module Authentik::Api
|
|
|
12
12
|
class Application < ApiModelBase
|
|
13
13
|
attr_accessor :pk
|
|
14
14
|
|
|
15
|
+
attr_accessor :pbm_uuid
|
|
16
|
+
|
|
15
17
|
# Application's display Name.
|
|
16
18
|
attr_accessor :name
|
|
17
19
|
|
|
@@ -78,6 +80,7 @@ module Authentik::Api
|
|
|
78
80
|
def self.attribute_map
|
|
79
81
|
{
|
|
80
82
|
:'pk' => :'pk',
|
|
83
|
+
:'pbm_uuid' => :'pbm_uuid',
|
|
81
84
|
:'name' => :'name',
|
|
82
85
|
:'slug' => :'slug',
|
|
83
86
|
:'provider' => :'provider',
|
|
@@ -112,6 +115,7 @@ module Authentik::Api
|
|
|
112
115
|
def self.openapi_types
|
|
113
116
|
{
|
|
114
117
|
:'pk' => :'String',
|
|
118
|
+
:'pbm_uuid' => :'String',
|
|
115
119
|
:'name' => :'String',
|
|
116
120
|
:'slug' => :'String',
|
|
117
121
|
:'provider' => :'Integer',
|
|
@@ -165,6 +169,12 @@ module Authentik::Api
|
|
|
165
169
|
self.pk = nil
|
|
166
170
|
end
|
|
167
171
|
|
|
172
|
+
if attributes.key?(:'pbm_uuid')
|
|
173
|
+
self.pbm_uuid = attributes[:'pbm_uuid']
|
|
174
|
+
else
|
|
175
|
+
self.pbm_uuid = nil
|
|
176
|
+
end
|
|
177
|
+
|
|
168
178
|
if attributes.key?(:'name')
|
|
169
179
|
self.name = attributes[:'name']
|
|
170
180
|
else
|
|
@@ -261,6 +271,10 @@ module Authentik::Api
|
|
|
261
271
|
invalid_properties.push('invalid value for "pk", pk cannot be nil.')
|
|
262
272
|
end
|
|
263
273
|
|
|
274
|
+
if @pbm_uuid.nil?
|
|
275
|
+
invalid_properties.push('invalid value for "pbm_uuid", pbm_uuid cannot be nil.')
|
|
276
|
+
end
|
|
277
|
+
|
|
264
278
|
if @name.nil?
|
|
265
279
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
266
280
|
end
|
|
@@ -286,6 +300,7 @@ module Authentik::Api
|
|
|
286
300
|
def valid?
|
|
287
301
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
288
302
|
return false if @pk.nil?
|
|
303
|
+
return false if @pbm_uuid.nil?
|
|
289
304
|
return false if @name.nil?
|
|
290
305
|
return false if @slug.nil?
|
|
291
306
|
return false if @slug !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
|
@@ -303,6 +318,16 @@ module Authentik::Api
|
|
|
303
318
|
@pk = pk
|
|
304
319
|
end
|
|
305
320
|
|
|
321
|
+
# Custom attribute writer method with validation
|
|
322
|
+
# @param [Object] pbm_uuid Value to be assigned
|
|
323
|
+
def pbm_uuid=(pbm_uuid)
|
|
324
|
+
if pbm_uuid.nil?
|
|
325
|
+
fail ArgumentError, 'pbm_uuid cannot be nil'
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
@pbm_uuid = pbm_uuid
|
|
329
|
+
end
|
|
330
|
+
|
|
306
331
|
# Custom attribute writer method with validation
|
|
307
332
|
# @param [Object] name Value to be assigned
|
|
308
333
|
def name=(name)
|
|
@@ -344,6 +369,7 @@ module Authentik::Api
|
|
|
344
369
|
return true if self.equal?(o)
|
|
345
370
|
self.class == o.class &&
|
|
346
371
|
pk == o.pk &&
|
|
372
|
+
pbm_uuid == o.pbm_uuid &&
|
|
347
373
|
name == o.name &&
|
|
348
374
|
slug == o.slug &&
|
|
349
375
|
provider == o.provider &&
|
|
@@ -372,7 +398,7 @@ module Authentik::Api
|
|
|
372
398
|
# Calculates hash code according to all attributes.
|
|
373
399
|
# @return [Integer] Hash code
|
|
374
400
|
def hash
|
|
375
|
-
[pk, name, slug, provider, provider_obj, backchannel_providers, backchannel_providers_obj, launch_url, open_in_new_tab, meta_launch_url, meta_icon, meta_icon_url, meta_icon_themed_urls, meta_description, meta_publisher, policy_engine_mode, group, meta_hide].hash
|
|
401
|
+
[pk, pbm_uuid, name, slug, provider, provider_obj, backchannel_providers, backchannel_providers_obj, launch_url, open_in_new_tab, meta_launch_url, meta_icon, meta_icon_url, meta_icon_themed_urls, meta_description, meta_publisher, policy_engine_mode, group, meta_hide].hash
|
|
376
402
|
end
|
|
377
403
|
|
|
378
404
|
# Builds the object from hash
|
|
@@ -45,9 +45,6 @@ module Authentik::Api
|
|
|
45
45
|
|
|
46
46
|
attr_accessor :device_type_restrictions_obj
|
|
47
47
|
|
|
48
|
-
# When enabled, a given device can only be registered once.
|
|
49
|
-
attr_accessor :prevent_duplicate_devices
|
|
50
|
-
|
|
51
48
|
attr_accessor :max_attempts
|
|
52
49
|
|
|
53
50
|
class EnumAttributeValidator
|
|
@@ -90,7 +87,6 @@ module Authentik::Api
|
|
|
90
87
|
:'hints' => :'hints',
|
|
91
88
|
:'device_type_restrictions' => :'device_type_restrictions',
|
|
92
89
|
:'device_type_restrictions_obj' => :'device_type_restrictions_obj',
|
|
93
|
-
:'prevent_duplicate_devices' => :'prevent_duplicate_devices',
|
|
94
90
|
:'max_attempts' => :'max_attempts'
|
|
95
91
|
}
|
|
96
92
|
end
|
|
@@ -123,7 +119,6 @@ module Authentik::Api
|
|
|
123
119
|
:'hints' => :'Array<WebAuthnHintEnum>',
|
|
124
120
|
:'device_type_restrictions' => :'Array<String>',
|
|
125
121
|
:'device_type_restrictions_obj' => :'Array<WebAuthnDeviceType>',
|
|
126
|
-
:'prevent_duplicate_devices' => :'Boolean',
|
|
127
122
|
:'max_attempts' => :'Integer'
|
|
128
123
|
}
|
|
129
124
|
end
|
|
@@ -236,10 +231,6 @@ module Authentik::Api
|
|
|
236
231
|
self.device_type_restrictions_obj = nil
|
|
237
232
|
end
|
|
238
233
|
|
|
239
|
-
if attributes.key?(:'prevent_duplicate_devices')
|
|
240
|
-
self.prevent_duplicate_devices = attributes[:'prevent_duplicate_devices']
|
|
241
|
-
end
|
|
242
|
-
|
|
243
234
|
if attributes.key?(:'max_attempts')
|
|
244
235
|
self.max_attempts = attributes[:'max_attempts']
|
|
245
236
|
end
|
|
@@ -428,7 +419,6 @@ module Authentik::Api
|
|
|
428
419
|
hints == o.hints &&
|
|
429
420
|
device_type_restrictions == o.device_type_restrictions &&
|
|
430
421
|
device_type_restrictions_obj == o.device_type_restrictions_obj &&
|
|
431
|
-
prevent_duplicate_devices == o.prevent_duplicate_devices &&
|
|
432
422
|
max_attempts == o.max_attempts
|
|
433
423
|
end
|
|
434
424
|
|
|
@@ -441,7 +431,7 @@ module Authentik::Api
|
|
|
441
431
|
# Calculates hash code according to all attributes.
|
|
442
432
|
# @return [Integer] Hash code
|
|
443
433
|
def hash
|
|
444
|
-
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, configure_flow, friendly_name, user_verification, authenticator_attachment, resident_key_requirement, hints, device_type_restrictions, device_type_restrictions_obj,
|
|
434
|
+
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, configure_flow, friendly_name, user_verification, authenticator_attachment, resident_key_requirement, hints, device_type_restrictions, device_type_restrictions_obj, max_attempts].hash
|
|
445
435
|
end
|
|
446
436
|
|
|
447
437
|
# Builds the object from hash
|
|
@@ -27,9 +27,6 @@ module Authentik::Api
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :device_type_restrictions
|
|
29
29
|
|
|
30
|
-
# When enabled, a given device can only be registered once.
|
|
31
|
-
attr_accessor :prevent_duplicate_devices
|
|
32
|
-
|
|
33
30
|
attr_accessor :max_attempts
|
|
34
31
|
|
|
35
32
|
class EnumAttributeValidator
|
|
@@ -65,7 +62,6 @@ module Authentik::Api
|
|
|
65
62
|
:'resident_key_requirement' => :'resident_key_requirement',
|
|
66
63
|
:'hints' => :'hints',
|
|
67
64
|
:'device_type_restrictions' => :'device_type_restrictions',
|
|
68
|
-
:'prevent_duplicate_devices' => :'prevent_duplicate_devices',
|
|
69
65
|
:'max_attempts' => :'max_attempts'
|
|
70
66
|
}
|
|
71
67
|
end
|
|
@@ -91,7 +87,6 @@ module Authentik::Api
|
|
|
91
87
|
:'resident_key_requirement' => :'UserVerificationEnum',
|
|
92
88
|
:'hints' => :'Array<WebAuthnHintEnum>',
|
|
93
89
|
:'device_type_restrictions' => :'Array<String>',
|
|
94
|
-
:'prevent_duplicate_devices' => :'Boolean',
|
|
95
90
|
:'max_attempts' => :'Integer'
|
|
96
91
|
}
|
|
97
92
|
end
|
|
@@ -158,10 +153,6 @@ module Authentik::Api
|
|
|
158
153
|
end
|
|
159
154
|
end
|
|
160
155
|
|
|
161
|
-
if attributes.key?(:'prevent_duplicate_devices')
|
|
162
|
-
self.prevent_duplicate_devices = attributes[:'prevent_duplicate_devices']
|
|
163
|
-
end
|
|
164
|
-
|
|
165
156
|
if attributes.key?(:'max_attempts')
|
|
166
157
|
self.max_attempts = attributes[:'max_attempts']
|
|
167
158
|
end
|
|
@@ -247,7 +238,6 @@ module Authentik::Api
|
|
|
247
238
|
resident_key_requirement == o.resident_key_requirement &&
|
|
248
239
|
hints == o.hints &&
|
|
249
240
|
device_type_restrictions == o.device_type_restrictions &&
|
|
250
|
-
prevent_duplicate_devices == o.prevent_duplicate_devices &&
|
|
251
241
|
max_attempts == o.max_attempts
|
|
252
242
|
end
|
|
253
243
|
|
|
@@ -260,7 +250,7 @@ module Authentik::Api
|
|
|
260
250
|
# Calculates hash code according to all attributes.
|
|
261
251
|
# @return [Integer] Hash code
|
|
262
252
|
def hash
|
|
263
|
-
[name, configure_flow, friendly_name, user_verification, authenticator_attachment, resident_key_requirement, hints, device_type_restrictions,
|
|
253
|
+
[name, configure_flow, friendly_name, user_verification, authenticator_attachment, resident_key_requirement, hints, device_type_restrictions, max_attempts].hash
|
|
264
254
|
end
|
|
265
255
|
|
|
266
256
|
# Builds the object from hash
|
|
@@ -29,6 +29,8 @@ module Authentik::Api
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :flow_authentication
|
|
31
31
|
|
|
32
|
+
attr_accessor :flow_user_switch
|
|
33
|
+
|
|
32
34
|
attr_accessor :flow_invalidation
|
|
33
35
|
|
|
34
36
|
attr_accessor :flow_recovery
|
|
@@ -41,6 +43,8 @@ module Authentik::Api
|
|
|
41
43
|
|
|
42
44
|
attr_accessor :flow_lockdown
|
|
43
45
|
|
|
46
|
+
attr_accessor :flow_request
|
|
47
|
+
|
|
44
48
|
# When set, external users will be redirected to this application after authenticating.
|
|
45
49
|
attr_accessor :default_application
|
|
46
50
|
|
|
@@ -64,12 +68,14 @@ module Authentik::Api
|
|
|
64
68
|
:'branding_custom_css' => :'branding_custom_css',
|
|
65
69
|
:'branding_default_flow_background' => :'branding_default_flow_background',
|
|
66
70
|
:'flow_authentication' => :'flow_authentication',
|
|
71
|
+
:'flow_user_switch' => :'flow_user_switch',
|
|
67
72
|
:'flow_invalidation' => :'flow_invalidation',
|
|
68
73
|
:'flow_recovery' => :'flow_recovery',
|
|
69
74
|
:'flow_unenrollment' => :'flow_unenrollment',
|
|
70
75
|
:'flow_user_settings' => :'flow_user_settings',
|
|
71
76
|
:'flow_device_code' => :'flow_device_code',
|
|
72
77
|
:'flow_lockdown' => :'flow_lockdown',
|
|
78
|
+
:'flow_request' => :'flow_request',
|
|
73
79
|
:'default_application' => :'default_application',
|
|
74
80
|
:'web_certificate' => :'web_certificate',
|
|
75
81
|
:'client_certificates' => :'client_certificates',
|
|
@@ -99,12 +105,14 @@ module Authentik::Api
|
|
|
99
105
|
:'branding_custom_css' => :'String',
|
|
100
106
|
:'branding_default_flow_background' => :'String',
|
|
101
107
|
:'flow_authentication' => :'String',
|
|
108
|
+
:'flow_user_switch' => :'String',
|
|
102
109
|
:'flow_invalidation' => :'String',
|
|
103
110
|
:'flow_recovery' => :'String',
|
|
104
111
|
:'flow_unenrollment' => :'String',
|
|
105
112
|
:'flow_user_settings' => :'String',
|
|
106
113
|
:'flow_device_code' => :'String',
|
|
107
114
|
:'flow_lockdown' => :'String',
|
|
115
|
+
:'flow_request' => :'String',
|
|
108
116
|
:'default_application' => :'String',
|
|
109
117
|
:'web_certificate' => :'String',
|
|
110
118
|
:'client_certificates' => :'Array<String>',
|
|
@@ -116,12 +124,14 @@ module Authentik::Api
|
|
|
116
124
|
def self.openapi_nullable
|
|
117
125
|
Set.new([
|
|
118
126
|
:'flow_authentication',
|
|
127
|
+
:'flow_user_switch',
|
|
119
128
|
:'flow_invalidation',
|
|
120
129
|
:'flow_recovery',
|
|
121
130
|
:'flow_unenrollment',
|
|
122
131
|
:'flow_user_settings',
|
|
123
132
|
:'flow_device_code',
|
|
124
133
|
:'flow_lockdown',
|
|
134
|
+
:'flow_request',
|
|
125
135
|
:'default_application',
|
|
126
136
|
:'web_certificate',
|
|
127
137
|
])
|
|
@@ -183,6 +193,10 @@ module Authentik::Api
|
|
|
183
193
|
self.flow_authentication = attributes[:'flow_authentication']
|
|
184
194
|
end
|
|
185
195
|
|
|
196
|
+
if attributes.key?(:'flow_user_switch')
|
|
197
|
+
self.flow_user_switch = attributes[:'flow_user_switch']
|
|
198
|
+
end
|
|
199
|
+
|
|
186
200
|
if attributes.key?(:'flow_invalidation')
|
|
187
201
|
self.flow_invalidation = attributes[:'flow_invalidation']
|
|
188
202
|
end
|
|
@@ -207,6 +221,10 @@ module Authentik::Api
|
|
|
207
221
|
self.flow_lockdown = attributes[:'flow_lockdown']
|
|
208
222
|
end
|
|
209
223
|
|
|
224
|
+
if attributes.key?(:'flow_request')
|
|
225
|
+
self.flow_request = attributes[:'flow_request']
|
|
226
|
+
end
|
|
227
|
+
|
|
210
228
|
if attributes.key?(:'default_application')
|
|
211
229
|
self.default_application = attributes[:'default_application']
|
|
212
230
|
end
|
|
@@ -287,12 +305,14 @@ module Authentik::Api
|
|
|
287
305
|
branding_custom_css == o.branding_custom_css &&
|
|
288
306
|
branding_default_flow_background == o.branding_default_flow_background &&
|
|
289
307
|
flow_authentication == o.flow_authentication &&
|
|
308
|
+
flow_user_switch == o.flow_user_switch &&
|
|
290
309
|
flow_invalidation == o.flow_invalidation &&
|
|
291
310
|
flow_recovery == o.flow_recovery &&
|
|
292
311
|
flow_unenrollment == o.flow_unenrollment &&
|
|
293
312
|
flow_user_settings == o.flow_user_settings &&
|
|
294
313
|
flow_device_code == o.flow_device_code &&
|
|
295
314
|
flow_lockdown == o.flow_lockdown &&
|
|
315
|
+
flow_request == o.flow_request &&
|
|
296
316
|
default_application == o.default_application &&
|
|
297
317
|
web_certificate == o.web_certificate &&
|
|
298
318
|
client_certificates == o.client_certificates &&
|
|
@@ -308,7 +328,7 @@ module Authentik::Api
|
|
|
308
328
|
# Calculates hash code according to all attributes.
|
|
309
329
|
# @return [Integer] Hash code
|
|
310
330
|
def hash
|
|
311
|
-
[brand_uuid, domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, default_application, web_certificate, client_certificates, attributes].hash
|
|
331
|
+
[brand_uuid, domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_user_switch, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, flow_request, default_application, web_certificate, client_certificates, attributes].hash
|
|
312
332
|
end
|
|
313
333
|
|
|
314
334
|
# Builds the object from hash
|
|
@@ -27,6 +27,8 @@ module Authentik::Api
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :flow_authentication
|
|
29
29
|
|
|
30
|
+
attr_accessor :flow_user_switch
|
|
31
|
+
|
|
30
32
|
attr_accessor :flow_invalidation
|
|
31
33
|
|
|
32
34
|
attr_accessor :flow_recovery
|
|
@@ -39,6 +41,8 @@ module Authentik::Api
|
|
|
39
41
|
|
|
40
42
|
attr_accessor :flow_lockdown
|
|
41
43
|
|
|
44
|
+
attr_accessor :flow_request
|
|
45
|
+
|
|
42
46
|
# When set, external users will be redirected to this application after authenticating.
|
|
43
47
|
attr_accessor :default_application
|
|
44
48
|
|
|
@@ -61,12 +65,14 @@ module Authentik::Api
|
|
|
61
65
|
:'branding_custom_css' => :'branding_custom_css',
|
|
62
66
|
:'branding_default_flow_background' => :'branding_default_flow_background',
|
|
63
67
|
:'flow_authentication' => :'flow_authentication',
|
|
68
|
+
:'flow_user_switch' => :'flow_user_switch',
|
|
64
69
|
:'flow_invalidation' => :'flow_invalidation',
|
|
65
70
|
:'flow_recovery' => :'flow_recovery',
|
|
66
71
|
:'flow_unenrollment' => :'flow_unenrollment',
|
|
67
72
|
:'flow_user_settings' => :'flow_user_settings',
|
|
68
73
|
:'flow_device_code' => :'flow_device_code',
|
|
69
74
|
:'flow_lockdown' => :'flow_lockdown',
|
|
75
|
+
:'flow_request' => :'flow_request',
|
|
70
76
|
:'default_application' => :'default_application',
|
|
71
77
|
:'web_certificate' => :'web_certificate',
|
|
72
78
|
:'client_certificates' => :'client_certificates',
|
|
@@ -95,12 +101,14 @@ module Authentik::Api
|
|
|
95
101
|
:'branding_custom_css' => :'String',
|
|
96
102
|
:'branding_default_flow_background' => :'String',
|
|
97
103
|
:'flow_authentication' => :'String',
|
|
104
|
+
:'flow_user_switch' => :'String',
|
|
98
105
|
:'flow_invalidation' => :'String',
|
|
99
106
|
:'flow_recovery' => :'String',
|
|
100
107
|
:'flow_unenrollment' => :'String',
|
|
101
108
|
:'flow_user_settings' => :'String',
|
|
102
109
|
:'flow_device_code' => :'String',
|
|
103
110
|
:'flow_lockdown' => :'String',
|
|
111
|
+
:'flow_request' => :'String',
|
|
104
112
|
:'default_application' => :'String',
|
|
105
113
|
:'web_certificate' => :'String',
|
|
106
114
|
:'client_certificates' => :'Array<String>',
|
|
@@ -112,12 +120,14 @@ module Authentik::Api
|
|
|
112
120
|
def self.openapi_nullable
|
|
113
121
|
Set.new([
|
|
114
122
|
:'flow_authentication',
|
|
123
|
+
:'flow_user_switch',
|
|
115
124
|
:'flow_invalidation',
|
|
116
125
|
:'flow_recovery',
|
|
117
126
|
:'flow_unenrollment',
|
|
118
127
|
:'flow_user_settings',
|
|
119
128
|
:'flow_device_code',
|
|
120
129
|
:'flow_lockdown',
|
|
130
|
+
:'flow_request',
|
|
121
131
|
:'default_application',
|
|
122
132
|
:'web_certificate',
|
|
123
133
|
])
|
|
@@ -173,6 +183,10 @@ module Authentik::Api
|
|
|
173
183
|
self.flow_authentication = attributes[:'flow_authentication']
|
|
174
184
|
end
|
|
175
185
|
|
|
186
|
+
if attributes.key?(:'flow_user_switch')
|
|
187
|
+
self.flow_user_switch = attributes[:'flow_user_switch']
|
|
188
|
+
end
|
|
189
|
+
|
|
176
190
|
if attributes.key?(:'flow_invalidation')
|
|
177
191
|
self.flow_invalidation = attributes[:'flow_invalidation']
|
|
178
192
|
end
|
|
@@ -197,6 +211,10 @@ module Authentik::Api
|
|
|
197
211
|
self.flow_lockdown = attributes[:'flow_lockdown']
|
|
198
212
|
end
|
|
199
213
|
|
|
214
|
+
if attributes.key?(:'flow_request')
|
|
215
|
+
self.flow_request = attributes[:'flow_request']
|
|
216
|
+
end
|
|
217
|
+
|
|
200
218
|
if attributes.key?(:'default_application')
|
|
201
219
|
self.default_application = attributes[:'default_application']
|
|
202
220
|
end
|
|
@@ -346,12 +364,14 @@ module Authentik::Api
|
|
|
346
364
|
branding_custom_css == o.branding_custom_css &&
|
|
347
365
|
branding_default_flow_background == o.branding_default_flow_background &&
|
|
348
366
|
flow_authentication == o.flow_authentication &&
|
|
367
|
+
flow_user_switch == o.flow_user_switch &&
|
|
349
368
|
flow_invalidation == o.flow_invalidation &&
|
|
350
369
|
flow_recovery == o.flow_recovery &&
|
|
351
370
|
flow_unenrollment == o.flow_unenrollment &&
|
|
352
371
|
flow_user_settings == o.flow_user_settings &&
|
|
353
372
|
flow_device_code == o.flow_device_code &&
|
|
354
373
|
flow_lockdown == o.flow_lockdown &&
|
|
374
|
+
flow_request == o.flow_request &&
|
|
355
375
|
default_application == o.default_application &&
|
|
356
376
|
web_certificate == o.web_certificate &&
|
|
357
377
|
client_certificates == o.client_certificates &&
|
|
@@ -367,7 +387,7 @@ module Authentik::Api
|
|
|
367
387
|
# Calculates hash code according to all attributes.
|
|
368
388
|
# @return [Integer] Hash code
|
|
369
389
|
def hash
|
|
370
|
-
[domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, default_application, web_certificate, client_certificates, attributes].hash
|
|
390
|
+
[domain, default, branding_title, branding_logo, branding_favicon, branding_custom_css, branding_default_flow_background, flow_authentication, flow_user_switch, flow_invalidation, flow_recovery, flow_unenrollment, flow_user_settings, flow_device_code, flow_lockdown, flow_request, default_application, web_certificate, client_certificates, attributes].hash
|
|
371
391
|
end
|
|
372
392
|
|
|
373
393
|
# Builds the object from hash
|
|
@@ -35,6 +35,8 @@ module Authentik::Api
|
|
|
35
35
|
|
|
36
36
|
attr_accessor :api_url
|
|
37
37
|
|
|
38
|
+
attr_accessor :request_content_type
|
|
39
|
+
|
|
38
40
|
attr_accessor :interactive
|
|
39
41
|
|
|
40
42
|
attr_accessor :score_min_threshold
|
|
@@ -44,6 +46,28 @@ module Authentik::Api
|
|
|
44
46
|
# When enabled and the received captcha score is outside of the given threshold, the stage will show an error message. When not enabled, the flow will continue, but the data from the captcha will be available in the context for policy decisions
|
|
45
47
|
attr_accessor :error_on_invalid_score
|
|
46
48
|
|
|
49
|
+
class EnumAttributeValidator
|
|
50
|
+
attr_reader :datatype
|
|
51
|
+
attr_reader :allowable_values
|
|
52
|
+
|
|
53
|
+
def initialize(datatype, allowable_values)
|
|
54
|
+
@allowable_values = allowable_values.map do |value|
|
|
55
|
+
case datatype.to_s
|
|
56
|
+
when /Integer/i
|
|
57
|
+
value.to_i
|
|
58
|
+
when /Float/i
|
|
59
|
+
value.to_f
|
|
60
|
+
else
|
|
61
|
+
value
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def valid?(value)
|
|
67
|
+
!value || allowable_values.include?(value)
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
47
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
72
|
def self.attribute_map
|
|
49
73
|
{
|
|
@@ -57,6 +81,7 @@ module Authentik::Api
|
|
|
57
81
|
:'public_key' => :'public_key',
|
|
58
82
|
:'js_url' => :'js_url',
|
|
59
83
|
:'api_url' => :'api_url',
|
|
84
|
+
:'request_content_type' => :'request_content_type',
|
|
60
85
|
:'interactive' => :'interactive',
|
|
61
86
|
:'score_min_threshold' => :'score_min_threshold',
|
|
62
87
|
:'score_max_threshold' => :'score_max_threshold',
|
|
@@ -87,6 +112,7 @@ module Authentik::Api
|
|
|
87
112
|
:'public_key' => :'String',
|
|
88
113
|
:'js_url' => :'String',
|
|
89
114
|
:'api_url' => :'String',
|
|
115
|
+
:'request_content_type' => :'RequestContentTypeEnum',
|
|
90
116
|
:'interactive' => :'Boolean',
|
|
91
117
|
:'score_min_threshold' => :'Float',
|
|
92
118
|
:'score_max_threshold' => :'Float',
|
|
@@ -174,6 +200,10 @@ module Authentik::Api
|
|
|
174
200
|
self.api_url = attributes[:'api_url']
|
|
175
201
|
end
|
|
176
202
|
|
|
203
|
+
if attributes.key?(:'request_content_type')
|
|
204
|
+
self.request_content_type = attributes[:'request_content_type']
|
|
205
|
+
end
|
|
206
|
+
|
|
177
207
|
if attributes.key?(:'interactive')
|
|
178
208
|
self.interactive = attributes[:'interactive']
|
|
179
209
|
end
|
|
@@ -341,6 +371,7 @@ module Authentik::Api
|
|
|
341
371
|
public_key == o.public_key &&
|
|
342
372
|
js_url == o.js_url &&
|
|
343
373
|
api_url == o.api_url &&
|
|
374
|
+
request_content_type == o.request_content_type &&
|
|
344
375
|
interactive == o.interactive &&
|
|
345
376
|
score_min_threshold == o.score_min_threshold &&
|
|
346
377
|
score_max_threshold == o.score_max_threshold &&
|
|
@@ -356,7 +387,7 @@ module Authentik::Api
|
|
|
356
387
|
# Calculates hash code according to all attributes.
|
|
357
388
|
# @return [Integer] Hash code
|
|
358
389
|
def hash
|
|
359
|
-
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, public_key, js_url, api_url, interactive, score_min_threshold, score_max_threshold, error_on_invalid_score].hash
|
|
390
|
+
[pk, name, component, verbose_name, verbose_name_plural, meta_model_name, flow_set, public_key, js_url, api_url, request_content_type, interactive, score_min_threshold, score_max_threshold, error_on_invalid_score].hash
|
|
360
391
|
end
|
|
361
392
|
|
|
362
393
|
# Builds the object from hash
|