auth0 6.5.0 → 6.6.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 +3 -3
- data/.fern/replay.lock +10 -52
- data/.version +1 -1
- data/CHANGELOG.md +8 -0
- data/EXAMPLES.md +20 -0
- data/README.md +18 -0
- data/examples/ruby-api/Gemfile.lock +1 -1
- data/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb +2 -2
- data/lib/auth0/attack_protection/client.rb +0 -5
- data/lib/auth0/auth_client.rb +27 -2
- data/lib/auth0/client.rb +15 -2
- data/lib/auth0/clients/client.rb +3 -0
- data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
- data/lib/auth0/clients/types/list_clients_request_parameters.rb +2 -0
- data/lib/auth0/clients/types/update_client_request_content.rb +2 -0
- data/lib/auth0/connections/keys/client.rb +5 -5
- data/lib/auth0/experimentation/experiments/client.rb +2 -1
- data/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb +1 -1
- data/lib/auth0/experimentation/segments/client.rb +4 -1
- data/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb +2 -0
- data/lib/auth0/internal/http/rate_limit.rb +103 -0
- data/lib/auth0/internal/http/raw_client.rb +14 -2
- data/lib/auth0/mixins/httpproxy.rb +9 -1
- data/lib/auth0/mixins/initializer.rb +5 -0
- data/lib/auth0/portals/client.rb +198 -0
- data/lib/auth0/portals/types/create_portal_request_content.rb +21 -0
- data/lib/auth0/portals/types/update_portal_request_content.rb +23 -0
- data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +4 -0
- data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +4 -0
- data/lib/auth0/types/client.rb +4 -0
- data/lib/auth0/types/client_oidc_support.rb +14 -0
- data/lib/auth0/types/client_profile_client_configuration.rb +2 -0
- data/lib/auth0/types/client_profile_client_configuration_oidc_support.rb +10 -0
- data/lib/auth0/types/client_profile_client_configuration_oidc_support_allowed_scopes_enum.rb +14 -0
- data/lib/auth0/types/client_profile_client_configuration_oidc_support_default_value.rb +14 -0
- data/lib/auth0/types/client_search_response.rb +4 -0
- data/lib/auth0/types/{list_attack_protection_captcha_policies_response_content.rb → connection_client_id_samlxaa_requesting_app.rb} +2 -2
- data/lib/auth0/types/connection_client_secret_samlxaa_requesting_app.rb +23 -0
- data/lib/auth0/types/connection_options_auth0.rb +2 -0
- data/lib/auth0/types/connection_options_saml.rb +10 -0
- data/lib/auth0/types/connection_otp_channel_settings.rb +12 -0
- data/lib/auth0/types/connection_otp_settings.rb +12 -0
- data/lib/auth0/types/connection_properties_options.rb +2 -0
- data/lib/auth0/types/connection_response_content_saml.rb +2 -0
- data/lib/auth0/types/consent_signing_key.rb +15 -0
- data/lib/auth0/types/create_client_response_content.rb +4 -0
- data/lib/auth0/types/create_connection_request_content_saml.rb +2 -0
- data/lib/auth0/types/create_resource_server_response_content.rb +4 -0
- data/lib/auth0/types/event_stream_cloud_event_context.rb +2 -0
- data/lib/auth0/types/event_stream_cloud_event_context_transaction.rb +30 -0
- data/lib/auth0/types/event_stream_cloud_event_context_transaction_protocol_enum.rb +24 -0
- data/lib/auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum.rb +14 -0
- data/lib/auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum.rb +13 -0
- data/lib/auth0/types/get_brute_force_settings_response_content.rb +2 -2
- data/lib/auth0/types/get_client_response_content.rb +4 -0
- data/lib/auth0/types/get_resource_server_response_content.rb +4 -0
- data/lib/auth0/types/guardian_factor_name_enum.rb +1 -0
- data/lib/auth0/types/internal_server_error_body.rb +13 -0
- data/lib/auth0/types/internal_server_error_body_error.rb +11 -0
- data/lib/auth0/types/list_portals_response_content.rb +9 -0
- data/lib/auth0/types/list_user_consent_signing_keys_response_content.rb +9 -0
- data/lib/auth0/types/oauth_scope.rb +4 -0
- data/lib/auth0/types/page_component.rb +33 -0
- data/lib/auth0/types/page_component_auth0form.rb +9 -0
- data/lib/auth0/types/page_component_auth0form_config.rb +11 -0
- data/lib/auth0/types/page_component_auth0media_image.rb +9 -0
- data/lib/auth0/types/page_component_auth0media_image_config.rb +13 -0
- data/lib/auth0/types/page_component_auth0my_account_mfa_management.rb +9 -0
- data/lib/auth0/types/page_component_auth0my_account_mfa_management_config.rb +7 -0
- data/lib/auth0/types/page_component_auth0my_account_passkey_management.rb +9 -0
- data/lib/auth0/types/page_component_auth0my_account_passkey_management_config.rb +7 -0
- data/lib/auth0/types/page_component_auth0my_organization_details_edit.rb +9 -0
- data/lib/auth0/types/page_component_auth0my_organization_details_edit_config.rb +7 -0
- data/lib/auth0/types/page_component_auth0my_organization_domain_table.rb +9 -0
- data/lib/auth0/types/page_component_auth0my_organization_domain_table_config.rb +7 -0
- data/lib/auth0/types/page_component_auth0my_organization_member_management.rb +9 -0
- data/lib/auth0/types/page_component_auth0my_organization_member_management_config.rb +7 -0
- data/lib/auth0/types/page_component_auth0structure_section.rb +9 -0
- data/lib/auth0/types/page_component_auth0structure_section_config.rb +15 -0
- data/lib/auth0/types/page_component_auth0structure_section_variant_enum.rb +12 -0
- data/lib/auth0/types/page_component_auth0structure_separator.rb +9 -0
- data/lib/auth0/types/page_component_auth0structure_separator_config.rb +11 -0
- data/lib/auth0/types/page_component_auth0structure_separator_variant_enum.rb +13 -0
- data/lib/auth0/types/page_component_auth0typography_heading.rb +9 -0
- data/lib/auth0/types/page_component_auth0typography_heading_config.rb +11 -0
- data/lib/auth0/types/page_component_auth0typography_rich_text.rb +9 -0
- data/lib/auth0/types/page_component_auth0typography_rich_text_config.rb +9 -0
- data/lib/auth0/types/page_component_no_children.rb +31 -0
- data/lib/auth0/types/page_slug.rb +23 -0
- data/lib/auth0/types/portal.rb +25 -0
- data/lib/auth0/types/portal_client_secret_post.rb +11 -0
- data/lib/auth0/types/portal_client_secret_post_request.rb +13 -0
- data/lib/auth0/types/portal_client_secret_post_request_token_endpoint_auth_method.rb +11 -0
- data/lib/auth0/types/portal_client_secret_post_token_endpoint_auth_method.rb +11 -0
- data/lib/auth0/types/portal_custom_code.rb +9 -0
- data/lib/auth0/types/portal_custom_code_nullable.rb +23 -0
- data/lib/auth0/types/portal_date_time.rb +23 -0
- data/lib/auth0/types/portal_id.rb +23 -0
- data/lib/auth0/types/portal_name.rb +23 -0
- data/lib/auth0/types/portal_navigation.rb +9 -0
- data/lib/auth0/types/portal_navigation_nullable.rb +23 -0
- data/lib/auth0/types/portal_page.rb +13 -0
- data/lib/auth0/types/portal_pages_by_type.rb +11 -0
- data/lib/auth0/types/portal_pages_by_type_nullable.rb +23 -0
- data/lib/auth0/types/portal_slug.rb +23 -0
- data/lib/auth0/types/portal_summary.rb +17 -0
- data/lib/auth0/types/position.rb +13 -0
- data/lib/auth0/types/resource_server.rb +4 -0
- data/lib/auth0/types/resource_server_agent_subject_claims_response_enum.rb +12 -0
- data/lib/auth0/types/resource_server_agent_subject_claims_schema_enum.rb +12 -0
- data/lib/auth0/types/resource_server_search_response.rb +4 -0
- data/lib/auth0/types/resource_server_type_enum.rb +11 -0
- data/lib/auth0/types/rotate_client_secret_response_content.rb +4 -0
- data/lib/auth0/types/sidebar.rb +9 -0
- data/lib/auth0/types/sidebar_component.rb +19 -0
- data/lib/auth0/types/sidebar_component_auth0external_link.rb +10 -0
- data/lib/auth0/types/sidebar_component_auth0external_link_config.rb +13 -0
- data/lib/auth0/types/sidebar_component_auth0external_link_v2.rb +9 -0
- data/lib/auth0/types/sidebar_component_auth0external_link_v2config.rb +13 -0
- data/lib/auth0/types/sidebar_component_auth0internal_link.rb +10 -0
- data/lib/auth0/types/sidebar_component_auth0internal_link_config.rb +13 -0
- data/lib/auth0/types/sidebar_component_auth0internal_link_v2.rb +9 -0
- data/lib/auth0/types/sidebar_component_auth0internal_link_v2config.rb +13 -0
- data/lib/auth0/types/update_brute_force_settings_response_content.rb +2 -2
- data/lib/auth0/types/update_client_response_content.rb +4 -0
- data/lib/auth0/types/update_connection_options.rb +2 -0
- data/lib/auth0/types/update_connection_request_content_saml.rb +2 -0
- data/lib/auth0/types/update_resource_server_response_content.rb +4 -0
- data/lib/auth0/types/update_variation_overrides_map.rb +1 -1
- data/lib/auth0/users/client.rb +120 -0
- data/lib/auth0/version.rb +1 -1
- data/lib/auth0.rb +79 -22
- data/wiremock/wiremock-mappings.json +308 -188
- metadata +81 -23
- data/lib/auth0/attack_protection/captcha_policies/client.rb +0 -210
- data/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb +0 -21
- data/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb +0 -23
- data/lib/auth0/types/attack_protection_captcha_policy.rb +0 -24
- data/lib/auth0/types/attack_protection_captcha_policy_action.rb +0 -24
- data/lib/auth0/types/attack_protection_captcha_policy_action_input.rb +0 -24
- data/lib/auth0/types/attack_protection_captcha_policy_match.rb +0 -12
- data/lib/auth0/types/captcha_active_provider_enum.rb +0 -17
- data/lib/auth0/types/captcha_policy_action_arkose.rb +0 -16
- data/lib/auth0/types/captcha_policy_action_arkose_input.rb +0 -18
- data/lib/auth0/types/captcha_policy_action_auth_challenge.rb +0 -10
- data/lib/auth0/types/captcha_policy_action_friendly_captcha.rb +0 -10
- data/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb +0 -12
- data/lib/auth0/types/captcha_policy_action_hcaptcha.rb +0 -10
- data/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb +0 -12
- data/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb +0 -12
- data/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb +0 -14
- data/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb +0 -10
- data/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb +0 -12
- data/lib/auth0/types/captcha_policy_action_simple_captcha.rb +0 -8
|
@@ -127,6 +127,8 @@ module Auth0
|
|
|
127
127
|
|
|
128
128
|
field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
|
|
129
129
|
|
|
130
|
+
field :oidc_support, -> { Auth0::Types::ClientOidcSupport }, optional: true, nullable: false
|
|
131
|
+
|
|
130
132
|
field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
|
|
131
133
|
|
|
132
134
|
field :resource_server_identifier, -> { String }, optional: true, nullable: false
|
|
@@ -139,6 +141,8 @@ module Auth0
|
|
|
139
141
|
|
|
140
142
|
field :external_metadata_status, -> { Auth0::Types::ClientExternalMetadataStatusEnum }, optional: true, nullable: false
|
|
141
143
|
|
|
144
|
+
field :agent_id, -> { String }, optional: true, nullable: false
|
|
145
|
+
|
|
142
146
|
field :external_client_id, -> { String }, optional: true, nullable: false
|
|
143
147
|
|
|
144
148
|
field :jwks_uri, -> { String }, optional: true, nullable: false
|
|
@@ -52,6 +52,10 @@ module Auth0
|
|
|
52
52
|
field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false
|
|
53
53
|
|
|
54
54
|
field :client_id, -> { String }, optional: true, nullable: false
|
|
55
|
+
|
|
56
|
+
field :agent_subject_claims, -> { Auth0::Types::ResourceServerAgentSubjectClaimsResponseEnum }, optional: true, nullable: false
|
|
57
|
+
|
|
58
|
+
field :type, -> { Auth0::Types::ResourceServerTypeEnum }, optional: true, nullable: false
|
|
55
59
|
end
|
|
56
60
|
end
|
|
57
61
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class InternalServerErrorBody < Internal::Types::Model
|
|
6
|
+
field :message, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode"
|
|
9
|
+
|
|
10
|
+
field :error, -> { Auth0::Types::InternalServerErrorBodyError }, optional: false, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class ListUserConsentSigningKeysResponseContent < Internal::Types::Model
|
|
6
|
+
field :keys, -> { Internal::Types::Array[Auth0::Types::ConsentSigningKey] }, optional: false, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -257,6 +257,10 @@ module Auth0
|
|
|
257
257
|
READ_ORGANIZATION_CLIENTS = "read:organization_clients"
|
|
258
258
|
UPDATE_ORGANIZATION_CLIENTS = "update:organization_clients"
|
|
259
259
|
DELETE_ORGANIZATION_CLIENTS = "delete:organization_clients"
|
|
260
|
+
CREATE_PORTALS = "create:portals"
|
|
261
|
+
READ_PORTALS = "read:portals"
|
|
262
|
+
UPDATE_PORTALS = "update:portals"
|
|
263
|
+
DELETE_PORTALS = "delete:portals"
|
|
260
264
|
CREATE_NETWORK_ACL_KEYS = "create:network_acl_keys"
|
|
261
265
|
READ_NETWORK_ACL_KEYS = "read:network_acl_keys"
|
|
262
266
|
DELETE_NETWORK_ACL_KEYS = "delete:network_acl_keys"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponent < Internal::Types::Model
|
|
6
|
+
extend Auth0::Internal::Types::Union
|
|
7
|
+
|
|
8
|
+
discriminant :type
|
|
9
|
+
|
|
10
|
+
member -> { Auth0::Types::PageComponentAuth0Form }, key: "PAGE_COMPONENT_AUTH0FORM"
|
|
11
|
+
|
|
12
|
+
member -> { Auth0::Types::PageComponentAuth0TypographyHeading }, key: "PAGE_COMPONENT_AUTH0TYPOGRAPHY_HEADING"
|
|
13
|
+
|
|
14
|
+
member -> { Auth0::Types::PageComponentAuth0MediaImage }, key: "PAGE_COMPONENT_AUTH0MEDIA_IMAGE"
|
|
15
|
+
|
|
16
|
+
member -> { Auth0::Types::PageComponentAuth0TypographyRichText }, key: "PAGE_COMPONENT_AUTH0TYPOGRAPHY_RICH_TEXT"
|
|
17
|
+
|
|
18
|
+
member -> { Auth0::Types::PageComponentAuth0StructureSection }, key: "PAGE_COMPONENT_AUTH0STRUCTURE_SECTION"
|
|
19
|
+
|
|
20
|
+
member -> { Auth0::Types::PageComponentAuth0StructureSeparator }, key: "PAGE_COMPONENT_AUTH0STRUCTURE_SEPARATOR"
|
|
21
|
+
|
|
22
|
+
member -> { Auth0::Types::PageComponentAuth0MyOrganizationDomainTable }, key: "PAGE_COMPONENT_AUTH0MY_ORGANIZATION_DOMAIN_TABLE"
|
|
23
|
+
|
|
24
|
+
member -> { Auth0::Types::PageComponentAuth0MyOrganizationMemberManagement }, key: "PAGE_COMPONENT_AUTH0MY_ORGANIZATION_MEMBER_MANAGEMENT"
|
|
25
|
+
|
|
26
|
+
member -> { Auth0::Types::PageComponentAuth0MyOrganizationDetailsEdit }, key: "PAGE_COMPONENT_AUTH0MY_ORGANIZATION_DETAILS_EDIT"
|
|
27
|
+
|
|
28
|
+
member -> { Auth0::Types::PageComponentAuth0MyAccountPasskeyManagement }, key: "PAGE_COMPONENT_AUTH0MY_ACCOUNT_PASSKEY_MANAGEMENT"
|
|
29
|
+
|
|
30
|
+
member -> { Auth0::Types::PageComponentAuth0MyAccountMfaManagement }, key: "PAGE_COMPONENT_AUTH0MY_ACCOUNT_MFA_MANAGEMENT"
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0FormConfig < Internal::Types::Model
|
|
6
|
+
field :form_id, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :completion_message, -> { String }, optional: false, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0MediaImageConfig < Internal::Types::Model
|
|
6
|
+
field :src, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :position, -> { Auth0::Types::Position }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :height, -> { Integer }, optional: true, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0MyAccountMfaManagement < Internal::Types::Model
|
|
6
|
+
field :config, -> { Auth0::Types::PageComponentAuth0MyAccountMfaManagementConfig }, optional: true, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0MyAccountPasskeyManagement < Internal::Types::Model
|
|
6
|
+
field :config, -> { Auth0::Types::PageComponentAuth0MyAccountPasskeyManagementConfig }, optional: true, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0MyOrganizationDetailsEdit < Internal::Types::Model
|
|
6
|
+
field :config, -> { Auth0::Types::PageComponentAuth0MyOrganizationDetailsEditConfig }, optional: true, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0MyOrganizationDomainTable < Internal::Types::Model
|
|
6
|
+
field :config, -> { Auth0::Types::PageComponentAuth0MyOrganizationDomainTableConfig }, optional: true, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0MyOrganizationMemberManagement < Internal::Types::Model
|
|
6
|
+
field :config, -> { Auth0::Types::PageComponentAuth0MyOrganizationMemberManagementConfig }, optional: true, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0StructureSectionConfig < Internal::Types::Model
|
|
6
|
+
field :title, -> { String }, optional: true, nullable: false
|
|
7
|
+
|
|
8
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :variant, -> { Auth0::Types::PageComponentAuth0StructureSectionVariantEnum }, optional: false, nullable: false
|
|
11
|
+
|
|
12
|
+
field :children, -> { Internal::Types::Array[Auth0::Types::PageComponentNoChildren] }, optional: false, nullable: false
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0StructureSeparatorConfig < Internal::Types::Model
|
|
6
|
+
field :variant, -> { Auth0::Types::PageComponentAuth0StructureSeparatorVariantEnum }, optional: true, nullable: false
|
|
7
|
+
|
|
8
|
+
field :text, -> { String }, optional: true, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0TypographyHeadingConfig < Internal::Types::Model
|
|
6
|
+
field :title, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :description, -> { String }, optional: true, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentAuth0TypographyRichText < Internal::Types::Model
|
|
6
|
+
field :config, -> { Auth0::Types::PageComponentAuth0TypographyRichTextConfig }, optional: false, nullable: false
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PageComponentNoChildren < Internal::Types::Model
|
|
6
|
+
extend Auth0::Internal::Types::Union
|
|
7
|
+
|
|
8
|
+
discriminant :type
|
|
9
|
+
|
|
10
|
+
member -> { Auth0::Types::PageComponentAuth0Form }, key: "PAGE_COMPONENT_AUTH0FORM"
|
|
11
|
+
|
|
12
|
+
member -> { Auth0::Types::PageComponentAuth0TypographyHeading }, key: "PAGE_COMPONENT_AUTH0TYPOGRAPHY_HEADING"
|
|
13
|
+
|
|
14
|
+
member -> { Auth0::Types::PageComponentAuth0MediaImage }, key: "PAGE_COMPONENT_AUTH0MEDIA_IMAGE"
|
|
15
|
+
|
|
16
|
+
member -> { Auth0::Types::PageComponentAuth0TypographyRichText }, key: "PAGE_COMPONENT_AUTH0TYPOGRAPHY_RICH_TEXT"
|
|
17
|
+
|
|
18
|
+
member -> { Auth0::Types::PageComponentAuth0StructureSeparator }, key: "PAGE_COMPONENT_AUTH0STRUCTURE_SEPARATOR"
|
|
19
|
+
|
|
20
|
+
member -> { Auth0::Types::PageComponentAuth0MyOrganizationDomainTable }, key: "PAGE_COMPONENT_AUTH0MY_ORGANIZATION_DOMAIN_TABLE"
|
|
21
|
+
|
|
22
|
+
member -> { Auth0::Types::PageComponentAuth0MyOrganizationMemberManagement }, key: "PAGE_COMPONENT_AUTH0MY_ORGANIZATION_MEMBER_MANAGEMENT"
|
|
23
|
+
|
|
24
|
+
member -> { Auth0::Types::PageComponentAuth0MyOrganizationDetailsEdit }, key: "PAGE_COMPONENT_AUTH0MY_ORGANIZATION_DETAILS_EDIT"
|
|
25
|
+
|
|
26
|
+
member -> { Auth0::Types::PageComponentAuth0MyAccountPasskeyManagement }, key: "PAGE_COMPONENT_AUTH0MY_ACCOUNT_PASSKEY_MANAGEMENT"
|
|
27
|
+
|
|
28
|
+
member -> { Auth0::Types::PageComponentAuth0MyAccountMfaManagement }, key: "PAGE_COMPONENT_AUTH0MY_ACCOUNT_MFA_MANAGEMENT"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
module PageSlug
|
|
6
|
+
# PageSlug is an alias for String
|
|
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,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class Portal < Internal::Types::Model
|
|
6
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :name, -> { String }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :navigation, -> { Auth0::Types::PortalNavigation }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :pages, -> { Auth0::Types::PortalPagesByType }, optional: true, nullable: false
|
|
13
|
+
|
|
14
|
+
field :slug, -> { String }, optional: false, nullable: false
|
|
15
|
+
|
|
16
|
+
field :client, -> { Auth0::Types::PortalClientSecretPost }, optional: true, nullable: false
|
|
17
|
+
|
|
18
|
+
field :custom_code, -> { Auth0::Types::PortalCustomCode }, optional: true, nullable: false
|
|
19
|
+
|
|
20
|
+
field :created_at, -> { String }, optional: false, nullable: false
|
|
21
|
+
|
|
22
|
+
field :updated_at, -> { String }, optional: false, nullable: false
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PortalClientSecretPost < Internal::Types::Model
|
|
6
|
+
field :token_endpoint_auth_method, -> { Auth0::Types::PortalClientSecretPostTokenEndpointAuthMethod }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :client_id, -> { String }, optional: false, nullable: false
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
class PortalClientSecretPostRequest < Internal::Types::Model
|
|
6
|
+
field :token_endpoint_auth_method, -> { Auth0::Types::PortalClientSecretPostRequestTokenEndpointAuthMethod }, optional: false, nullable: false
|
|
7
|
+
|
|
8
|
+
field :client_id, -> { String }, optional: false, nullable: false
|
|
9
|
+
|
|
10
|
+
field :client_secret, -> { String }, optional: false, nullable: false
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Auth0
|
|
4
|
+
module Types
|
|
5
|
+
module PortalCustomCodeNullable
|
|
6
|
+
# PortalCustomCodeNullable is an alias for Object
|
|
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 PortalDateTime
|
|
6
|
+
# PortalDateTime is an alias for String
|
|
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 PortalID
|
|
6
|
+
# PortalID is an alias for String
|
|
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 PortalName
|
|
6
|
+
# PortalName is an alias for String
|
|
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
|