diff --git a/.fern/metadata.json b/.fern/metadata.json index 65385325e..8d66d544c 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,5 +1,5 @@ { - "cliVersion": "5.92.1", + "cliVersion": "5.144.3", "generatorName": "fernapi/fern-ruby-sdk", "generatorVersion": "1.24.1", "generatorConfig": { @@ -10,9 +10,9 @@ "offsetSemantics": "page-index", "useDefaultRequestParameterValues": true }, - "originGitCommit": "d0c167e92ed941d977b98e76601bd970b0e5ecea", + "originGitCommit": "275ad23d02d33d550693bc23ebae86dfa8ee7101", "originGitCommitIsDirty": false, "invokedBy": "ci", "ciProvider": "github", - "sdkVersion": "6.3.1" + "sdkVersion": "6.4.1" } \ No newline at end of file diff --git a/.fern/replay.lock b/.fern/replay.lock index f51283faf..932937e1a 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -54,5 +54,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-ruby-sdk: 1.24.1 -current_generation: ddd12c1ca38e6c93db2c1d30e4194a2ecbca03ba + - commit_sha: 3ee763815dcd7a7a39f5c3c7c6bd40d4de0014d6 + tree_hash: 0ce0997d753141426376e5ff1dcc183ea138c84e + timestamp: 2026-10-13T10:24:06.305Z + cli_version: unknown + generator_versions: + fernapi/fern-ruby-sdk: 1.24.1 +current_generation: 3ee763815dcd7a7a39f5c3c7c6bd40d4de0014d6 patches: [] diff --git a/lib/auth0.rb b/lib/auth0.rb index b02e178cc..fbd06ae98 100644 --- a/lib/auth0.rb +++ b/lib/auth0.rb @@ -149,6 +149,23 @@ require_relative "auth0/types/attack_protection_captcha_auth_challenge_response_content" require_relative "auth0/types/attack_protection_captcha_friendly_captcha_response_content" require_relative "auth0/types/attack_protection_captcha_hcaptcha_response_content" +require_relative "auth0/types/captcha_active_provider_enum" +require_relative "auth0/types/captcha_policy_action_arkose" +require_relative "auth0/types/captcha_policy_action_auth_challenge" +require_relative "auth0/types/captcha_policy_action_friendly_captcha" +require_relative "auth0/types/captcha_policy_action_hcaptcha" +require_relative "auth0/types/captcha_policy_action_recaptcha_enterprise" +require_relative "auth0/types/captcha_policy_action_recaptcha_v2" +require_relative "auth0/types/captcha_policy_action_simple_captcha" +require_relative "auth0/types/attack_protection_captcha_policy_action" +require_relative "auth0/types/attack_protection_captcha_policy_match" +require_relative "auth0/types/attack_protection_captcha_policy" +require_relative "auth0/types/captcha_policy_action_arkose_input" +require_relative "auth0/types/captcha_policy_action_friendly_captcha_input" +require_relative "auth0/types/captcha_policy_action_hcaptcha_input" +require_relative "auth0/types/captcha_policy_action_recaptcha_enterprise_input" +require_relative "auth0/types/captcha_policy_action_recaptcha_v2input" +require_relative "auth0/types/attack_protection_captcha_policy_action_input" require_relative "auth0/types/attack_protection_captcha_provider_id" require_relative "auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content" require_relative "auth0/types/attack_protection_captcha_recaptcha_v2response_content" @@ -211,6 +228,7 @@ require_relative "auth0/types/breached_password_detection_pre_user_registration_stage" require_relative "auth0/types/breached_password_detection_shields_enum" require_relative "auth0/types/breached_password_detection_stage" +require_relative "auth0/types/brute_force_protection_form_submission_mode_enum" require_relative "auth0/types/brute_force_protection_mode_enum" require_relative "auth0/types/brute_force_protection_shields_enum" require_relative "auth0/types/bulk_update_acul_response_content" @@ -219,6 +237,7 @@ require_relative "auth0/types/identity_provider_only_auth0enum" require_relative "auth0/types/change_password_ticket_identity" require_relative "auth0/types/change_password_ticket_response_content" +require_relative "auth0/types/cimd_external_metadata_created_by_enum" require_relative "auth0/types/cimd_mapped_private_key_jwt_credential" require_relative "auth0/types/cimd_mapped_client_authentication_methods_private_key_jwt" require_relative "auth0/types/cimd_mapped_client_authentication_methods" @@ -257,6 +276,7 @@ require_relative "auth0/types/client_addon_zendesk" require_relative "auth0/types/client_addon_zoom" require_relative "auth0/types/client_addons" +require_relative "auth0/types/client_anonymous_session_transfer_network_binding_enum" require_relative "auth0/types/client_app_type_enum" require_relative "auth0/types/client_async_approval_notifications_channels_api_post_configuration" require_relative "auth0/types/credential_id" @@ -272,6 +292,7 @@ require_relative "auth0/types/client_default_organization" require_relative "auth0/types/client_encryption_key" require_relative "auth0/types/client_external_metadata_created_by_enum" +require_relative "auth0/types/client_external_metadata_status_enum" require_relative "auth0/types/client_external_metadata_type_enum" require_relative "auth0/types/client_jwt_configuration_scopes" require_relative "auth0/types/signing_algorithm_enum" @@ -348,13 +369,36 @@ require_relative "auth0/types/client_grant_organization_usage_enum" require_relative "auth0/types/client_grant_subject_type_enum" require_relative "auth0/types/client_grant_response_content" +require_relative "auth0/types/client_grant_sort_field_enum" require_relative "auth0/types/client_my_organization_patch_configuration" require_relative "auth0/types/client_my_organization_post_configuration" require_relative "auth0/types/client_oidc_support_allowed_scopes_enum" +require_relative "auth0/types/client_oidc_support_patch" require_relative "auth0/types/client_oidc_support_post" require_relative "auth0/types/client_organization_require_behavior_patch_enum" require_relative "auth0/types/client_organization_usage_patch_enum" +require_relative "auth0/types/client_profile_apply_policy_external_metadata_created_by_enum" +require_relative "auth0/types/client_profile_apply_policy_external_metadata_type_enum" +require_relative "auth0/types/client_profile_apply_policy" +require_relative "auth0/types/client_profile_client_configuration_organization_discovery_method_enum" +require_relative "auth0/types/client_profile_client_configuration_organization_discovery_methods" +require_relative "auth0/types/client_profile_client_configuration_organization_require_behavior_enum" +require_relative "auth0/types/client_profile_client_configuration_organization_require_behavior" +require_relative "auth0/types/client_profile_client_configuration_organization_usage_enum" +require_relative "auth0/types/client_profile_client_configuration_organization_usage" +require_relative "auth0/types/client_profile_refresh_token_idle_token_lifetime" +require_relative "auth0/types/client_profile_refresh_token_leeway" +require_relative "auth0/types/client_profile_refresh_token_token_lifetime" +require_relative "auth0/types/client_profile_client_configuration_refresh_token" +require_relative "auth0/types/client_profile_client_configuration_require_proof_of_possession" +require_relative "auth0/types/client_profile_client_configuration" +require_relative "auth0/types/client_profile_description" +require_relative "auth0/types/client_profile_id" +require_relative "auth0/types/client_profile_name" +require_relative "auth0/types/client_profile" +require_relative "auth0/types/client_search_response" require_relative "auth0/types/client_signed_request_object_with_public_key" +require_relative "auth0/types/client_sort_field_enum" require_relative "auth0/types/client_token_endpoint_auth_method_or_null_enum" require_relative "auth0/types/client_token_exchange_configuration_or_null" require_relative "auth0/types/client_token_vault_privileged_access_with_public_key" @@ -792,6 +836,8 @@ require_relative "auth0/types/connection_profile_organization_assign_membership_on_login_enum" require_relative "auth0/types/connection_profile_organization_show_as_button_enum" require_relative "auth0/types/connection_profile_organization" +require_relative "auth0/types/connection_profile_provisioning_google_workspace_sync_users" +require_relative "auth0/types/connection_profile_provisioning_google_workspace" require_relative "auth0/types/connection_profile_provisioning_scim_token_default_expiry" require_relative "auth0/types/connection_profile_provisioning_scim_token_max_allowed_expiry" require_relative "auth0/types/connection_profile_provisioning_scim_token_scope_enum" @@ -813,7 +859,6 @@ require_relative "auth0/types/connection_provisioning_ticket_url" require_relative "auth0/types/connection_purposes" require_relative "auth0/types/connection_realms" -require_relative "auth0/types/create_connection_common" require_relative "auth0/types/connection_response_common" require_relative "auth0/types/connection_response_content_ad_strategy" require_relative "auth0/types/connection_response_content_ad" @@ -955,6 +1000,7 @@ require_relative "auth0/types/create_branding_theme_response_content" require_relative "auth0/types/create_client_grant_response_content" require_relative "auth0/types/create_client_response_content" +require_relative "auth0/types/create_connection_common" require_relative "auth0/types/create_connection_profile_response_content" require_relative "auth0/types/create_connection_request_content_ad_strategy" require_relative "auth0/types/create_connection_request_content_ad" @@ -1855,6 +1901,7 @@ require_relative "auth0/types/resource_server_token_encryption_key" require_relative "auth0/types/resource_server_token_encryption" require_relative "auth0/types/create_resource_server_response_content" +require_relative "auth0/types/role_owner_id" require_relative "auth0/types/role_type_enum" require_relative "auth0/types/create_role_response_content" require_relative "auth0/types/create_rule_response_content" @@ -1870,6 +1917,7 @@ require_relative "auth0/types/segment_match_conditions" require_relative "auth0/types/segment_not_match_conditions" require_relative "auth0/types/segment_rule" +require_relative "auth0/types/segment_status_enum" require_relative "auth0/types/segment_type_enum" require_relative "auth0/types/create_segment_response_content" require_relative "auth0/types/self_service_profile_allowed_strategy_enum" @@ -2875,6 +2923,11 @@ require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_access_level2enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_access_level3enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_access_level" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level0enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level1enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level2enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level3enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_connection" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization" @@ -2883,6 +2936,11 @@ require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level2enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level3enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_access_level" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_7087fd" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_4de563" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_a4ce06" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_1dbe67" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_previous_object" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_data" require_relative "auth0/types/event_stream_cloud_event_org_connection_added_cloud_event" @@ -2907,6 +2965,11 @@ require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level2enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level3enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_access_level" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level0enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level1enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level2enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level3enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_connection" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization" @@ -2915,6 +2978,11 @@ require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level2enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level3enum" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_access_level" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_3669df" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_55f897" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_66926d" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_88dadc" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_previous_object" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_data" require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event" @@ -3479,12 +3547,14 @@ require_relative "auth0/types/list_aculs_response_content_item" require_relative "auth0/types/list_aculs_offset_paginated_response_content" require_relative "auth0/types/list_agents_response_content" +require_relative "auth0/types/list_attack_protection_captcha_policies_response_content" require_relative "auth0/types/phone_provider_schema_masked" require_relative "auth0/types/list_branding_phone_providers_response_content" require_relative "auth0/types/list_client_connections_response_content" require_relative "auth0/types/organization" require_relative "auth0/types/list_client_grant_organizations_paginated_response_content" require_relative "auth0/types/list_client_grant_paginated_response_content" +require_relative "auth0/types/list_client_profiles_paginated_response_content" require_relative "auth0/types/list_clients_offset_paginated_response_content" require_relative "auth0/types/list_connection_profile_template_response_content" require_relative "auth0/types/list_connection_profiles_paginated_response_content" @@ -3643,6 +3713,7 @@ require_relative "auth0/types/resource_server_token_dialect_schema_enum" require_relative "auth0/types/resource_server_verification_key_pem_certificate" require_relative "auth0/types/revoked_signing_keys_response_content" +require_relative "auth0/types/role_owner_id_filter" require_relative "auth0/types/rollback_action_module_response_content" require_relative "auth0/types/rotate_client_secret_response_content" require_relative "auth0/types/rotate_connection_keys_signing_alg_enum" @@ -3650,6 +3721,8 @@ require_relative "auth0/types/rotate_connections_keys_response_content" require_relative "auth0/types/rotate_signing_keys_response_content" require_relative "auth0/types/rules_config" +require_relative "auth0/types/search_client_grants_response_content" +require_relative "auth0/types/search_clients_response_content" require_relative "auth0/types/search_engine_versions_enum" require_relative "auth0/types/search_organization" require_relative "auth0/types/search_organizations_paginated_response_content" @@ -3705,6 +3778,7 @@ require_relative "auth0/types/sets_custom_texts_by_language_request_content" require_relative "auth0/types/signing_keys" require_relative "auth0/types/synchronized_group_selection_id" +require_relative "auth0/types/system_role_owner_id" require_relative "auth0/types/tenant_settings_country_codes_mode" require_relative "auth0/types/tenant_settings_country_codes" require_relative "auth0/types/tenant_settings_supported_locales_enum" @@ -3806,10 +3880,8 @@ require_relative "auth0/types/update_enabled_client_connections_request_content" require_relative "auth0/types/update_event_stream_response_content" require_relative "auth0/types/update_experiment_response_content" -require_relative "auth0/types/update_experiment_status_response_content" require_relative "auth0/types/update_feature_flag_parameters" require_relative "auth0/types/update_feature_flag_response_content" -require_relative "auth0/types/update_feature_flag_status_response_content" require_relative "auth0/types/update_flow_response_content" require_relative "auth0/types/update_flows_vault_connection_response_content" require_relative "auth0/types/update_flows_vault_connection_setup" @@ -3879,12 +3951,18 @@ require_relative "auth0/client_grants/client" require_relative "auth0/client_grants/types/list_client_grants_request_parameters" require_relative "auth0/client_grants/types/create_client_grant_request_content" +require_relative "auth0/client_grants/types/search_client_grants_request_parameters" require_relative "auth0/client_grants/types/update_client_grant_request_content" +require_relative "auth0/client_profiles/client" +require_relative "auth0/client_profiles/types/list_client_profiles_request_parameters" +require_relative "auth0/client_profiles/types/create_client_profile_request_content" +require_relative "auth0/client_profiles/types/update_client_profile_request_content" require_relative "auth0/clients/client" require_relative "auth0/clients/types/list_clients_request_parameters" require_relative "auth0/clients/types/create_client_request_content" require_relative "auth0/clients/types/preview_cimd_metadata_request_content" require_relative "auth0/clients/types/register_cimd_client_request_content" +require_relative "auth0/clients/types/search_clients_request_parameters" require_relative "auth0/clients/types/get_client_request_parameters" require_relative "auth0/clients/types/update_client_request_content" require_relative "auth0/connection_profiles/client" @@ -4036,6 +4114,9 @@ require_relative "auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content" require_relative "auth0/attack_protection/captcha/client" require_relative "auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content" +require_relative "auth0/attack_protection/captcha_policies/client" +require_relative "auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content" +require_relative "auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content" require_relative "auth0/attack_protection/phone_provider_protection/client" require_relative "auth0/attack_protection/phone_provider_protection/types/patch_phone_provider_protection_request_content" require_relative "auth0/attack_protection/suspicious_ip_throttling/client" @@ -4094,12 +4175,10 @@ require_relative "auth0/experimentation/experiments/types/create_experiment_request_content" require_relative "auth0/experimentation/experiments/types/update_experiment_request_parameters" require_relative "auth0/experimentation/experiments/types/advance_ramp_request_content" -require_relative "auth0/experimentation/experiments/types/update_experiment_status_request_content" require_relative "auth0/experimentation/feature_flags/client" require_relative "auth0/experimentation/feature_flags/types/list_feature_flags_request_parameters" require_relative "auth0/experimentation/feature_flags/types/create_feature_flag_request_content" require_relative "auth0/experimentation/feature_flags/types/update_feature_flag_request_content" -require_relative "auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content" require_relative "auth0/experimentation/segments/client" require_relative "auth0/experimentation/segments/types/list_segments_request_parameters" require_relative "auth0/experimentation/segments/types/create_segment_request_content" diff --git a/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb b/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb index e54d065ae..a200e83fe 100644 --- a/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb +++ b/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb @@ -14,6 +14,8 @@ class UpdateBruteForceSettingsRequestContent < Internal::Types::Model field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false field :max_attempts, -> { Integer }, optional: true, nullable: false + + field :form_submission_mode, -> { Auth0::Types::BruteForceProtectionFormSubmissionModeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/attack_protection/captcha_policies/client.rb b/lib/auth0/attack_protection/captcha_policies/client.rb new file mode 100644 index 000000000..9bc41727b --- /dev/null +++ b/lib/auth0/attack_protection/captcha_policies/client.rb @@ -0,0 +1,210 @@ +# frozen_string_literal: true + +module Auth0 + module AttackProtection + module CaptchaPolicies + class Client + # @param client [Auth0::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending. + # + # @param request_options [Hash] + # @param _params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # + # @example + # client.attack_protection.captcha_policies.list + # + # @return [Array[Auth0::Types::AttackProtectionCaptchaPolicy]] + def list(request_options: {}, **_params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "attack-protection/captcha/policies", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::ListAttackProtectionCaptchaPoliciesResponseContent.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is + # determined by the tenant's subscription. + # + # @param request_options [Hash] + # @param params [Auth0::AttackProtection::CaptchaPolicies::Types::CreateAttackProtectionCaptchaPolicyRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # + # @example + # client.attack_protection.captcha_policies.create( + # name: "name", + # priority: 1, + # match: {}, + # action: {} + # ) + # + # @return [Auth0::Types::AttackProtectionCaptchaPolicy] + def create(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "attack-protection/captcha/policies", + body: Auth0::AttackProtection::CaptchaPolicies::Types::CreateAttackProtectionCaptchaPolicyRequestContent.new(params).to_h, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Retrieve a single CAPTCHA attack protection policy for the tenant by ID. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # + # @example + # client.attack_protection.captcha_policies.get(id: "id") + # + # @return [Auth0::Types::AttackProtectionCaptchaPolicy] + def get(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "attack-protection/captcha/policies/#{URI.encode_uri_component(params[:id].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Delete a CAPTCHA attack protection policy for the tenant. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # + # @example + # client.attack_protection.captcha_policies.delete(id: "id") + # + # @return [untyped] + def delete(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "DELETE", + path: "attack-protection/captcha/policies/#{URI.encode_uri_component(params[:id].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + + # Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match + # or action replaces the stored value in full rather than merging with it; within action, a provider secret or + # API key that is omitted from a provided provider block keeps its stored value. + # + # @param request_options [Hash] + # @param params [Auth0::AttackProtection::CaptchaPolicies::Types::UpdateAttackProtectionCaptchaPolicyRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # + # @example + # client.attack_protection.captcha_policies.update(id: "id") + # + # @return [Auth0::Types::AttackProtectionCaptchaPolicy] + def update(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request_data = Auth0::AttackProtection::CaptchaPolicies::Types::UpdateAttackProtectionCaptchaPolicyRequestContent.new(params).to_h + non_body_param_names = %w[id] + body = request_data.except(*non_body_param_names) + + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "PATCH", + path: "attack-protection/captcha/policies/#{URI.encode_uri_component(params[:id].to_s)}", + body: body, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + end + end +end diff --git a/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb b/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb new file mode 100644 index 000000000..8cd10405b --- /dev/null +++ b/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module AttackProtection + module CaptchaPolicies + module Types + class CreateAttackProtectionCaptchaPolicyRequestContent < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :description, -> { String }, optional: true, nullable: false + + field :priority, -> { Integer }, optional: false, nullable: false + + field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: false, nullable: false + + field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyActionInput }, optional: false, nullable: false + end + end + end + end +end diff --git a/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb b/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb new file mode 100644 index 000000000..fe02d5467 --- /dev/null +++ b/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module AttackProtection + module CaptchaPolicies + module Types + class UpdateAttackProtectionCaptchaPolicyRequestContent < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :description, -> { String }, optional: true, nullable: false + + field :priority, -> { Integer }, optional: true, nullable: false + + field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: true, nullable: false + + field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyActionInput }, optional: true, nullable: false + end + end + end + end +end diff --git a/lib/auth0/attack_protection/client.rb b/lib/auth0/attack_protection/client.rb index ed318358c..1e5f3f09a 100644 --- a/lib/auth0/attack_protection/client.rb +++ b/lib/auth0/attack_protection/client.rb @@ -30,6 +30,11 @@ def captcha @captcha ||= Auth0::AttackProtection::Captcha::Client.new(client: @client) end + # @return [Auth0::CaptchaPolicies::Client] + def captcha_policies + @captcha_policies ||= Auth0::AttackProtection::CaptchaPolicies::Client.new(client: @client) + end + # @return [Auth0::PhoneProviderProtection::Client] def phone_provider_protection @phone_provider_protection ||= Auth0::AttackProtection::PhoneProviderProtection::Client.new(client: @client) diff --git a/lib/auth0/client.rb b/lib/auth0/client.rb index bf30f8628..5d48a7da1 100644 --- a/lib/auth0/client.rb +++ b/lib/auth0/client.rb @@ -43,6 +43,11 @@ def client_grants @client_grants ||= Auth0::ClientGrants::Client.new(client: @raw_client) end + # @return [Auth0::ClientProfiles::Client] + def client_profiles + @client_profiles ||= Auth0::ClientProfiles::Client.new(client: @raw_client) + end + # @return [Auth0::Clients::Client] def clients @clients ||= Auth0::Clients::Client.new(client: @raw_client) diff --git a/lib/auth0/client_grants/client.rb b/lib/auth0/client_grants/client.rb index 7550c2fed..c9a0cc411 100644 --- a/lib/auth0/client_grants/client.rb +++ b/lib/auth0/client_grants/client.rb @@ -122,6 +122,78 @@ def create(request_options: {}, **params) end end + # Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the + # parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). This endpoint provides an alternative + # to the standard GET /client-grants endpoint with better performance for complex queries. + # Results may not reflect recent updates immediately. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String, nil] :q + # @option params [Auth0::Types::SearchParserEnum, nil] :parser + # @option params [String, nil] :fields + # @option params [Boolean, nil] :include_fields + # @option params [Integer, nil] :take + # @option params [String, nil] :from + # @option params [Auth0::Types::ClientGrantSortFieldEnum, nil] :sort + # + # @example + # client.client_grants.search( + # q: "q", + # parser: "scim", + # fields: "fields", + # include_fields: true, + # take: 1, + # from: "from", + # sort: "audience" + # ) + # + # @return [Auth0::Types::SearchClientGrantsResponseContent] + def search(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["q"] = params[:q] if params.key?(:q) + query_params["parser"] = params[:parser] if params.key?(:parser) + query_params["fields"] = params[:fields] if params.key?(:fields) + query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) + query_params["take"] = params.fetch(:take, 50) + query_params["from"] = params[:from] if params.key?(:from) + query_params["sort"] = params[:sort] if params.key?(:sort) + + Auth0::Internal::CursorItemIterator.new( + cursor_field: :next_, + item_field: :client_grants, + initial_cursor: query_params["from"] + ) do |next_cursor| + query_params["from"] = next_cursor + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "client-grants/search", + query: query_params, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + parsed_response = (response.body.to_s.empty? ? nil : Auth0::Types::SearchClientGrantsResponseContent.load(response.body)) + [parsed_response, response] + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + # Retrieve a single [client # grant](https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants), including the # scopes associated with the application/API pair. diff --git a/lib/auth0/client_grants/types/search_client_grants_request_parameters.rb b/lib/auth0/client_grants/types/search_client_grants_request_parameters.rb new file mode 100644 index 000000000..eee25b6c6 --- /dev/null +++ b/lib/auth0/client_grants/types/search_client_grants_request_parameters.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module ClientGrants + module Types + class SearchClientGrantsRequestParameters < Internal::Types::Model + field :q, -> { String }, optional: true, nullable: false + + field :parser, -> { Auth0::Types::SearchParserEnum }, optional: true, nullable: false + + field :fields, -> { String }, optional: true, nullable: false + + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :take, -> { Integer }, optional: true, nullable: false + + field :from, -> { String }, optional: true, nullable: false + + field :sort, -> { Auth0::Types::ClientGrantSortFieldEnum }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/client_profiles/client.rb b/lib/auth0/client_profiles/client.rb new file mode 100644 index 000000000..ff232d7d0 --- /dev/null +++ b/lib/auth0/client_profiles/client.rb @@ -0,0 +1,233 @@ +# frozen_string_literal: true + +module Auth0 + module ClientProfiles + class Client + # @param client [Auth0::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # Retrieve a paginated list of client profiles for the tenant. Uses checkpoint pagination: pass the + # next cursor from a previous response as the from query parameter to retrieve the + # following page. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String, nil] :from + # @option params [Integer, nil] :take + # + # @example + # client.client_profiles.list( + # from: "from", + # take: 1 + # ) + # + # @return [Auth0::Types::ListClientProfilesPaginatedResponseContent] + def list(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["from"] = params[:from] if params.key?(:from) + query_params["take"] = params.fetch(:take, 50) + + Auth0::Internal::CursorItemIterator.new( + cursor_field: :next_, + item_field: :client_profiles, + initial_cursor: query_params["from"] + ) do |next_cursor| + query_params["from"] = next_cursor + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "client-profiles", + query: query_params, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + parsed_response = (response.body.to_s.empty? ? nil : Auth0::Types::ListClientProfilesPaginatedResponseContent.load(response.body)) + [parsed_response, response] + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + + # Create a client profile. At most one profile is allowed per tenant in this release; attempting to create a + # second returns 409 Conflict. The profile governs Dynamic CIMD clients matched by its + # apply_policy at runtime. + # + # @param request_options [Hash] + # @param params [Auth0::ClientProfiles::Types::CreateClientProfileRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # + # @example + # client.client_profiles.create( + # name: "name", + # client_configuration: {}, + # apply_policy: { + # external_metadata_type: "cimd", + # external_metadata_created_by: "client" + # } + # ) + # + # @return [Auth0::Types::ClientProfile] + def create(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "client-profiles", + body: Auth0::ClientProfiles::Types::CreateClientProfileRequestContent.new(params).to_h, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::ClientProfile.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Retrieve a single client profile by its identifier. Returns 404 if no profile with the given ID + # exists for the tenant. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [Auth0::Types::ClientProfileID] :id + # + # @example + # client.client_profiles.get(id: "id") + # + # @return [Auth0::Types::ClientProfile] + def get(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "client-profiles/#{URI.encode_uri_component(params[:id].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::ClientProfile.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # Delete a client profile. Idempotent: returns 204 No Content whether or not a profile with the given + # ID existed. Deleting the profile removes fleet governance for matched clients immediately. + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [Auth0::Types::ClientProfileID] :id + # + # @example + # client.client_profiles.delete(id: "id") + # + # @return [untyped] + def delete(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "DELETE", + path: "client-profiles/#{URI.encode_uri_component(params[:id].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + + # Update a client profile. Supports partial updates at the top level (JSON Merge Patch); omitted top-level fields + # remain unchanged. Nested objects such as client_configuration must be supplied in full. + # + # @param request_options [Hash] + # @param params [Auth0::ClientProfiles::Types::UpdateClientProfileRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [Auth0::Types::ClientProfileID] :id + # + # @example + # client.client_profiles.update(id: "id") + # + # @return [Auth0::Types::ClientProfile] + def update(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request_data = Auth0::ClientProfiles::Types::UpdateClientProfileRequestContent.new(params).to_h + non_body_param_names = %w[id] + body = request_data.except(*non_body_param_names) + + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "PATCH", + path: "client-profiles/#{URI.encode_uri_component(params[:id].to_s)}", + body: body, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + (response.body.to_s.empty? ? nil : Auth0::Types::ClientProfile.load(response.body)) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + end +end diff --git a/lib/auth0/client_profiles/types/create_client_profile_request_content.rb b/lib/auth0/client_profiles/types/create_client_profile_request_content.rb new file mode 100644 index 000000000..c55a423a0 --- /dev/null +++ b/lib/auth0/client_profiles/types/create_client_profile_request_content.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module ClientProfiles + module Types + class CreateClientProfileRequestContent < Internal::Types::Model + field :name, -> { String }, optional: false, nullable: false + + field :description, -> { String }, optional: true, nullable: false + + field :client_configuration, -> { Auth0::Types::ClientProfileClientConfiguration }, optional: false, nullable: false + + field :apply_policy, -> { Auth0::Types::ClientProfileApplyPolicy }, optional: false, nullable: false + end + end + end +end diff --git a/lib/auth0/client_profiles/types/list_client_profiles_request_parameters.rb b/lib/auth0/client_profiles/types/list_client_profiles_request_parameters.rb new file mode 100644 index 000000000..542c1c620 --- /dev/null +++ b/lib/auth0/client_profiles/types/list_client_profiles_request_parameters.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module ClientProfiles + module Types + class ListClientProfilesRequestParameters < Internal::Types::Model + field :from, -> { String }, optional: true, nullable: false + + field :take, -> { Integer }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/client_profiles/types/update_client_profile_request_content.rb b/lib/auth0/client_profiles/types/update_client_profile_request_content.rb new file mode 100644 index 000000000..b04518ebd --- /dev/null +++ b/lib/auth0/client_profiles/types/update_client_profile_request_content.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Auth0 + module ClientProfiles + module Types + class UpdateClientProfileRequestContent < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :description, -> { String }, optional: true, nullable: false + + field :client_configuration, -> { Auth0::Types::ClientProfileClientConfiguration }, optional: true, nullable: false + + field :apply_policy, -> { Auth0::Types::ClientProfileApplyPolicy }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/clients/client.rb b/lib/auth0/clients/client.rb index f804fab17..05f7109ad 100644 --- a/lib/auth0/clients/client.rb +++ b/lib/auth0/clients/client.rb @@ -257,6 +257,87 @@ def register_cimd_client(request_options: {}, **params) end end + # Search clients using SCIM or Lucene filter syntax with low-latency, eventually consistent results. + # Use the parser parameter to specify "scim" or "lucene" syntax (default: "lucene"). + # This endpoint provides an alternative to the standard GET /clients endpoint with better performance + # for complex queries. Results may not reflect recent updates immediately. + # + # - This endpoint only supports `read:clients` and `read:client_summary` scopes. The `read:client_keys` and + # `read:client_credentials` scopes are not supported. + # - The following fields are never returned by this endpoint: + # - `client_secret` + # - `encryption_key` + # - `signing_keys` + # - `owners` + # - `addons` + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String, nil] :q + # @option params [Auth0::Types::SearchParserEnum, nil] :parser + # @option params [String, nil] :fields + # @option params [Boolean, nil] :include_fields + # @option params [Integer, nil] :take + # @option params [String, nil] :from + # @option params [Auth0::Types::ClientSortFieldEnum, nil] :sort + # + # @example + # client.clients.search( + # q: "q", + # parser: "scim", + # fields: "fields", + # include_fields: true, + # take: 1, + # from: "from", + # sort: "name" + # ) + # + # @return [Auth0::Types::SearchClientsResponseContent] + def search(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["q"] = params[:q] if params.key?(:q) + query_params["parser"] = params[:parser] if params.key?(:parser) + query_params["fields"] = params[:fields] if params.key?(:fields) + query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) + query_params["take"] = params.fetch(:take, 50) + query_params["from"] = params[:from] if params.key?(:from) + query_params["sort"] = params[:sort] if params.key?(:sort) + + Auth0::Internal::CursorItemIterator.new( + cursor_field: :next_, + item_field: :clients, + initial_cursor: query_params["from"] + ) do |next_cursor| + query_params["from"] = next_cursor + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "clients/search", + query: query_params, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + parsed_response = (response.body.to_s.empty? ? nil : Auth0::Types::SearchClientsResponseContent.load(response.body)) + [parsed_response, response] + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + # Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list # of fields to include or exclude may also be specified. # For more information, read [Applications in Auth0](https://www.auth0.com/docs/get-started/applications) and diff --git a/lib/auth0/clients/types/create_client_request_content.rb b/lib/auth0/clients/types/create_client_request_content.rb index cdc18a3de..65bbb77bc 100644 --- a/lib/auth0/clients/types/create_client_request_content.rb +++ b/lib/auth0/clients/types/create_client_request_content.rb @@ -108,6 +108,8 @@ class CreateClientRequestContent < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::CreateAnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false diff --git a/lib/auth0/clients/types/search_clients_request_parameters.rb b/lib/auth0/clients/types/search_clients_request_parameters.rb new file mode 100644 index 000000000..0100b321f --- /dev/null +++ b/lib/auth0/clients/types/search_clients_request_parameters.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Clients + module Types + class SearchClientsRequestParameters < Internal::Types::Model + field :q, -> { String }, optional: true, nullable: false + + field :parser, -> { Auth0::Types::SearchParserEnum }, optional: true, nullable: false + + field :fields, -> { String }, optional: true, nullable: false + + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :take, -> { Integer }, optional: true, nullable: false + + field :from, -> { String }, optional: true, nullable: false + + field :sort, -> { Auth0::Types::ClientSortFieldEnum }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/clients/types/update_client_request_content.rb b/lib/auth0/clients/types/update_client_request_content.rb index a881d2dc3..e97c62874 100644 --- a/lib/auth0/clients/types/update_client_request_content.rb +++ b/lib/auth0/clients/types/update_client_request_content.rb @@ -68,6 +68,8 @@ class UpdateClientRequestContent < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::UpdateAnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false @@ -121,6 +123,8 @@ class UpdateClientRequestContent < Internal::Types::Model field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + + field :oidc_support, -> { Auth0::Types::ClientOidcSupportPatch }, optional: true, nullable: false end end end diff --git a/lib/auth0/email_templates/client.rb b/lib/auth0/email_templates/client.rb index a6f00864c..a1316dea9 100644 --- a/lib/auth0/email_templates/client.rb +++ b/lib/auth0/email_templates/client.rb @@ -21,7 +21,14 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @example - # client.email_templates.create(template: "verify_email") + # client.email_templates.create( + # template: "verify_email", + # body: nil, + # from: nil, + # subject: nil, + # syntax: nil, + # enabled: nil + # ) # # @return [Auth0::Types::CreateEmailTemplateResponseContent] def create(request_options: {}, **params) @@ -101,7 +108,12 @@ def get(request_options: {}, **params) # @example # client.email_templates.set( # template_name: "verify_email", - # template: "verify_email" + # template: "verify_email", + # body: nil, + # from: nil, + # subject: nil, + # syntax: nil, + # enabled: nil # ) # # @return [Auth0::Types::SetEmailTemplateResponseContent] diff --git a/lib/auth0/experimentation/experiments/client.rb b/lib/auth0/experimentation/experiments/client.rb index 8df4b4d9d..068f0f06c 100644 --- a/lib/auth0/experimentation/experiments/client.rb +++ b/lib/auth0/experimentation/experiments/client.rb @@ -278,52 +278,6 @@ def advance_ramp(request_options: {}, **params) end end - # Transitions an experiment through its lifecycle: draft → active, active → paused, paused → active, - # active/paused → completed. Activation runs full readiness validation. - # - # @param request_options [Hash] - # @param params [Auth0::Experimentation::Experiments::Types::UpdateExperimentStatusRequestContent] - # @option request_options [String] :base_url - # @option request_options [Hash{String => Object}] :additional_headers - # @option request_options [Hash{String => Object}] :additional_query_parameters - # @option request_options [Hash{String => Object}] :additional_body_parameters - # @option request_options [Integer] :timeout_in_seconds - # @option params [String] :id - # - # @example - # client.experimentation.experiments.update_status( - # id: "id", - # status: "active" - # ) - # - # @return [Auth0::Types::UpdateExperimentStatusResponseContent] - def update_status(request_options: {}, **params) - params = Auth0::Internal::Types::Utils.normalize_keys(params) - request_data = Auth0::Experimentation::Experiments::Types::UpdateExperimentStatusRequestContent.new(params).to_h - non_body_param_names = %w[id] - body = request_data.except(*non_body_param_names) - - request = Auth0::Internal::JSON::Request.new( - base_url: request_options[:base_url], - method: "POST", - path: "experimentation/experiments/#{URI.encode_uri_component(params[:id].to_s)}/status", - body: body, - request_options: request_options - ) - begin - response = @client.send(request) - rescue Net::HTTPRequestTimeout - raise Auth0::Errors::TimeoutError - end - code = response.code.to_i - if code.between?(200, 299) - (response.body.to_s.empty? ? nil : Auth0::Types::UpdateExperimentStatusResponseContent.load(response.body)) - else - error_class = Auth0::Errors::ResponseError.subclass_for_code(code) - raise error_class.new(response.body, code: code) - end - end - # Checks whether an experiment is ready to be activated. Returns is_valid boolean and an errors array describing # any blockers. Read-only; no state is modified. # diff --git a/lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb b/lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb index 212a1acc4..b002fd21e 100644 --- a/lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb +++ b/lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb @@ -18,6 +18,8 @@ class UpdateExperimentRequestParameters < Internal::Types::Model field :default_config, -> { Auth0::Types::DefaultConfigEnum }, optional: true, nullable: false field :levels, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false + + field :status, -> { Auth0::Types::ExperimentTransitionStatusEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/experimentation/experiments/types/update_experiment_status_request_content.rb b/lib/auth0/experimentation/experiments/types/update_experiment_status_request_content.rb deleted file mode 100644 index efb1498c3..000000000 --- a/lib/auth0/experimentation/experiments/types/update_experiment_status_request_content.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Experimentation - module Experiments - module Types - class UpdateExperimentStatusRequestContent < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :status, -> { Auth0::Types::ExperimentTransitionStatusEnum }, optional: false, nullable: false - end - end - end - end -end diff --git a/lib/auth0/experimentation/feature_flags/client.rb b/lib/auth0/experimentation/feature_flags/client.rb index 3350c06cd..ec99112ed 100644 --- a/lib/auth0/experimentation/feature_flags/client.rb +++ b/lib/auth0/experimentation/feature_flags/client.rb @@ -225,51 +225,6 @@ def update(request_options: {}, **params) end end - # Transitions a feature flag through its lifecycle states: draft → active, draft → archived, active → archived. - # - # @param request_options [Hash] - # @param params [Auth0::Experimentation::FeatureFlags::Types::UpdateFeatureFlagStatusRequestContent] - # @option request_options [String] :base_url - # @option request_options [Hash{String => Object}] :additional_headers - # @option request_options [Hash{String => Object}] :additional_query_parameters - # @option request_options [Hash{String => Object}] :additional_body_parameters - # @option request_options [Integer] :timeout_in_seconds - # @option params [String] :id - # - # @example - # client.experimentation.feature_flags.update_status( - # id: "id", - # status: "draft" - # ) - # - # @return [Auth0::Types::UpdateFeatureFlagStatusResponseContent] - def update_status(request_options: {}, **params) - params = Auth0::Internal::Types::Utils.normalize_keys(params) - request_data = Auth0::Experimentation::FeatureFlags::Types::UpdateFeatureFlagStatusRequestContent.new(params).to_h - non_body_param_names = %w[id] - body = request_data.except(*non_body_param_names) - - request = Auth0::Internal::JSON::Request.new( - base_url: request_options[:base_url], - method: "POST", - path: "experimentation/feature-flags/#{URI.encode_uri_component(params[:id].to_s)}/status", - body: body, - request_options: request_options - ) - begin - response = @client.send(request) - rescue Net::HTTPRequestTimeout - raise Auth0::Errors::TimeoutError - end - code = response.code.to_i - if code.between?(200, 299) - (response.body.to_s.empty? ? nil : Auth0::Types::UpdateFeatureFlagStatusResponseContent.load(response.body)) - else - error_class = Auth0::Errors::ResponseError.subclass_for_code(code) - raise error_class.new(response.body, code: code) - end - end - # @return [Auth0::Variations::Client] def variations @variations ||= Auth0::Experimentation::FeatureFlags::Variations::Client.new(client: @client) diff --git a/lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb b/lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb index 1d5f1842b..7331ff6cd 100644 --- a/lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb +++ b/lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb @@ -12,6 +12,8 @@ class UpdateFeatureFlagRequestContent < Internal::Types::Model field :description, -> { String }, optional: true, nullable: false field :parameters, -> { Internal::Types::Hash[String, Auth0::Types::FeatureFlagConfigParam] }, optional: true, nullable: false + + field :status, -> { Auth0::Types::FeatureFlagStatusEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content.rb b/lib/auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content.rb deleted file mode 100644 index 6ed5c64b0..000000000 --- a/lib/auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Experimentation - module FeatureFlags - module Types - class UpdateFeatureFlagStatusRequestContent < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :status, -> { Auth0::Types::FeatureFlagStatusEnum }, optional: false, nullable: false - end - end - end - end -end diff --git a/lib/auth0/experimentation/segments/types/update_segment_request_content.rb b/lib/auth0/experimentation/segments/types/update_segment_request_content.rb index a3fadadbb..a1755be66 100644 --- a/lib/auth0/experimentation/segments/types/update_segment_request_content.rb +++ b/lib/auth0/experimentation/segments/types/update_segment_request_content.rb @@ -12,6 +12,8 @@ class UpdateSegmentRequestContent < Internal::Types::Model field :description, -> { String }, optional: true, nullable: false field :rules, -> { Internal::Types::Array[Auth0::Types::SegmentRule] }, optional: true, nullable: false + + field :status, -> { Auth0::Types::SegmentStatusEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/roles/client.rb b/lib/auth0/roles/client.rb index 7148fe2ee..c5434d1d1 100644 --- a/lib/auth0/roles/client.rb +++ b/lib/auth0/roles/client.rb @@ -10,7 +10,8 @@ def initialize(client:) @client = client end - # Retrieve detailed list of user roles created in your tenant. + # Retrieve a list of roles. Includes roles created in your tenant and, when `owner_id=auth0` is supplied, + # Auth0-managed System Roles. # # **Note**: The returned list does not include standard roles available for tenant members, such as Admin or # Support Access. diff --git a/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb b/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb index da7127750..4e1de4437 100644 --- a/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb +++ b/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb @@ -77,12 +77,16 @@ class UpdateTenantSettingsRequestContent < Internal::Types::Model field :authorization_response_iss_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dpop_strict_refresh_token_binding, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false field :resource_parameter_profile, -> { Auth0::Types::TenantSettingsResourceParameterProfile }, optional: true, nullable: false field :client_id_metadata_document_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_id_metadata_document_dynamic_registration_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false field :phone_consolidated_experience, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/auth0/types/update_feature_flag_status_response_content.rb b/lib/auth0/types/attack_protection_captcha_policy.rb similarity index 51% rename from lib/auth0/types/update_feature_flag_status_response_content.rb rename to lib/auth0/types/attack_protection_captcha_policy.rb index 98e22f490..1c5978a5c 100644 --- a/lib/auth0/types/update_feature_flag_status_response_content.rb +++ b/lib/auth0/types/attack_protection_captcha_policy.rb @@ -2,18 +2,19 @@ module Auth0 module Types - class UpdateFeatureFlagStatusResponseContent < Internal::Types::Model + # An attack protection policy override for CAPTCHA. + class AttackProtectionCaptchaPolicy < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false field :name, -> { String }, optional: false, nullable: false field :description, -> { String }, optional: true, nullable: false - field :type, -> { Auth0::Types::FeatureFlagTypeEnum }, optional: false, nullable: false + field :priority, -> { Integer }, optional: false, nullable: false - field :status, -> { Auth0::Types::FeatureFlagStatusEnum }, optional: false, nullable: false + field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: false, nullable: false - field :parameters, -> { Internal::Types::Hash[String, Auth0::Types::FeatureFlagConfigParam] }, optional: true, nullable: false + field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyAction }, optional: false, nullable: false field :created_at, -> { String }, optional: false, nullable: false diff --git a/lib/auth0/types/attack_protection_captcha_policy_action.rb b/lib/auth0/types/attack_protection_captcha_policy_action.rb new file mode 100644 index 000000000..4ec68efe9 --- /dev/null +++ b/lib/auth0/types/attack_protection_captcha_policy_action.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # CAPTCHA configuration override stored for this policy. + class AttackProtectionCaptchaPolicyAction < Internal::Types::Model + field :active_provider_id, -> { Auth0::Types::CaptchaActiveProviderEnum }, optional: true, nullable: false + + field :simple_captcha, -> { Auth0::Types::CaptchaPolicyActionSimpleCaptcha }, optional: true, nullable: false + + field :auth_challenge, -> { Auth0::Types::CaptchaPolicyActionAuthChallenge }, optional: true, nullable: false + + field :recaptcha_v2, -> { Auth0::Types::CaptchaPolicyActionRecaptchaV2 }, optional: true, nullable: false + + field :recaptcha_enterprise, -> { Auth0::Types::CaptchaPolicyActionRecaptchaEnterprise }, optional: true, nullable: false + + field :hcaptcha, -> { Auth0::Types::CaptchaPolicyActionHcaptcha }, optional: true, nullable: false + + field :friendly_captcha, -> { Auth0::Types::CaptchaPolicyActionFriendlyCaptcha }, optional: true, nullable: false + + field :arkose, -> { Auth0::Types::CaptchaPolicyActionArkose }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/attack_protection_captcha_policy_action_input.rb b/lib/auth0/types/attack_protection_captcha_policy_action_input.rb new file mode 100644 index 000000000..2e0e67df0 --- /dev/null +++ b/lib/auth0/types/attack_protection_captcha_policy_action_input.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # CAPTCHA configuration override for this policy. + class AttackProtectionCaptchaPolicyActionInput < Internal::Types::Model + field :active_provider_id, -> { Auth0::Types::CaptchaActiveProviderEnum }, optional: true, nullable: false + + field :simple_captcha, -> { Auth0::Types::CaptchaPolicyActionSimpleCaptcha }, optional: true, nullable: false + + field :auth_challenge, -> { Auth0::Types::CaptchaPolicyActionAuthChallenge }, optional: true, nullable: false + + field :recaptcha_v2, -> { Auth0::Types::CaptchaPolicyActionRecaptchaV2Input }, optional: true, nullable: false + + field :recaptcha_enterprise, -> { Auth0::Types::CaptchaPolicyActionRecaptchaEnterpriseInput }, optional: true, nullable: false + + field :hcaptcha, -> { Auth0::Types::CaptchaPolicyActionHcaptchaInput }, optional: true, nullable: false + + field :friendly_captcha, -> { Auth0::Types::CaptchaPolicyActionFriendlyCaptchaInput }, optional: true, nullable: false + + field :arkose, -> { Auth0::Types::CaptchaPolicyActionArkoseInput }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/attack_protection_captcha_policy_match.rb b/lib/auth0/types/attack_protection_captcha_policy_match.rb new file mode 100644 index 000000000..10c471ab3 --- /dev/null +++ b/lib/auth0/types/attack_protection_captcha_policy_match.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Traffic matching criteria for the policy. Exactly one of auth0_managed or geo_country_codes must be specified. + class AttackProtectionCaptchaPolicyMatch < Internal::Types::Model + field :auth0managed, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "auth0_managed" + + field :geo_country_codes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/brute_force_protection_form_submission_mode_enum.rb b/lib/auth0/types/brute_force_protection_form_submission_mode_enum.rb new file mode 100644 index 000000000..17ad6bab6 --- /dev/null +++ b/lib/auth0/types/brute_force_protection_form_submission_mode_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module BruteForceProtectionFormSubmissionModeEnum + extend Auth0::Internal::Types::Enum + + AUTO = "auto" + MANUAL = "manual" + end + end +end diff --git a/lib/auth0/types/captcha_active_provider_enum.rb b/lib/auth0/types/captcha_active_provider_enum.rb new file mode 100644 index 000000000..7ff271d59 --- /dev/null +++ b/lib/auth0/types/captcha_active_provider_enum.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module CaptchaActiveProviderEnum + extend Auth0::Internal::Types::Enum + + SIMPLE_CAPTCHA = "simple_captcha" + AUTH_CHALLENGE = "auth_challenge" + RECAPTCHA_V2 = "recaptcha_v2" + RECAPTCHA_ENTERPRISE = "recaptcha_enterprise" + HCAPTCHA = "hcaptcha" + FRIENDLY_CAPTCHA = "friendly_captcha" + ARKOSE = "arkose" + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_arkose.rb b/lib/auth0/types/captcha_policy_action_arkose.rb new file mode 100644 index 000000000..78abbadbd --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_arkose.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Arkose Labs provider configuration. + class CaptchaPolicyActionArkose < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :client_subdomain, -> { String }, optional: true, nullable: false + + field :verify_subdomain, -> { String }, optional: true, nullable: false + + field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_arkose_input.rb b/lib/auth0/types/captcha_policy_action_arkose_input.rb new file mode 100644 index 000000000..5a1586580 --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_arkose_input.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Arkose Labs provider configuration. + class CaptchaPolicyActionArkoseInput < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :secret, -> { String }, optional: true, nullable: false + + field :client_subdomain, -> { String }, optional: true, nullable: false + + field :verify_subdomain, -> { String }, optional: true, nullable: false + + field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_auth_challenge.rb b/lib/auth0/types/captcha_policy_action_auth_challenge.rb new file mode 100644 index 000000000..8cf600a3f --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_auth_challenge.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Auth Challenge CAPTCHA provider configuration. + class CaptchaPolicyActionAuthChallenge < Internal::Types::Model + field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_friendly_captcha.rb b/lib/auth0/types/captcha_policy_action_friendly_captcha.rb new file mode 100644 index 000000000..01e814b8c --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_friendly_captcha.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Friendly Captcha provider configuration. + class CaptchaPolicyActionFriendlyCaptcha < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb b/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb new file mode 100644 index 000000000..7e25dbb9c --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Friendly Captcha provider configuration. + class CaptchaPolicyActionFriendlyCaptchaInput < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :secret, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_hcaptcha.rb b/lib/auth0/types/captcha_policy_action_hcaptcha.rb new file mode 100644 index 000000000..9c7efd2b0 --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_hcaptcha.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # hCaptcha provider configuration. + class CaptchaPolicyActionHcaptcha < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb b/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb new file mode 100644 index 000000000..64d8a4764 --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # hCaptcha provider configuration. + class CaptchaPolicyActionHcaptchaInput < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :secret, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb b/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb new file mode 100644 index 000000000..bb07cf248 --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # reCAPTCHA Enterprise provider configuration. + class CaptchaPolicyActionRecaptchaEnterprise < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :project_id, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb b/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb new file mode 100644 index 000000000..99badfbe0 --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # reCAPTCHA Enterprise provider configuration. + class CaptchaPolicyActionRecaptchaEnterpriseInput < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :project_id, -> { String }, optional: true, nullable: false + + field :api_key, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb b/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb new file mode 100644 index 000000000..8fe1dacd8 --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # reCAPTCHA v2 provider configuration. + class CaptchaPolicyActionRecaptchaV2 < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb b/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb new file mode 100644 index 000000000..6a603099b --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # reCAPTCHA v2 provider configuration. + class CaptchaPolicyActionRecaptchaV2Input < Internal::Types::Model + field :site_key, -> { String }, optional: true, nullable: false + + field :secret, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/captcha_policy_action_simple_captcha.rb b/lib/auth0/types/captcha_policy_action_simple_captcha.rb new file mode 100644 index 000000000..09dc28aad --- /dev/null +++ b/lib/auth0/types/captcha_policy_action_simple_captcha.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Simple CAPTCHA provider configuration. + class CaptchaPolicyActionSimpleCaptcha < Internal::Types::Model; end + end +end diff --git a/lib/auth0/types/cimd_external_metadata_created_by_enum.rb b/lib/auth0/types/cimd_external_metadata_created_by_enum.rb new file mode 100644 index 000000000..201fbeb4a --- /dev/null +++ b/lib/auth0/types/cimd_external_metadata_created_by_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module CimdExternalMetadataCreatedByEnum + extend Auth0::Internal::Types::Enum + + ADMIN = "admin" + CLIENT = "client" + end + end +end diff --git a/lib/auth0/types/client.rb b/lib/auth0/types/client.rb index 3b98813e1..eaa0631ef 100644 --- a/lib/auth0/types/client.rb +++ b/lib/auth0/types/client.rb @@ -123,6 +123,8 @@ class Client < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false @@ -135,6 +137,8 @@ class Client < Internal::Types::Model field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false field :jwks_uri, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/client_anonymous_session_transfer_network_binding_enum.rb b/lib/auth0/types/client_anonymous_session_transfer_network_binding_enum.rb new file mode 100644 index 000000000..58e74ab2c --- /dev/null +++ b/lib/auth0/types/client_anonymous_session_transfer_network_binding_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientAnonymousSessionTransferNetworkBindingEnum + extend Auth0::Internal::Types::Enum + + IP = "ip" + ASN = "asn" + NONE = "none" + end + end +end diff --git a/lib/auth0/types/client_external_metadata_status_enum.rb b/lib/auth0/types/client_external_metadata_status_enum.rb new file mode 100644 index 000000000..9fb5a498c --- /dev/null +++ b/lib/auth0/types/client_external_metadata_status_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientExternalMetadataStatusEnum + extend Auth0::Internal::Types::Enum + + AVAILABLE = "available" + UNAVAILABLE = "unavailable" + end + end +end diff --git a/lib/auth0/types/client_grant_sort_field_enum.rb b/lib/auth0/types/client_grant_sort_field_enum.rb new file mode 100644 index 000000000..7b3e0b1bb --- /dev/null +++ b/lib/auth0/types/client_grant_sort_field_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientGrantSortFieldEnum + extend Auth0::Internal::Types::Enum + + AUDIENCE = "audience" + UPDATED_AT = "updated_at" + end + end +end diff --git a/lib/auth0/types/client_oidc_support_patch.rb b/lib/auth0/types/client_oidc_support_patch.rb new file mode 100644 index 000000000..66a0432a0 --- /dev/null +++ b/lib/auth0/types/client_oidc_support_patch.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # OIDC support configuration for a client. Replaces the stored object entirely; send null to unset it. + class ClientOidcSupportPatch < Internal::Types::Model + field :is_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: false + + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allowed_scopes, -> { Internal::Types::Array[Auth0::Types::ClientOidcSupportAllowedScopesEnum] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile.rb b/lib/auth0/types/client_profile.rb new file mode 100644 index 000000000..43975d7e0 --- /dev/null +++ b/lib/auth0/types/client_profile.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class ClientProfile < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :description, -> { String }, optional: true, nullable: false + + field :client_configuration, -> { Auth0::Types::ClientProfileClientConfiguration }, optional: false, nullable: false + + field :apply_policy, -> { Auth0::Types::ClientProfileApplyPolicy }, optional: false, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false + + field :updated_at, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_apply_policy.rb b/lib/auth0/types/client_profile_apply_policy.rb new file mode 100644 index 000000000..6f17fe004 --- /dev/null +++ b/lib/auth0/types/client_profile_apply_policy.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Runtime matching rules that determine which clients this profile governs. + class ClientProfileApplyPolicy < Internal::Types::Model + field :external_metadata_type, -> { Auth0::Types::ClientProfileApplyPolicyExternalMetadataTypeEnum }, optional: false, nullable: false + + field :external_metadata_created_by, -> { Auth0::Types::ClientProfileApplyPolicyExternalMetadataCreatedByEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_apply_policy_external_metadata_created_by_enum.rb b/lib/auth0/types/client_profile_apply_policy_external_metadata_created_by_enum.rb new file mode 100644 index 000000000..3d01ec64a --- /dev/null +++ b/lib/auth0/types/client_profile_apply_policy_external_metadata_created_by_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileApplyPolicyExternalMetadataCreatedByEnum + extend Auth0::Internal::Types::Enum + + CLIENT = "client" + end + end +end diff --git a/lib/auth0/types/client_profile_apply_policy_external_metadata_type_enum.rb b/lib/auth0/types/client_profile_apply_policy_external_metadata_type_enum.rb new file mode 100644 index 000000000..f0b904c03 --- /dev/null +++ b/lib/auth0/types/client_profile_apply_policy_external_metadata_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileApplyPolicyExternalMetadataTypeEnum + extend Auth0::Internal::Types::Enum + + CIMD = "cimd" + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration.rb b/lib/auth0/types/client_profile_client_configuration.rb new file mode 100644 index 000000000..394f9f6ef --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Runtime policy applied to matched clients. Omitted fields fall back to each client's own setting. + class ClientProfileClientConfiguration < Internal::Types::Model + field :refresh_token, -> { Auth0::Types::ClientProfileClientConfigurationRefreshToken }, optional: true, nullable: false + + field :organization_usage, -> { Auth0::Types::ClientProfileClientConfigurationOrganizationUsage }, optional: true, nullable: false + + field :organization_require_behavior, -> { Auth0::Types::ClientProfileClientConfigurationOrganizationRequireBehavior }, optional: true, nullable: false + + field :organization_discovery_methods, -> { Auth0::Types::ClientProfileClientConfigurationOrganizationDiscoveryMethods }, optional: true, nullable: false + + field :require_proof_of_possession, -> { Auth0::Types::ClientProfileClientConfigurationRequireProofOfPossession }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_organization_discovery_method_enum.rb b/lib/auth0/types/client_profile_client_configuration_organization_discovery_method_enum.rb new file mode 100644 index 000000000..f4d6feb2e --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_organization_discovery_method_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum + extend Auth0::Internal::Types::Enum + + EMAIL = "email" + ORGANIZATION_NAME = "organization_name" + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_organization_discovery_methods.rb b/lib/auth0/types/client_profile_client_configuration_organization_discovery_methods.rb new file mode 100644 index 000000000..399280e79 --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_organization_discovery_methods.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Default organization discovery methods applied to matched clients. + class ClientProfileClientConfigurationOrganizationDiscoveryMethods < Internal::Types::Model + field :default_value, -> { Internal::Types::Array[Auth0::Types::ClientProfileClientConfigurationOrganizationDiscoveryMethodEnum] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_organization_require_behavior.rb b/lib/auth0/types/client_profile_client_configuration_organization_require_behavior.rb new file mode 100644 index 000000000..d1ec9c690 --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_organization_require_behavior.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Default organization prompt behavior applied to matched clients. + class ClientProfileClientConfigurationOrganizationRequireBehavior < Internal::Types::Model + field :default_value, -> { Auth0::Types::ClientProfileClientConfigurationOrganizationRequireBehaviorEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_organization_require_behavior_enum.rb b/lib/auth0/types/client_profile_client_configuration_organization_require_behavior_enum.rb new file mode 100644 index 000000000..2960c4ae2 --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_organization_require_behavior_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileClientConfigurationOrganizationRequireBehaviorEnum + extend Auth0::Internal::Types::Enum + + NO_PROMPT = "no_prompt" + PRE_LOGIN_PROMPT = "pre_login_prompt" + POST_LOGIN_PROMPT = "post_login_prompt" + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_organization_usage.rb b/lib/auth0/types/client_profile_client_configuration_organization_usage.rb new file mode 100644 index 000000000..4c4b882e0 --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_organization_usage.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Default organization usage applied to matched clients. + class ClientProfileClientConfigurationOrganizationUsage < Internal::Types::Model + field :default_value, -> { Auth0::Types::ClientProfileClientConfigurationOrganizationUsageEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_organization_usage_enum.rb b/lib/auth0/types/client_profile_client_configuration_organization_usage_enum.rb new file mode 100644 index 000000000..1f2028708 --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_organization_usage_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileClientConfigurationOrganizationUsageEnum + extend Auth0::Internal::Types::Enum + + DENY = "deny" + ALLOW = "allow" + REQUIRE = "require" + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_refresh_token.rb b/lib/auth0/types/client_profile_client_configuration_refresh_token.rb new file mode 100644 index 000000000..850d2db56 --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_refresh_token.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Refresh token settings. Omit any sub-field to use the client's own value. + class ClientProfileClientConfigurationRefreshToken < Internal::Types::Model + field :token_lifetime, -> { Auth0::Types::ClientProfileRefreshTokenTokenLifetime }, optional: true, nullable: false + + field :idle_token_lifetime, -> { Auth0::Types::ClientProfileRefreshTokenIdleTokenLifetime }, optional: true, nullable: false + + field :leeway, -> { Auth0::Types::ClientProfileRefreshTokenLeeway }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_client_configuration_require_proof_of_possession.rb b/lib/auth0/types/client_profile_client_configuration_require_proof_of_possession.rb new file mode 100644 index 000000000..c7af8f8fd --- /dev/null +++ b/lib/auth0/types/client_profile_client_configuration_require_proof_of_possession.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Whether matched clients default to requiring proof of possession. + class ClientProfileClientConfigurationRequireProofOfPossession < Internal::Types::Model + field :default_value, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_description.rb b/lib/auth0/types/client_profile_description.rb new file mode 100644 index 000000000..ad1b8f21d --- /dev/null +++ b/lib/auth0/types/client_profile_description.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileDescription + # ClientProfileDescription is an alias for Object + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/client_profile_id.rb b/lib/auth0/types/client_profile_id.rb new file mode 100644 index 000000000..29a5bd8be --- /dev/null +++ b/lib/auth0/types/client_profile_id.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileID + # ClientProfileID is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/client_profile_name.rb b/lib/auth0/types/client_profile_name.rb new file mode 100644 index 000000000..82522cc80 --- /dev/null +++ b/lib/auth0/types/client_profile_name.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientProfileName + # ClientProfileName is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/client_profile_refresh_token_idle_token_lifetime.rb b/lib/auth0/types/client_profile_refresh_token_idle_token_lifetime.rb new file mode 100644 index 000000000..d4b8074a1 --- /dev/null +++ b/lib/auth0/types/client_profile_refresh_token_idle_token_lifetime.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Default idle refresh token lifetime, in seconds, applied to matched clients. + class ClientProfileRefreshTokenIdleTokenLifetime < Internal::Types::Model + field :default_value, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_refresh_token_leeway.rb b/lib/auth0/types/client_profile_refresh_token_leeway.rb new file mode 100644 index 000000000..b577f02dc --- /dev/null +++ b/lib/auth0/types/client_profile_refresh_token_leeway.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Default refresh token rotation leeway, in seconds, applied to matched clients. + class ClientProfileRefreshTokenLeeway < Internal::Types::Model + field :default_value, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_profile_refresh_token_token_lifetime.rb b/lib/auth0/types/client_profile_refresh_token_token_lifetime.rb new file mode 100644 index 000000000..0c0a15840 --- /dev/null +++ b/lib/auth0/types/client_profile_refresh_token_token_lifetime.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Default refresh token lifetime, in seconds, applied to matched clients. + class ClientProfileRefreshTokenTokenLifetime < Internal::Types::Model + field :default_value, -> { Integer }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_search_response.rb b/lib/auth0/types/client_search_response.rb new file mode 100644 index 000000000..d9f6fb878 --- /dev/null +++ b/lib/auth0/types/client_search_response.rb @@ -0,0 +1,139 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class ClientSearchResponse < Internal::Types::Model + field :client_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false + + field :updated_at, -> { String }, optional: true, nullable: false + + field :tenant, -> { String }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :description, -> { String }, optional: true, nullable: false + + field :global, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + + field :logo_uri, -> { String }, optional: true, nullable: false + + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :cross_origin_loc, -> { String }, optional: true, nullable: false + + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :custom_login_page, -> { String }, optional: true, nullable: false + + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + + field :form_template, -> { String }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + + field :initiate_login_uri, -> { String }, optional: true, nullable: false + + field :native_social_login, -> { Auth0::Types::NativeSocialLogin }, optional: true, nullable: false + + field :fedcm_login, -> { Auth0::Types::FedCmLogin }, optional: true, nullable: false + + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + + field :token_vault_privileged_access, -> { Auth0::Types::ClientTokenVaultPrivilegedAccessWithCredentialID }, optional: true, nullable: false + + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + + field :b2b_integration_configuration, -> { Auth0::Types::B2BIntegrationConfiguration }, optional: true, nullable: false + + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false + + field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false + + field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false + + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + + field :resource_server_identifier, -> { String }, optional: true, nullable: false + + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + + field :external_metadata_type, -> { Auth0::Types::ClientExternalMetadataTypeEnum }, optional: true, nullable: false + + field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + + field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false + + field :external_client_id, -> { String }, optional: true, nullable: false + + field :jwks_uri, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_sort_field_enum.rb b/lib/auth0/types/client_sort_field_enum.rb new file mode 100644 index 000000000..52fb68894 --- /dev/null +++ b/lib/auth0/types/client_sort_field_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientSortFieldEnum + extend Auth0::Internal::Types::Enum + + NAME = "name" + UPDATED_AT = "updated_at" + end + end +end diff --git a/lib/auth0/types/connection_profile_provisioning.rb b/lib/auth0/types/connection_profile_provisioning.rb index 63dc70bd6..2f94bd65b 100644 --- a/lib/auth0/types/connection_profile_provisioning.rb +++ b/lib/auth0/types/connection_profile_provisioning.rb @@ -5,6 +5,8 @@ module Types # Provisioning settings for connections created from this profile. class ConnectionProfileProvisioning < Internal::Types::Model field :scim, -> { Auth0::Types::ConnectionProfileProvisioningSCIM }, optional: true, nullable: false + + field :google_workspace, -> { Auth0::Types::ConnectionProfileProvisioningGoogleWorkspace }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/connection_profile_provisioning_google_workspace.rb b/lib/auth0/types/connection_profile_provisioning_google_workspace.rb new file mode 100644 index 000000000..9d6650215 --- /dev/null +++ b/lib/auth0/types/connection_profile_provisioning_google_workspace.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Google Workspace provisioning settings. + class ConnectionProfileProvisioningGoogleWorkspace < Internal::Types::Model + field :sync_users, -> { Internal::Types::Boolean }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/connection_profile_provisioning_google_workspace_sync_users.rb b/lib/auth0/types/connection_profile_provisioning_google_workspace_sync_users.rb new file mode 100644 index 000000000..7b78975ad --- /dev/null +++ b/lib/auth0/types/connection_profile_provisioning_google_workspace_sync_users.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ConnectionProfileProvisioningGoogleWorkspaceSyncUsers + # ConnectionProfileProvisioningGoogleWorkspaceSyncUsers is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/connection_profile_strategy_overrides_provisioning.rb b/lib/auth0/types/connection_profile_strategy_overrides_provisioning.rb index 41b1fdf99..306982401 100644 --- a/lib/auth0/types/connection_profile_strategy_overrides_provisioning.rb +++ b/lib/auth0/types/connection_profile_strategy_overrides_provisioning.rb @@ -5,6 +5,8 @@ module Types # Provisioning settings for a connection profile strategy override. class ConnectionProfileStrategyOverridesProvisioning < Internal::Types::Model field :scim, -> { Auth0::Types::ConnectionProfileProvisioningSCIM }, optional: true, nullable: false + + field :google_workspace, -> { Auth0::Types::ConnectionProfileProvisioningGoogleWorkspace }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/connection_response_common.rb b/lib/auth0/types/connection_response_common.rb index d62da43fb..3222fd8f3 100644 --- a/lib/auth0/types/connection_response_common.rb +++ b/lib/auth0/types/connection_response_common.rb @@ -3,19 +3,19 @@ module Auth0 module Types class ConnectionResponseCommon < Internal::Types::Model + field :display_name, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :name, -> { String }, optional: false, nullable: false field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false - - field :id, -> { String }, optional: false, nullable: false - - field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/connection_response_content_ad.rb b/lib/auth0/types/connection_response_content_ad.rb index 036e89ad1..8ed1c79ce 100644 --- a/lib/auth0/types/connection_response_content_ad.rb +++ b/lib/auth0/types/connection_response_content_ad.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentAd < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentAd < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_adfs.rb b/lib/auth0/types/connection_response_content_adfs.rb index 64b1ff5a1..623ed4a47 100644 --- a/lib/auth0/types/connection_response_content_adfs.rb +++ b/lib/auth0/types/connection_response_content_adfs.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentAdfs < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentAdfs < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_amazon.rb b/lib/auth0/types/connection_response_content_amazon.rb index eb6b4e64f..0fed0e8b6 100644 --- a/lib/auth0/types/connection_response_content_amazon.rb +++ b/lib/auth0/types/connection_response_content_amazon.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentAmazon < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentAmazon < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_apple.rb b/lib/auth0/types/connection_response_content_apple.rb index 4560bd9de..0daeca932 100644 --- a/lib/auth0/types/connection_response_content_apple.rb +++ b/lib/auth0/types/connection_response_content_apple.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentApple < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentApple < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_auth0.rb b/lib/auth0/types/connection_response_content_auth0.rb index a254a437b..4e218eff4 100644 --- a/lib/auth0/types/connection_response_content_auth0.rb +++ b/lib/auth0/types/connection_response_content_auth0.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentAuth0 < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentAuth0 < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_auth0oidc.rb b/lib/auth0/types/connection_response_content_auth0oidc.rb index 6012a40df..0517ee3ce 100644 --- a/lib/auth0/types/connection_response_content_auth0oidc.rb +++ b/lib/auth0/types/connection_response_content_auth0oidc.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentAuth0Oidc < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentAuth0Oidc < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_azure_ad.rb b/lib/auth0/types/connection_response_content_azure_ad.rb index 6711450c3..2ecb02b3a 100644 --- a/lib/auth0/types/connection_response_content_azure_ad.rb +++ b/lib/auth0/types/connection_response_content_azure_ad.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentAzureAd < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentAzureAd < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_baidu.rb b/lib/auth0/types/connection_response_content_baidu.rb index 5343cc56b..4a88ad080 100644 --- a/lib/auth0/types/connection_response_content_baidu.rb +++ b/lib/auth0/types/connection_response_content_baidu.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentBaidu < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentBaidu < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_bitbucket.rb b/lib/auth0/types/connection_response_content_bitbucket.rb index 151a68816..39a265835 100644 --- a/lib/auth0/types/connection_response_content_bitbucket.rb +++ b/lib/auth0/types/connection_response_content_bitbucket.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentBitbucket < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentBitbucket < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_bitly.rb b/lib/auth0/types/connection_response_content_bitly.rb index 2aa47c3ce..e8c847e61 100644 --- a/lib/auth0/types/connection_response_content_bitly.rb +++ b/lib/auth0/types/connection_response_content_bitly.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentBitly < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentBitly < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_box.rb b/lib/auth0/types/connection_response_content_box.rb index 4ffa05468..7e7b5f998 100644 --- a/lib/auth0/types/connection_response_content_box.rb +++ b/lib/auth0/types/connection_response_content_box.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentBox < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentBox < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_custom.rb b/lib/auth0/types/connection_response_content_custom.rb index a500ef456..678b38f1f 100644 --- a/lib/auth0/types/connection_response_content_custom.rb +++ b/lib/auth0/types/connection_response_content_custom.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentCustom < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentCustom < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_daccount.rb b/lib/auth0/types/connection_response_content_daccount.rb index 98fee4473..eaa89e022 100644 --- a/lib/auth0/types/connection_response_content_daccount.rb +++ b/lib/auth0/types/connection_response_content_daccount.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentDaccount < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentDaccount < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_dropbox.rb b/lib/auth0/types/connection_response_content_dropbox.rb index adcc57360..710d2b3be 100644 --- a/lib/auth0/types/connection_response_content_dropbox.rb +++ b/lib/auth0/types/connection_response_content_dropbox.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentDropbox < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentDropbox < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_dwolla.rb b/lib/auth0/types/connection_response_content_dwolla.rb index d64d4f3b4..f9d17f827 100644 --- a/lib/auth0/types/connection_response_content_dwolla.rb +++ b/lib/auth0/types/connection_response_content_dwolla.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentDwolla < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentDwolla < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_email.rb b/lib/auth0/types/connection_response_content_email.rb index ba3accc25..a8d22f8a6 100644 --- a/lib/auth0/types/connection_response_content_email.rb +++ b/lib/auth0/types/connection_response_content_email.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentEmail < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentEmail < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_evernote.rb b/lib/auth0/types/connection_response_content_evernote.rb index 86d56b6a9..3c690bd31 100644 --- a/lib/auth0/types/connection_response_content_evernote.rb +++ b/lib/auth0/types/connection_response_content_evernote.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentEvernote < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentEvernote < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_evernote_sandbox.rb b/lib/auth0/types/connection_response_content_evernote_sandbox.rb index 6bafa3fe0..96d676e1c 100644 --- a/lib/auth0/types/connection_response_content_evernote_sandbox.rb +++ b/lib/auth0/types/connection_response_content_evernote_sandbox.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentEvernoteSandbox < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentEvernoteSandbox < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_exact.rb b/lib/auth0/types/connection_response_content_exact.rb index fe135d977..7dedccfc2 100644 --- a/lib/auth0/types/connection_response_content_exact.rb +++ b/lib/auth0/types/connection_response_content_exact.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentExact < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentExact < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_facebook.rb b/lib/auth0/types/connection_response_content_facebook.rb index 9a66d533a..3abe91316 100644 --- a/lib/auth0/types/connection_response_content_facebook.rb +++ b/lib/auth0/types/connection_response_content_facebook.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentFacebook < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentFacebook < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_fitbit.rb b/lib/auth0/types/connection_response_content_fitbit.rb index 6f29016d9..992cc245f 100644 --- a/lib/auth0/types/connection_response_content_fitbit.rb +++ b/lib/auth0/types/connection_response_content_fitbit.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentFitbit < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentFitbit < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_git_hub.rb b/lib/auth0/types/connection_response_content_git_hub.rb index 0c657813b..2119ea31e 100644 --- a/lib/auth0/types/connection_response_content_git_hub.rb +++ b/lib/auth0/types/connection_response_content_git_hub.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentGitHub < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentGitHub < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_google_apps.rb b/lib/auth0/types/connection_response_content_google_apps.rb index 0104caed3..c3857d909 100644 --- a/lib/auth0/types/connection_response_content_google_apps.rb +++ b/lib/auth0/types/connection_response_content_google_apps.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentGoogleApps < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentGoogleApps < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_google_o_auth2.rb b/lib/auth0/types/connection_response_content_google_o_auth2.rb index 61b2746a7..c604222f2 100644 --- a/lib/auth0/types/connection_response_content_google_o_auth2.rb +++ b/lib/auth0/types/connection_response_content_google_o_auth2.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentGoogleOAuth2 < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentGoogleOAuth2 < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_instagram.rb b/lib/auth0/types/connection_response_content_instagram.rb index 1fbc06350..76b9f2571 100644 --- a/lib/auth0/types/connection_response_content_instagram.rb +++ b/lib/auth0/types/connection_response_content_instagram.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentInstagram < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentInstagram < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_ip.rb b/lib/auth0/types/connection_response_content_ip.rb index b12ef7fb1..f8ed9a6d2 100644 --- a/lib/auth0/types/connection_response_content_ip.rb +++ b/lib/auth0/types/connection_response_content_ip.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentIP < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentIP < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_line.rb b/lib/auth0/types/connection_response_content_line.rb index d55383c23..bfb89494f 100644 --- a/lib/auth0/types/connection_response_content_line.rb +++ b/lib/auth0/types/connection_response_content_line.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentLine < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentLine < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_linkedin.rb b/lib/auth0/types/connection_response_content_linkedin.rb index 4fc84b407..42403a063 100644 --- a/lib/auth0/types/connection_response_content_linkedin.rb +++ b/lib/auth0/types/connection_response_content_linkedin.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentLinkedin < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentLinkedin < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_o_auth1.rb b/lib/auth0/types/connection_response_content_o_auth1.rb index 6a91d8ba8..3d46b4f7d 100644 --- a/lib/auth0/types/connection_response_content_o_auth1.rb +++ b/lib/auth0/types/connection_response_content_o_auth1.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentOAuth1 < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentOAuth1 < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_o_auth2.rb b/lib/auth0/types/connection_response_content_o_auth2.rb index b957bbe0f..079178ac1 100644 --- a/lib/auth0/types/connection_response_content_o_auth2.rb +++ b/lib/auth0/types/connection_response_content_o_auth2.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentOAuth2 < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentOAuth2 < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_office365.rb b/lib/auth0/types/connection_response_content_office365.rb index 1cfcc366f..2948fd9f1 100644 --- a/lib/auth0/types/connection_response_content_office365.rb +++ b/lib/auth0/types/connection_response_content_office365.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentOffice365 < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentOffice365 < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_oidc.rb b/lib/auth0/types/connection_response_content_oidc.rb index 4aa75f5a8..872cd0306 100644 --- a/lib/auth0/types/connection_response_content_oidc.rb +++ b/lib/auth0/types/connection_response_content_oidc.rb @@ -4,6 +4,8 @@ module Auth0 module Types # Response for connections with strategy=oidc class ConnectionResponseContentOidc < Internal::Types::Model + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -12,8 +14,6 @@ class ConnectionResponseContentOidc < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_okta.rb b/lib/auth0/types/connection_response_content_okta.rb index 528520f43..696de0939 100644 --- a/lib/auth0/types/connection_response_content_okta.rb +++ b/lib/auth0/types/connection_response_content_okta.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentOkta < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentOkta < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_paypal.rb b/lib/auth0/types/connection_response_content_paypal.rb index fc5795000..818f073b5 100644 --- a/lib/auth0/types/connection_response_content_paypal.rb +++ b/lib/auth0/types/connection_response_content_paypal.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentPaypal < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentPaypal < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_paypal_sandbox.rb b/lib/auth0/types/connection_response_content_paypal_sandbox.rb index 56de1e56b..9a32ee731 100644 --- a/lib/auth0/types/connection_response_content_paypal_sandbox.rb +++ b/lib/auth0/types/connection_response_content_paypal_sandbox.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentPaypalSandbox < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentPaypalSandbox < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_ping_federate.rb b/lib/auth0/types/connection_response_content_ping_federate.rb index 47c1e1d97..3c0ee0b5e 100644 --- a/lib/auth0/types/connection_response_content_ping_federate.rb +++ b/lib/auth0/types/connection_response_content_ping_federate.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentPingFederate < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentPingFederate < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_planning_center.rb b/lib/auth0/types/connection_response_content_planning_center.rb index 1816101d3..c0f4f3fdb 100644 --- a/lib/auth0/types/connection_response_content_planning_center.rb +++ b/lib/auth0/types/connection_response_content_planning_center.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentPlanningCenter < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentPlanningCenter < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_salesforce.rb b/lib/auth0/types/connection_response_content_salesforce.rb index 397722cc0..2d2d6f9c4 100644 --- a/lib/auth0/types/connection_response_content_salesforce.rb +++ b/lib/auth0/types/connection_response_content_salesforce.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSalesforce < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSalesforce < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_salesforce_community.rb b/lib/auth0/types/connection_response_content_salesforce_community.rb index d924f1e1b..c5ae2e371 100644 --- a/lib/auth0/types/connection_response_content_salesforce_community.rb +++ b/lib/auth0/types/connection_response_content_salesforce_community.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSalesforceCommunity < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSalesforceCommunity < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_salesforce_sandbox.rb b/lib/auth0/types/connection_response_content_salesforce_sandbox.rb index 5983b332a..18bdcdbe3 100644 --- a/lib/auth0/types/connection_response_content_salesforce_sandbox.rb +++ b/lib/auth0/types/connection_response_content_salesforce_sandbox.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSalesforceSandbox < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSalesforceSandbox < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_saml.rb b/lib/auth0/types/connection_response_content_saml.rb index 597a2b60e..92301016a 100644 --- a/lib/auth0/types/connection_response_content_saml.rb +++ b/lib/auth0/types/connection_response_content_saml.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSAML < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSAML < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_sharepoint.rb b/lib/auth0/types/connection_response_content_sharepoint.rb index 3b5917ff0..386fc5bfe 100644 --- a/lib/auth0/types/connection_response_content_sharepoint.rb +++ b/lib/auth0/types/connection_response_content_sharepoint.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSharepoint < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSharepoint < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_shop.rb b/lib/auth0/types/connection_response_content_shop.rb index 644dd1223..e26180db4 100644 --- a/lib/auth0/types/connection_response_content_shop.rb +++ b/lib/auth0/types/connection_response_content_shop.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentShop < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentShop < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_shopify.rb b/lib/auth0/types/connection_response_content_shopify.rb index 161bdff65..ed240d036 100644 --- a/lib/auth0/types/connection_response_content_shopify.rb +++ b/lib/auth0/types/connection_response_content_shopify.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentShopify < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentShopify < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_sms.rb b/lib/auth0/types/connection_response_content_sms.rb index d2889c44a..321f0636d 100644 --- a/lib/auth0/types/connection_response_content_sms.rb +++ b/lib/auth0/types/connection_response_content_sms.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSms < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSms < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_soundcloud.rb b/lib/auth0/types/connection_response_content_soundcloud.rb index a1b83a6b9..b929561f9 100644 --- a/lib/auth0/types/connection_response_content_soundcloud.rb +++ b/lib/auth0/types/connection_response_content_soundcloud.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentSoundcloud < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentSoundcloud < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_thirty_seven_signals.rb b/lib/auth0/types/connection_response_content_thirty_seven_signals.rb index 626c000c9..5f872672c 100644 --- a/lib/auth0/types/connection_response_content_thirty_seven_signals.rb +++ b/lib/auth0/types/connection_response_content_thirty_seven_signals.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentThirtySevenSignals < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentThirtySevenSignals < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_twitter.rb b/lib/auth0/types/connection_response_content_twitter.rb index 26a46458d..599e38af3 100644 --- a/lib/auth0/types/connection_response_content_twitter.rb +++ b/lib/auth0/types/connection_response_content_twitter.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentTwitter < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentTwitter < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_untappd.rb b/lib/auth0/types/connection_response_content_untappd.rb index f6032b4dc..4961fbd34 100644 --- a/lib/auth0/types/connection_response_content_untappd.rb +++ b/lib/auth0/types/connection_response_content_untappd.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentUntappd < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentUntappd < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_vkontakte.rb b/lib/auth0/types/connection_response_content_vkontakte.rb index 7a5cee01e..b168df9b0 100644 --- a/lib/auth0/types/connection_response_content_vkontakte.rb +++ b/lib/auth0/types/connection_response_content_vkontakte.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentVkontakte < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentVkontakte < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_weibo.rb b/lib/auth0/types/connection_response_content_weibo.rb index 3fa8c20a2..4d044036c 100644 --- a/lib/auth0/types/connection_response_content_weibo.rb +++ b/lib/auth0/types/connection_response_content_weibo.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentWeibo < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentWeibo < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_windows_live.rb b/lib/auth0/types/connection_response_content_windows_live.rb index 98982fd49..e03e6fcc7 100644 --- a/lib/auth0/types/connection_response_content_windows_live.rb +++ b/lib/auth0/types/connection_response_content_windows_live.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentWindowsLive < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentWindowsLive < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_wordpress.rb b/lib/auth0/types/connection_response_content_wordpress.rb index 9eb8d2602..7339ee5d1 100644 --- a/lib/auth0/types/connection_response_content_wordpress.rb +++ b/lib/auth0/types/connection_response_content_wordpress.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentWordpress < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentWordpress < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_yahoo.rb b/lib/auth0/types/connection_response_content_yahoo.rb index 30a984b6e..9130c9c61 100644 --- a/lib/auth0/types/connection_response_content_yahoo.rb +++ b/lib/auth0/types/connection_response_content_yahoo.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentYahoo < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentYahoo < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/connection_response_content_yandex.rb b/lib/auth0/types/connection_response_content_yandex.rb index 779c52b70..83384e2f4 100644 --- a/lib/auth0/types/connection_response_content_yandex.rb +++ b/lib/auth0/types/connection_response_content_yandex.rb @@ -8,6 +8,8 @@ class ConnectionResponseContentYandex < Internal::Types::Model field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false + field :display_name, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false @@ -16,8 +18,6 @@ class ConnectionResponseContentYandex < Internal::Types::Model field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false - field :display_name, -> { String }, optional: true, nullable: false - field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false diff --git a/lib/auth0/types/create_client_response_content.rb b/lib/auth0/types/create_client_response_content.rb index 21c3d2b4c..52fc691ad 100644 --- a/lib/auth0/types/create_client_response_content.rb +++ b/lib/auth0/types/create_client_response_content.rb @@ -123,6 +123,8 @@ class CreateClientResponseContent < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false @@ -135,6 +137,8 @@ class CreateClientResponseContent < Internal::Types::Model field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false field :jwks_uri, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/create_segment_response_content.rb b/lib/auth0/types/create_segment_response_content.rb index 4c3607aef..f40f95bfa 100644 --- a/lib/auth0/types/create_segment_response_content.rb +++ b/lib/auth0/types/create_segment_response_content.rb @@ -11,6 +11,8 @@ class CreateSegmentResponseContent < Internal::Types::Model field :type, -> { Auth0::Types::SegmentTypeEnum }, optional: false, nullable: false + field :status, -> { Auth0::Types::SegmentStatusEnum }, optional: false, nullable: false + field :rules, -> { Internal::Types::Array[Auth0::Types::SegmentRule] }, optional: false, nullable: false field :created_at, -> { String }, optional: false, nullable: false diff --git a/lib/auth0/types/enabled_features_enum.rb b/lib/auth0/types/enabled_features_enum.rb index aa9c7375d..fb4f7f6e2 100644 --- a/lib/auth0/types/enabled_features_enum.rb +++ b/lib/auth0/types/enabled_features_enum.rb @@ -7,6 +7,7 @@ module EnabledFeaturesEnum SCIM = "scim" UNIVERSAL_LOGOUT = "universal_logout" + DIRECTORY_SYNC = "directory_sync" end end end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb index 26e54c755..e4c9d0b01 100644 --- a/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_connection_created_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventConnectionCreatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb index 7312f9c58..4e442a336 100644 --- a/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_connection_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventConnectionDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb index 113897a20..d6c8a98c0 100644 --- a/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_connection_updated_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventConnectionUpdatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb index e75f7506d..674c4b9ad 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupCreatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb index 5184116fb..831e2472e 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb index 45e05f902..274ff70af 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupMemberAddedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb index 3fb8166d0..59f8e2c85 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupMemberDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb index de7d9af6f..d061620e7 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupRoleAssignedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb index e9adc2aff..1659c7db8 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupRoleDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb index 150b41773..d6f5540f0 100644 --- a/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventGroupUpdatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb index 3ecba13f2..9031ef9a0 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgConnectionAddedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb index c0ab4243e..b274cf2df 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb @@ -17,6 +17,8 @@ class EventStreamCloudEventOrgConnectionAddedObject < Internal::Types::Model field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false field :organization_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganizationAccessLevel }, optional: true, nullable: false + + field :organization_member_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level.rb new file mode 100644 index 000000000..e601adc82 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization member access level granted to the connection for an organization. + class EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level0enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level0enum.rb new file mode 100644 index 000000000..31ef1a313 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level0enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel0Enum + extend Auth0::Internal::Types::Enum + + NONE = "none" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level1enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level1enum.rb new file mode 100644 index 000000000..d737f0b4b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level1enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel1Enum + extend Auth0::Internal::Types::Enum + + READONLY = "readonly" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level2enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level2enum.rb new file mode 100644 index 000000000..d3e94de5f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level2enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel2Enum + extend Auth0::Internal::Types::Enum + + LIMITED = "limited" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level3enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level3enum.rb new file mode 100644 index 000000000..c0b7da4ea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization_member_access_level3enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedObjectOrganizationMemberAccessLevel3Enum + extend Auth0::Internal::Types::Enum + + FULL = "full" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object.rb index 55f92056a..cd62ac0e9 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object.rb @@ -17,6 +17,8 @@ class EventStreamCloudEventOrgConnectionAddedPreviousObject < Internal::Types::M field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false field :organization_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationAccessLevel }, optional: true, nullable: false + + field :organization_member_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_1dbe67.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_1dbe67.rb new file mode 100644 index 000000000..9e961540a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_1dbe67.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum + extend Auth0::Internal::Types::Enum + + FULL = "full" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_4de563.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_4de563.rb new file mode 100644 index 000000000..547c74adb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_4de563.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum + extend Auth0::Internal::Types::Enum + + READONLY = "readonly" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_7087fd.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_7087fd.rb new file mode 100644 index 000000000..9b2e0bace --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_7087fd.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum + extend Auth0::Internal::Types::Enum + + NONE = "none" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_a4ce06.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_a4ce06.rb new file mode 100644 index 000000000..d6716e8e6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_l_a4ce06.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum + extend Auth0::Internal::Types::Enum + + LIMITED = "limited" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level.rb new file mode 100644 index 000000000..4f7cfe6f2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_previous_object_organization_member_access_level.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization member access level granted to the connection for an organization. + class EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel0Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel1Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel2Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedPreviousObjectOrganizationMemberAccessLevel3Enum } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb index 5495bb685..355f9e896 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgConnectionRemovedCloudEvent < Internal::Types::Mod field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb index 1c20582c5..174f40db6 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgConnectionUpdatedCloudEvent < Internal::Types::Mod field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb index 8c4e32878..042aa6d61 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb @@ -17,6 +17,8 @@ class EventStreamCloudEventOrgConnectionUpdatedObject < Internal::Types::Model field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false field :organization_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationAccessLevel }, optional: true, nullable: false + + field :organization_member_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level.rb new file mode 100644 index 000000000..4c5bd839e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization member access level granted to the connection for an organization. + class EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level0enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level0enum.rb new file mode 100644 index 000000000..5683030d3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level0enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel0Enum + extend Auth0::Internal::Types::Enum + + NONE = "none" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level1enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level1enum.rb new file mode 100644 index 000000000..d9bc85924 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level1enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel1Enum + extend Auth0::Internal::Types::Enum + + READONLY = "readonly" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level2enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level2enum.rb new file mode 100644 index 000000000..351a26cd8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level2enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel2Enum + extend Auth0::Internal::Types::Enum + + LIMITED = "limited" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level3enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level3enum.rb new file mode 100644 index 000000000..afc993e78 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization_member_access_level3enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedObjectOrganizationMemberAccessLevel3Enum + extend Auth0::Internal::Types::Enum + + FULL = "full" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object.rb index fef3ffc18..a68d4230e 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object.rb @@ -17,6 +17,8 @@ class EventStreamCloudEventOrgConnectionUpdatedPreviousObject < Internal::Types: field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false field :organization_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationAccessLevel }, optional: true, nullable: false + + field :organization_member_access_level, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_3669df.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_3669df.rb new file mode 100644 index 000000000..e060d40f9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_3669df.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum + extend Auth0::Internal::Types::Enum + + NONE = "none" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_55f897.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_55f897.rb new file mode 100644 index 000000000..c036c9ae4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_55f897.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum + extend Auth0::Internal::Types::Enum + + READONLY = "readonly" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_66926d.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_66926d.rb new file mode 100644 index 000000000..5fed2a783 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_66926d.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum + extend Auth0::Internal::Types::Enum + + LIMITED = "limited" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_88dadc.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_88dadc.rb new file mode 100644 index 000000000..9ffa93c63 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_88dadc.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum + extend Auth0::Internal::Types::Enum + + FULL = "full" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level.rb new file mode 100644 index 000000000..54df2517c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_previous_object_organization_member_access_level.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization member access level granted to the connection for an organization. + class EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel0Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel1Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel2Enum } + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedPreviousObjectOrganizationMemberAccessLevel3Enum } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb index a6924f86a..7eed12c4c 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgCreatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb index 53cea453e..a8e9e6e6a 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb index 0b04eabb8..5a57f814b 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgGroupRoleAssignedCloudEvent < Internal::Types::Mod field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb index c932dc0c9..d8e4dd5b0 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgGroupRoleDeletedCloudEvent < Internal::Types::Mode field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb index 476e897be..a92be8dc1 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgMemberAddedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb index 1440814d5..85d6aaa70 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgMemberDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb index f133ddc58..a08387125 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgMemberRoleAssignedCloudEvent < Internal::Types::Mo field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb index c88a51b80..f36444dd3 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgMemberRoleDeletedCloudEvent < Internal::Types::Mod field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb index 3316c8891..b722ead3b 100644 --- a/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventOrgUpdatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb index 6061fb0ce..cad25e7da 100644 --- a/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventUserCreatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb index 16de8517f..cd0f48629 100644 --- a/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventUserDeletedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb index 75c4a471d..7e3541d91 100644 --- a/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb @@ -18,7 +18,7 @@ class EventStreamCloudEventUserUpdatedCloudEvent < Internal::Types::Model field :a0tenant, -> { String }, optional: false, nullable: false - field :a0stream, -> { String }, optional: false, nullable: false + field :a0stream, -> { String }, optional: true, nullable: false field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false end diff --git a/lib/auth0/types/get_brute_force_settings_response_content.rb b/lib/auth0/types/get_brute_force_settings_response_content.rb index 4f6d0a04c..cedc4a5b5 100644 --- a/lib/auth0/types/get_brute_force_settings_response_content.rb +++ b/lib/auth0/types/get_brute_force_settings_response_content.rb @@ -12,6 +12,8 @@ class GetBruteForceSettingsResponseContent < Internal::Types::Model field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false field :max_attempts, -> { Integer }, optional: true, nullable: false + + field :form_submission_mode, -> { Auth0::Types::BruteForceProtectionFormSubmissionModeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/get_client_response_content.rb b/lib/auth0/types/get_client_response_content.rb index 5d8afc665..b2a782664 100644 --- a/lib/auth0/types/get_client_response_content.rb +++ b/lib/auth0/types/get_client_response_content.rb @@ -123,6 +123,8 @@ class GetClientResponseContent < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false @@ -135,6 +137,8 @@ class GetClientResponseContent < Internal::Types::Model field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false field :jwks_uri, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/get_segment_response_content.rb b/lib/auth0/types/get_segment_response_content.rb index a9adb1580..c87ae4c18 100644 --- a/lib/auth0/types/get_segment_response_content.rb +++ b/lib/auth0/types/get_segment_response_content.rb @@ -11,6 +11,8 @@ class GetSegmentResponseContent < Internal::Types::Model field :type, -> { Auth0::Types::SegmentTypeEnum }, optional: false, nullable: false + field :status, -> { Auth0::Types::SegmentStatusEnum }, optional: false, nullable: false + field :rules, -> { Internal::Types::Array[Auth0::Types::SegmentRule] }, optional: false, nullable: false field :created_at, -> { String }, optional: false, nullable: false diff --git a/lib/auth0/types/get_tenant_settings_response_content.rb b/lib/auth0/types/get_tenant_settings_response_content.rb index 4f009a1c9..017166b5f 100644 --- a/lib/auth0/types/get_tenant_settings_response_content.rb +++ b/lib/auth0/types/get_tenant_settings_response_content.rb @@ -69,12 +69,16 @@ class GetTenantSettingsResponseContent < Internal::Types::Model field :authorization_response_iss_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dpop_strict_refresh_token_binding, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false field :resource_parameter_profile, -> { Auth0::Types::TenantSettingsResourceParameterProfile }, optional: true, nullable: false field :client_id_metadata_document_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_id_metadata_document_dynamic_registration_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_consolidated_experience, -> { Internal::Types::Boolean }, optional: true, nullable: false field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb b/lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb new file mode 100644 index 000000000..06d735de2 --- /dev/null +++ b/lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ListAttackProtectionCaptchaPoliciesResponseContent + # ListAttackProtectionCaptchaPoliciesResponseContent is an alias for Array + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/list_client_profiles_paginated_response_content.rb b/lib/auth0/types/list_client_profiles_paginated_response_content.rb new file mode 100644 index 000000000..4ac0744be --- /dev/null +++ b/lib/auth0/types/list_client_profiles_paginated_response_content.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Checkpoint paginated list of client profiles. + class ListClientProfilesPaginatedResponseContent < Internal::Types::Model + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + + field :client_profiles, -> { Internal::Types::Array[Auth0::Types::ClientProfile] }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/oauth_scope.rb b/lib/auth0/types/oauth_scope.rb index 492a3b3eb..4c624b017 100644 --- a/lib/auth0/types/oauth_scope.rb +++ b/lib/auth0/types/oauth_scope.rb @@ -249,6 +249,10 @@ module OauthScope READ_VDCS_TEMPLATES = "read:vdcs_templates" UPDATE_VDCS_TEMPLATES = "update:vdcs_templates" DELETE_VDCS_TEMPLATES = "delete:vdcs_templates" + CREATE_CLIENT_PROFILES = "create:client_profiles" + READ_CLIENT_PROFILES = "read:client_profiles" + UPDATE_CLIENT_PROFILES = "update:client_profiles" + DELETE_CLIENT_PROFILES = "delete:client_profiles" CREATE_ORGANIZATION_CLIENTS = "create:organization_clients" READ_ORGANIZATION_CLIENTS = "read:organization_clients" UPDATE_ORGANIZATION_CLIENTS = "update:organization_clients" diff --git a/lib/auth0/types/preview_cimd_metadata_response_content.rb b/lib/auth0/types/preview_cimd_metadata_response_content.rb index c13b424c8..51d575d88 100644 --- a/lib/auth0/types/preview_cimd_metadata_response_content.rb +++ b/lib/auth0/types/preview_cimd_metadata_response_content.rb @@ -5,6 +5,8 @@ module Types class PreviewCimdMetadataResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :external_metadata_created_by, -> { Auth0::Types::CimdExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[String] }, optional: true, nullable: false field :validation, -> { Auth0::Types::CimdValidationResult }, optional: true, nullable: false diff --git a/lib/auth0/types/role_owner_id.rb b/lib/auth0/types/role_owner_id.rb new file mode 100644 index 000000000..4868816a2 --- /dev/null +++ b/lib/auth0/types/role_owner_id.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RoleOwnerID + # RoleOwnerID is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/role_owner_id_filter.rb b/lib/auth0/types/role_owner_id_filter.rb new file mode 100644 index 000000000..42ae2bb00 --- /dev/null +++ b/lib/auth0/types/role_owner_id_filter.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RoleOwnerIDFilter + # RoleOwnerIDFilter is an alias for String + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/rotate_client_secret_response_content.rb b/lib/auth0/types/rotate_client_secret_response_content.rb index 1f6e78017..3982f0802 100644 --- a/lib/auth0/types/rotate_client_secret_response_content.rb +++ b/lib/auth0/types/rotate_client_secret_response_content.rb @@ -123,6 +123,8 @@ class RotateClientSecretResponseContent < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false @@ -135,6 +137,8 @@ class RotateClientSecretResponseContent < Internal::Types::Model field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false field :jwks_uri, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/search_client_grants_response_content.rb b/lib/auth0/types/search_client_grants_response_content.rb new file mode 100644 index 000000000..278a9b8a7 --- /dev/null +++ b/lib/auth0/types/search_client_grants_response_content.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class SearchClientGrantsResponseContent < Internal::Types::Model + field :client_grants, -> { Internal::Types::Array[Auth0::Types::ClientGrantResponseContent] }, optional: false, nullable: false + + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/auth0/types/search_clients_response_content.rb b/lib/auth0/types/search_clients_response_content.rb new file mode 100644 index 000000000..d8a9658fe --- /dev/null +++ b/lib/auth0/types/search_clients_response_content.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class SearchClientsResponseContent < Internal::Types::Model + field :clients, -> { Internal::Types::Array[Auth0::Types::ClientSearchResponse] }, optional: false, nullable: false + + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/auth0/types/search_organization.rb b/lib/auth0/types/search_organization.rb index aacc318db..88e834c8f 100644 --- a/lib/auth0/types/search_organization.rb +++ b/lib/auth0/types/search_organization.rb @@ -11,8 +11,6 @@ class SearchOrganization < Internal::Types::Model field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false - field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false - field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false diff --git a/lib/auth0/types/segment.rb b/lib/auth0/types/segment.rb index bd5cd298e..4dcca74c8 100644 --- a/lib/auth0/types/segment.rb +++ b/lib/auth0/types/segment.rb @@ -11,6 +11,8 @@ class Segment < Internal::Types::Model field :type, -> { Auth0::Types::SegmentTypeEnum }, optional: false, nullable: false + field :status, -> { Auth0::Types::SegmentStatusEnum }, optional: false, nullable: false + field :rules, -> { Internal::Types::Array[Auth0::Types::SegmentRule] }, optional: false, nullable: false field :created_at, -> { String }, optional: false, nullable: false diff --git a/lib/auth0/types/segment_status_enum.rb b/lib/auth0/types/segment_status_enum.rb new file mode 100644 index 000000000..f62d56a55 --- /dev/null +++ b/lib/auth0/types/segment_status_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module SegmentStatusEnum + extend Auth0::Internal::Types::Enum + + ACTIVE = "active" + ARCHIVED = "archived" + end + end +end diff --git a/lib/auth0/types/system_role_owner_id.rb b/lib/auth0/types/system_role_owner_id.rb new file mode 100644 index 000000000..ef42e48fd --- /dev/null +++ b/lib/auth0/types/system_role_owner_id.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module SystemRoleOwnerID + extend Auth0::Internal::Types::Enum + + AUTH0 = "auth0" + end + end +end diff --git a/lib/auth0/types/update_brute_force_settings_response_content.rb b/lib/auth0/types/update_brute_force_settings_response_content.rb index 23efb7cc4..4b7224144 100644 --- a/lib/auth0/types/update_brute_force_settings_response_content.rb +++ b/lib/auth0/types/update_brute_force_settings_response_content.rb @@ -12,6 +12,8 @@ class UpdateBruteForceSettingsResponseContent < Internal::Types::Model field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false field :max_attempts, -> { Integer }, optional: true, nullable: false + + field :form_submission_mode, -> { Auth0::Types::BruteForceProtectionFormSubmissionModeEnum }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/update_client_response_content.rb b/lib/auth0/types/update_client_response_content.rb index 677ec789c..2526a92e6 100644 --- a/lib/auth0/types/update_client_response_content.rb +++ b/lib/auth0/types/update_client_response_content.rb @@ -123,6 +123,8 @@ class UpdateClientResponseContent < Internal::Types::Model field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false + field :enforce_anon_session_transfer_network_binding, -> { Auth0::Types::ClientAnonymousSessionTransferNetworkBindingEnum }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false @@ -135,6 +137,8 @@ class UpdateClientResponseContent < Internal::Types::Model field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false field :jwks_uri, -> { String }, optional: true, nullable: false diff --git a/lib/auth0/types/update_experiment_status_response_content.rb b/lib/auth0/types/update_experiment_status_response_content.rb deleted file mode 100644 index 2393d83b7..000000000 --- a/lib/auth0/types/update_experiment_status_response_content.rb +++ /dev/null @@ -1,45 +0,0 @@ -# frozen_string_literal: true - -module Auth0 - module Types - class UpdateExperimentStatusResponseContent < Internal::Types::Model - field :id, -> { String }, optional: false, nullable: false - - field :name, -> { String }, optional: false, nullable: false - - field :description, -> { String }, optional: true, nullable: false - - field :feature_flag_id, -> { String }, optional: false, nullable: false - - field :feature_flag_name, -> { String }, optional: true, nullable: false - - field :authentication_flow, -> { String }, optional: false, nullable: false - - field :allocation_strategy, -> { Auth0::Types::AllocationStrategyEnum }, optional: false, nullable: false - - field :status, -> { Auth0::Types::ExperimentStatusEnum }, optional: false, nullable: false - - field :is_valid, -> { Internal::Types::Boolean }, optional: false, nullable: false - - field :default_config, -> { Auth0::Types::DefaultConfigEnum }, optional: true, nullable: false - - field :feature_flag_snapshot, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false - - field :allocations, -> { Internal::Types::Array[Auth0::Types::AllocationItem] }, optional: false, nullable: false - - field :editable_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false - - field :levels, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false - - field :current_level, -> { Integer }, optional: true, nullable: false - - field :started_at, -> { String }, optional: true, nullable: false - - field :ended_at, -> { String }, optional: true, nullable: false - - field :created_at, -> { String }, optional: false, nullable: false - - field :updated_at, -> { String }, optional: false, nullable: false - end - end -end diff --git a/lib/auth0/types/update_segment_response_content.rb b/lib/auth0/types/update_segment_response_content.rb index c76a00a2a..41cb57aa1 100644 --- a/lib/auth0/types/update_segment_response_content.rb +++ b/lib/auth0/types/update_segment_response_content.rb @@ -11,6 +11,8 @@ class UpdateSegmentResponseContent < Internal::Types::Model field :type, -> { Auth0::Types::SegmentTypeEnum }, optional: false, nullable: false + field :status, -> { Auth0::Types::SegmentStatusEnum }, optional: false, nullable: false + field :rules, -> { Internal::Types::Array[Auth0::Types::SegmentRule] }, optional: false, nullable: false field :created_at, -> { String }, optional: false, nullable: false diff --git a/lib/auth0/types/update_tenant_settings_response_content.rb b/lib/auth0/types/update_tenant_settings_response_content.rb index ba297a7f0..2c4181959 100644 --- a/lib/auth0/types/update_tenant_settings_response_content.rb +++ b/lib/auth0/types/update_tenant_settings_response_content.rb @@ -69,12 +69,16 @@ class UpdateTenantSettingsResponseContent < Internal::Types::Model field :authorization_response_iss_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dpop_strict_refresh_token_binding, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false field :resource_parameter_profile, -> { Auth0::Types::TenantSettingsResourceParameterProfile }, optional: true, nullable: false field :client_id_metadata_document_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_id_metadata_document_dynamic_registration_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_consolidated_experience, -> { Internal::Types::Boolean }, optional: true, nullable: false field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false diff --git a/test/wire/attack_protection_captcha_policies_test.rb b/test/wire/attack_protection_captcha_policies_test.rb new file mode 100644 index 000000000..5be9f5e94 --- /dev/null +++ b/test/wire/attack_protection_captcha_policies_test.rb @@ -0,0 +1,119 @@ +# frozen_string_literal: true + +require_relative "wiremock_test_case" + +class AttackProtectionCaptchaPoliciesWireTest < WireMockTestCase + def setup + super + + @client = Auth0::Management.new( + token: "", + base_url: WIREMOCK_BASE_URL + ) + end + + def test_attack_protection_captcha_policies_list_with_wiremock + test_id = "attack_protection.captcha_policies.list.0" + + @client.attack_protection.captcha_policies.list(request_options: { + additional_headers: { + "X-Test-Id" => "attack_protection.captcha_policies.list.0" + } + }) + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/attack-protection/captcha/policies", + query_params: nil, + expected: 1 + ) + end + + def test_attack_protection_captcha_policies_create_with_wiremock + test_id = "attack_protection.captcha_policies.create.0" + + @client.attack_protection.captcha_policies.create( + name: "name", + priority: 1, + match: {}, + action: {}, + request_options: { + additional_headers: { + "X-Test-Id" => "attack_protection.captcha_policies.create.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "POST", + url_path: "/attack-protection/captcha/policies", + query_params: nil, + expected: 1 + ) + end + + def test_attack_protection_captcha_policies_get_with_wiremock + test_id = "attack_protection.captcha_policies.get.0" + + @client.attack_protection.captcha_policies.get( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "attack_protection.captcha_policies.get.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/attack-protection/captcha/policies/id", + query_params: nil, + expected: 1 + ) + end + + def test_attack_protection_captcha_policies_delete_with_wiremock + test_id = "attack_protection.captcha_policies.delete.0" + + @client.attack_protection.captcha_policies.delete( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "attack_protection.captcha_policies.delete.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "DELETE", + url_path: "/attack-protection/captcha/policies/id", + query_params: nil, + expected: 1 + ) + end + + def test_attack_protection_captcha_policies_update_with_wiremock + test_id = "attack_protection.captcha_policies.update.0" + + @client.attack_protection.captcha_policies.update( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "attack_protection.captcha_policies.update.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "PATCH", + url_path: "/attack-protection/captcha/policies/id", + query_params: nil, + expected: 1 + ) + end +end diff --git a/test/wire/client_grants_test.rb b/test/wire/client_grants_test.rb index 207755592..8ed66f2f9 100644 --- a/test/wire/client_grants_test.rb +++ b/test/wire/client_grants_test.rb @@ -62,6 +62,34 @@ def test_client_grants_create_with_wiremock ) end + def test_client_grants_search_with_wiremock + test_id = "client_grants.search.0" + + result = @client.client_grants.search( + q: "q", + parser: "scim", + fields: "fields", + include_fields: true, + take: 1, + from: "from", + sort: "audience", + request_options: { + additional_headers: { + "X-Test-Id" => "client_grants.search.0" + } + } + ) + result.pages.next_page + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/client-grants/search", + query_params: nil, + expected: 1 + ) + end + def test_client_grants_get_with_wiremock test_id = "client_grants.get.0" diff --git a/test/wire/client_profiles_test.rb b/test/wire/client_profiles_test.rb new file mode 100644 index 000000000..8a93f7232 --- /dev/null +++ b/test/wire/client_profiles_test.rb @@ -0,0 +1,126 @@ +# frozen_string_literal: true + +require_relative "wiremock_test_case" + +class ClientProfilesWireTest < WireMockTestCase + def setup + super + + @client = Auth0::Management.new( + token: "", + base_url: WIREMOCK_BASE_URL + ) + end + + def test_client_profiles_list_with_wiremock + test_id = "client_profiles.list.0" + + result = @client.client_profiles.list( + from: "from", + take: 1, + request_options: { + additional_headers: { + "X-Test-Id" => "client_profiles.list.0" + } + } + ) + result.pages.next_page + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/client-profiles", + query_params: nil, + expected: 1 + ) + end + + def test_client_profiles_create_with_wiremock + test_id = "client_profiles.create.0" + + @client.client_profiles.create( + name: "name", + client_configuration: {}, + apply_policy: { + external_metadata_type: "cimd", + external_metadata_created_by: "client" + }, + request_options: { + additional_headers: { + "X-Test-Id" => "client_profiles.create.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "POST", + url_path: "/client-profiles", + query_params: nil, + expected: 1 + ) + end + + def test_client_profiles_get_with_wiremock + test_id = "client_profiles.get.0" + + @client.client_profiles.get( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "client_profiles.get.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/client-profiles/id", + query_params: nil, + expected: 1 + ) + end + + def test_client_profiles_delete_with_wiremock + test_id = "client_profiles.delete.0" + + @client.client_profiles.delete( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "client_profiles.delete.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "DELETE", + url_path: "/client-profiles/id", + query_params: nil, + expected: 1 + ) + end + + def test_client_profiles_update_with_wiremock + test_id = "client_profiles.update.0" + + @client.client_profiles.update( + id: "id", + request_options: { + additional_headers: { + "X-Test-Id" => "client_profiles.update.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "PATCH", + url_path: "/client-profiles/id", + query_params: nil, + expected: 1 + ) + end +end diff --git a/test/wire/clients_test.rb b/test/wire/clients_test.rb index ee62c50bf..fb349d12e 100644 --- a/test/wire/clients_test.rb +++ b/test/wire/clients_test.rb @@ -106,6 +106,34 @@ def test_clients_register_cimd_client_with_wiremock ) end + def test_clients_search_with_wiremock + test_id = "clients.search.0" + + result = @client.clients.search( + q: "q", + parser: "scim", + fields: "fields", + include_fields: true, + take: 1, + from: "from", + sort: "name", + request_options: { + additional_headers: { + "X-Test-Id" => "clients.search.0" + } + } + ) + result.pages.next_page + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/clients/search", + query_params: nil, + expected: 1 + ) + end + def test_clients_get_with_wiremock test_id = "clients.get.0" diff --git a/test/wire/email_templates_test.rb b/test/wire/email_templates_test.rb index 877b388c4..62a442fb0 100644 --- a/test/wire/email_templates_test.rb +++ b/test/wire/email_templates_test.rb @@ -17,6 +17,11 @@ def test_email_templates_create_with_wiremock @client.email_templates.create( template: "verify_email", + body: nil, + from: nil, + subject: nil, + syntax: nil, + enabled: nil, request_options: { additional_headers: { "X-Test-Id" => "email_templates.create.0" @@ -60,6 +65,11 @@ def test_email_templates_set_with_wiremock @client.email_templates.set( template_name: "verify_email", template: "verify_email", + body: nil, + from: nil, + subject: nil, + syntax: nil, + enabled: nil, request_options: { additional_headers: { "X-Test-Id" => "email_templates.set.0" diff --git a/test/wire/experimentation_experiments_test.rb b/test/wire/experimentation_experiments_test.rb index ef464253b..409cd38ff 100644 --- a/test/wire/experimentation_experiments_test.rb +++ b/test/wire/experimentation_experiments_test.rb @@ -146,28 +146,6 @@ def test_experimentation_experiments_advance_ramp_with_wiremock ) end - def test_experimentation_experiments_update_status_with_wiremock - test_id = "experimentation.experiments.update_status.0" - - @client.experimentation.experiments.update_status( - id: "id", - status: "active", - request_options: { - additional_headers: { - "X-Test-Id" => "experimentation.experiments.update_status.0" - } - } - ) - - verify_request_count( - test_id: test_id, - method: "POST", - url_path: "/experimentation/experiments/id/status", - query_params: nil, - expected: 1 - ) - end - def test_experimentation_experiments_validate_with_wiremock test_id = "experimentation.experiments.validate.0" diff --git a/test/wire/experimentation_feature_flags_test.rb b/test/wire/experimentation_feature_flags_test.rb index 942ab6ec3..c5e6ccd85 100644 --- a/test/wire/experimentation_feature_flags_test.rb +++ b/test/wire/experimentation_feature_flags_test.rb @@ -121,26 +121,4 @@ def test_experimentation_feature_flags_update_with_wiremock expected: 1 ) end - - def test_experimentation_feature_flags_update_status_with_wiremock - test_id = "experimentation.feature_flags.update_status.0" - - @client.experimentation.feature_flags.update_status( - id: "id", - status: "draft", - request_options: { - additional_headers: { - "X-Test-Id" => "experimentation.feature_flags.update_status.0" - } - } - ) - - verify_request_count( - test_id: test_id, - method: "POST", - url_path: "/experimentation/feature-flags/id/status", - query_params: nil, - expected: 1 - ) - end end diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json index 8d6e75eff..bfc9967f4 100644 --- a/wiremock/wiremock-mappings.json +++ b/wiremock/wiremock-mappings.json @@ -599,6 +599,61 @@ } } }, + { + "id": "e809df23-d9d6-4332-9016-571f480d902f", + "name": "Search client grants - default", + "request": { + "urlPathTemplate": "/client-grants/search", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "q": { + "equalTo": "q" + }, + "parser": { + "equalTo": "scim" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + }, + "sort": { + "equalTo": "audience" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"client_grants\": [\n {\n \"id\": \"id\",\n \"client_id\": \"client_id\",\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ],\n \"organization_usage\": \"deny\",\n \"allow_any_organization\": true,\n \"default_for\": \"third_party_clients\",\n \"is_system\": true,\n \"subject_type\": \"client\",\n \"authorization_details_types\": [\n \"authorization_details_types\"\n ],\n \"allow_all_scopes\": true\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "e809df23-d9d6-4332-9016-571f480d902f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, { "id": "03f565a5-e2d6-4f29-ac5c-7e1d2bd25c37", "name": "Get client grant - default", @@ -707,6 +762,185 @@ } } }, + { + "id": "8f69f1ad-0119-4385-b58b-3613d7ce5ee1", + "name": "List client profiles - default", + "request": { + "urlPathTemplate": "/client-profiles", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "from": { + "equalTo": "from" + }, + "take": { + "equalTo": "1" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"next\": \"next\",\n \"client_profiles\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {},\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ]\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "8f69f1ad-0119-4385-b58b-3613d7ce5ee1", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "f65ac957-f4a8-4cb4-8a85-c5303f99f3dd", + "name": "Create a client profile - default", + "request": { + "urlPathTemplate": "/client-profiles", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {\n \"organization_usage\": {\n \"default_value\": \"deny\"\n },\n \"organization_require_behavior\": {\n \"default_value\": \"no_prompt\"\n },\n \"organization_discovery_methods\": {\n \"default_value\": [\n \"email\"\n ]\n },\n \"require_proof_of_possession\": {\n \"default_value\": true\n }\n },\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "f65ac957-f4a8-4cb4-8a85-c5303f99f3dd", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "c42dd8bf-5033-45dd-9932-4fc6a7459ae6", + "name": "Get a client profile - default", + "request": { + "urlPathTemplate": "/client-profiles/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {\n \"organization_usage\": {\n \"default_value\": \"deny\"\n },\n \"organization_require_behavior\": {\n \"default_value\": \"no_prompt\"\n },\n \"organization_discovery_methods\": {\n \"default_value\": [\n \"email\"\n ]\n },\n \"require_proof_of_possession\": {\n \"default_value\": true\n }\n },\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "c42dd8bf-5033-45dd-9932-4fc6a7459ae6", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "874f2f6a-21a0-4699-b722-67cfd41798dc", + "name": "Delete a client profile - default", + "request": { + "urlPathTemplate": "/client-profiles/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "874f2f6a-21a0-4699-b722-67cfd41798dc", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "fa483d55-61de-42ae-8a75-bdc8bf1eaa99", + "name": "Update a client profile - default", + "request": { + "urlPathTemplate": "/client-profiles/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"client_configuration\": {\n \"organization_usage\": {\n \"default_value\": \"deny\"\n },\n \"organization_require_behavior\": {\n \"default_value\": \"no_prompt\"\n },\n \"organization_discovery_methods\": {\n \"default_value\": [\n \"email\"\n ]\n },\n \"require_proof_of_possession\": {\n \"default_value\": true\n }\n },\n \"apply_policy\": {\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"client\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "fa483d55-61de-42ae-8a75-bdc8bf1eaa99", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "e9057410-f073-4b5b-83dc-dc4d5625ef27", "name": "Get clients - default", @@ -753,7 +987,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -785,7 +1019,7 @@ }, "response": { "status": 201, - "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -816,7 +1050,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"errors\": [\n \"errors\"\n ],\n \"validation\": {\n \"valid\": true,\n \"violations\": [\n \"violations\"\n ],\n \"warnings\": [\n \"warnings\"\n ]\n },\n \"mapped_fields\": {\n \"external_client_id\": \"external_client_id\",\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"callbacks\": [\n \"callbacks\"\n ],\n \"logo_uri\": \"logo_uri\",\n \"description\": \"description\",\n \"grant_types\": [\n \"grant_types\"\n ],\n \"token_endpoint_auth_method\": \"token_endpoint_auth_method\",\n \"jwks_uri\": \"jwks_uri\",\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"credential_type\": \"credential_type\",\n \"kid\": \"kid\",\n \"alg\": \"alg\"\n }\n ]\n }\n }\n }\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"external_metadata_created_by\": \"admin\",\n \"errors\": [\n \"errors\"\n ],\n \"validation\": {\n \"valid\": true,\n \"violations\": [\n \"violations\"\n ],\n \"warnings\": [\n \"warnings\"\n ]\n },\n \"mapped_fields\": {\n \"external_client_id\": \"external_client_id\",\n \"name\": \"name\",\n \"app_type\": \"app_type\",\n \"callbacks\": [\n \"callbacks\"\n ],\n \"logo_uri\": \"logo_uri\",\n \"description\": \"description\",\n \"grant_types\": [\n \"grant_types\"\n ],\n \"token_endpoint_auth_method\": \"token_endpoint_auth_method\",\n \"jwks_uri\": \"jwks_uri\",\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"credential_type\": \"credential_type\",\n \"kid\": \"kid\",\n \"alg\": \"alg\"\n }\n ]\n }\n }\n }\n}", "headers": { "Content-Type": "application/json" } @@ -864,6 +1098,61 @@ } } }, + { + "id": "e4f1c4be-c358-48c6-9536-845bfd9b7f1e", + "name": "Search clients using SCIM or Lucene filter syntax - default", + "request": { + "urlPathTemplate": "/clients/search", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "queryParameters": { + "q": { + "equalTo": "q" + }, + "parser": { + "equalTo": "scim" + }, + "fields": { + "equalTo": "fields" + }, + "include_fields": { + "equalTo": "true" + }, + "take": { + "equalTo": "1" + }, + "from": { + "equalTo": "from" + }, + "sort": { + "equalTo": "name" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ],\n \"next\": \"next\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "e4f1c4be-c358-48c6-9536-845bfd9b7f1e", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, { "id": "12071cdc-1adc-4b32-8601-2cd12aa19c0c", "name": "Get client by ID - default", @@ -891,7 +1180,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -963,7 +1252,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -999,7 +1288,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ],\n \"grants\": [\n {\n \"connection\": \"connection\",\n \"scopes\": [\n \"scopes\"\n ]\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"b2b_integration_configuration\": {\n \"sso_profiles\": [\n \"sso_profiles\"\n ],\n \"integration_type\": \"custom_auth_server\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"third_party_client_access\": {\n \"default_value\": \"block\",\n \"allowed_values\": [\n \"allow\"\n ]\n },\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"enforce_permission_ceiling\": true,\n \"enforce_self_assignment_restriction\": true\n },\n \"identity_assertion_authorization_grant\": {\n \"active\": true\n },\n \"anonymous_sessions\": {\n \"active\": true\n },\n \"enforce_anon_session_transfer_network_binding\": \"ip\",\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_metadata_status\": \"available\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -1070,7 +1359,7 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } @@ -1138,7 +1427,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n }\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"display_name\": \"display_name\",\n \"template\": {\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n }\n }\n}", "headers": { "Content-Type": "application/json" } @@ -1174,7 +1463,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } @@ -1246,7 +1535,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"organization\": {\n \"show_as_button\": \"none\",\n \"assign_membership_on_login\": \"none\"\n },\n \"connection_name_prefix_template\": \"connection_name_prefix_template\",\n \"enabled_features\": [\n \"scim\"\n ],\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"ad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"adfs\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"waad\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"google-apps\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"okta\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"oidc\": {\n \"enabled_features\": [\n \"scim\"\n ]\n },\n \"samlp\": {\n \"enabled_features\": [\n \"scim\"\n ]\n }\n },\n \"provisioning\": {\n \"scim\": {\n \"tokens\": {\n \"scopes\": [\n \"get:users\"\n ]\n }\n },\n \"google_workspace\": {\n \"sync_users\": true\n }\n },\n \"cross_app_access_resource_app\": {\n \"status\": {\n \"default_value\": \"enabled\",\n \"allowed_values\": [\n \"enabled\"\n ]\n }\n }\n}", "headers": { "Content-Type": "application/json" } @@ -7531,7 +7820,7 @@ }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1,\n \"form_submission_mode\": \"auto\"\n}", "headers": { "Content-Type": "application/json" } @@ -7563,7 +7852,7 @@ }, "response": { "status": 200, - "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1\n}", + "body": "{\n \"enabled\": true,\n \"shields\": [\n \"block\"\n ],\n \"allowlist\": [\n \"allowlist\"\n ],\n \"mode\": \"count_per_identifier_and_ip\",\n \"max_attempts\": 1,\n \"form_submission_mode\": \"auto\"\n}", "headers": { "Content-Type": "application/json" } @@ -7643,6 +7932,177 @@ } } }, + { + "id": "68c499db-dbcf-4500-b535-2d1b5b0816ac", + "name": "Get CAPTCHA attack protection policies - default", + "request": { + "urlPathTemplate": "/attack-protection/captcha/policies", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 200, + "body": "[\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\"\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n]", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "68c499db-dbcf-4500-b535-2d1b5b0816ac", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, + { + "id": "d9b60e3e-ceaa-434a-9131-9ae1433967b9", + "name": "Create a CAPTCHA attack protection policy - default", + "request": { + "urlPathTemplate": "/attack-protection/captcha/policies", + "method": "POST", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + } + }, + "response": { + "status": 201, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\",\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\",\n \"fail_open\": true\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "d9b60e3e-ceaa-434a-9131-9ae1433967b9", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "cbf37477-ad4e-4fc9-8028-8e2abc8789f3", + "name": "Get a CAPTCHA attack protection policy - default", + "request": { + "urlPathTemplate": "/attack-protection/captcha/policies/{id}", + "method": "GET", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\",\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\",\n \"fail_open\": true\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "cbf37477-ad4e-4fc9-8028-8e2abc8789f3", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "4a72a5d1-89f5-4cde-bda5-da15dc79e6fe", + "name": "Delete a CAPTCHA attack protection policy - default", + "request": { + "urlPathTemplate": "/attack-protection/captcha/policies/{id}", + "method": "DELETE", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4a72a5d1-89f5-4cde-bda5-da15dc79e6fe", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, + { + "id": "4083f648-c7aa-4924-ba4c-8b89886a123d", + "name": "Update a CAPTCHA attack protection policy - default", + "request": { + "urlPathTemplate": "/attack-protection/captcha/policies/{id}", + "method": "PATCH", + "headers": { + "Authorization": { + "matches": "Bearer .+" + } + }, + "pathParameters": { + "id": { + "equalTo": "id" + } + } + }, + "response": { + "status": 200, + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"priority\": 1,\n \"match\": {\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ]\n },\n \"action\": {\n \"active_provider_id\": \"simple_captcha\",\n \"auth_challenge\": {\n \"fail_open\": true\n },\n \"recaptcha_v2\": {\n \"site_key\": \"site_key\"\n },\n \"recaptcha_enterprise\": {\n \"site_key\": \"site_key\",\n \"project_id\": \"project_id\"\n },\n \"hcaptcha\": {\n \"site_key\": \"site_key\"\n },\n \"friendly_captcha\": {\n \"site_key\": \"site_key\"\n },\n \"arkose\": {\n \"site_key\": \"site_key\",\n \"client_subdomain\": \"client_subdomain\",\n \"verify_subdomain\": \"verify_subdomain\",\n \"fail_open\": true\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "4083f648-c7aa-4924-ba4c-8b89886a123d", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f", "name": "Get Phone Provider Protection settings - default", @@ -10285,42 +10745,6 @@ } } }, - { - "id": "bad7af9d-5e89-4f47-b2d5-36b3d3560d91", - "name": "Transition an experiment to a new status. - default", - "request": { - "urlPathTemplate": "/experimentation/experiments/{id}/status", - "method": "POST", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - } - }, - "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"feature_flag_id\": \"feature_flag_id\",\n \"feature_flag_name\": \"feature_flag_name\",\n \"authentication_flow\": \"authentication_flow\",\n \"allocation_strategy\": \"percentage\",\n \"status\": \"draft\",\n \"is_valid\": true,\n \"default_config\": \"tenant\",\n \"feature_flag_snapshot\": {\n \"key\": \"value\"\n },\n \"allocations\": [\n {\n \"variation_id\": \"variation_id\",\n \"variation_name\": \"variation_name\",\n \"segment_id\": \"segment_id\",\n \"segment_name\": \"segment_name\",\n \"weight\": 1,\n \"priority\": 1,\n \"is_control\": true,\n \"is_fallback\": true,\n \"variation_snapshot\": {\n \"key\": \"value\"\n },\n \"segment_snapshot\": {\n \"key\": \"value\"\n }\n }\n ],\n \"editable_fields\": [\n \"editable_fields\"\n ],\n \"levels\": [\n 1\n ],\n \"current_level\": 1,\n \"started_at\": \"2024-01-15T09:30:00Z\",\n \"ended_at\": \"2024-01-15T09:30:00Z\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "bad7af9d-5e89-4f47-b2d5-36b3d3560d91", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, { "id": "20ae6e00-fdf5-43c3-a259-bcdbc0129c9d", "name": "Validate an experiment. - default", @@ -10542,42 +10966,6 @@ } } }, - { - "id": "e8918863-9064-44c0-a1b7-db3c423377a1", - "name": "Transition a feature flag to a new status. - default", - "request": { - "urlPathTemplate": "/experimentation/feature-flags/{id}/status", - "method": "POST", - "headers": { - "Authorization": { - "matches": "Bearer .+" - } - }, - "pathParameters": { - "id": { - "equalTo": "id" - } - } - }, - "response": { - "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"auth0\",\n \"status\": \"draft\",\n \"parameters\": {\n \"key\": {\n \"type\": \"string\",\n \"value\": {\n \"key\": \"value\"\n },\n \"description\": \"description\"\n }\n },\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", - "headers": { - "Content-Type": "application/json" - } - }, - "uuid": "e8918863-9064-44c0-a1b7-db3c423377a1", - "persistent": true, - "priority": 3, - "metadata": { - "mocklab": { - "created": { - "at": "2020-01-01T00:00:00.000Z", - "via": "SYSTEM" - } - } - } - }, { "id": "f3d101fb-cdd6-4ae1-9613-a72ab8cb6207", "name": "List segments for the tenant. - default", @@ -10603,7 +10991,7 @@ }, "response": { "status": 200, - "body": "{\n \"segments\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", + "body": "{\n \"segments\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n }\n ],\n \"next\": \"next\"\n}", "headers": { "Content-Type": "application/json" } @@ -10635,7 +11023,7 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } @@ -10671,7 +11059,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } @@ -10743,7 +11131,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"type\": \"self\",\n \"status\": \"active\",\n \"rules\": [\n {}\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } @@ -16294,7 +16682,7 @@ }, "response": { "status": 200, - "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", + "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"dpop_strict_refresh_token_binding\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"client_id_metadata_document_dynamic_registration_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -16326,7 +16714,7 @@ }, "response": { "status": 200, - "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", + "body": "{\n \"change_password\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"guardian_mfa_page\": {\n \"enabled\": true,\n \"html\": \"html\"\n },\n \"default_audience\": \"default_audience\",\n \"default_directory\": \"default_directory\",\n \"error_page\": {\n \"html\": \"html\",\n \"show_log_link\": true,\n \"url\": \"url\"\n },\n \"device_flow\": {\n \"charset\": \"base20\",\n \"mask\": \"mask\"\n },\n \"default_token_quota\": {\n \"clients\": {\n \"client_credentials\": {}\n },\n \"organizations\": {\n \"client_credentials\": {}\n }\n },\n \"flags\": {\n \"change_pwd_flow_v1\": true,\n \"enable_apis_section\": true,\n \"disable_impersonation\": true,\n \"enable_client_connections\": true,\n \"enable_pipeline2\": true,\n \"allow_legacy_delegation_grant_types\": true,\n \"allow_legacy_ro_grant_types\": true,\n \"allow_legacy_tokeninfo_endpoint\": true,\n \"enable_legacy_profile\": true,\n \"enable_idtoken_api2\": true,\n \"enable_public_signup_user_exists_error\": true,\n \"enable_sso\": true,\n \"allow_changing_enable_sso\": true,\n \"disable_clickjack_protection_headers\": true,\n \"no_disclose_enterprise_connections\": true,\n \"enforce_client_authentication_on_passwordless_start\": true,\n \"enable_adfs_waad_email_verification\": true,\n \"revoke_refresh_token_grant\": true,\n \"dashboard_log_streams_next\": true,\n \"dashboard_insights_view\": true,\n \"disable_fields_map_fix\": true,\n \"mfa_show_factor_list_on_enrollment\": true,\n \"remove_alg_from_jwks\": true,\n \"improved_signup_bot_detection_in_classic\": true,\n \"genai_trial\": true,\n \"local_resource_discovery\": true,\n \"enable_dynamic_client_registration\": true,\n \"disable_management_api_sms_obfuscation\": true,\n \"trust_azure_adfs_email_verified_connection_property\": true,\n \"custom_domains_provisioning\": true\n },\n \"friendly_name\": \"friendly_name\",\n \"picture_url\": \"picture_url\",\n \"support_email\": \"support_email\",\n \"support_url\": \"support_url\",\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_lifetime\": 1.1,\n \"idle_session_lifetime\": 1.1,\n \"ephemeral_session_lifetime\": 1.1,\n \"idle_ephemeral_session_lifetime\": 1.1,\n \"sandbox_version\": \"sandbox_version\",\n \"legacy_sandbox_version\": \"legacy_sandbox_version\",\n \"sandbox_versions_available\": [\n \"sandbox_versions_available\"\n ],\n \"default_redirection_uri\": \"default_redirection_uri\",\n \"enabled_locales\": [\n \"am\"\n ],\n \"access_token\": {\n \"claims_mapping\": {\n \"custom_claims\": [\n {\n \"name\": \"name\",\n \"expression\": \"expression\"\n }\n ]\n }\n },\n \"security_headers\": {\n \"content_security_policy\": {\n \"enabled\": true,\n \"policies\": [\n {}\n ]\n },\n \"x_xss_protection\": {\n \"enabled\": true,\n \"mode\": \"block\",\n \"report_uri\": \"report_uri\"\n }\n },\n \"session_cookie\": {\n \"mode\": \"persistent\"\n },\n \"sessions\": {\n \"oidc_logout_prompt_enabled\": true,\n \"anonymous\": {\n \"lifetime_in_minutes\": 1,\n \"activate_cookie\": true\n }\n },\n \"oidc_logout\": {\n \"rp_logout_end_session_endpoint_discovery\": true\n },\n \"allow_organization_name_in_authentication_api\": true,\n \"customize_mfa_in_postlogin_action\": true,\n \"acr_values_supported\": [\n \"acr_values_supported\"\n ],\n \"mtls\": {\n \"enable_endpoint_aliases\": true\n },\n \"pushed_authorization_requests_supported\": true,\n \"authorization_response_iss_parameter_supported\": true,\n \"dpop_strict_refresh_token_binding\": true,\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"resource_parameter_profile\": \"audience\",\n \"client_id_metadata_document_supported\": true,\n \"client_id_metadata_document_dynamic_registration_supported\": true,\n \"phone_consolidated_experience\": true,\n \"enable_ai_guide\": true,\n \"include_session_metadata_in_tenant_logs\": true,\n \"dynamic_client_registration_security_mode\": \"strict\",\n \"country_codes\": {\n \"list\": [\n \"list\"\n ],\n \"mode\": \"allow\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -17843,6 +18231,6 @@ } ], "meta": { - "total": 477 + "total": 487 } } \ No newline at end of file