authentik-api 2026.2.4 → 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 +66 -14
- data/lib/authentik/api/api/admin_api.rb +4 -12
- data/lib/authentik/api/api/core_api.rb +143 -18
- data/lib/authentik/api/api/crypto_api.rb +2 -6
- data/lib/authentik/api/api/endpoints_api.rb +1577 -656
- data/lib/authentik/api/api/events_api.rb +121 -38
- data/lib/authentik/api/api/flows_api.rb +8 -90
- data/lib/authentik/api/api/lifecycle_api.rb +22 -13
- data/lib/authentik/api/api/managed_api.rb +73 -0
- data/lib/authentik/api/api/policies_api.rb +5 -6
- data/lib/authentik/api/api/providers_api.rb +46 -108
- data/lib/authentik/api/api/rbac_api.rb +0 -5
- data/lib/authentik/api/api/schema_api.rb +4 -12
- data/lib/authentik/api/api/sources_api.rb +35 -96
- data/lib/authentik/api/api/ssf_api.rb +63 -6
- data/lib/authentik/api/api/stages_api.rb +581 -102
- data/lib/authentik/api/api/tasks_api.rb +5 -13
- 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/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/expiring_base_grant_model.rb +1 -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_kerberos_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
- data/lib/authentik/api/models/group_ldap_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_o_auth_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_plex_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_saml_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/group_telegram_source_connection_request.rb +27 -1
- 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_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_group_kerberos_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_ldap_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_o_auth_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_plex_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_saml_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_group_telegram_source_connection_request.rb +10 -1
- 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/patched_user_kerberos_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_ldap_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_o_auth_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_plex_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_saml_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_source_connection_request.rb +10 -1
- data/lib/authentik/api/models/patched_user_telegram_source_connection_request.rb +10 -1
- 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_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/token_model.rb +1 -1
- 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_kerberos_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
- data/lib/authentik/api/models/user_ldap_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_o_auth_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
- data/lib/authentik/api/models/user_plex_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_saml_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_source_connection_request.rb +27 -1
- data/lib/authentik/api/models/user_telegram_source_connection_request.rb +27 -1
- 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_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/group_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/group_ldap_source_connection_spec.rb +6 -0
- data/spec/models/group_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/group_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/group_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/group_source_connection_request_spec.rb +6 -0
- data/spec/models/group_telegram_source_connection_request_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_group_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_group_telegram_source_connection_request_spec.rb +6 -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/patched_user_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_source_connection_request_spec.rb +6 -0
- data/spec/models/patched_user_telegram_source_connection_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_kerberos_source_connection_request_spec.rb +6 -0
- data/spec/models/user_ldap_source_connection_request_spec.rb +6 -0
- data/spec/models/user_ldap_source_connection_spec.rb +6 -0
- data/spec/models/user_o_auth_source_connection_request_spec.rb +6 -0
- data/spec/models/user_password_hash_set_request_spec.rb +30 -0
- data/spec/models/user_plex_source_connection_request_spec.rb +6 -0
- data/spec/models/user_saml_source_connection_request_spec.rb +6 -0
- data/spec/models/user_source_connection_request_spec.rb +6 -0
- data/spec/models/user_telegram_source_connection_request_spec.rb +6 -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
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
This file is automatically generated by: https://openapi-generator.tech.
|
|
3
|
+
Any manual changes will be lost when the OpenAPI scheme changes.
|
|
4
|
+
|
|
5
|
+
=end
|
|
6
|
+
|
|
7
|
+
require 'date'
|
|
8
|
+
require 'time'
|
|
9
|
+
|
|
10
|
+
module Authentik::Api
|
|
11
|
+
# GoogleChromeConnector Serializer
|
|
12
|
+
class PatchedGoogleChromeConnectorRequest < ApiModelBase
|
|
13
|
+
attr_accessor :connector_uuid
|
|
14
|
+
|
|
15
|
+
attr_accessor :name
|
|
16
|
+
|
|
17
|
+
attr_accessor :enabled
|
|
18
|
+
|
|
19
|
+
attr_accessor :credentials
|
|
20
|
+
|
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
|
+
def self.attribute_map
|
|
23
|
+
{
|
|
24
|
+
:'connector_uuid' => :'connector_uuid',
|
|
25
|
+
:'name' => :'name',
|
|
26
|
+
:'enabled' => :'enabled',
|
|
27
|
+
:'credentials' => :'credentials'
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Returns attribute mapping this model knows about
|
|
32
|
+
def self.acceptable_attribute_map
|
|
33
|
+
attribute_map
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Returns all the JSON keys this model knows about
|
|
37
|
+
def self.acceptable_attributes
|
|
38
|
+
acceptable_attribute_map.values
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute type mapping.
|
|
42
|
+
def self.openapi_types
|
|
43
|
+
{
|
|
44
|
+
:'connector_uuid' => :'String',
|
|
45
|
+
:'name' => :'String',
|
|
46
|
+
:'enabled' => :'Boolean',
|
|
47
|
+
:'credentials' => :'Hash<String, Object>'
|
|
48
|
+
}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# List of attributes with nullable: true
|
|
52
|
+
def self.openapi_nullable
|
|
53
|
+
Set.new([
|
|
54
|
+
])
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Initializes the object
|
|
58
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
59
|
+
def initialize(attributes = {})
|
|
60
|
+
if (!attributes.is_a?(Hash))
|
|
61
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Authentik::Api::PatchedGoogleChromeConnectorRequest` initialize method"
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
65
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
66
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
67
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Authentik::Api::PatchedGoogleChromeConnectorRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
69
|
+
end
|
|
70
|
+
h[k.to_sym] = v
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if attributes.key?(:'connector_uuid')
|
|
74
|
+
self.connector_uuid = attributes[:'connector_uuid']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'name')
|
|
78
|
+
self.name = attributes[:'name']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.key?(:'enabled')
|
|
82
|
+
self.enabled = attributes[:'enabled']
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
if attributes.key?(:'credentials')
|
|
86
|
+
if (value = attributes[:'credentials']).is_a?(Hash)
|
|
87
|
+
self.credentials = value
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
93
|
+
# @return Array for valid properties with the reasons
|
|
94
|
+
def list_invalid_properties
|
|
95
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
96
|
+
invalid_properties = Array.new
|
|
97
|
+
if !@name.nil? && @name.to_s.length < 1
|
|
98
|
+
invalid_properties.push('invalid value for "name", the character length must be greater than or equal to 1.')
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
invalid_properties
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Check to see if the all the properties in the model are valid
|
|
105
|
+
# @return true if the model is valid
|
|
106
|
+
def valid?
|
|
107
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
108
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
|
109
|
+
true
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Custom attribute writer method with validation
|
|
113
|
+
# @param [Object] name Value to be assigned
|
|
114
|
+
def name=(name)
|
|
115
|
+
if name.nil?
|
|
116
|
+
fail ArgumentError, 'name cannot be nil'
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
if name.to_s.length < 1
|
|
120
|
+
fail ArgumentError, 'invalid value for "name", the character length must be greater than or equal to 1.'
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
@name = name
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Checks equality by comparing each attribute.
|
|
127
|
+
# @param [Object] Object to be compared
|
|
128
|
+
def ==(o)
|
|
129
|
+
return true if self.equal?(o)
|
|
130
|
+
self.class == o.class &&
|
|
131
|
+
connector_uuid == o.connector_uuid &&
|
|
132
|
+
name == o.name &&
|
|
133
|
+
enabled == o.enabled &&
|
|
134
|
+
credentials == o.credentials
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# @see the `==` method
|
|
138
|
+
# @param [Object] Object to be compared
|
|
139
|
+
def eql?(o)
|
|
140
|
+
self == o
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Calculates hash code according to all attributes.
|
|
144
|
+
# @return [Integer] Hash code
|
|
145
|
+
def hash
|
|
146
|
+
[connector_uuid, name, enabled, credentials].hash
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Builds the object from hash
|
|
150
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
151
|
+
# @return [Object] Returns the model itself
|
|
152
|
+
def self.build_from_hash(attributes)
|
|
153
|
+
return nil unless attributes.is_a?(Hash)
|
|
154
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
155
|
+
transformed_hash = {}
|
|
156
|
+
openapi_types.each_pair do |key, type|
|
|
157
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
158
|
+
transformed_hash["#{key}"] = nil
|
|
159
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
160
|
+
# check to ensure the input is an array given that the attribute
|
|
161
|
+
# is documented as an array but the input is not
|
|
162
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
163
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
164
|
+
end
|
|
165
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
166
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
new(transformed_hash)
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Returns the object in the form of hash
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_hash
|
|
175
|
+
hash = {}
|
|
176
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
177
|
+
value = self.send(attr)
|
|
178
|
+
if value.nil?
|
|
179
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
180
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
hash[param] = _to_hash(value)
|
|
184
|
+
end
|
|
185
|
+
hash
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
end
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupKerberosSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupLDAPSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupOAuthSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupPlexSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupSAMLSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -10,6 +10,8 @@ require 'time'
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
# Group Source Connection
|
|
12
12
|
class PatchedGroupTelegramSourceConnectionRequest < ApiModelBase
|
|
13
|
+
attr_accessor :group
|
|
14
|
+
|
|
13
15
|
attr_accessor :source
|
|
14
16
|
|
|
15
17
|
attr_accessor :identifier
|
|
@@ -17,6 +19,7 @@ module Authentik::Api
|
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
22
|
+
:'group' => :'group',
|
|
20
23
|
:'source' => :'source',
|
|
21
24
|
:'identifier' => :'identifier'
|
|
22
25
|
}
|
|
@@ -35,6 +38,7 @@ module Authentik::Api
|
|
|
35
38
|
# Attribute type mapping.
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
41
|
+
:'group' => :'String',
|
|
38
42
|
:'source' => :'String',
|
|
39
43
|
:'identifier' => :'String'
|
|
40
44
|
}
|
|
@@ -62,6 +66,10 @@ module Authentik::Api
|
|
|
62
66
|
h[k.to_sym] = v
|
|
63
67
|
}
|
|
64
68
|
|
|
69
|
+
if attributes.key?(:'group')
|
|
70
|
+
self.group = attributes[:'group']
|
|
71
|
+
end
|
|
72
|
+
|
|
65
73
|
if attributes.key?(:'source')
|
|
66
74
|
self.source = attributes[:'source']
|
|
67
75
|
end
|
|
@@ -110,6 +118,7 @@ module Authentik::Api
|
|
|
110
118
|
def ==(o)
|
|
111
119
|
return true if self.equal?(o)
|
|
112
120
|
self.class == o.class &&
|
|
121
|
+
group == o.group &&
|
|
113
122
|
source == o.source &&
|
|
114
123
|
identifier == o.identifier
|
|
115
124
|
end
|
|
@@ -123,7 +132,7 @@ module Authentik::Api
|
|
|
123
132
|
# Calculates hash code according to all attributes.
|
|
124
133
|
# @return [Integer] Hash code
|
|
125
134
|
def hash
|
|
126
|
-
[source, identifier].hash
|
|
135
|
+
[group, source, identifier].hash
|
|
127
136
|
end
|
|
128
137
|
|
|
129
138
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ module Authentik::Api
|
|
|
16
16
|
|
|
17
17
|
attr_accessor :webhook_url
|
|
18
18
|
|
|
19
|
+
# When set, the selected ceritifcate is used to validate the certificate of the webhook server.
|
|
20
|
+
attr_accessor :webhook_ca
|
|
21
|
+
|
|
19
22
|
# Customize the body of the request. Mapping should return data that is JSON-serializable.
|
|
20
23
|
attr_accessor :webhook_mapping_body
|
|
21
24
|
|
|
@@ -57,6 +60,7 @@ module Authentik::Api
|
|
|
57
60
|
:'name' => :'name',
|
|
58
61
|
:'mode' => :'mode',
|
|
59
62
|
:'webhook_url' => :'webhook_url',
|
|
63
|
+
:'webhook_ca' => :'webhook_ca',
|
|
60
64
|
:'webhook_mapping_body' => :'webhook_mapping_body',
|
|
61
65
|
:'webhook_mapping_headers' => :'webhook_mapping_headers',
|
|
62
66
|
:'email_subject_prefix' => :'email_subject_prefix',
|
|
@@ -79,8 +83,9 @@ module Authentik::Api
|
|
|
79
83
|
def self.openapi_types
|
|
80
84
|
{
|
|
81
85
|
:'name' => :'String',
|
|
82
|
-
:'mode' => :'
|
|
86
|
+
:'mode' => :'TransportModeEnum',
|
|
83
87
|
:'webhook_url' => :'String',
|
|
88
|
+
:'webhook_ca' => :'String',
|
|
84
89
|
:'webhook_mapping_body' => :'String',
|
|
85
90
|
:'webhook_mapping_headers' => :'String',
|
|
86
91
|
:'email_subject_prefix' => :'String',
|
|
@@ -92,6 +97,7 @@ module Authentik::Api
|
|
|
92
97
|
# List of attributes with nullable: true
|
|
93
98
|
def self.openapi_nullable
|
|
94
99
|
Set.new([
|
|
100
|
+
:'webhook_ca',
|
|
95
101
|
:'webhook_mapping_body',
|
|
96
102
|
:'webhook_mapping_headers',
|
|
97
103
|
])
|
|
@@ -125,6 +131,10 @@ module Authentik::Api
|
|
|
125
131
|
self.webhook_url = attributes[:'webhook_url']
|
|
126
132
|
end
|
|
127
133
|
|
|
134
|
+
if attributes.key?(:'webhook_ca')
|
|
135
|
+
self.webhook_ca = attributes[:'webhook_ca']
|
|
136
|
+
end
|
|
137
|
+
|
|
128
138
|
if attributes.key?(:'webhook_mapping_body')
|
|
129
139
|
self.webhook_mapping_body = attributes[:'webhook_mapping_body']
|
|
130
140
|
end
|
|
@@ -207,6 +217,7 @@ module Authentik::Api
|
|
|
207
217
|
name == o.name &&
|
|
208
218
|
mode == o.mode &&
|
|
209
219
|
webhook_url == o.webhook_url &&
|
|
220
|
+
webhook_ca == o.webhook_ca &&
|
|
210
221
|
webhook_mapping_body == o.webhook_mapping_body &&
|
|
211
222
|
webhook_mapping_headers == o.webhook_mapping_headers &&
|
|
212
223
|
email_subject_prefix == o.email_subject_prefix &&
|
|
@@ -223,7 +234,7 @@ module Authentik::Api
|
|
|
223
234
|
# Calculates hash code according to all attributes.
|
|
224
235
|
# @return [Integer] Hash code
|
|
225
236
|
def hash
|
|
226
|
-
[name, mode, webhook_url, webhook_mapping_body, webhook_mapping_headers, email_subject_prefix, email_template, send_once].hash
|
|
237
|
+
[name, mode, webhook_url, webhook_ca, webhook_mapping_body, webhook_mapping_headers, email_subject_prefix, email_template, send_once].hash
|
|
227
238
|
end
|
|
228
239
|
|
|
229
240
|
# Builds the object from hash
|
|
@@ -26,6 +26,8 @@ module Authentik::Api
|
|
|
26
26
|
# Confidential clients are capable of maintaining the confidentiality of their credentials. Public clients are incapable
|
|
27
27
|
attr_accessor :client_type
|
|
28
28
|
|
|
29
|
+
attr_accessor :grant_types
|
|
30
|
+
|
|
29
31
|
attr_accessor :client_id
|
|
30
32
|
|
|
31
33
|
attr_accessor :client_secret
|
|
@@ -99,6 +101,7 @@ module Authentik::Api
|
|
|
99
101
|
:'invalidation_flow' => :'invalidation_flow',
|
|
100
102
|
:'property_mappings' => :'property_mappings',
|
|
101
103
|
:'client_type' => :'client_type',
|
|
104
|
+
:'grant_types' => :'grant_types',
|
|
102
105
|
:'client_id' => :'client_id',
|
|
103
106
|
:'client_secret' => :'client_secret',
|
|
104
107
|
:'access_code_validity' => :'access_code_validity',
|
|
@@ -137,6 +140,7 @@ module Authentik::Api
|
|
|
137
140
|
:'invalidation_flow' => :'String',
|
|
138
141
|
:'property_mappings' => :'Array<String>',
|
|
139
142
|
:'client_type' => :'ClientTypeEnum',
|
|
143
|
+
:'grant_types' => :'Array<GrantTypesEnum>',
|
|
140
144
|
:'client_id' => :'String',
|
|
141
145
|
:'client_secret' => :'String',
|
|
142
146
|
:'access_code_validity' => :'String',
|
|
@@ -207,6 +211,12 @@ module Authentik::Api
|
|
|
207
211
|
self.client_type = attributes[:'client_type']
|
|
208
212
|
end
|
|
209
213
|
|
|
214
|
+
if attributes.key?(:'grant_types')
|
|
215
|
+
if (value = attributes[:'grant_types']).is_a?(Array)
|
|
216
|
+
self.grant_types = value
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
210
220
|
if attributes.key?(:'client_id')
|
|
211
221
|
self.client_id = attributes[:'client_id']
|
|
212
222
|
end
|
|
@@ -446,6 +456,7 @@ module Authentik::Api
|
|
|
446
456
|
invalidation_flow == o.invalidation_flow &&
|
|
447
457
|
property_mappings == o.property_mappings &&
|
|
448
458
|
client_type == o.client_type &&
|
|
459
|
+
grant_types == o.grant_types &&
|
|
449
460
|
client_id == o.client_id &&
|
|
450
461
|
client_secret == o.client_secret &&
|
|
451
462
|
access_code_validity == o.access_code_validity &&
|
|
@@ -473,7 +484,7 @@ module Authentik::Api
|
|
|
473
484
|
# Calculates hash code according to all attributes.
|
|
474
485
|
# @return [Integer] Hash code
|
|
475
486
|
def hash
|
|
476
|
-
[name, authentication_flow, authorization_flow, invalidation_flow, property_mappings, client_type, client_id, client_secret, access_code_validity, access_token_validity, refresh_token_validity, refresh_token_threshold, include_claims_in_id_token, signing_key, encryption_key, redirect_uris, logout_uri, logout_method, sub_mode, issuer_mode, jwt_federation_sources, jwt_federation_providers].hash
|
|
487
|
+
[name, authentication_flow, authorization_flow, invalidation_flow, property_mappings, client_type, grant_types, client_id, client_secret, access_code_validity, access_token_validity, refresh_token_validity, refresh_token_threshold, include_claims_in_id_token, signing_key, encryption_key, redirect_uris, logout_uri, logout_method, sub_mode, issuer_mode, jwt_federation_sources, jwt_federation_providers].hash
|
|
477
488
|
end
|
|
478
489
|
|
|
479
490
|
# Builds the object from hash
|