auth0 6.2.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +6 -5
- data/.fern/replay.lock +13 -1
- data/.version +1 -1
- data/CHANGELOG.md +13 -0
- data/EXAMPLES.md +44 -0
- data/examples/ruby-api/Gemfile.lock +1 -1
- data/lib/auth0/actions/client.rb +47 -6
- data/lib/auth0/actions/executions/client.rb +4 -1
- data/lib/auth0/actions/modules/client.rb +40 -6
- data/lib/auth0/actions/modules/versions/client.rb +19 -3
- data/lib/auth0/actions/triggers/bindings/client.rb +12 -2
- data/lib/auth0/actions/triggers/client.rb +4 -1
- data/lib/auth0/actions/versions/client.rb +27 -4
- data/lib/auth0/agents/client.rb +22 -4
- data/lib/auth0/anomaly/blocks/client.rb +6 -0
- data/lib/auth0/api/authentication_endpoints.rb +40 -0
- data/lib/auth0/attack_protection/bot_detection/client.rb +8 -2
- data/lib/auth0/attack_protection/breached_password_detection/client.rb +8 -2
- data/lib/auth0/attack_protection/brute_force_protection/client.rb +8 -2
- data/lib/auth0/attack_protection/captcha/client.rb +8 -2
- data/lib/auth0/attack_protection/phone_provider_protection/client.rb +8 -2
- data/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb +8 -2
- data/lib/auth0/branding/client.rb +8 -2
- data/lib/auth0/branding/phone/providers/client.rb +31 -5
- data/lib/auth0/branding/phone/templates/client.rb +39 -7
- data/lib/auth0/branding/templates/client.rb +10 -1
- data/lib/auth0/branding/themes/client.rb +162 -4
- data/lib/auth0/client.rb +8 -8
- data/lib/auth0/client_grants/client.rb +28 -4
- data/lib/auth0/client_grants/organizations/client.rb +9 -1
- data/lib/auth0/clients/client.rb +46 -7
- data/lib/auth0/clients/connections/client.rb +11 -1
- data/lib/auth0/clients/credentials/client.rb +36 -7
- data/lib/auth0/clients/types/create_client_request_content.rb +4 -0
- data/lib/auth0/clients/types/update_client_request_content.rb +2 -0
- data/lib/auth0/connection_profiles/client.rb +30 -6
- data/lib/auth0/connections/client.rb +37 -4
- data/lib/auth0/connections/clients/client.rb +21 -2
- data/lib/auth0/connections/directory_provisioning/client.rb +73 -8
- data/lib/auth0/connections/directory_provisioning/synchronizations/client.rb +4 -1
- data/lib/auth0/connections/keys/client.rb +31 -8
- data/lib/auth0/connections/scim_configuration/client.rb +37 -6
- data/lib/auth0/connections/scim_configuration/tokens/client.rb +14 -2
- data/lib/auth0/connections/users/client.rb +6 -0
- data/lib/auth0/custom_domains/client.rb +43 -8
- data/lib/auth0/device_credentials/client.rb +25 -2
- data/lib/auth0/email_templates/client.rb +19 -4
- data/lib/auth0/emails/provider/client.rb +23 -3
- data/lib/auth0/event_streams/client.rb +38 -5
- data/lib/auth0/event_streams/deliveries/client.rb +19 -2
- data/lib/auth0/event_streams/redeliveries/client.rb +10 -1
- data/lib/auth0/events/client.rb +7 -0
- data/lib/auth0/experimentation/client.rb +29 -0
- data/lib/auth0/experimentation/experiments/client.rb +367 -0
- data/lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb +15 -0
- data/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb +27 -0
- data/lib/auth0/experimentation/experiments/types/list_experiments_request_parameters.rb +21 -0
- data/lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb +25 -0
- data/lib/auth0/experimentation/experiments/types/update_experiment_status_request_content.rb +15 -0
- data/lib/auth0/experimentation/feature_flags/client.rb +280 -0
- data/lib/auth0/experimentation/feature_flags/types/create_feature_flag_request_content.rb +17 -0
- data/lib/auth0/experimentation/feature_flags/types/list_feature_flags_request_parameters.rb +19 -0
- data/lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb +19 -0
- data/lib/auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content.rb +15 -0
- data/lib/auth0/experimentation/feature_flags/variations/client.rb +230 -0
- data/lib/auth0/experimentation/feature_flags/variations/types/create_variation_request_content.rb +21 -0
- data/lib/auth0/experimentation/feature_flags/variations/types/update_variation_request_content.rb +23 -0
- data/lib/auth0/experimentation/segments/client.rb +228 -0
- data/lib/auth0/experimentation/segments/types/create_segment_request_content.rb +17 -0
- data/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb +17 -0
- data/lib/auth0/experimentation/segments/types/update_segment_request_content.rb +19 -0
- data/lib/auth0/flows/client.rb +28 -4
- data/lib/auth0/flows/executions/client.rb +23 -2
- data/lib/auth0/flows/vault/connections/client.rb +31 -4
- data/lib/auth0/forms/client.rb +27 -4
- data/lib/auth0/groups/client.rb +21 -2
- data/lib/auth0/groups/members/client.rb +10 -1
- data/lib/auth0/groups/roles/client.rb +20 -1
- data/lib/auth0/guardian/client.rb +77 -0
- data/lib/auth0/guardian/enrollments/client.rb +11 -2
- data/lib/auth0/guardian/factors/client.rb +21 -5
- data/lib/auth0/guardian/factors/duo/settings/client.rb +12 -3
- data/lib/auth0/guardian/factors/email/client.rb +93 -0
- data/lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb +17 -0
- data/lib/auth0/guardian/factors/phone/client.rb +110 -8
- data/lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb +17 -0
- data/lib/auth0/guardian/factors/push_notification/client.rb +48 -12
- data/lib/auth0/guardian/factors/sms/client.rb +32 -9
- data/lib/auth0/guardian/policies/client.rb +8 -2
- data/lib/auth0/guardian/types/set_guardian_settings_request_content.rb +17 -0
- data/lib/auth0/hooks/client.rb +33 -4
- data/lib/auth0/hooks/secrets/client.rb +38 -4
- data/lib/auth0/jobs/client.rb +4 -1
- data/lib/auth0/jobs/errors/client.rb +9 -4
- data/lib/auth0/jobs/users_exports/client.rb +4 -1
- data/lib/auth0/jobs/users_imports/client.rb +14 -6
- data/lib/auth0/jobs/verification_email/client.rb +4 -1
- data/lib/auth0/keys/custom_signing/client.rb +13 -2
- data/lib/auth0/keys/encryption/client.rb +33 -5
- data/lib/auth0/keys/network_acls/client.rb +19 -3
- data/lib/auth0/keys/signing/client.rb +21 -7
- data/lib/auth0/log_streams/client.rb +29 -7
- data/lib/auth0/logs/client.rb +16 -2
- data/lib/auth0/network_acls/client.rb +41 -4
- data/lib/auth0/organizations/client.rb +109 -10
- data/lib/auth0/organizations/client_grants/client.rb +25 -2
- data/lib/auth0/organizations/clients/client.rb +38 -4
- data/lib/auth0/organizations/connections/client.rb +37 -4
- data/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb +2 -0
- data/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb +2 -0
- data/lib/auth0/organizations/discovery_domains/client.rb +42 -5
- data/lib/auth0/organizations/enabled_connections/client.rb +36 -4
- data/lib/auth0/organizations/groups/client.rb +8 -1
- data/lib/auth0/organizations/groups/roles/client.rb +23 -1
- data/lib/auth0/organizations/invitations/client.rb +40 -3
- data/lib/auth0/organizations/members/client.rb +23 -1
- data/lib/auth0/organizations/members/effective_roles/client.rb +9 -1
- data/lib/auth0/organizations/members/effective_roles/sources/groups/client.rb +10 -1
- data/lib/auth0/organizations/members/roles/client.rb +24 -1
- data/lib/auth0/organizations/roles/groups/client.rb +9 -1
- data/lib/auth0/organizations/roles/members/client.rb +11 -1
- data/lib/auth0/organizations/types/search_organizations_request_parameters.rb +19 -0
- data/lib/auth0/prompts/client.rb +8 -2
- data/lib/auth0/prompts/custom_text/client.rb +20 -2
- data/lib/auth0/prompts/partials/client.rb +16 -2
- data/lib/auth0/prompts/rendering/client.rb +34 -4
- data/lib/auth0/rate_limit_policies/client.rb +37 -4
- data/lib/auth0/refresh_tokens/client.rb +25 -3
- data/lib/auth0/resource_servers/client.rb +102 -4
- data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +6 -0
- data/lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb +23 -0
- data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +6 -0
- data/lib/auth0/risk_assessments/settings/client.rb +8 -2
- data/lib/auth0/risk_assessments/settings/new_device/client.rb +8 -2
- data/lib/auth0/roles/client.rb +26 -4
- data/lib/auth0/roles/groups/client.rb +20 -1
- data/lib/auth0/roles/permissions/client.rb +27 -1
- data/lib/auth0/roles/users/client.rb +15 -1
- data/lib/auth0/rules/client.rb +33 -4
- data/lib/auth0/rules_configs/client.rb +19 -5
- data/lib/auth0/self_service_profiles/client.rb +23 -4
- data/lib/auth0/self_service_profiles/custom_text/client.rb +23 -3
- data/lib/auth0/self_service_profiles/sso_ticket/client.rb +10 -1
- data/lib/auth0/sessions/client.rb +14 -2
- data/lib/auth0/stats/client.rb +16 -5
- data/lib/auth0/supplemental_signals/client.rb +8 -2
- data/lib/auth0/tenants/settings/client.rb +11 -2
- data/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb +2 -0
- data/lib/auth0/tickets/client.rb +8 -2
- data/lib/auth0/token_exchange_profiles/client.rb +26 -3
- data/lib/auth0/types/advance_ramp_response_content.rb +15 -0
- data/lib/auth0/types/allocation_item.rb +27 -0
- data/lib/auth0/types/allocation_request_item.rb +19 -0
- data/lib/auth0/types/{connection_deletion_behavior_enum.rb → allocation_strategy_enum.rb} +3 -3
- data/lib/auth0/types/anonymous_sessions.rb +10 -0
- data/lib/auth0/types/async_approval_notifications_channels_enum.rb +1 -0
- data/lib/auth0/types/authentication_flow_enum.rb +16 -0
- data/lib/auth0/types/client.rb +6 -0
- data/lib/auth0/types/client_my_organization_patch_configuration.rb +4 -0
- data/lib/auth0/types/client_my_organization_post_configuration.rb +4 -0
- data/lib/auth0/types/client_my_organization_response_configuration.rb +4 -0
- data/lib/auth0/types/client_oidc_backchannel_logout_initiators_enum.rb +1 -0
- data/lib/auth0/types/client_oidc_support_allowed_scopes_enum.rb +14 -0
- data/lib/auth0/types/client_oidc_support_post.rb +15 -0
- data/lib/auth0/types/connection_identity_provider_enum.rb +4 -13
- data/lib/auth0/types/connection_options_ad.rb +2 -0
- data/lib/auth0/types/connection_options_adfs.rb +2 -0
- data/lib/auth0/types/connection_options_azure_ad.rb +2 -0
- data/lib/auth0/types/connection_options_common_saml.rb +2 -0
- data/lib/auth0/types/connection_options_ping_federate.rb +2 -0
- data/lib/auth0/types/connection_options_saml.rb +2 -0
- data/lib/auth0/types/connection_properties_options.rb +4 -0
- data/lib/auth0/types/connection_strategy_enum.rb +4 -13
- data/lib/auth0/types/connection_thumbprints_sha384.rb +23 -0
- data/lib/auth0/types/connection_thumbprints_sha384ad.rb +23 -0
- data/lib/auth0/types/connection_thumbprints_sha384saml.rb +23 -0
- data/lib/auth0/types/create_anonymous_sessions.rb +10 -0
- data/lib/auth0/types/create_client_response_content.rb +6 -0
- data/lib/auth0/types/create_experiment_response_content.rb +45 -0
- data/lib/auth0/types/create_feature_flag_parameters.rb +23 -0
- data/lib/auth0/types/create_feature_flag_response_content.rb +23 -0
- data/lib/auth0/types/create_organization_all_connection_response_content.rb +2 -0
- data/lib/auth0/types/create_resource_server_response_content.rb +6 -0
- data/lib/auth0/types/create_segment_response_content.rb +21 -0
- data/lib/auth0/types/create_variation_response_content.rb +21 -0
- data/lib/auth0/types/{organization_deletion_behavior_enum.rb → default_config_enum.rb} +3 -3
- data/lib/auth0/types/experiment_list_item.rb +45 -0
- data/lib/auth0/types/experiment_status_enum.rb +15 -0
- data/lib/auth0/types/experiment_transition_status_enum.rb +14 -0
- data/lib/auth0/types/experiment_validation_error.rb +11 -0
- data/lib/auth0/types/feature_flag.rb +23 -0
- data/lib/auth0/types/feature_flag_config_param.rb +13 -0
- data/lib/auth0/types/feature_flag_config_param_type_enum.rb +15 -0
- data/lib/auth0/types/feature_flag_config_params.rb +23 -0
- data/lib/auth0/types/feature_flag_status_enum.rb +13 -0
- data/lib/auth0/types/feature_flag_type_enum.rb +12 -0
- data/lib/auth0/types/get_client_response_content.rb +6 -0
- data/lib/auth0/types/get_email_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/get_experiment_response_content.rb +45 -0
- data/lib/auth0/types/get_feature_flag_response_content.rb +23 -0
- data/lib/auth0/types/get_guardian_settings_response_content.rb +15 -0
- data/lib/auth0/types/get_organization_all_connection_response_content.rb +2 -0
- data/lib/auth0/types/get_phone_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/get_resource_server_response_content.rb +6 -0
- data/lib/auth0/types/get_segment_response_content.rb +21 -0
- data/lib/auth0/types/get_tenant_settings_response_content.rb +2 -0
- data/lib/auth0/types/get_variation_response_content.rb +21 -0
- data/lib/auth0/types/list_experiments_response_content.rb +11 -0
- data/lib/auth0/types/list_feature_flags_response_content.rb +11 -0
- data/lib/auth0/types/list_segments_response_content.rb +11 -0
- data/lib/auth0/types/list_variations_response_content.rb +9 -0
- data/lib/auth0/types/oauth_scope.rb +4 -3
- data/lib/auth0/types/organization_all_connection_post.rb +2 -0
- data/lib/auth0/types/organization_member_access_level_enum.rb +14 -0
- data/lib/auth0/types/organization_member_access_level_enum_with_null.rb +14 -0
- data/lib/auth0/types/organization_sort_field_enum.rb +13 -0
- data/lib/auth0/types/resource_server.rb +6 -0
- data/lib/auth0/types/resource_server_access_token.rb +10 -0
- data/lib/auth0/types/resource_server_access_token_claims_mapping.rb +10 -0
- data/lib/auth0/types/resource_server_access_token_custom_claims_mapping.rb +23 -0
- data/lib/auth0/types/resource_server_access_token_custom_claims_mapping_rule.rb +11 -0
- data/lib/auth0/types/resource_server_search_response.rb +55 -0
- data/lib/auth0/types/resource_server_sort_field_enum.rb +13 -0
- data/lib/auth0/types/resource_server_subject_type_authorization.rb +2 -0
- data/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb +10 -0
- data/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb +12 -0
- data/lib/auth0/types/rotate_client_secret_response_content.rb +6 -0
- data/lib/auth0/types/search_organization.rb +23 -0
- data/lib/auth0/types/{list_template_organizations_paginated_response_content.rb → search_organizations_paginated_response_content.rb} +3 -3
- data/lib/auth0/types/search_parser_enum.rb +12 -0
- data/lib/auth0/types/search_resource_servers_response_content.rb +11 -0
- data/lib/auth0/types/segment.rb +21 -0
- data/lib/auth0/types/segment_contains_expression.rb +9 -0
- data/lib/auth0/types/segment_ends_with_expression.rb +9 -0
- data/lib/auth0/types/segment_exists_expression.rb +9 -0
- data/lib/auth0/types/segment_match_conditions.rb +30 -0
- data/lib/auth0/types/segment_match_expression.rb +19 -0
- data/lib/auth0/types/segment_not_match_conditions.rb +30 -0
- data/lib/auth0/types/segment_rule.rb +11 -0
- data/lib/auth0/types/segment_starts_with_expression.rb +9 -0
- data/lib/auth0/types/segment_type_enum.rb +12 -0
- data/lib/auth0/types/segment_type_filter_enum.rb +12 -0
- data/lib/auth0/types/set_email_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/set_guardian_settings_response_content.rb +15 -0
- data/lib/auth0/types/set_phone_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/tenant_settings_sessions.rb +2 -0
- data/lib/auth0/types/tenant_settings_sessions_anonymous.rb +12 -0
- data/lib/auth0/types/update_anonymous_sessions.rb +10 -0
- data/lib/auth0/types/update_client_response_content.rb +6 -0
- data/lib/auth0/types/update_connection_options.rb +4 -0
- data/lib/auth0/types/update_experiment_response_content.rb +45 -0
- data/lib/auth0/types/update_experiment_status_response_content.rb +45 -0
- data/lib/auth0/types/update_feature_flag_parameters.rb +23 -0
- data/lib/auth0/types/update_feature_flag_response_content.rb +23 -0
- data/lib/auth0/types/update_feature_flag_status_response_content.rb +23 -0
- data/lib/auth0/types/update_organization_all_connection_response_content.rb +2 -0
- data/lib/auth0/types/update_resource_server_response_content.rb +6 -0
- data/lib/auth0/types/update_segment_response_content.rb +21 -0
- data/lib/auth0/types/update_tenant_settings_response_content.rb +2 -0
- data/lib/auth0/types/update_variation_overrides_map.rb +23 -0
- data/lib/auth0/types/update_variation_response_content.rb +21 -0
- data/lib/auth0/types/validate_experiment_response_content.rb +11 -0
- data/lib/auth0/types/variation.rb +21 -0
- data/lib/auth0/types/variation_overrides_map.rb +23 -0
- data/lib/auth0/user_attribute_profiles/client.rb +40 -6
- data/lib/auth0/user_blocks/client.rb +20 -2
- data/lib/auth0/user_grants/client.rb +17 -1
- data/lib/auth0/users/authentication_methods/client.rb +57 -9
- data/lib/auth0/users/authenticators/client.rb +3 -0
- data/lib/auth0/users/client.rb +75 -23
- data/lib/auth0/users/connected_accounts/client.rb +8 -1
- data/lib/auth0/users/effective_permissions/client.rb +9 -1
- data/lib/auth0/users/effective_permissions/sources/roles/client.rb +10 -1
- data/lib/auth0/users/effective_roles/client.rb +8 -1
- data/lib/auth0/users/effective_roles/sources/groups/client.rb +9 -1
- data/lib/auth0/users/enrollments/client.rb +9 -4
- data/lib/auth0/users/groups/client.rb +11 -1
- data/lib/auth0/users/identities/client.rb +17 -5
- data/lib/auth0/users/logs/client.rb +10 -1
- data/lib/auth0/users/multifactor/client.rb +9 -0
- data/lib/auth0/users/organizations/client.rb +9 -1
- data/lib/auth0/users/permissions/client.rb +27 -1
- data/lib/auth0/users/refresh_token/client.rb +12 -1
- data/lib/auth0/users/risk_assessments/client.rb +7 -0
- data/lib/auth0/users/roles/client.rb +21 -1
- data/lib/auth0/users/sessions/client.rb +12 -1
- data/lib/auth0/verifiable_credentials/verification/templates/client.rb +32 -4
- data/lib/auth0/version.rb +1 -1
- data/lib/auth0.rb +107 -18
- data/wiremock/wiremock-mappings.json +1246 -366
- metadata +108 -19
- data/lib/auth0/organization_templates/client.rb +0 -220
- data/lib/auth0/organization_templates/types/create_organization_template_request_content.rb +0 -35
- data/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb +0 -13
- data/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb +0 -15
- data/lib/auth0/organization_templates/types/update_organization_template_request_content.rb +0 -37
- data/lib/auth0/organizations/organization_template/client.rb +0 -117
- data/lib/auth0/types/list_organization_templates_paginated_response_content.rb +0 -11
- data/lib/auth0/types/organization_template.rb +0 -39
- data/lib/auth0/types/organization_template_allowed_strategy_enum.rb +0 -17
- data/lib/auth0/types/organization_template_assigned_organization.rb +0 -10
- data/lib/auth0/types/organization_template_role_visibility_enum.rb +0 -13
- data/lib/auth0/types/organization_template_role_visibility_override.rb +0 -12
- data/lib/auth0/types/organization_template_role_visibility_policy.rb +0 -12
- data/lib/auth0/types/organization_template_use_for_organization_discovery.rb +0 -12
|
@@ -20,6 +20,9 @@ module Auth0
|
|
|
20
20
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
21
21
|
# @option request_options [Integer] :timeout_in_seconds
|
|
22
22
|
#
|
|
23
|
+
# @example
|
|
24
|
+
# client.supplemental_signals.get
|
|
25
|
+
#
|
|
23
26
|
# @return [Auth0::Types::GetSupplementalSignalsResponseContent]
|
|
24
27
|
def get(request_options: {}, **_params)
|
|
25
28
|
request = Auth0::Internal::JSON::Request.new(
|
|
@@ -35,7 +38,7 @@ module Auth0
|
|
|
35
38
|
end
|
|
36
39
|
code = response.code.to_i
|
|
37
40
|
if code.between?(200, 299)
|
|
38
|
-
Auth0::Types::GetSupplementalSignalsResponseContent.load(response.body)
|
|
41
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::GetSupplementalSignalsResponseContent.load(response.body))
|
|
39
42
|
else
|
|
40
43
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
41
44
|
raise error_class.new(response.body, code: code)
|
|
@@ -52,6 +55,9 @@ module Auth0
|
|
|
52
55
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
53
56
|
# @option request_options [Integer] :timeout_in_seconds
|
|
54
57
|
#
|
|
58
|
+
# @example
|
|
59
|
+
# client.supplemental_signals.patch(akamai_enabled: true)
|
|
60
|
+
#
|
|
55
61
|
# @return [Auth0::Types::PatchSupplementalSignalsResponseContent]
|
|
56
62
|
def patch(request_options: {}, **params)
|
|
57
63
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -69,7 +75,7 @@ module Auth0
|
|
|
69
75
|
end
|
|
70
76
|
code = response.code.to_i
|
|
71
77
|
if code.between?(200, 299)
|
|
72
|
-
Auth0::Types::PatchSupplementalSignalsResponseContent.load(response.body)
|
|
78
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::PatchSupplementalSignalsResponseContent.load(response.body))
|
|
73
79
|
else
|
|
74
80
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
75
81
|
raise error_class.new(response.body, code: code)
|
|
@@ -23,6 +23,12 @@ module Auth0
|
|
|
23
23
|
# @option params [String, nil] :fields
|
|
24
24
|
# @option params [Boolean, nil] :include_fields
|
|
25
25
|
#
|
|
26
|
+
# @example
|
|
27
|
+
# client.tenants.settings.get(
|
|
28
|
+
# fields: "fields",
|
|
29
|
+
# include_fields: true
|
|
30
|
+
# )
|
|
31
|
+
#
|
|
26
32
|
# @return [Auth0::Types::GetTenantSettingsResponseContent]
|
|
27
33
|
def get(request_options: {}, **params)
|
|
28
34
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -44,7 +50,7 @@ module Auth0
|
|
|
44
50
|
end
|
|
45
51
|
code = response.code.to_i
|
|
46
52
|
if code.between?(200, 299)
|
|
47
|
-
Auth0::Types::GetTenantSettingsResponseContent.load(response.body)
|
|
53
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::GetTenantSettingsResponseContent.load(response.body))
|
|
48
54
|
else
|
|
49
55
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
50
56
|
raise error_class.new(response.body, code: code)
|
|
@@ -61,6 +67,9 @@ module Auth0
|
|
|
61
67
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
62
68
|
# @option request_options [Integer] :timeout_in_seconds
|
|
63
69
|
#
|
|
70
|
+
# @example
|
|
71
|
+
# client.tenants.settings.update
|
|
72
|
+
#
|
|
64
73
|
# @return [Auth0::Types::UpdateTenantSettingsResponseContent]
|
|
65
74
|
def update(request_options: {}, **params)
|
|
66
75
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -78,7 +87,7 @@ module Auth0
|
|
|
78
87
|
end
|
|
79
88
|
code = response.code.to_i
|
|
80
89
|
if code.between?(200, 299)
|
|
81
|
-
Auth0::Types::UpdateTenantSettingsResponseContent.load(response.body)
|
|
90
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::UpdateTenantSettingsResponseContent.load(response.body))
|
|
82
91
|
else
|
|
83
92
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
84
93
|
raise error_class.new(response.body, code: code)
|
|
@@ -55,6 +55,8 @@ module Auth0
|
|
|
55
55
|
|
|
56
56
|
field :enabled_locales, -> { Internal::Types::Array[Auth0::Types::TenantSettingsSupportedLocalesEnum] }, optional: true, nullable: false
|
|
57
57
|
|
|
58
|
+
field :access_token, -> { Auth0::Types::ResourceServerAccessToken }, optional: true, nullable: false
|
|
59
|
+
|
|
58
60
|
field :security_headers, -> { Auth0::Types::TenantSettingsNullableSecurityHeaders }, optional: true, nullable: false
|
|
59
61
|
|
|
60
62
|
field :session_cookie, -> { Auth0::Types::SessionCookieSchema }, optional: true, nullable: false
|
data/lib/auth0/tickets/client.rb
CHANGED
|
@@ -21,6 +21,9 @@ module Auth0
|
|
|
21
21
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
22
22
|
# @option request_options [Integer] :timeout_in_seconds
|
|
23
23
|
#
|
|
24
|
+
# @example
|
|
25
|
+
# client.tickets.verify_email(user_id: "user_id")
|
|
26
|
+
#
|
|
24
27
|
# @return [Auth0::Types::VerifyEmailTicketResponseContent]
|
|
25
28
|
def verify_email(request_options: {}, **params)
|
|
26
29
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -38,7 +41,7 @@ module Auth0
|
|
|
38
41
|
end
|
|
39
42
|
code = response.code.to_i
|
|
40
43
|
if code.between?(200, 299)
|
|
41
|
-
Auth0::Types::VerifyEmailTicketResponseContent.load(response.body)
|
|
44
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::VerifyEmailTicketResponseContent.load(response.body))
|
|
42
45
|
else
|
|
43
46
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
44
47
|
raise error_class.new(response.body, code: code)
|
|
@@ -59,6 +62,9 @@ module Auth0
|
|
|
59
62
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
60
63
|
# @option request_options [Integer] :timeout_in_seconds
|
|
61
64
|
#
|
|
65
|
+
# @example
|
|
66
|
+
# client.tickets.change_password
|
|
67
|
+
#
|
|
62
68
|
# @return [Auth0::Types::ChangePasswordTicketResponseContent]
|
|
63
69
|
def change_password(request_options: {}, **params)
|
|
64
70
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -76,7 +82,7 @@ module Auth0
|
|
|
76
82
|
end
|
|
77
83
|
code = response.code.to_i
|
|
78
84
|
if code.between?(200, 299)
|
|
79
|
-
Auth0::Types::ChangePasswordTicketResponseContent.load(response.body)
|
|
85
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::ChangePasswordTicketResponseContent.load(response.body))
|
|
80
86
|
else
|
|
81
87
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
82
88
|
raise error_class.new(response.body, code: code)
|
|
@@ -35,6 +35,12 @@ module Auth0
|
|
|
35
35
|
# @option params [String, nil] :from
|
|
36
36
|
# @option params [Integer, nil] :take
|
|
37
37
|
#
|
|
38
|
+
# @example
|
|
39
|
+
# client.token_exchange_profiles.list(
|
|
40
|
+
# from: "from",
|
|
41
|
+
# take: 1
|
|
42
|
+
# )
|
|
43
|
+
#
|
|
38
44
|
# @return [Auth0::Types::ListTokenExchangeProfileResponseContent]
|
|
39
45
|
def list(request_options: {}, **params)
|
|
40
46
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -62,7 +68,7 @@ module Auth0
|
|
|
62
68
|
end
|
|
63
69
|
code = response.code.to_i
|
|
64
70
|
if code.between?(200, 299)
|
|
65
|
-
parsed_response = Auth0::Types::ListTokenExchangeProfileResponseContent.load(response.body)
|
|
71
|
+
parsed_response = (response.body.to_s.empty? ? nil : Auth0::Types::ListTokenExchangeProfileResponseContent.load(response.body))
|
|
66
72
|
[parsed_response, response]
|
|
67
73
|
else
|
|
68
74
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
@@ -85,6 +91,14 @@ module Auth0
|
|
|
85
91
|
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
86
92
|
# @option request_options [Integer] :timeout_in_seconds
|
|
87
93
|
#
|
|
94
|
+
# @example
|
|
95
|
+
# client.token_exchange_profiles.create(
|
|
96
|
+
# name: "name",
|
|
97
|
+
# subject_token_type: "subject_token_type",
|
|
98
|
+
# action_id: "action_id",
|
|
99
|
+
# type: "custom_authentication"
|
|
100
|
+
# )
|
|
101
|
+
#
|
|
88
102
|
# @return [Auth0::Types::CreateTokenExchangeProfileResponseContent]
|
|
89
103
|
def create(request_options: {}, **params)
|
|
90
104
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -102,7 +116,7 @@ module Auth0
|
|
|
102
116
|
end
|
|
103
117
|
code = response.code.to_i
|
|
104
118
|
if code.between?(200, 299)
|
|
105
|
-
Auth0::Types::CreateTokenExchangeProfileResponseContent.load(response.body)
|
|
119
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::CreateTokenExchangeProfileResponseContent.load(response.body))
|
|
106
120
|
else
|
|
107
121
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
108
122
|
raise error_class.new(response.body, code: code)
|
|
@@ -124,6 +138,9 @@ module Auth0
|
|
|
124
138
|
# @option request_options [Integer] :timeout_in_seconds
|
|
125
139
|
# @option params [String] :id
|
|
126
140
|
#
|
|
141
|
+
# @example
|
|
142
|
+
# client.token_exchange_profiles.get(id: "id")
|
|
143
|
+
#
|
|
127
144
|
# @return [Auth0::Types::GetTokenExchangeProfileResponseContent]
|
|
128
145
|
def get(request_options: {}, **params)
|
|
129
146
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -140,7 +157,7 @@ module Auth0
|
|
|
140
157
|
end
|
|
141
158
|
code = response.code.to_i
|
|
142
159
|
if code.between?(200, 299)
|
|
143
|
-
Auth0::Types::GetTokenExchangeProfileResponseContent.load(response.body)
|
|
160
|
+
(response.body.to_s.empty? ? nil : Auth0::Types::GetTokenExchangeProfileResponseContent.load(response.body))
|
|
144
161
|
else
|
|
145
162
|
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
146
163
|
raise error_class.new(response.body, code: code)
|
|
@@ -162,6 +179,9 @@ module Auth0
|
|
|
162
179
|
# @option request_options [Integer] :timeout_in_seconds
|
|
163
180
|
# @option params [String] :id
|
|
164
181
|
#
|
|
182
|
+
# @example
|
|
183
|
+
# client.token_exchange_profiles.delete(id: "id")
|
|
184
|
+
#
|
|
165
185
|
# @return [untyped]
|
|
166
186
|
def delete(request_options: {}, **params)
|
|
167
187
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -198,6 +218,9 @@ module Auth0
|
|
|
198
218
|
# @option request_options [Integer] :timeout_in_seconds
|
|
199
219
|
# @option params [String] :id
|
|
200
220
|
#
|
|
221
|
+
# @example
|
|
222
|
+
# client.token_exchange_profiles.update(id: "id")
|
|
223
|
+
#
|
|
201
224
|
# @return [untyped]
|
|
202
225
|
def update(request_options: {}, **params)
|
|
203
226
|
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class AdvanceRampResponseContent < Internal::Types::Model
|
|
6
|
+
field :experiment_id, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :from_level, -> { Integer }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :to_level, -> { Integer }, optional: false, nullable: false
|
|
11
|
+
|
|
12
|
+
field :current_level, -> { Integer }, optional: false, nullable: false
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class AllocationItem < Internal::Types::Model
|
|
6
|
+
field :variation_id, -> { String }, optional: true, nullable: false
|
|
7
|
+
|
|
8
|
+
field :variation_name, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :segment_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :segment_name, -> { String }, optional: true, nullable: false
|
|
13
|
+
|
|
14
|
+
field :weight, -> { Integer }, optional: true, nullable: false
|
|
15
|
+
|
|
16
|
+
field :priority, -> { Integer }, optional: true, nullable: false
|
|
17
|
+
|
|
18
|
+
field :is_control, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
19
|
+
|
|
20
|
+
field :is_fallback, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
21
|
+
|
|
22
|
+
field :variation_snapshot, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
23
|
+
|
|
24
|
+
field :segment_snapshot, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class AllocationRequestItem < Internal::Types::Model
|
|
6
|
+
field :variation_id, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :weight, -> { Integer }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :segment_id, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :priority, -> { Integer }, optional: true, nullable: false
|
|
13
|
+
|
|
14
|
+
field :is_control, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :is_fallback, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
module Auth0
|
|
4
4
|
module Types
|
|
5
|
-
module
|
|
5
|
+
module AllocationStrategyEnum
|
|
6
6
|
extend Auth0::Internal::Types::Enum
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
PERCENTAGE = "percentage"
|
|
9
|
+
SEGMENT = "segment"
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
# Anonymous sessions configuration for this client.
|
|
6
|
+
class AnonymousSessions < Internal::Types::Model
|
|
7
|
+
field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
module AuthenticationFlowEnum
|
|
6
|
+
extend Auth0::Internal::Types::Enum
|
|
7
|
+
|
|
8
|
+
AUTHENTICATION = "authentication"
|
|
9
|
+
MFA_ENROLLMENT = "mfa_enrollment"
|
|
10
|
+
MFA_CHALLENGE = "mfa_challenge"
|
|
11
|
+
PASSWORD_RESET = "password_reset"
|
|
12
|
+
PASSKEY_ENROLLMENT = "passkey_enrollment"
|
|
13
|
+
ALL = "all"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
data/lib/auth0/types/client.rb
CHANGED
|
@@ -5,6 +5,10 @@ module Auth0
|
|
|
5
5
|
class Client < Internal::Types::Model
|
|
6
6
|
field :client_id, -> { String }, optional: true, nullable: false
|
|
7
7
|
|
|
8
|
+
field :created_at, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :updated_at, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
8
12
|
field :tenant, -> { String }, optional: true, nullable: false
|
|
9
13
|
|
|
10
14
|
field :name, -> { String }, optional: true, nullable: false
|
|
@@ -117,6 +121,8 @@ module Auth0
|
|
|
117
121
|
|
|
118
122
|
field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
|
|
119
123
|
|
|
124
|
+
field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
|
|
125
|
+
|
|
120
126
|
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
|
|
121
127
|
|
|
122
128
|
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
|
|
@@ -15,6 +15,10 @@ module Auth0
|
|
|
15
15
|
field :connection_deletion_behavior, -> { Auth0::Types::ClientMyOrganizationDeletionBehaviorEnum }, optional: false, nullable: false
|
|
16
16
|
|
|
17
17
|
field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
18
22
|
end
|
|
19
23
|
end
|
|
20
24
|
end
|
|
@@ -15,6 +15,10 @@ module Auth0
|
|
|
15
15
|
field :connection_deletion_behavior, -> { Auth0::Types::ClientMyOrganizationDeletionBehaviorEnum }, optional: false, nullable: false
|
|
16
16
|
|
|
17
17
|
field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
18
22
|
end
|
|
19
23
|
end
|
|
20
24
|
end
|
|
@@ -15,6 +15,10 @@ module Auth0
|
|
|
15
15
|
field :connection_deletion_behavior, -> { Auth0::Types::ClientMyOrganizationDeletionBehaviorEnum }, optional: false, nullable: false
|
|
16
16
|
|
|
17
17
|
field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
19
|
+
field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
18
22
|
end
|
|
19
23
|
end
|
|
20
24
|
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
# OIDC support configuration for a client. Controls whether OIDC flows are allowed and which scopes the client may
|
|
6
|
+
# request.
|
|
7
|
+
class ClientOidcSupportPost < Internal::Types::Model
|
|
8
|
+
field :is_allowed, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :allowed_scopes, -> { Internal::Types::Array[Auth0::Types::ClientOidcSupportAllowedScopesEnum] }, optional: true, nullable: false
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -61,23 +61,14 @@ module Auth0
|
|
|
61
61
|
YAHOO = "yahoo"
|
|
62
62
|
YANDEX = "yandex"
|
|
63
63
|
NOTION_MCP = "notion-mcp"
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
ASANA = "asana"
|
|
65
|
+
ATLASSIAN = "atlassian"
|
|
66
66
|
CLOUDFLARE_MCP = "cloudflare-mcp"
|
|
67
|
-
|
|
68
|
-
FIGMA_MCP = "figma-mcp"
|
|
69
|
-
GITLAB_MCP = "gitlab-mcp"
|
|
70
|
-
GUSTO_MCP = "gusto-mcp"
|
|
71
|
-
HEROKU_MCP = "heroku-mcp"
|
|
67
|
+
GITLAB = "gitlab"
|
|
72
68
|
HUBSPOT_MCP = "hubspot-mcp"
|
|
73
|
-
INTERCOM_MCP = "intercom-mcp"
|
|
74
69
|
LINEAR_MCP = "linear-mcp"
|
|
75
|
-
PAGERDUTY_MCP = "pagerduty-mcp"
|
|
76
70
|
SENTRY_MCP = "sentry-mcp"
|
|
77
|
-
|
|
78
|
-
SUPABASE_MCP = "supabase-mcp"
|
|
79
|
-
VERCEL_MCP = "vercel-mcp"
|
|
80
|
-
XERO_MCP = "xero-mcp"
|
|
71
|
+
SLACK = "slack"
|
|
81
72
|
end
|
|
82
73
|
end
|
|
83
74
|
end
|
|
@@ -38,6 +38,8 @@ module Auth0
|
|
|
38
38
|
|
|
39
39
|
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
40
40
|
|
|
41
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
42
|
+
|
|
41
43
|
field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
|
|
42
44
|
end
|
|
43
45
|
end
|
|
@@ -28,6 +28,8 @@ module Auth0
|
|
|
28
28
|
|
|
29
29
|
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
30
30
|
|
|
31
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
32
|
+
|
|
31
33
|
field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
|
|
32
34
|
|
|
33
35
|
field :user_id_attribute, -> { String }, optional: true, nullable: false
|
|
@@ -128,6 +128,8 @@ module Auth0
|
|
|
128
128
|
|
|
129
129
|
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
130
130
|
|
|
131
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
132
|
+
|
|
131
133
|
field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
|
|
132
134
|
|
|
133
135
|
field :use_wsfed, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
@@ -34,6 +34,8 @@ module Auth0
|
|
|
34
34
|
|
|
35
35
|
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
36
36
|
|
|
37
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
38
|
+
|
|
37
39
|
field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
|
|
38
40
|
end
|
|
39
41
|
end
|
|
@@ -34,6 +34,8 @@ module Auth0
|
|
|
34
34
|
|
|
35
35
|
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
36
36
|
|
|
37
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
38
|
+
|
|
37
39
|
field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
|
|
38
40
|
|
|
39
41
|
field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
@@ -34,6 +34,8 @@ module Auth0
|
|
|
34
34
|
|
|
35
35
|
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
36
36
|
|
|
37
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
38
|
+
|
|
37
39
|
field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
|
|
38
40
|
|
|
39
41
|
field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
@@ -87,6 +87,10 @@ module Auth0
|
|
|
87
87
|
field :discovery_url, -> { String }, optional: true, nullable: false
|
|
88
88
|
|
|
89
89
|
field :oidc_metadata, -> { Auth0::Types::ConnectionsOidcMetadata }, optional: true, nullable: false
|
|
90
|
+
|
|
91
|
+
field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
92
|
+
|
|
93
|
+
field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
90
94
|
end
|
|
91
95
|
end
|
|
92
96
|
end
|
|
@@ -61,23 +61,14 @@ module Auth0
|
|
|
61
61
|
YAHOO = "yahoo"
|
|
62
62
|
YANDEX = "yandex"
|
|
63
63
|
NOTION_MCP = "notion-mcp"
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
ASANA = "asana"
|
|
65
|
+
ATLASSIAN = "atlassian"
|
|
66
66
|
CLOUDFLARE_MCP = "cloudflare-mcp"
|
|
67
|
-
|
|
68
|
-
FIGMA_MCP = "figma-mcp"
|
|
69
|
-
GITLAB_MCP = "gitlab-mcp"
|
|
70
|
-
GUSTO_MCP = "gusto-mcp"
|
|
71
|
-
HEROKU_MCP = "heroku-mcp"
|
|
67
|
+
GITLAB = "gitlab"
|
|
72
68
|
HUBSPOT_MCP = "hubspot-mcp"
|
|
73
|
-
INTERCOM_MCP = "intercom-mcp"
|
|
74
69
|
LINEAR_MCP = "linear-mcp"
|
|
75
|
-
PAGERDUTY_MCP = "pagerduty-mcp"
|
|
76
70
|
SENTRY_MCP = "sentry-mcp"
|
|
77
|
-
|
|
78
|
-
SUPABASE_MCP = "supabase-mcp"
|
|
79
|
-
VERCEL_MCP = "vercel-mcp"
|
|
80
|
-
XERO_MCP = "xero-mcp"
|
|
71
|
+
SLACK = "slack"
|
|
81
72
|
AUTH0ADLDAP = "auth0-adldap"
|
|
82
73
|
end
|
|
83
74
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
module ConnectionThumbprintsSha384
|
|
6
|
+
# ConnectionThumbprintsSha384 is an alias for Array
|
|
7
|
+
|
|
8
|
+
# @option str [String]
|
|
9
|
+
#
|
|
10
|
+
# @return [untyped]
|
|
11
|
+
def self.load(str)
|
|
12
|
+
::JSON.parse(str)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# @option value [untyped]
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
def self.dump(value)
|
|
19
|
+
::JSON.generate(value)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
module ConnectionThumbprintsSha384Ad
|
|
6
|
+
# ConnectionThumbprintsSha384Ad is an alias for Array
|
|
7
|
+
|
|
8
|
+
# @option str [String]
|
|
9
|
+
#
|
|
10
|
+
# @return [untyped]
|
|
11
|
+
def self.load(str)
|
|
12
|
+
::JSON.parse(str)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# @option value [untyped]
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
def self.dump(value)
|
|
19
|
+
::JSON.generate(value)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
module ConnectionThumbprintsSha384SAML
|
|
6
|
+
# ConnectionThumbprintsSha384SAML is an alias for Array
|
|
7
|
+
|
|
8
|
+
# @option str [String]
|
|
9
|
+
#
|
|
10
|
+
# @return [untyped]
|
|
11
|
+
def self.load(str)
|
|
12
|
+
::JSON.parse(str)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# @option value [untyped]
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
def self.dump(value)
|
|
19
|
+
::JSON.generate(value)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
# Anonymous sessions configuration for this client.
|
|
6
|
+
class CreateAnonymousSessions < Internal::Types::Model
|
|
7
|
+
field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|