auth0 6.3.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 +5 -4
- data/.fern/replay.lock +7 -1
- data/.version +1 -1
- data/CHANGELOG.md +6 -0
- data/examples/ruby-api/Gemfile.lock +1 -1
- data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
- data/lib/auth0/experimentation/client.rb +10 -0
- data/lib/auth0/experimentation/experiments/client.rb +304 -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/organizations/client.rb +0 -5
- data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +2 -0
- data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +2 -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/async_approval_notifications_channels_enum.rb +1 -0
- data/lib/auth0/types/authentication_flow_enum.rb +16 -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/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_resource_server_response_content.rb +2 -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_experiment_response_content.rb +45 -0
- data/lib/auth0/types/get_feature_flag_response_content.rb +23 -0
- data/lib/auth0/types/get_resource_server_response_content.rb +2 -0
- data/lib/auth0/types/get_segment_response_content.rb +21 -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 +3 -1
- data/lib/auth0/types/resource_server.rb +2 -0
- data/lib/auth0/types/resource_server_search_response.rb +2 -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/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_resource_server_response_content.rb +2 -0
- data/lib/auth0/types/update_segment_response_content.rb +21 -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/users/client.rb +24 -17
- data/lib/auth0/version.rb +1 -1
- data/lib/auth0.rb +68 -9
- data/wiremock/wiremock-mappings.json +861 -123
- metadata +70 -11
- data/lib/auth0/organizations/organization_template/client.rb +0 -132
- 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_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
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: auth0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Auth0
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -279,6 +279,22 @@ files:
|
|
|
279
279
|
- lib/auth0/experimentation/client.rb
|
|
280
280
|
- lib/auth0/experimentation/experiments/client.rb
|
|
281
281
|
- lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb
|
|
282
|
+
- lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb
|
|
283
|
+
- lib/auth0/experimentation/experiments/types/list_experiments_request_parameters.rb
|
|
284
|
+
- lib/auth0/experimentation/experiments/types/update_experiment_request_parameters.rb
|
|
285
|
+
- lib/auth0/experimentation/experiments/types/update_experiment_status_request_content.rb
|
|
286
|
+
- lib/auth0/experimentation/feature_flags/client.rb
|
|
287
|
+
- lib/auth0/experimentation/feature_flags/types/create_feature_flag_request_content.rb
|
|
288
|
+
- lib/auth0/experimentation/feature_flags/types/list_feature_flags_request_parameters.rb
|
|
289
|
+
- lib/auth0/experimentation/feature_flags/types/update_feature_flag_request_content.rb
|
|
290
|
+
- lib/auth0/experimentation/feature_flags/types/update_feature_flag_status_request_content.rb
|
|
291
|
+
- lib/auth0/experimentation/feature_flags/variations/client.rb
|
|
292
|
+
- lib/auth0/experimentation/feature_flags/variations/types/create_variation_request_content.rb
|
|
293
|
+
- lib/auth0/experimentation/feature_flags/variations/types/update_variation_request_content.rb
|
|
294
|
+
- lib/auth0/experimentation/segments/client.rb
|
|
295
|
+
- lib/auth0/experimentation/segments/types/create_segment_request_content.rb
|
|
296
|
+
- lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb
|
|
297
|
+
- lib/auth0/experimentation/segments/types/update_segment_request_content.rb
|
|
282
298
|
- lib/auth0/flows/client.rb
|
|
283
299
|
- lib/auth0/flows/executions/client.rb
|
|
284
300
|
- lib/auth0/flows/executions/types/get_flow_execution_request_parameters.rb
|
|
@@ -449,7 +465,6 @@ files:
|
|
|
449
465
|
- lib/auth0/organizations/members/types/create_organization_member_request_content.rb
|
|
450
466
|
- lib/auth0/organizations/members/types/delete_organization_members_request_content.rb
|
|
451
467
|
- lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb
|
|
452
|
-
- lib/auth0/organizations/organization_template/client.rb
|
|
453
468
|
- lib/auth0/organizations/roles/client.rb
|
|
454
469
|
- lib/auth0/organizations/roles/groups/client.rb
|
|
455
470
|
- lib/auth0/organizations/roles/groups/types/list_organization_role_groups_request_parameters.rb
|
|
@@ -588,6 +603,9 @@ files:
|
|
|
588
603
|
- lib/auth0/types/advance_ramp_response_content.rb
|
|
589
604
|
- lib/auth0/types/agent_metadata.rb
|
|
590
605
|
- lib/auth0/types/agent_response_content.rb
|
|
606
|
+
- lib/auth0/types/allocation_item.rb
|
|
607
|
+
- lib/auth0/types/allocation_request_item.rb
|
|
608
|
+
- lib/auth0/types/allocation_strategy_enum.rb
|
|
591
609
|
- lib/auth0/types/anomaly_ip_format.rb
|
|
592
610
|
- lib/auth0/types/anonymous_sessions.rb
|
|
593
611
|
- lib/auth0/types/app_metadata.rb
|
|
@@ -608,6 +626,7 @@ files:
|
|
|
608
626
|
- lib/auth0/types/attack_protection_update_captcha_hcaptcha.rb
|
|
609
627
|
- lib/auth0/types/attack_protection_update_captcha_recaptcha_enterprise.rb
|
|
610
628
|
- lib/auth0/types/attack_protection_update_captcha_recaptcha_v2.rb
|
|
629
|
+
- lib/auth0/types/authentication_flow_enum.rb
|
|
611
630
|
- lib/auth0/types/authentication_method_type_enum.rb
|
|
612
631
|
- lib/auth0/types/authentication_type_enum.rb
|
|
613
632
|
- lib/auth0/types/b2b_integration_configuration.rb
|
|
@@ -755,6 +774,8 @@ files:
|
|
|
755
774
|
- lib/auth0/types/client_oidc_backchannel_logout_initiators_mode_enum.rb
|
|
756
775
|
- lib/auth0/types/client_oidc_backchannel_logout_session_metadata.rb
|
|
757
776
|
- lib/auth0/types/client_oidc_backchannel_logout_settings.rb
|
|
777
|
+
- lib/auth0/types/client_oidc_support_allowed_scopes_enum.rb
|
|
778
|
+
- lib/auth0/types/client_oidc_support_post.rb
|
|
758
779
|
- lib/auth0/types/client_organization_discovery_enum.rb
|
|
759
780
|
- lib/auth0/types/client_organization_require_behavior_enum.rb
|
|
760
781
|
- lib/auth0/types/client_organization_require_behavior_patch_enum.rb
|
|
@@ -868,7 +889,6 @@ files:
|
|
|
868
889
|
- lib/auth0/types/connection_debug_saml.rb
|
|
869
890
|
- lib/auth0/types/connection_decryption_key_saml.rb
|
|
870
891
|
- lib/auth0/types/connection_decryption_key_saml_cert.rb
|
|
871
|
-
- lib/auth0/types/connection_deletion_behavior_enum.rb
|
|
872
892
|
- lib/auth0/types/connection_destination_url_saml.rb
|
|
873
893
|
- lib/auth0/types/connection_digest_algorithm_enum_saml.rb
|
|
874
894
|
- lib/auth0/types/connection_digest_algorithm_saml.rb
|
|
@@ -1464,8 +1484,11 @@ files:
|
|
|
1464
1484
|
- lib/auth0/types/create_event_stream_response_content.rb
|
|
1465
1485
|
- lib/auth0/types/create_event_stream_test_event_response_content.rb
|
|
1466
1486
|
- lib/auth0/types/create_event_stream_web_hook_request_content.rb
|
|
1487
|
+
- lib/auth0/types/create_experiment_response_content.rb
|
|
1467
1488
|
- lib/auth0/types/create_export_users_fields.rb
|
|
1468
1489
|
- lib/auth0/types/create_export_users_response_content.rb
|
|
1490
|
+
- lib/auth0/types/create_feature_flag_parameters.rb
|
|
1491
|
+
- lib/auth0/types/create_feature_flag_response_content.rb
|
|
1469
1492
|
- lib/auth0/types/create_flow_response_content.rb
|
|
1470
1493
|
- lib/auth0/types/create_flows_vault_connection_activecampaign.rb
|
|
1471
1494
|
- lib/auth0/types/create_flows_vault_connection_activecampaign_api_key.rb
|
|
@@ -1574,6 +1597,7 @@ files:
|
|
|
1574
1597
|
- lib/auth0/types/create_scim_configuration_request_content.rb
|
|
1575
1598
|
- lib/auth0/types/create_scim_configuration_response_content.rb
|
|
1576
1599
|
- lib/auth0/types/create_scim_token_response_content.rb
|
|
1600
|
+
- lib/auth0/types/create_segment_response_content.rb
|
|
1577
1601
|
- lib/auth0/types/create_self_service_profile_response_content.rb
|
|
1578
1602
|
- lib/auth0/types/create_self_service_profile_sso_ticket_response_content.rb
|
|
1579
1603
|
- lib/auth0/types/create_token_exchange_profile_response_content.rb
|
|
@@ -1581,6 +1605,7 @@ files:
|
|
|
1581
1605
|
- lib/auth0/types/create_user_attribute_profile_response_content.rb
|
|
1582
1606
|
- lib/auth0/types/create_user_authentication_method_response_content.rb
|
|
1583
1607
|
- lib/auth0/types/create_user_response_content.rb
|
|
1608
|
+
- lib/auth0/types/create_variation_response_content.rb
|
|
1584
1609
|
- lib/auth0/types/create_verifiable_credential_template_response_content.rb
|
|
1585
1610
|
- lib/auth0/types/create_verification_email_response_content.rb
|
|
1586
1611
|
- lib/auth0/types/created_authentication_method_type_enum.rb
|
|
@@ -1620,6 +1645,7 @@ files:
|
|
|
1620
1645
|
- lib/auth0/types/custom_signing_key_type_enum.rb
|
|
1621
1646
|
- lib/auth0/types/custom_signing_key_use_enum.rb
|
|
1622
1647
|
- lib/auth0/types/daily_stats.rb
|
|
1648
|
+
- lib/auth0/types/default_config_enum.rb
|
|
1623
1649
|
- lib/auth0/types/default_method_email_identifier_enum.rb
|
|
1624
1650
|
- lib/auth0/types/default_method_phone_number_identifier_enum.rb
|
|
1625
1651
|
- lib/auth0/types/default_token_quota.rb
|
|
@@ -2984,9 +3010,19 @@ files:
|
|
|
2984
3010
|
- lib/auth0/types/event_stream_webhook_destination.rb
|
|
2985
3011
|
- lib/auth0/types/event_stream_webhook_destination_type_enum.rb
|
|
2986
3012
|
- lib/auth0/types/event_stream_webhook_response_content.rb
|
|
3013
|
+
- lib/auth0/types/experiment_list_item.rb
|
|
3014
|
+
- lib/auth0/types/experiment_status_enum.rb
|
|
3015
|
+
- lib/auth0/types/experiment_transition_status_enum.rb
|
|
3016
|
+
- lib/auth0/types/experiment_validation_error.rb
|
|
2987
3017
|
- lib/auth0/types/express_configuration.rb
|
|
2988
3018
|
- lib/auth0/types/express_configuration_or_null.rb
|
|
2989
3019
|
- lib/auth0/types/extensibility_email_provider_credentials.rb
|
|
3020
|
+
- lib/auth0/types/feature_flag.rb
|
|
3021
|
+
- lib/auth0/types/feature_flag_config_param.rb
|
|
3022
|
+
- lib/auth0/types/feature_flag_config_param_type_enum.rb
|
|
3023
|
+
- lib/auth0/types/feature_flag_config_params.rb
|
|
3024
|
+
- lib/auth0/types/feature_flag_status_enum.rb
|
|
3025
|
+
- lib/auth0/types/feature_flag_type_enum.rb
|
|
2990
3026
|
- lib/auth0/types/fed_cm_login.rb
|
|
2991
3027
|
- lib/auth0/types/fed_cm_login_google.rb
|
|
2992
3028
|
- lib/auth0/types/fed_cm_login_google_patch.rb
|
|
@@ -3589,6 +3625,8 @@ files:
|
|
|
3589
3625
|
- lib/auth0/types/get_encryption_key_response_content.rb
|
|
3590
3626
|
- lib/auth0/types/get_event_stream_delivery_history_response_content.rb
|
|
3591
3627
|
- lib/auth0/types/get_event_stream_response_content.rb
|
|
3628
|
+
- lib/auth0/types/get_experiment_response_content.rb
|
|
3629
|
+
- lib/auth0/types/get_feature_flag_response_content.rb
|
|
3592
3630
|
- lib/auth0/types/get_flow_execution_request_parameters_hydrate_enum.rb
|
|
3593
3631
|
- lib/auth0/types/get_flow_execution_response_content.rb
|
|
3594
3632
|
- lib/auth0/types/get_flow_request_parameters_hydrate_enum.rb
|
|
@@ -3644,6 +3682,7 @@ files:
|
|
|
3644
3682
|
- lib/auth0/types/get_scim_configuration_default_mapping_response_content.rb
|
|
3645
3683
|
- lib/auth0/types/get_scim_configuration_response_content.rb
|
|
3646
3684
|
- lib/auth0/types/get_scim_tokens_response_content.rb
|
|
3685
|
+
- lib/auth0/types/get_segment_response_content.rb
|
|
3647
3686
|
- lib/auth0/types/get_self_service_profile_response_content.rb
|
|
3648
3687
|
- lib/auth0/types/get_session_response_content.rb
|
|
3649
3688
|
- lib/auth0/types/get_settings_response_content.rb
|
|
@@ -3659,6 +3698,7 @@ files:
|
|
|
3659
3698
|
- lib/auth0/types/get_user_authentication_method_response_content.rb
|
|
3660
3699
|
- lib/auth0/types/get_user_groups_paginated_response_content.rb
|
|
3661
3700
|
- lib/auth0/types/get_user_response_content.rb
|
|
3701
|
+
- lib/auth0/types/get_variation_response_content.rb
|
|
3662
3702
|
- lib/auth0/types/get_verifiable_credential_template_response_content.rb
|
|
3663
3703
|
- lib/auth0/types/group.rb
|
|
3664
3704
|
- lib/auth0/types/group_member.rb
|
|
@@ -3712,6 +3752,8 @@ files:
|
|
|
3712
3752
|
- lib/auth0/types/list_encryption_key_offset_paginated_response_content.rb
|
|
3713
3753
|
- lib/auth0/types/list_event_stream_deliveries_response_content.rb
|
|
3714
3754
|
- lib/auth0/types/list_event_streams_response_content.rb
|
|
3755
|
+
- lib/auth0/types/list_experiments_response_content.rb
|
|
3756
|
+
- lib/auth0/types/list_feature_flags_response_content.rb
|
|
3715
3757
|
- lib/auth0/types/list_flow_executions_paginated_response_content.rb
|
|
3716
3758
|
- lib/auth0/types/list_flows_offset_paginated_response_content.rb
|
|
3717
3759
|
- lib/auth0/types/list_flows_request_parameters_hydrate_enum.rb
|
|
@@ -3748,6 +3790,7 @@ files:
|
|
|
3748
3790
|
- lib/auth0/types/list_roles_offset_paginated_response_content.rb
|
|
3749
3791
|
- lib/auth0/types/list_rules_offset_paginated_response_content.rb
|
|
3750
3792
|
- lib/auth0/types/list_scim_configurations_response_content.rb
|
|
3793
|
+
- lib/auth0/types/list_segments_response_content.rb
|
|
3751
3794
|
- lib/auth0/types/list_self_service_profile_custom_text_response_content.rb
|
|
3752
3795
|
- lib/auth0/types/list_self_service_profiles_paginated_response_content.rb
|
|
3753
3796
|
- lib/auth0/types/list_synchronized_groups_response_content.rb
|
|
@@ -3768,6 +3811,7 @@ files:
|
|
|
3768
3811
|
- lib/auth0/types/list_user_roles_offset_paginated_response_content.rb
|
|
3769
3812
|
- lib/auth0/types/list_user_sessions_paginated_response_content.rb
|
|
3770
3813
|
- lib/auth0/types/list_users_offset_paginated_response_content.rb
|
|
3814
|
+
- lib/auth0/types/list_variations_response_content.rb
|
|
3771
3815
|
- lib/auth0/types/list_verifiable_credential_templates_paginated_response_content.rb
|
|
3772
3816
|
- lib/auth0/types/log.rb
|
|
3773
3817
|
- lib/auth0/types/log_date.rb
|
|
@@ -3865,7 +3909,6 @@ files:
|
|
|
3865
3909
|
- lib/auth0/types/organization_client_metadata_organization_usage_enum.rb
|
|
3866
3910
|
- lib/auth0/types/organization_connection.rb
|
|
3867
3911
|
- lib/auth0/types/organization_connection_information.rb
|
|
3868
|
-
- lib/auth0/types/organization_deletion_behavior_enum.rb
|
|
3869
3912
|
- lib/auth0/types/organization_discovery_domain.rb
|
|
3870
3913
|
- lib/auth0/types/organization_discovery_domain_status.rb
|
|
3871
3914
|
- lib/auth0/types/organization_enabled_connection.rb
|
|
@@ -3880,12 +3923,6 @@ files:
|
|
|
3880
3923
|
- lib/auth0/types/organization_member_role.rb
|
|
3881
3924
|
- lib/auth0/types/organization_metadata.rb
|
|
3882
3925
|
- lib/auth0/types/organization_sort_field_enum.rb
|
|
3883
|
-
- lib/auth0/types/organization_template.rb
|
|
3884
|
-
- lib/auth0/types/organization_template_allowed_strategy_enum.rb
|
|
3885
|
-
- lib/auth0/types/organization_template_role_visibility_enum.rb
|
|
3886
|
-
- lib/auth0/types/organization_template_role_visibility_override.rb
|
|
3887
|
-
- lib/auth0/types/organization_template_role_visibility_policy.rb
|
|
3888
|
-
- lib/auth0/types/organization_template_use_for_organization_discovery.rb
|
|
3889
3926
|
- lib/auth0/types/organization_third_party_client_access_enum.rb
|
|
3890
3927
|
- lib/auth0/types/organization_usage_enum.rb
|
|
3891
3928
|
- lib/auth0/types/partial_groups_enum.rb
|
|
@@ -4006,6 +4043,17 @@ files:
|
|
|
4006
4043
|
- lib/auth0/types/search_organizations_paginated_response_content.rb
|
|
4007
4044
|
- lib/auth0/types/search_parser_enum.rb
|
|
4008
4045
|
- lib/auth0/types/search_resource_servers_response_content.rb
|
|
4046
|
+
- lib/auth0/types/segment.rb
|
|
4047
|
+
- lib/auth0/types/segment_contains_expression.rb
|
|
4048
|
+
- lib/auth0/types/segment_ends_with_expression.rb
|
|
4049
|
+
- lib/auth0/types/segment_exists_expression.rb
|
|
4050
|
+
- lib/auth0/types/segment_match_conditions.rb
|
|
4051
|
+
- lib/auth0/types/segment_match_expression.rb
|
|
4052
|
+
- lib/auth0/types/segment_not_match_conditions.rb
|
|
4053
|
+
- lib/auth0/types/segment_rule.rb
|
|
4054
|
+
- lib/auth0/types/segment_starts_with_expression.rb
|
|
4055
|
+
- lib/auth0/types/segment_type_enum.rb
|
|
4056
|
+
- lib/auth0/types/segment_type_filter_enum.rb
|
|
4009
4057
|
- lib/auth0/types/self_service_profile.rb
|
|
4010
4058
|
- lib/auth0/types/self_service_profile_allowed_strategy_enum.rb
|
|
4011
4059
|
- lib/auth0/types/self_service_profile_branding.rb
|
|
@@ -4217,6 +4265,11 @@ files:
|
|
|
4217
4265
|
- lib/auth0/types/update_enabled_client_connections_request_content.rb
|
|
4218
4266
|
- lib/auth0/types/update_enabled_client_connections_request_content_item.rb
|
|
4219
4267
|
- lib/auth0/types/update_event_stream_response_content.rb
|
|
4268
|
+
- lib/auth0/types/update_experiment_response_content.rb
|
|
4269
|
+
- lib/auth0/types/update_experiment_status_response_content.rb
|
|
4270
|
+
- lib/auth0/types/update_feature_flag_parameters.rb
|
|
4271
|
+
- lib/auth0/types/update_feature_flag_response_content.rb
|
|
4272
|
+
- lib/auth0/types/update_feature_flag_status_response_content.rb
|
|
4220
4273
|
- lib/auth0/types/update_flow_response_content.rb
|
|
4221
4274
|
- lib/auth0/types/update_flows_vault_connection_response_content.rb
|
|
4222
4275
|
- lib/auth0/types/update_flows_vault_connection_setup.rb
|
|
@@ -4245,6 +4298,7 @@ files:
|
|
|
4245
4298
|
- lib/auth0/types/update_role_response_content.rb
|
|
4246
4299
|
- lib/auth0/types/update_rule_response_content.rb
|
|
4247
4300
|
- lib/auth0/types/update_scim_configuration_response_content.rb
|
|
4301
|
+
- lib/auth0/types/update_segment_response_content.rb
|
|
4248
4302
|
- lib/auth0/types/update_self_service_profile_response_content.rb
|
|
4249
4303
|
- lib/auth0/types/update_session_response_content.rb
|
|
4250
4304
|
- lib/auth0/types/update_settings_response_content.rb
|
|
@@ -4256,6 +4310,8 @@ files:
|
|
|
4256
4310
|
- lib/auth0/types/update_user_attribute_profile_response_content.rb
|
|
4257
4311
|
- lib/auth0/types/update_user_authentication_method_response_content.rb
|
|
4258
4312
|
- lib/auth0/types/update_user_response_content.rb
|
|
4313
|
+
- lib/auth0/types/update_variation_overrides_map.rb
|
|
4314
|
+
- lib/auth0/types/update_variation_response_content.rb
|
|
4259
4315
|
- lib/auth0/types/update_verifiable_credential_template_response_content.rb
|
|
4260
4316
|
- lib/auth0/types/user_app_metadata_schema.rb
|
|
4261
4317
|
- lib/auth0/types/user_attribute_profile.rb
|
|
@@ -4306,6 +4362,9 @@ files:
|
|
|
4306
4362
|
- lib/auth0/types/username_attribute_identifier.rb
|
|
4307
4363
|
- lib/auth0/types/username_validation.rb
|
|
4308
4364
|
- lib/auth0/types/users_enrollment.rb
|
|
4365
|
+
- lib/auth0/types/validate_experiment_response_content.rb
|
|
4366
|
+
- lib/auth0/types/variation.rb
|
|
4367
|
+
- lib/auth0/types/variation_overrides_map.rb
|
|
4309
4368
|
- lib/auth0/types/verifiable_credential_template_response.rb
|
|
4310
4369
|
- lib/auth0/types/verification_method_enum.rb
|
|
4311
4370
|
- lib/auth0/types/verify_custom_domain_response_content.rb
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Organizations
|
|
5
|
-
module OrganizationTemplate
|
|
6
|
-
class Client
|
|
7
|
-
# @param client [Auth0::Internal::Http::RawClient]
|
|
8
|
-
#
|
|
9
|
-
# @return [void]
|
|
10
|
-
def initialize(client:)
|
|
11
|
-
@client = client
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
# Retrieve the organization template assigned to a specific organization. Returns the template object if one is
|
|
15
|
-
# explicitly assigned, or a 404 if no template is assigned.
|
|
16
|
-
#
|
|
17
|
-
# @param request_options [Hash]
|
|
18
|
-
# @param params [Hash]
|
|
19
|
-
# @option request_options [String] :base_url
|
|
20
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
21
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
22
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
23
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
24
|
-
# @option params [String] :id
|
|
25
|
-
#
|
|
26
|
-
# @example
|
|
27
|
-
# client.organizations.organization_template.get(id: "id")
|
|
28
|
-
#
|
|
29
|
-
# @return [Auth0::Types::OrganizationTemplate]
|
|
30
|
-
def get(request_options: {}, **params)
|
|
31
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
32
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
33
|
-
base_url: request_options[:base_url],
|
|
34
|
-
method: "GET",
|
|
35
|
-
path: "organizations/#{URI.encode_uri_component(params[:id].to_s)}/organization-templates",
|
|
36
|
-
request_options: request_options
|
|
37
|
-
)
|
|
38
|
-
begin
|
|
39
|
-
response = @client.send(request)
|
|
40
|
-
rescue Net::HTTPRequestTimeout
|
|
41
|
-
raise Auth0::Errors::TimeoutError
|
|
42
|
-
end
|
|
43
|
-
code = response.code.to_i
|
|
44
|
-
if code.between?(200, 299)
|
|
45
|
-
(response.body.to_s.empty? ? nil : Auth0::Types::OrganizationTemplate.load(response.body))
|
|
46
|
-
else
|
|
47
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
48
|
-
raise error_class.new(response.body, code: code)
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
# Assign an Organization Template to an organization.
|
|
53
|
-
#
|
|
54
|
-
# @param request_options [Hash]
|
|
55
|
-
# @param params [Hash]
|
|
56
|
-
# @option request_options [String] :base_url
|
|
57
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
58
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
59
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
60
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
61
|
-
# @option params [String] :id
|
|
62
|
-
# @option params [String] :template_id
|
|
63
|
-
#
|
|
64
|
-
# @example
|
|
65
|
-
# client.organizations.organization_template.assign_organization_template(
|
|
66
|
-
# id: "id",
|
|
67
|
-
# template_id: "template_id"
|
|
68
|
-
# )
|
|
69
|
-
#
|
|
70
|
-
# @return [untyped]
|
|
71
|
-
def assign_organization_template(request_options: {}, **params)
|
|
72
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
73
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
74
|
-
base_url: request_options[:base_url],
|
|
75
|
-
method: "PUT",
|
|
76
|
-
path: "organizations/#{URI.encode_uri_component(params[:id].to_s)}/organization-templates/#{URI.encode_uri_component(params[:template_id].to_s)}",
|
|
77
|
-
request_options: request_options
|
|
78
|
-
)
|
|
79
|
-
begin
|
|
80
|
-
response = @client.send(request)
|
|
81
|
-
rescue Net::HTTPRequestTimeout
|
|
82
|
-
raise Auth0::Errors::TimeoutError
|
|
83
|
-
end
|
|
84
|
-
code = response.code.to_i
|
|
85
|
-
return if code.between?(200, 299)
|
|
86
|
-
|
|
87
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
88
|
-
raise error_class.new(response.body, code: code)
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
# Remove an Organization Template assignment from an organization.
|
|
92
|
-
#
|
|
93
|
-
# @param request_options [Hash]
|
|
94
|
-
# @param params [Hash]
|
|
95
|
-
# @option request_options [String] :base_url
|
|
96
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
97
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
98
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
99
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
100
|
-
# @option params [String] :id
|
|
101
|
-
# @option params [String] :template_id
|
|
102
|
-
#
|
|
103
|
-
# @example
|
|
104
|
-
# client.organizations.organization_template.unassign_organization_template(
|
|
105
|
-
# id: "id",
|
|
106
|
-
# template_id: "template_id"
|
|
107
|
-
# )
|
|
108
|
-
#
|
|
109
|
-
# @return [untyped]
|
|
110
|
-
def unassign_organization_template(request_options: {}, **params)
|
|
111
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
112
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
113
|
-
base_url: request_options[:base_url],
|
|
114
|
-
method: "DELETE",
|
|
115
|
-
path: "organizations/#{URI.encode_uri_component(params[:id].to_s)}/organization-templates/#{URI.encode_uri_component(params[:template_id].to_s)}",
|
|
116
|
-
request_options: request_options
|
|
117
|
-
)
|
|
118
|
-
begin
|
|
119
|
-
response = @client.send(request)
|
|
120
|
-
rescue Net::HTTPRequestTimeout
|
|
121
|
-
raise Auth0::Errors::TimeoutError
|
|
122
|
-
end
|
|
123
|
-
code = response.code.to_i
|
|
124
|
-
return if code.between?(200, 299)
|
|
125
|
-
|
|
126
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
127
|
-
raise error_class.new(response.body, code: code)
|
|
128
|
-
end
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
end
|
|
132
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
class OrganizationTemplate < Internal::Types::Model
|
|
6
|
-
field :id, -> { String }, optional: true, nullable: false
|
|
7
|
-
|
|
8
|
-
field :name, -> { String }, optional: true, nullable: false
|
|
9
|
-
|
|
10
|
-
field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
11
|
-
|
|
12
|
-
field :organization_deletion_behavior, -> { Auth0::Types::OrganizationDeletionBehaviorEnum }, optional: true, nullable: false
|
|
13
|
-
|
|
14
|
-
field :connection_deletion_behavior, -> { Auth0::Types::ConnectionDeletionBehaviorEnum }, optional: true, nullable: false
|
|
15
|
-
|
|
16
|
-
field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
17
|
-
|
|
18
|
-
field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
19
|
-
|
|
20
|
-
field :connection_profile_id, -> { String }, optional: true, nullable: false
|
|
21
|
-
|
|
22
|
-
field :user_attribute_profile_id, -> { String }, optional: true, nullable: false
|
|
23
|
-
|
|
24
|
-
field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAllowedStrategyEnum] }, optional: true, nullable: false
|
|
25
|
-
|
|
26
|
-
field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
|
|
27
|
-
|
|
28
|
-
field :admin_roles_assignment, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
29
|
-
|
|
30
|
-
field :use_for_organization_discovery, -> { Auth0::Types::OrganizationTemplateUseForOrganizationDiscovery }, optional: true, nullable: false
|
|
31
|
-
|
|
32
|
-
field :role_visibility_policy, -> { Auth0::Types::OrganizationTemplateRoleVisibilityPolicy }, optional: true, nullable: false
|
|
33
|
-
|
|
34
|
-
field :created_at, -> { String }, optional: true, nullable: false
|
|
35
|
-
|
|
36
|
-
field :updated_at, -> { String }, optional: true, nullable: false
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
module OrganizationTemplateAllowedStrategyEnum
|
|
6
|
-
extend Auth0::Internal::Types::Enum
|
|
7
|
-
|
|
8
|
-
ADFS = "adfs"
|
|
9
|
-
GOOGLE_APPS = "google-apps"
|
|
10
|
-
OIDC = "oidc"
|
|
11
|
-
OKTA = "okta"
|
|
12
|
-
PINGFEDERATE = "pingfederate"
|
|
13
|
-
SAMLP = "samlp"
|
|
14
|
-
WAAD = "waad"
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
# A role visibility override.
|
|
6
|
-
class OrganizationTemplateRoleVisibilityOverride < Internal::Types::Model
|
|
7
|
-
field :role_id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :access, -> { Auth0::Types::OrganizationTemplateRoleVisibilityEnum }, optional: false, nullable: false
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
# Controls role visibility for organization administrators.
|
|
6
|
-
class OrganizationTemplateRoleVisibilityPolicy < Internal::Types::Model
|
|
7
|
-
field :default_value, -> { Auth0::Types::OrganizationTemplateRoleVisibilityEnum }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :overrides, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateRoleVisibilityOverride] }, optional: true, nullable: false
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
# Controls whether connections from this template are used for organization discovery.
|
|
6
|
-
class OrganizationTemplateUseForOrganizationDiscovery < Internal::Types::Model
|
|
7
|
-
field :default_value, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :allowed_values, -> { Internal::Types::Array[Internal::Types::Boolean] }, optional: true, nullable: false
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|