ory-client 1.5.2__py3-none-any.whl → 1.6.2__py3-none-any.whl
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.
- ory_client/__init__.py +2 -2
- ory_client/api/courier_api.py +1 -1
- ory_client/api/events_api.py +1 -1
- ory_client/api/frontend_api.py +7 -1
- ory_client/api/identity_api.py +25 -12
- ory_client/api/jwk_api.py +1 -1
- ory_client/api/metadata_api.py +1 -1
- ory_client/api/o_auth2_api.py +1 -1
- ory_client/api/oidc_api.py +1 -1
- ory_client/api/permission_api.py +2 -2
- ory_client/api/project_api.py +1 -1
- ory_client/api/relationship_api.py +1 -1
- ory_client/api/wellknown_api.py +1 -1
- ory_client/api_client.py +2 -2
- ory_client/configuration.py +3 -3
- ory_client/exceptions.py +1 -1
- ory_client/model/accept_o_auth2_consent_request.py +5 -1
- ory_client/model/accept_o_auth2_consent_request_session.py +1 -1
- ory_client/model/accept_o_auth2_login_request.py +1 -1
- ory_client/model/active_project_in_console.py +1 -1
- ory_client/model/attribute.py +1 -1
- ory_client/model/attribute_filter.py +1 -1
- ory_client/model/attributes_count_datapoint.py +1 -1
- ory_client/model/authenticator_assurance_level.py +1 -1
- ory_client/model/batch_patch_identities_response.py +1 -1
- ory_client/model/check_opl_syntax_result.py +1 -1
- ory_client/model/check_permission_result.py +1 -1
- ory_client/model/cloud_account.py +1 -1
- ory_client/model/consistency_request_parameters.py +1 -1
- ory_client/model/continue_with.py +1 -1
- ory_client/model/continue_with_recovery_ui.py +1 -1
- ory_client/model/continue_with_recovery_ui_flow.py +1 -1
- ory_client/model/continue_with_set_ory_session_token.py +1 -1
- ory_client/model/continue_with_settings_ui.py +1 -1
- ory_client/model/continue_with_settings_ui_flow.py +1 -1
- ory_client/model/continue_with_verification_ui.py +1 -1
- ory_client/model/continue_with_verification_ui_flow.py +1 -1
- ory_client/model/courier_message_status.py +1 -1
- ory_client/model/courier_message_type.py +1 -1
- ory_client/model/create_custom_domain_body.py +1 -1
- ory_client/model/create_event_stream_body.py +1 -1
- ory_client/model/create_identity_body.py +8 -6
- ory_client/model/create_invite_response.py +1 -1
- ory_client/model/create_json_web_key_set.py +1 -1
- ory_client/model/create_member_invite_response.py +1 -1
- ory_client/model/create_project_api_key_request.py +1 -1
- ory_client/model/create_project_body.py +13 -3
- ory_client/model/create_project_branding.py +1 -1
- ory_client/model/create_project_member_invite_body.py +1 -1
- ory_client/model/create_project_normalized_payload.py +25 -3
- ory_client/model/create_recovery_code_for_identity_body.py +1 -1
- ory_client/model/create_recovery_link_for_identity_body.py +1 -1
- ory_client/model/create_relationship_body.py +1 -1
- ory_client/model/create_subscription_body.py +9 -11
- ory_client/model/{identity_credentials_type.py → create_subscription_common.py} +85 -88
- ory_client/model/create_verifiable_credential_request_body.py +1 -1
- ory_client/model/create_workspace_member_invite_body.py +1 -1
- ory_client/model/{stripe_customer.py → create_workspace_payload.py} +16 -10
- ory_client/model/create_workspace_subscription_body.py +292 -0
- ory_client/model/credential_supported_draft00.py +1 -1
- ory_client/model/custom_domain.py +1 -1
- ory_client/model/delete_my_sessions_count.py +1 -1
- ory_client/model/email_template_data.py +1 -1
- ory_client/model/email_template_data_body.py +1 -1
- ory_client/model/error_authenticator_assurance_level_not_satisfied.py +1 -1
- ory_client/model/error_browser_location_change_required.py +1 -1
- ory_client/model/error_flow_replaced.py +1 -1
- ory_client/model/error_generic.py +1 -1
- ory_client/model/error_o_auth2.py +1 -1
- ory_client/model/event_stream.py +1 -1
- ory_client/model/expanded_permission_tree.py +1 -1
- ory_client/model/flow_error.py +1 -1
- ory_client/model/generic_error.py +1 -1
- ory_client/model/generic_error_content.py +1 -1
- ory_client/model/generic_usage.py +1 -1
- ory_client/model/get_attributes_count_response.py +1 -1
- ory_client/model/get_managed_identity_schema_location.py +1 -1
- ory_client/model/get_metrics_event_attributes_response.py +1 -1
- ory_client/model/get_metrics_event_types_response.py +1 -1
- ory_client/model/get_organization_response.py +1 -1
- ory_client/model/get_project_events_body.py +1 -1
- ory_client/model/get_project_events_response.py +1 -1
- ory_client/model/get_project_metrics_response.py +1 -1
- ory_client/model/get_session_activity_response.py +1 -1
- ory_client/model/get_version200_response.py +1 -1
- ory_client/model/health_not_ready_status.py +1 -1
- ory_client/model/health_status.py +1 -1
- ory_client/model/identity.py +8 -6
- ory_client/model/identity_credentials.py +14 -10
- ory_client/model/identity_credentials_code.py +3 -3
- ory_client/model/identity_credentials_oidc.py +1 -1
- ory_client/model/identity_credentials_oidc_provider.py +1 -1
- ory_client/model/identity_credentials_password.py +1 -1
- ory_client/model/identity_patch.py +1 -1
- ory_client/model/identity_patch_response.py +1 -1
- ory_client/model/identity_schema_container.py +1 -1
- ory_client/model/identity_schema_preset.py +1 -1
- ory_client/model/identity_schema_presets.py +1 -1
- ory_client/model/identity_schemas.py +1 -1
- ory_client/model/identity_with_credentials.py +1 -1
- ory_client/model/identity_with_credentials_oidc.py +1 -1
- ory_client/model/identity_with_credentials_oidc_config.py +1 -1
- ory_client/model/identity_with_credentials_oidc_config_provider.py +1 -1
- ory_client/model/identity_with_credentials_password.py +1 -1
- ory_client/model/identity_with_credentials_password_config.py +1 -1
- ory_client/model/internal_get_project_branding_body.py +1 -1
- ory_client/model/internal_is_ax_welcome_screen_enabled_for_project_body.py +1 -1
- ory_client/model/internal_is_owner_for_project_by_slug_body.py +1 -1
- ory_client/model/internal_is_owner_for_project_by_slug_response.py +1 -1
- ory_client/model/internal_provision_mock_subscription.py +1 -1
- ory_client/model/introspected_o_auth2_token.py +1 -1
- ory_client/model/is_owner_for_project_by_slug.py +1 -1
- ory_client/model/is_ready200_response.py +1 -1
- ory_client/model/is_ready503_response.py +1 -1
- ory_client/model/json_patch.py +1 -1
- ory_client/model/json_patch_document.py +1 -1
- ory_client/model/json_web_key.py +1 -1
- ory_client/model/json_web_key_set.py +1 -1
- ory_client/model/keto_namespace.py +1 -1
- ory_client/model/keto_namespaces.py +1 -1
- ory_client/model/list_custom_domains.py +1 -1
- ory_client/model/list_event_streams.py +1 -1
- ory_client/model/list_my_workspaces_response.py +6 -6
- ory_client/model/list_organizations_response.py +1 -1
- ory_client/model/{identity_state.py → list_workspace_projects_response.py} +82 -85
- ory_client/model/login_flow.py +14 -6
- ory_client/model/login_flow_state.py +1 -1
- ory_client/model/logout_flow.py +1 -1
- ory_client/model/managed_identity_schema.py +1 -1
- ory_client/model/managed_identity_schema_validation_result.py +1 -1
- ory_client/model/managed_identity_schemas.py +1 -1
- ory_client/model/member_invite.py +1 -1
- ory_client/model/member_invites.py +1 -1
- ory_client/model/message.py +1 -1
- ory_client/model/message_dispatch.py +1 -1
- ory_client/model/metrics_datapoint.py +1 -1
- ory_client/model/migration_options.py +284 -0
- ory_client/model/namespace.py +1 -1
- ory_client/model/needs_privileged_session_error.py +1 -1
- ory_client/model/normalized_project.py +1 -1
- ory_client/model/normalized_project_revision.py +13 -1
- ory_client/model/normalized_project_revision_courier_channel.py +1 -1
- ory_client/model/normalized_project_revision_hook.py +1 -1
- ory_client/model/normalized_project_revision_identity_schema.py +1 -1
- ory_client/model/normalized_project_revision_identity_schemas.py +1 -1
- ory_client/model/normalized_project_revision_third_party_provider.py +5 -1
- ory_client/model/normalized_project_revision_tokenizer_template.py +1 -1
- ory_client/model/normalized_project_revision_tokenizer_templates.py +1 -1
- ory_client/model/normalized_projects.py +1 -1
- ory_client/model/null_duration.py +1 -1
- ory_client/model/o_auth2_client.py +5 -1
- ory_client/model/o_auth2_client_token_lifespans.py +1 -1
- ory_client/model/o_auth2_consent_request.py +1 -1
- ory_client/model/o_auth2_consent_request_open_id_connect_context.py +1 -1
- ory_client/model/o_auth2_consent_session.py +5 -1
- ory_client/model/o_auth2_consent_session_expires_at.py +1 -1
- ory_client/model/o_auth2_consent_sessions.py +1 -1
- ory_client/model/o_auth2_login_request.py +1 -1
- ory_client/model/o_auth2_logout_request.py +1 -1
- ory_client/model/o_auth2_redirect_to.py +1 -1
- ory_client/model/o_auth2_token_exchange.py +1 -1
- ory_client/model/oidc_configuration.py +1 -1
- ory_client/model/oidc_user_info.py +1 -1
- ory_client/model/organization.py +1 -1
- ory_client/model/organization_body.py +1 -1
- ory_client/model/pagination.py +1 -1
- ory_client/model/pagination_headers.py +1 -1
- ory_client/model/parse_error.py +1 -1
- ory_client/model/patch_identities_body.py +1 -1
- ory_client/model/perform_native_logout_body.py +1 -1
- ory_client/model/permissions_on_project.py +1 -1
- ory_client/model/plan.py +1 -1
- ory_client/model/plan_details.py +1 -1
- ory_client/model/plans.py +1 -1
- ory_client/model/post_check_permission_body.py +1 -1
- ory_client/model/post_check_permission_or_error_body.py +1 -1
- ory_client/model/pricing.py +1 -1
- ory_client/model/project.py +1 -1
- ory_client/model/project_api_key.py +1 -1
- ory_client/model/project_api_keys.py +1 -1
- ory_client/model/project_branding.py +1 -1
- ory_client/model/project_branding_colors.py +1 -1
- ory_client/model/project_branding_theme.py +1 -1
- ory_client/model/project_branding_themes.py +1 -1
- ory_client/model/project_cors.py +1 -1
- ory_client/model/project_events_datapoint.py +1 -1
- ory_client/model/project_host.py +1 -1
- ory_client/model/project_member.py +1 -1
- ory_client/model/project_members.py +1 -1
- ory_client/model/project_metadata.py +13 -3
- ory_client/model/project_metadata_list.py +1 -1
- ory_client/model/project_revision_hooks.py +1 -1
- ory_client/model/project_revision_identity_schemas.py +1 -1
- ory_client/model/project_revision_third_party_login_providers.py +1 -1
- ory_client/model/project_revisions.py +1 -1
- ory_client/model/project_service_identity.py +1 -1
- ory_client/model/project_service_o_auth2.py +1 -1
- ory_client/model/project_service_permission.py +1 -1
- ory_client/model/project_services.py +1 -1
- ory_client/model/projects.py +1 -1
- ory_client/model/quota_usage.py +5 -3
- ory_client/model/recovery_code_for_identity.py +1 -1
- ory_client/model/recovery_flow.py +1 -1
- ory_client/model/recovery_flow_state.py +1 -1
- ory_client/model/recovery_identity_address.py +1 -1
- ory_client/model/recovery_link_for_identity.py +1 -1
- ory_client/model/registration_flow.py +14 -6
- ory_client/model/registration_flow_state.py +1 -1
- ory_client/model/reject_o_auth2_request.py +1 -1
- ory_client/model/relation_query.py +1 -1
- ory_client/model/relationship.py +1 -1
- ory_client/model/relationship_namespaces.py +1 -1
- ory_client/model/relationship_patch.py +1 -1
- ory_client/model/relationships.py +1 -1
- ory_client/model/revision_courier_channels.py +1 -1
- ory_client/model/rfc6749_error_json.py +1 -1
- ory_client/model/schema_patch.py +1 -1
- ory_client/model/self_service_flow_expired_error.py +1 -1
- ory_client/model/session.py +1 -1
- ory_client/model/session_activity_datapoint.py +1 -1
- ory_client/model/session_authentication_method.py +1 -1
- ory_client/model/session_authentication_methods.py +1 -1
- ory_client/model/session_device.py +1 -1
- ory_client/model/set_active_project_in_console_body.py +1 -1
- ory_client/model/set_custom_domain_body.py +1 -1
- ory_client/model/set_event_stream_body.py +1 -1
- ory_client/model/set_project.py +1 -1
- ory_client/model/set_project_branding_theme_body.py +1 -1
- ory_client/model/settings_flow.py +1 -1
- ory_client/model/settings_flow_state.py +1 -1
- ory_client/model/source_position.py +1 -1
- ory_client/model/string_slice_json_format.py +1 -1
- ory_client/model/subject_set.py +1 -1
- ory_client/model/subscription.py +1 -1
- ory_client/model/successful_code_exchange_response.py +1 -1
- ory_client/model/successful_native_login.py +1 -1
- ory_client/model/successful_native_registration.py +1 -1
- ory_client/model/successful_project_update.py +1 -1
- ory_client/model/token_pagination.py +1 -1
- ory_client/model/token_pagination_headers.py +1 -1
- ory_client/model/token_pagination_request_parameters.py +1 -1
- ory_client/model/token_pagination_response_headers.py +1 -1
- ory_client/model/trust_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_issuers.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_json_web_key.py +1 -1
- ory_client/model/ui_container.py +1 -1
- ory_client/model/ui_node.py +1 -1
- ory_client/model/ui_node_anchor_attributes.py +1 -1
- ory_client/model/ui_node_attributes.py +1 -1
- ory_client/model/ui_node_image_attributes.py +1 -1
- ory_client/model/ui_node_input_attributes.py +1 -1
- ory_client/model/ui_node_meta.py +1 -1
- ory_client/model/ui_node_script_attributes.py +1 -1
- ory_client/model/ui_node_text_attributes.py +1 -1
- ory_client/model/ui_nodes.py +1 -1
- ory_client/model/ui_text.py +1 -1
- ory_client/model/ui_texts.py +1 -1
- ory_client/model/update_identity_body.py +8 -6
- ory_client/model/update_login_flow_body.py +1 -1
- ory_client/model/update_login_flow_with_code_method.py +1 -1
- ory_client/model/update_login_flow_with_lookup_secret_method.py +1 -1
- ory_client/model/update_login_flow_with_oidc_method.py +1 -1
- ory_client/model/update_login_flow_with_password_method.py +1 -1
- ory_client/model/update_login_flow_with_totp_method.py +1 -1
- ory_client/model/update_login_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_recovery_flow_body.py +1 -1
- ory_client/model/update_recovery_flow_with_code_method.py +1 -1
- ory_client/model/update_recovery_flow_with_link_method.py +1 -1
- ory_client/model/update_registration_flow_body.py +1 -1
- ory_client/model/update_registration_flow_with_code_method.py +1 -1
- ory_client/model/update_registration_flow_with_oidc_method.py +1 -1
- ory_client/model/update_registration_flow_with_password_method.py +1 -1
- ory_client/model/update_registration_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_settings_flow_body.py +1 -1
- ory_client/model/update_settings_flow_with_lookup_method.py +1 -1
- ory_client/model/update_settings_flow_with_oidc_method.py +1 -1
- ory_client/model/update_settings_flow_with_password_method.py +1 -1
- ory_client/model/update_settings_flow_with_profile_method.py +1 -1
- ory_client/model/update_settings_flow_with_totp_method.py +1 -1
- ory_client/model/update_settings_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_subscription_body.py +1 -1
- ory_client/model/update_verification_flow_body.py +1 -1
- ory_client/model/update_verification_flow_with_code_method.py +1 -1
- ory_client/model/update_verification_flow_with_link_method.py +1 -1
- ory_client/model/usage.py +1 -1
- ory_client/model/verifiable_credential_priming_response.py +1 -1
- ory_client/model/verifiable_credential_proof.py +1 -1
- ory_client/model/verifiable_credential_response.py +1 -1
- ory_client/model/verifiable_identity_address.py +1 -1
- ory_client/model/verification_flow.py +1 -1
- ory_client/model/verification_flow_state.py +1 -1
- ory_client/model/version.py +1 -1
- ory_client/model/warning.py +1 -1
- ory_client/model/workspace.py +1 -1
- ory_client/model/workspace_meta.py +296 -0
- ory_client/model/workspaces.py +1 -1
- ory_client/model_utils.py +1 -1
- ory_client/models/__init__.py +6 -3
- ory_client/rest.py +1 -1
- {ory_client-1.5.2.dist-info → ory_client-1.6.2.dist-info}/METADATA +1 -1
- ory_client-1.6.2.dist-info/RECORD +308 -0
- ory_client-1.5.2.dist-info/RECORD +0 -305
- {ory_client-1.5.2.dist-info → ory_client-1.6.2.dist-info}/LICENSE +0 -0
- {ory_client-1.5.2.dist-info → ory_client-1.6.2.dist-info}/WHEEL +0 -0
- {ory_client-1.5.2.dist-info → ory_client-1.6.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,284 @@
|
|
1
|
+
"""
|
2
|
+
Ory APIs
|
3
|
+
|
4
|
+
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
"""
|
10
|
+
|
11
|
+
|
12
|
+
import re # noqa: F401
|
13
|
+
import sys # noqa: F401
|
14
|
+
|
15
|
+
from ory_client.model_utils import ( # noqa: F401
|
16
|
+
ApiTypeError,
|
17
|
+
ModelComposed,
|
18
|
+
ModelNormal,
|
19
|
+
ModelSimple,
|
20
|
+
cached_property,
|
21
|
+
change_keys_js_to_python,
|
22
|
+
convert_js_args_to_python_args,
|
23
|
+
date,
|
24
|
+
datetime,
|
25
|
+
file_type,
|
26
|
+
none_type,
|
27
|
+
validate_get_composed_info,
|
28
|
+
OpenApiModel
|
29
|
+
)
|
30
|
+
from ory_client.exceptions import ApiAttributeError
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
class MigrationOptions(ModelNormal):
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
36
|
+
Ref: https://openapi-generator.tech
|
37
|
+
|
38
|
+
Do not edit the class manually.
|
39
|
+
|
40
|
+
Attributes:
|
41
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
42
|
+
and the for var_name this is (var_name,). The value is a dict
|
43
|
+
with a capitalized key describing the allowed value and an allowed
|
44
|
+
value. These dicts store the allowed enum values.
|
45
|
+
attribute_map (dict): The key is attribute name
|
46
|
+
and the value is json key in definition.
|
47
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
48
|
+
variable value to the discriminator class name.
|
49
|
+
validations (dict): The key is the tuple path to the attribute
|
50
|
+
and the for var_name this is (var_name,). The value is a dict
|
51
|
+
that stores validations for max_length, min_length, max_items,
|
52
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
53
|
+
inclusive_minimum, and regex.
|
54
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
55
|
+
as additional properties values.
|
56
|
+
"""
|
57
|
+
|
58
|
+
allowed_values = {
|
59
|
+
('environment',): {
|
60
|
+
'PROD': "prod",
|
61
|
+
'DEV': "dev",
|
62
|
+
},
|
63
|
+
('project_subscription',): {
|
64
|
+
'MIGRATE': "migrate",
|
65
|
+
'IGNORE': "ignore",
|
66
|
+
},
|
67
|
+
}
|
68
|
+
|
69
|
+
validations = {
|
70
|
+
}
|
71
|
+
|
72
|
+
@cached_property
|
73
|
+
def additional_properties_type():
|
74
|
+
"""
|
75
|
+
This must be a method because a model may have properties that are
|
76
|
+
of type self, this must run after the class is loaded
|
77
|
+
"""
|
78
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
79
|
+
|
80
|
+
_nullable = False
|
81
|
+
|
82
|
+
@cached_property
|
83
|
+
def openapi_types():
|
84
|
+
"""
|
85
|
+
This must be a method because a model may have properties that are
|
86
|
+
of type self, this must run after the class is loaded
|
87
|
+
|
88
|
+
Returns
|
89
|
+
openapi_types (dict): The key is attribute name
|
90
|
+
and the value is attribute type.
|
91
|
+
"""
|
92
|
+
return {
|
93
|
+
'environment': (str,), # noqa: E501
|
94
|
+
'project_subscription': (str,), # noqa: E501
|
95
|
+
}
|
96
|
+
|
97
|
+
@cached_property
|
98
|
+
def discriminator():
|
99
|
+
return None
|
100
|
+
|
101
|
+
|
102
|
+
attribute_map = {
|
103
|
+
'environment': 'environment', # noqa: E501
|
104
|
+
'project_subscription': 'project_subscription', # noqa: E501
|
105
|
+
}
|
106
|
+
|
107
|
+
read_only_vars = {
|
108
|
+
}
|
109
|
+
|
110
|
+
_composed_schemas = {}
|
111
|
+
|
112
|
+
@classmethod
|
113
|
+
@convert_js_args_to_python_args
|
114
|
+
def _from_openapi_data(cls, environment, project_subscription, *args, **kwargs): # noqa: E501
|
115
|
+
"""MigrationOptions - a model defined in OpenAPI
|
116
|
+
|
117
|
+
Args:
|
118
|
+
environment (str): The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production dev Development
|
119
|
+
project_subscription (str): The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription.
|
120
|
+
|
121
|
+
Keyword Args:
|
122
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
123
|
+
will be type checked and a TypeError will be
|
124
|
+
raised if the wrong type is input.
|
125
|
+
Defaults to True
|
126
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
127
|
+
drill down to the model in received_data
|
128
|
+
when deserializing a response
|
129
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
130
|
+
are serialized names, as specified in the OpenAPI document.
|
131
|
+
False if the variable names in the input data
|
132
|
+
are pythonic names, e.g. snake case (default)
|
133
|
+
_configuration (Configuration): the instance to use when
|
134
|
+
deserializing a file_type parameter.
|
135
|
+
If passed, type conversion is attempted
|
136
|
+
If omitted no type conversion is done.
|
137
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
138
|
+
classes that we have traveled through so that
|
139
|
+
if we see that class again we will not use its
|
140
|
+
discriminator again.
|
141
|
+
When traveling through a discriminator, the
|
142
|
+
composed schema that is
|
143
|
+
is traveled through is added to this set.
|
144
|
+
For example if Animal has a discriminator
|
145
|
+
petType and we pass in "Dog", and the class Dog
|
146
|
+
allOf includes Animal, we move through Animal
|
147
|
+
once using the discriminator, and pick Dog.
|
148
|
+
Then in Dog, we will make an instance of the
|
149
|
+
Animal class but this time we won't travel
|
150
|
+
through its discriminator because we passed in
|
151
|
+
_visited_composed_classes = (Animal,)
|
152
|
+
"""
|
153
|
+
|
154
|
+
_check_type = kwargs.pop('_check_type', True)
|
155
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
156
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
157
|
+
_configuration = kwargs.pop('_configuration', None)
|
158
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
159
|
+
|
160
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
161
|
+
|
162
|
+
if args:
|
163
|
+
for arg in args:
|
164
|
+
if isinstance(arg, dict):
|
165
|
+
kwargs.update(arg)
|
166
|
+
else:
|
167
|
+
raise ApiTypeError(
|
168
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
169
|
+
args,
|
170
|
+
self.__class__.__name__,
|
171
|
+
),
|
172
|
+
path_to_item=_path_to_item,
|
173
|
+
valid_classes=(self.__class__,),
|
174
|
+
)
|
175
|
+
|
176
|
+
self._data_store = {}
|
177
|
+
self._check_type = _check_type
|
178
|
+
self._spec_property_naming = _spec_property_naming
|
179
|
+
self._path_to_item = _path_to_item
|
180
|
+
self._configuration = _configuration
|
181
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
182
|
+
|
183
|
+
self.environment = environment
|
184
|
+
self.project_subscription = project_subscription
|
185
|
+
for var_name, var_value in kwargs.items():
|
186
|
+
if var_name not in self.attribute_map and \
|
187
|
+
self._configuration is not None and \
|
188
|
+
self._configuration.discard_unknown_keys and \
|
189
|
+
self.additional_properties_type is None:
|
190
|
+
# discard variable.
|
191
|
+
continue
|
192
|
+
setattr(self, var_name, var_value)
|
193
|
+
return self
|
194
|
+
|
195
|
+
required_properties = set([
|
196
|
+
'_data_store',
|
197
|
+
'_check_type',
|
198
|
+
'_spec_property_naming',
|
199
|
+
'_path_to_item',
|
200
|
+
'_configuration',
|
201
|
+
'_visited_composed_classes',
|
202
|
+
])
|
203
|
+
|
204
|
+
@convert_js_args_to_python_args
|
205
|
+
def __init__(self, environment, project_subscription, *args, **kwargs): # noqa: E501
|
206
|
+
"""MigrationOptions - a model defined in OpenAPI
|
207
|
+
|
208
|
+
Args:
|
209
|
+
environment (str): The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production dev Development
|
210
|
+
project_subscription (str): The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription.
|
211
|
+
|
212
|
+
Keyword Args:
|
213
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
214
|
+
will be type checked and a TypeError will be
|
215
|
+
raised if the wrong type is input.
|
216
|
+
Defaults to True
|
217
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
218
|
+
drill down to the model in received_data
|
219
|
+
when deserializing a response
|
220
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
221
|
+
are serialized names, as specified in the OpenAPI document.
|
222
|
+
False if the variable names in the input data
|
223
|
+
are pythonic names, e.g. snake case (default)
|
224
|
+
_configuration (Configuration): the instance to use when
|
225
|
+
deserializing a file_type parameter.
|
226
|
+
If passed, type conversion is attempted
|
227
|
+
If omitted no type conversion is done.
|
228
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
229
|
+
classes that we have traveled through so that
|
230
|
+
if we see that class again we will not use its
|
231
|
+
discriminator again.
|
232
|
+
When traveling through a discriminator, the
|
233
|
+
composed schema that is
|
234
|
+
is traveled through is added to this set.
|
235
|
+
For example if Animal has a discriminator
|
236
|
+
petType and we pass in "Dog", and the class Dog
|
237
|
+
allOf includes Animal, we move through Animal
|
238
|
+
once using the discriminator, and pick Dog.
|
239
|
+
Then in Dog, we will make an instance of the
|
240
|
+
Animal class but this time we won't travel
|
241
|
+
through its discriminator because we passed in
|
242
|
+
_visited_composed_classes = (Animal,)
|
243
|
+
"""
|
244
|
+
|
245
|
+
_check_type = kwargs.pop('_check_type', True)
|
246
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
247
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
248
|
+
_configuration = kwargs.pop('_configuration', None)
|
249
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
250
|
+
|
251
|
+
if args:
|
252
|
+
for arg in args:
|
253
|
+
if isinstance(arg, dict):
|
254
|
+
kwargs.update(arg)
|
255
|
+
else:
|
256
|
+
raise ApiTypeError(
|
257
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
258
|
+
args,
|
259
|
+
self.__class__.__name__,
|
260
|
+
),
|
261
|
+
path_to_item=_path_to_item,
|
262
|
+
valid_classes=(self.__class__,),
|
263
|
+
)
|
264
|
+
|
265
|
+
self._data_store = {}
|
266
|
+
self._check_type = _check_type
|
267
|
+
self._spec_property_naming = _spec_property_naming
|
268
|
+
self._path_to_item = _path_to_item
|
269
|
+
self._configuration = _configuration
|
270
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
271
|
+
|
272
|
+
self.environment = environment
|
273
|
+
self.project_subscription = project_subscription
|
274
|
+
for var_name, var_value in kwargs.items():
|
275
|
+
if var_name not in self.attribute_map and \
|
276
|
+
self._configuration is not None and \
|
277
|
+
self._configuration.discard_unknown_keys and \
|
278
|
+
self.additional_properties_type is None:
|
279
|
+
# discard variable.
|
280
|
+
continue
|
281
|
+
setattr(self, var_name, var_value)
|
282
|
+
if var_name in self.read_only_vars:
|
283
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
284
|
+
f"class with read only attributes.")
|
ory_client/model/namespace.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -155,6 +155,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
155
155
|
'hydra_oauth2_grant_jwt_iat_optional': (bool,), # noqa: E501
|
156
156
|
'hydra_oauth2_grant_jwt_jti_optional': (bool,), # noqa: E501
|
157
157
|
'hydra_oauth2_grant_jwt_max_ttl': (str,), # noqa: E501
|
158
|
+
'hydra_oauth2_mirror_top_level_claims': (bool,), # noqa: E501
|
158
159
|
'hydra_oauth2_pkce_enforced': (bool,), # noqa: E501
|
159
160
|
'hydra_oauth2_pkce_enforced_for_public_clients': (bool,), # noqa: E501
|
160
161
|
'hydra_oauth2_refresh_token_hook': (str,), # noqa: E501
|
@@ -213,6 +214,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
213
214
|
'kratos_courier_templates_login_code_valid_email_body_html': (str,), # noqa: E501
|
214
215
|
'kratos_courier_templates_login_code_valid_email_body_plaintext': (str,), # noqa: E501
|
215
216
|
'kratos_courier_templates_login_code_valid_email_subject': (str,), # noqa: E501
|
217
|
+
'kratos_courier_templates_login_code_valid_sms_body_plaintext': (str,), # noqa: E501
|
216
218
|
'kratos_courier_templates_recovery_code_invalid_email_body_html': (str,), # noqa: E501
|
217
219
|
'kratos_courier_templates_recovery_code_invalid_email_body_plaintext': (str,), # noqa: E501
|
218
220
|
'kratos_courier_templates_recovery_code_invalid_email_subject': (str,), # noqa: E501
|
@@ -298,6 +300,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
298
300
|
'kratos_selfservice_flows_verification_use': (str,), # noqa: E501
|
299
301
|
'kratos_selfservice_methods_code_config_lifespan': (str,), # noqa: E501
|
300
302
|
'kratos_selfservice_methods_code_enabled': (bool,), # noqa: E501
|
303
|
+
'kratos_selfservice_methods_code_mfa_enabled': (bool,), # noqa: E501
|
301
304
|
'kratos_selfservice_methods_code_passwordless_enabled': (bool,), # noqa: E501
|
302
305
|
'kratos_selfservice_methods_link_config_base_url': (str,), # noqa: E501
|
303
306
|
'kratos_selfservice_methods_link_config_lifespan': (str,), # noqa: E501
|
@@ -351,6 +354,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
351
354
|
'hydra_oauth2_grant_jwt_iat_optional': 'hydra_oauth2_grant_jwt_iat_optional', # noqa: E501
|
352
355
|
'hydra_oauth2_grant_jwt_jti_optional': 'hydra_oauth2_grant_jwt_jti_optional', # noqa: E501
|
353
356
|
'hydra_oauth2_grant_jwt_max_ttl': 'hydra_oauth2_grant_jwt_max_ttl', # noqa: E501
|
357
|
+
'hydra_oauth2_mirror_top_level_claims': 'hydra_oauth2_mirror_top_level_claims', # noqa: E501
|
354
358
|
'hydra_oauth2_pkce_enforced': 'hydra_oauth2_pkce_enforced', # noqa: E501
|
355
359
|
'hydra_oauth2_pkce_enforced_for_public_clients': 'hydra_oauth2_pkce_enforced_for_public_clients', # noqa: E501
|
356
360
|
'hydra_oauth2_refresh_token_hook': 'hydra_oauth2_refresh_token_hook', # noqa: E501
|
@@ -409,6 +413,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
409
413
|
'kratos_courier_templates_login_code_valid_email_body_html': 'kratos_courier_templates_login_code_valid_email_body_html', # noqa: E501
|
410
414
|
'kratos_courier_templates_login_code_valid_email_body_plaintext': 'kratos_courier_templates_login_code_valid_email_body_plaintext', # noqa: E501
|
411
415
|
'kratos_courier_templates_login_code_valid_email_subject': 'kratos_courier_templates_login_code_valid_email_subject', # noqa: E501
|
416
|
+
'kratos_courier_templates_login_code_valid_sms_body_plaintext': 'kratos_courier_templates_login_code_valid_sms_body_plaintext', # noqa: E501
|
412
417
|
'kratos_courier_templates_recovery_code_invalid_email_body_html': 'kratos_courier_templates_recovery_code_invalid_email_body_html', # noqa: E501
|
413
418
|
'kratos_courier_templates_recovery_code_invalid_email_body_plaintext': 'kratos_courier_templates_recovery_code_invalid_email_body_plaintext', # noqa: E501
|
414
419
|
'kratos_courier_templates_recovery_code_invalid_email_subject': 'kratos_courier_templates_recovery_code_invalid_email_subject', # noqa: E501
|
@@ -494,6 +499,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
494
499
|
'kratos_selfservice_flows_verification_use': 'kratos_selfservice_flows_verification_use', # noqa: E501
|
495
500
|
'kratos_selfservice_methods_code_config_lifespan': 'kratos_selfservice_methods_code_config_lifespan', # noqa: E501
|
496
501
|
'kratos_selfservice_methods_code_enabled': 'kratos_selfservice_methods_code_enabled', # noqa: E501
|
502
|
+
'kratos_selfservice_methods_code_mfa_enabled': 'kratos_selfservice_methods_code_mfa_enabled', # noqa: E501
|
497
503
|
'kratos_selfservice_methods_code_passwordless_enabled': 'kratos_selfservice_methods_code_passwordless_enabled', # noqa: E501
|
498
504
|
'kratos_selfservice_methods_link_config_base_url': 'kratos_selfservice_methods_link_config_base_url', # noqa: E501
|
499
505
|
'kratos_selfservice_methods_link_config_lifespan': 'kratos_selfservice_methods_link_config_lifespan', # noqa: E501
|
@@ -587,6 +593,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
587
593
|
hydra_oauth2_grant_jwt_iat_optional (bool): Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting.. [optional] # noqa: E501
|
588
594
|
hydra_oauth2_grant_jwt_jti_optional (bool): Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting.. [optional] # noqa: E501
|
589
595
|
hydra_oauth2_grant_jwt_max_ttl (str): Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting.. [optional] if omitted the server will use the default value of "720h" # noqa: E501
|
596
|
+
hydra_oauth2_mirror_top_level_claims (bool): Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting.. [optional] # noqa: E501
|
590
597
|
hydra_oauth2_pkce_enforced (bool): Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting.. [optional] # noqa: E501
|
591
598
|
hydra_oauth2_pkce_enforced_for_public_clients (bool): Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting.. [optional] # noqa: E501
|
592
599
|
hydra_oauth2_refresh_token_hook (str): Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting.. [optional] # noqa: E501
|
@@ -645,6 +652,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
645
652
|
kratos_courier_templates_login_code_valid_email_body_html (str): Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.. [optional] # noqa: E501
|
646
653
|
kratos_courier_templates_login_code_valid_email_body_plaintext (str): Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.. [optional] # noqa: E501
|
647
654
|
kratos_courier_templates_login_code_valid_email_subject (str): Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.. [optional] # noqa: E501
|
655
|
+
kratos_courier_templates_login_code_valid_sms_body_plaintext (str): Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.. [optional] # noqa: E501
|
648
656
|
kratos_courier_templates_recovery_code_invalid_email_body_html (str): Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.. [optional] # noqa: E501
|
649
657
|
kratos_courier_templates_recovery_code_invalid_email_body_plaintext (str): Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.. [optional] # noqa: E501
|
650
658
|
kratos_courier_templates_recovery_code_invalid_email_subject (str): Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.. [optional] # noqa: E501
|
@@ -730,6 +738,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
730
738
|
kratos_selfservice_flows_verification_use (str): Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode. [optional] # noqa: E501
|
731
739
|
kratos_selfservice_methods_code_config_lifespan (str): Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting.. [optional] # noqa: E501
|
732
740
|
kratos_selfservice_methods_code_enabled (bool): Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting.. [optional] # noqa: E501
|
741
|
+
kratos_selfservice_methods_code_mfa_enabled (bool): Configues whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting.. [optional] # noqa: E501
|
733
742
|
kratos_selfservice_methods_code_passwordless_enabled (bool): Configues whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting.. [optional] # noqa: E501
|
734
743
|
kratos_selfservice_methods_link_config_base_url (str): Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting.. [optional] # noqa: E501
|
735
744
|
kratos_selfservice_methods_link_config_lifespan (str): Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting.. [optional] # noqa: E501
|
@@ -863,6 +872,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
863
872
|
hydra_oauth2_grant_jwt_iat_optional (bool): Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting.. [optional] # noqa: E501
|
864
873
|
hydra_oauth2_grant_jwt_jti_optional (bool): Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting.. [optional] # noqa: E501
|
865
874
|
hydra_oauth2_grant_jwt_max_ttl (str): Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting.. [optional] if omitted the server will use the default value of "720h" # noqa: E501
|
875
|
+
hydra_oauth2_mirror_top_level_claims (bool): Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting.. [optional] # noqa: E501
|
866
876
|
hydra_oauth2_pkce_enforced (bool): Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting.. [optional] # noqa: E501
|
867
877
|
hydra_oauth2_pkce_enforced_for_public_clients (bool): Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting.. [optional] # noqa: E501
|
868
878
|
hydra_oauth2_refresh_token_hook (str): Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting.. [optional] # noqa: E501
|
@@ -921,6 +931,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
921
931
|
kratos_courier_templates_login_code_valid_email_body_html (str): Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.. [optional] # noqa: E501
|
922
932
|
kratos_courier_templates_login_code_valid_email_body_plaintext (str): Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.. [optional] # noqa: E501
|
923
933
|
kratos_courier_templates_login_code_valid_email_subject (str): Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.. [optional] # noqa: E501
|
934
|
+
kratos_courier_templates_login_code_valid_sms_body_plaintext (str): Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.. [optional] # noqa: E501
|
924
935
|
kratos_courier_templates_recovery_code_invalid_email_body_html (str): Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.. [optional] # noqa: E501
|
925
936
|
kratos_courier_templates_recovery_code_invalid_email_body_plaintext (str): Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.. [optional] # noqa: E501
|
926
937
|
kratos_courier_templates_recovery_code_invalid_email_subject (str): Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.. [optional] # noqa: E501
|
@@ -1006,6 +1017,7 @@ class NormalizedProjectRevision(ModelNormal):
|
|
1006
1017
|
kratos_selfservice_flows_verification_use (str): Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode. [optional] # noqa: E501
|
1007
1018
|
kratos_selfservice_methods_code_config_lifespan (str): Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting.. [optional] # noqa: E501
|
1008
1019
|
kratos_selfservice_methods_code_enabled (bool): Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting.. [optional] # noqa: E501
|
1020
|
+
kratos_selfservice_methods_code_mfa_enabled (bool): Configues whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting.. [optional] # noqa: E501
|
1009
1021
|
kratos_selfservice_methods_code_passwordless_enabled (bool): Configues whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting.. [optional] # noqa: E501
|
1010
1022
|
kratos_selfservice_methods_link_config_base_url (str): Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting.. [optional] # noqa: E501
|
1011
1023
|
kratos_selfservice_methods_link_config_lifespan (str): Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting.. [optional] # noqa: E501
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -98,6 +98,7 @@ class NormalizedProjectRevisionThirdPartyProvider(ModelNormal):
|
|
98
98
|
'apple_team_id': (str,), # noqa: E501
|
99
99
|
'auth_url': (str,), # noqa: E501
|
100
100
|
'azure_tenant': (str,), # noqa: E501
|
101
|
+
'claims_source': (str, none_type,), # noqa: E501
|
101
102
|
'client_id': (str,), # noqa: E501
|
102
103
|
'client_secret': (str, none_type,), # noqa: E501
|
103
104
|
'created_at': (datetime,), # noqa: E501
|
@@ -129,6 +130,7 @@ class NormalizedProjectRevisionThirdPartyProvider(ModelNormal):
|
|
129
130
|
'apple_team_id': 'apple_team_id', # noqa: E501
|
130
131
|
'auth_url': 'auth_url', # noqa: E501
|
131
132
|
'azure_tenant': 'azure_tenant', # noqa: E501
|
133
|
+
'claims_source': 'claims_source', # noqa: E501
|
132
134
|
'client_id': 'client_id', # noqa: E501
|
133
135
|
'client_secret': 'client_secret', # noqa: E501
|
134
136
|
'created_at': 'created_at', # noqa: E501
|
@@ -197,6 +199,7 @@ class NormalizedProjectRevisionThirdPartyProvider(ModelNormal):
|
|
197
199
|
apple_team_id (str): Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret. [optional] # noqa: E501
|
198
200
|
auth_url (str): AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`.. [optional] # noqa: E501
|
199
201
|
azure_tenant (str): Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.. [optional] # noqa: E501
|
202
|
+
claims_source (str, none_type): [optional] # noqa: E501
|
200
203
|
client_id (str): ClientID is the application's Client ID.. [optional] # noqa: E501
|
201
204
|
client_secret (str, none_type): [optional] # noqa: E501
|
202
205
|
created_at (datetime): The Project's Revision Creation Date. [optional] # noqa: E501
|
@@ -305,6 +308,7 @@ class NormalizedProjectRevisionThirdPartyProvider(ModelNormal):
|
|
305
308
|
apple_team_id (str): Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret. [optional] # noqa: E501
|
306
309
|
auth_url (str): AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`.. [optional] # noqa: E501
|
307
310
|
azure_tenant (str): Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.. [optional] # noqa: E501
|
311
|
+
claims_source (str, none_type): [optional] # noqa: E501
|
308
312
|
client_id (str): ClientID is the application's Client ID.. [optional] # noqa: E501
|
309
313
|
client_secret (str, none_type): [optional] # noqa: E501
|
310
314
|
created_at (datetime): The Project's Revision Creation Date. [optional] # noqa: E501
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -131,6 +131,7 @@ class OAuth2Client(ModelNormal):
|
|
131
131
|
'scope': (str,), # noqa: E501
|
132
132
|
'sector_identifier_uri': (str,), # noqa: E501
|
133
133
|
'skip_consent': (bool,), # noqa: E501
|
134
|
+
'skip_logout_consent': (bool,), # noqa: E501
|
134
135
|
'subject_type': (str,), # noqa: E501
|
135
136
|
'token_endpoint_auth_method': (str,), # noqa: E501
|
136
137
|
'token_endpoint_auth_signing_alg': (str,), # noqa: E501
|
@@ -186,6 +187,7 @@ class OAuth2Client(ModelNormal):
|
|
186
187
|
'scope': 'scope', # noqa: E501
|
187
188
|
'sector_identifier_uri': 'sector_identifier_uri', # noqa: E501
|
188
189
|
'skip_consent': 'skip_consent', # noqa: E501
|
190
|
+
'skip_logout_consent': 'skip_logout_consent', # noqa: E501
|
189
191
|
'subject_type': 'subject_type', # noqa: E501
|
190
192
|
'token_endpoint_auth_method': 'token_endpoint_auth_method', # noqa: E501
|
191
193
|
'token_endpoint_auth_signing_alg': 'token_endpoint_auth_signing_alg', # noqa: E501
|
@@ -276,6 +278,7 @@ class OAuth2Client(ModelNormal):
|
|
276
278
|
scope (str): OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens.. [optional] # noqa: E501
|
277
279
|
sector_identifier_uri (str): OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values.. [optional] # noqa: E501
|
278
280
|
skip_consent (bool): SkipConsent skips the consent screen for this client. This field can only be set from the admin API.. [optional] # noqa: E501
|
281
|
+
skip_logout_consent (bool): SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API.. [optional] # noqa: E501
|
279
282
|
subject_type (str): OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`.. [optional] # noqa: E501
|
280
283
|
token_endpoint_auth_method (str): OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets.. [optional] if omitted the server will use the default value of "client_secret_basic" # noqa: E501
|
281
284
|
token_endpoint_auth_signing_alg (str): OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint.. [optional] # noqa: E501
|
@@ -408,6 +411,7 @@ class OAuth2Client(ModelNormal):
|
|
408
411
|
scope (str): OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens.. [optional] # noqa: E501
|
409
412
|
sector_identifier_uri (str): OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values.. [optional] # noqa: E501
|
410
413
|
skip_consent (bool): SkipConsent skips the consent screen for this client. This field can only be set from the admin API.. [optional] # noqa: E501
|
414
|
+
skip_logout_consent (bool): SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API.. [optional] # noqa: E501
|
411
415
|
subject_type (str): OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`.. [optional] # noqa: E501
|
412
416
|
token_endpoint_auth_method (str): OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets.. [optional] if omitted the server will use the default value of "client_secret_basic" # noqa: E501
|
413
417
|
token_endpoint_auth_signing_alg (str): OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint.. [optional] # noqa: E501
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.6.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|