ory-client 1.16.10__py3-none-any.whl → 1.17.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 +7 -3
- ory_client/api/events_api.py +13 -5
- ory_client/api/frontend_api.py +97 -33
- ory_client/api/identity_api.py +55 -19
- ory_client/api/jwk_api.py +22 -8
- ory_client/api/metadata_api.py +4 -2
- ory_client/api/o_auth2_api.py +85 -29
- ory_client/api/oidc_api.py +25 -9
- ory_client/api/permission_api.py +19 -7
- ory_client/api/project_api.py +52 -18
- ory_client/api/relationship_api.py +19 -7
- ory_client/api/wellknown_api.py +4 -2
- ory_client/api/workspace_api.py +25 -9
- ory_client/api_client.py +22 -6
- ory_client/configuration.py +160 -40
- ory_client/exceptions.py +18 -1
- ory_client/models/__init__.py +1 -1
- ory_client/models/accept_o_auth2_consent_request.py +1 -1
- ory_client/models/accept_o_auth2_consent_request_session.py +1 -1
- ory_client/models/accept_o_auth2_login_request.py +1 -1
- ory_client/models/account_experience_colors.py +1 -1
- ory_client/models/account_experience_configuration.py +1 -1
- ory_client/models/account_experience_theme_variables.py +1 -1
- ory_client/models/active_project_in_console.py +1 -1
- ory_client/models/add_project_to_workspace_body.py +1 -1
- ory_client/models/attribute.py +1 -1
- ory_client/models/attribute_filter.py +1 -1
- ory_client/models/attributes_count_datapoint.py +1 -1
- ory_client/models/authenticator_assurance_level.py +1 -1
- ory_client/models/batch_check_permission_body.py +4 -4
- ory_client/models/batch_check_permission_result.py +4 -4
- ory_client/models/batch_patch_identities_response.py +4 -4
- ory_client/models/billing_period_bucket.py +4 -4
- ory_client/models/check_opl_syntax_result.py +4 -4
- ory_client/models/check_permission_result.py +1 -1
- ory_client/models/check_permission_result_with_error.py +1 -1
- ory_client/models/cloud_account.py +1 -1
- ory_client/models/consistency_request_parameters.py +1 -1
- ory_client/models/continue_with.py +1 -1
- ory_client/models/continue_with_recovery_ui.py +1 -1
- ory_client/models/continue_with_recovery_ui_flow.py +1 -1
- ory_client/models/continue_with_redirect_browser_to.py +1 -1
- ory_client/models/continue_with_set_ory_session_token.py +1 -1
- ory_client/models/continue_with_settings_ui.py +1 -1
- ory_client/models/continue_with_settings_ui_flow.py +1 -1
- ory_client/models/continue_with_verification_ui.py +1 -1
- ory_client/models/continue_with_verification_ui_flow.py +1 -1
- ory_client/models/courier_message_status.py +1 -1
- ory_client/models/courier_message_type.py +1 -1
- ory_client/models/create_custom_domain_body.py +1 -1
- ory_client/models/create_event_stream_body.py +1 -1
- ory_client/models/create_fedcm_flow_response.py +4 -4
- ory_client/models/create_identity_body.py +7 -7
- ory_client/models/create_invite_response.py +4 -4
- ory_client/models/create_json_web_key_set.py +1 -1
- ory_client/models/create_project_api_key_request.py +1 -1
- ory_client/models/create_project_body.py +1 -1
- ory_client/models/create_project_branding.py +1 -1
- ory_client/models/create_project_member_invite_body.py +1 -1
- ory_client/models/create_project_normalized_payload.py +22 -22
- ory_client/models/create_recovery_code_for_identity_body.py +1 -1
- ory_client/models/create_recovery_link_for_identity_body.py +1 -1
- ory_client/models/create_relationship_body.py +1 -1
- ory_client/models/create_subscription_body.py +1 -1
- ory_client/models/create_subscription_common.py +1 -1
- ory_client/models/create_verifiable_credential_request_body.py +1 -1
- ory_client/models/create_workspace_api_key_body.py +1 -1
- ory_client/models/create_workspace_body.py +1 -1
- ory_client/models/create_workspace_member_invite_body.py +1 -1
- ory_client/models/create_workspace_subscription_body.py +1 -1
- ory_client/models/credential_supported_draft00.py +1 -1
- ory_client/models/custom_domain.py +1 -1
- ory_client/models/delete_my_sessions_count.py +1 -1
- ory_client/models/email_template_data.py +1 -1
- ory_client/models/email_template_data_body.py +1 -1
- ory_client/models/error_authenticator_assurance_level_not_satisfied.py +1 -1
- ory_client/models/error_browser_location_change_required.py +1 -1
- ory_client/models/error_flow_replaced.py +1 -1
- ory_client/models/error_generic.py +1 -1
- ory_client/models/error_o_auth2.py +1 -1
- ory_client/models/event_stream.py +1 -1
- ory_client/models/expanded_permission_tree.py +4 -4
- ory_client/models/flow_error.py +1 -1
- ory_client/models/generic_error.py +1 -1
- ory_client/models/generic_error_content.py +1 -1
- ory_client/models/generic_usage.py +1 -1
- ory_client/models/get_attributes_count_response.py +4 -4
- ory_client/models/get_managed_identity_schema_location.py +1 -1
- ory_client/models/get_metrics_event_attributes_response.py +1 -1
- ory_client/models/get_metrics_event_types_response.py +1 -1
- ory_client/models/get_organization_response.py +1 -1
- ory_client/models/get_project_events_body.py +4 -4
- ory_client/models/get_project_events_response.py +4 -4
- ory_client/models/get_project_metrics_response.py +4 -4
- ory_client/models/get_session_activity_response.py +4 -4
- ory_client/models/get_version200_response.py +1 -1
- ory_client/models/health_not_ready_status.py +1 -1
- ory_client/models/health_status.py +1 -1
- ory_client/models/identity.py +10 -10
- ory_client/models/identity_credentials.py +1 -1
- ory_client/models/identity_credentials_code.py +4 -4
- ory_client/models/identity_credentials_code_address.py +1 -1
- ory_client/models/identity_credentials_oidc.py +4 -4
- ory_client/models/identity_credentials_oidc_provider.py +1 -1
- ory_client/models/identity_credentials_password.py +1 -1
- ory_client/models/identity_patch.py +1 -1
- ory_client/models/identity_patch_response.py +1 -1
- ory_client/models/identity_schema_container.py +1 -1
- ory_client/models/identity_schema_preset.py +1 -1
- ory_client/models/identity_with_credentials.py +1 -1
- ory_client/models/identity_with_credentials_oidc.py +1 -1
- ory_client/models/identity_with_credentials_oidc_config.py +4 -4
- ory_client/models/identity_with_credentials_oidc_config_provider.py +1 -1
- ory_client/models/identity_with_credentials_password.py +1 -1
- ory_client/models/identity_with_credentials_password_config.py +1 -1
- ory_client/models/internal_get_project_branding_body.py +1 -1
- ory_client/models/internal_is_ax_welcome_screen_enabled_for_project_body.py +1 -1
- ory_client/models/internal_is_owner_for_project_by_slug_body.py +1 -1
- ory_client/models/internal_is_owner_for_project_by_slug_response.py +1 -1
- ory_client/models/introspected_o_auth2_token.py +1 -1
- ory_client/models/invite_token_body.py +1 -1
- ory_client/models/invoice.py +1 -1
- ory_client/models/invoice_data_v1.py +4 -4
- ory_client/models/is_owner_for_project_by_slug.py +1 -1
- ory_client/models/json_patch.py +1 -1
- ory_client/models/json_web_key.py +1 -1
- ory_client/models/json_web_key_set.py +4 -4
- ory_client/models/keto_namespace.py +1 -1
- ory_client/models/line_item_v1.py +4 -4
- ory_client/models/list_event_streams.py +4 -4
- ory_client/models/list_invoices_response.py +4 -4
- ory_client/models/list_organizations_response.py +4 -4
- ory_client/models/list_workspace_projects.py +4 -4
- ory_client/models/list_workspaces.py +4 -4
- ory_client/models/login_flow.py +1 -1
- ory_client/models/login_flow_state.py +1 -1
- ory_client/models/logout_flow.py +1 -1
- ory_client/models/managed_identity_schema.py +1 -1
- ory_client/models/managed_identity_schema_validation_result.py +1 -1
- ory_client/models/member_invite.py +1 -1
- ory_client/models/message.py +4 -4
- ory_client/models/message_dispatch.py +1 -1
- ory_client/models/metrics_datapoint.py +1 -1
- ory_client/models/money.py +1 -1
- ory_client/models/namespace.py +1 -1
- ory_client/models/needs_privileged_session_error.py +1 -1
- ory_client/models/normalized_project.py +1 -1
- ory_client/models/normalized_project_revision.py +22 -22
- ory_client/models/normalized_project_revision_courier_channel.py +1 -1
- ory_client/models/normalized_project_revision_hook.py +1 -1
- ory_client/models/normalized_project_revision_identity_schema.py +1 -1
- ory_client/models/normalized_project_revision_saml_provider.py +1 -1
- ory_client/models/normalized_project_revision_third_party_provider.py +1 -1
- ory_client/models/normalized_project_revision_tokenizer_template.py +1 -1
- ory_client/models/o_auth2_client.py +1 -1
- ory_client/models/o_auth2_client_token_lifespans.py +1 -1
- ory_client/models/o_auth2_consent_request.py +1 -1
- ory_client/models/o_auth2_consent_request_open_id_connect_context.py +1 -1
- ory_client/models/o_auth2_consent_session.py +1 -1
- ory_client/models/o_auth2_consent_session_expires_at.py +1 -1
- ory_client/models/o_auth2_login_request.py +1 -1
- ory_client/models/o_auth2_logout_request.py +1 -1
- ory_client/models/o_auth2_redirect_to.py +1 -1
- ory_client/models/o_auth2_token_exchange.py +1 -1
- ory_client/models/oidc_configuration.py +4 -4
- ory_client/models/oidc_user_info.py +1 -1
- ory_client/models/organization.py +1 -1
- ory_client/models/organization_body.py +1 -1
- ory_client/models/pagination.py +1 -1
- ory_client/models/pagination_headers.py +1 -1
- ory_client/models/parse_error.py +1 -1
- ory_client/models/patch_identities_body.py +4 -4
- ory_client/models/perform_native_logout_body.py +1 -1
- ory_client/models/permissions_on_workspace.py +1 -1
- ory_client/models/plan.py +1 -1
- ory_client/models/plan_details.py +4 -4
- ory_client/models/post_check_permission_body.py +1 -1
- ory_client/models/post_check_permission_or_error_body.py +1 -1
- ory_client/models/project.py +1 -1
- ory_client/models/project_api_key.py +1 -1
- ory_client/models/project_branding.py +4 -4
- ory_client/models/project_branding_colors.py +1 -1
- ory_client/models/project_branding_theme.py +4 -4
- ory_client/models/project_cors.py +1 -1
- ory_client/models/project_events_datapoint.py +4 -4
- ory_client/models/project_host.py +1 -1
- ory_client/models/project_member.py +1 -1
- ory_client/models/project_metadata.py +1 -1
- ory_client/models/project_service_identity.py +1 -1
- ory_client/models/project_service_o_auth2.py +1 -1
- ory_client/models/project_service_permission.py +1 -1
- ory_client/models/project_services.py +1 -1
- ory_client/models/provider.py +1 -1
- ory_client/models/quota_usage.py +1 -1
- ory_client/models/recovery_code_for_identity.py +1 -1
- ory_client/models/recovery_flow.py +4 -4
- ory_client/models/recovery_flow_state.py +1 -1
- ory_client/models/recovery_identity_address.py +1 -1
- ory_client/models/recovery_link_for_identity.py +1 -1
- ory_client/models/registration_flow.py +1 -1
- ory_client/models/registration_flow_state.py +1 -1
- ory_client/models/reject_o_auth2_request.py +1 -1
- ory_client/models/relation_query.py +1 -1
- ory_client/models/relationship.py +1 -1
- ory_client/models/relationship_namespaces.py +4 -4
- ory_client/models/relationship_patch.py +1 -1
- ory_client/models/relationships.py +4 -4
- ory_client/models/rfc6749_error_json.py +1 -1
- ory_client/models/schema_patch.py +1 -1
- ory_client/models/self_service_flow_expired_error.py +1 -1
- ory_client/models/session.py +7 -7
- ory_client/models/session_activity_datapoint.py +1 -1
- ory_client/models/session_authentication_method.py +1 -1
- ory_client/models/session_device.py +1 -1
- ory_client/models/set_active_project_in_console_body.py +1 -1
- ory_client/models/set_custom_domain_body.py +1 -1
- ory_client/models/set_event_stream_body.py +1 -1
- ory_client/models/set_project.py +1 -1
- ory_client/models/set_project_branding_theme_body.py +1 -1
- ory_client/models/settings_flow.py +4 -4
- ory_client/models/settings_flow_state.py +1 -1
- ory_client/models/source_position.py +1 -1
- ory_client/models/subject_set.py +1 -1
- ory_client/models/subscription.py +1 -1
- ory_client/models/successful_code_exchange_response.py +1 -1
- ory_client/models/successful_native_login.py +4 -4
- ory_client/models/successful_native_registration.py +4 -4
- ory_client/models/successful_project_update.py +4 -4
- ory_client/models/tax_line_item.py +1 -1
- ory_client/models/time_interval.py +1 -1
- ory_client/models/token_pagination.py +1 -1
- ory_client/models/token_pagination_headers.py +1 -1
- ory_client/models/token_pagination_request_parameters.py +1 -1
- ory_client/models/token_pagination_response_headers.py +1 -1
- ory_client/models/trust_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/models/trusted_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/models/trusted_o_auth2_jwt_grant_json_web_key.py +1 -1
- ory_client/models/ui_container.py +7 -7
- ory_client/models/ui_node.py +4 -4
- ory_client/models/ui_node_anchor_attributes.py +1 -1
- ory_client/models/ui_node_attributes.py +1 -1
- ory_client/models/ui_node_image_attributes.py +1 -1
- ory_client/models/ui_node_input_attributes.py +1 -1
- ory_client/models/ui_node_meta.py +1 -1
- ory_client/models/ui_node_script_attributes.py +1 -1
- ory_client/models/ui_node_text_attributes.py +1 -1
- ory_client/models/ui_text.py +1 -1
- ory_client/models/update_fedcm_flow_body.py +1 -1
- ory_client/models/update_identity_body.py +1 -1
- ory_client/models/update_login_flow_body.py +1 -1
- ory_client/models/update_login_flow_with_code_method.py +1 -1
- ory_client/models/update_login_flow_with_identifier_first_method.py +1 -1
- ory_client/models/update_login_flow_with_lookup_secret_method.py +1 -1
- ory_client/models/update_login_flow_with_oidc_method.py +1 -1
- ory_client/models/update_login_flow_with_passkey_method.py +1 -1
- ory_client/models/update_login_flow_with_password_method.py +1 -1
- ory_client/models/update_login_flow_with_totp_method.py +1 -1
- ory_client/models/update_login_flow_with_web_authn_method.py +1 -1
- ory_client/models/update_recovery_flow_body.py +1 -1
- ory_client/models/update_recovery_flow_with_code_method.py +1 -1
- ory_client/models/update_recovery_flow_with_link_method.py +1 -1
- ory_client/models/update_registration_flow_body.py +1 -1
- ory_client/models/update_registration_flow_with_code_method.py +1 -1
- ory_client/models/update_registration_flow_with_oidc_method.py +1 -1
- ory_client/models/update_registration_flow_with_passkey_method.py +1 -1
- ory_client/models/update_registration_flow_with_password_method.py +1 -1
- ory_client/models/update_registration_flow_with_profile_method.py +1 -1
- ory_client/models/update_registration_flow_with_web_authn_method.py +1 -1
- ory_client/models/update_settings_flow_body.py +1 -1
- ory_client/models/update_settings_flow_with_lookup_method.py +1 -1
- ory_client/models/update_settings_flow_with_oidc_method.py +1 -1
- ory_client/models/update_settings_flow_with_passkey_method.py +1 -1
- ory_client/models/update_settings_flow_with_password_method.py +1 -1
- ory_client/models/update_settings_flow_with_profile_method.py +1 -1
- ory_client/models/update_settings_flow_with_totp_method.py +1 -1
- ory_client/models/update_settings_flow_with_web_authn_method.py +1 -1
- ory_client/models/update_subscription_body.py +1 -1
- ory_client/models/update_verification_flow_body.py +1 -1
- ory_client/models/update_verification_flow_with_code_method.py +1 -1
- ory_client/models/update_verification_flow_with_link_method.py +1 -1
- ory_client/models/update_workspace_body.py +1 -1
- ory_client/models/usage.py +1 -1
- ory_client/models/verifiable_credential_priming_response.py +1 -1
- ory_client/models/verifiable_credential_proof.py +1 -1
- ory_client/models/verifiable_credential_response.py +1 -1
- ory_client/models/verifiable_identity_address.py +1 -1
- ory_client/models/verification_flow.py +1 -1
- ory_client/models/verification_flow_state.py +1 -1
- ory_client/models/version.py +1 -1
- ory_client/models/warning.py +1 -1
- ory_client/models/workspace.py +1 -1
- ory_client/models/workspace_api_key.py +1 -1
- ory_client/rest.py +2 -2
- {ory_client-1.16.10.dist-info → ory_client-1.17.2.dist-info}/METADATA +3 -3
- ory_client-1.17.2.dist-info/RECORD +302 -0
- ory_client-1.16.10.dist-info/RECORD +0 -302
- {ory_client-1.16.10.dist-info → ory_client-1.17.2.dist-info}/LICENSE +0 -0
- {ory_client-1.16.10.dist-info → ory_client-1.17.2.dist-info}/WHEEL +0 -0
- {ory_client-1.16.10.dist-info → ory_client-1.17.2.dist-info}/top_level.txt +0 -0
ory_client/api_client.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -16,6 +16,7 @@
|
|
16
16
|
import datetime
|
17
17
|
from dateutil.parser import parse
|
18
18
|
from enum import Enum
|
19
|
+
import decimal
|
19
20
|
import json
|
20
21
|
import mimetypes
|
21
22
|
import os
|
@@ -67,6 +68,7 @@ class ApiClient:
|
|
67
68
|
'bool': bool,
|
68
69
|
'date': datetime.date,
|
69
70
|
'datetime': datetime.datetime,
|
71
|
+
'decimal': decimal.Decimal,
|
70
72
|
'object': object,
|
71
73
|
}
|
72
74
|
_pool = None
|
@@ -89,7 +91,7 @@ class ApiClient:
|
|
89
91
|
self.default_headers[header_name] = header_value
|
90
92
|
self.cookie = cookie
|
91
93
|
# Set default User-Agent.
|
92
|
-
self.user_agent = 'OpenAPI-Generator/v1.
|
94
|
+
self.user_agent = 'OpenAPI-Generator/v1.17.2/python'
|
93
95
|
self.client_side_validation = configuration.client_side_validation
|
94
96
|
|
95
97
|
def __enter__(self):
|
@@ -339,6 +341,7 @@ class ApiClient:
|
|
339
341
|
If obj is str, int, long, float, bool, return directly.
|
340
342
|
If obj is datetime.datetime, datetime.date
|
341
343
|
convert to string in iso8601 format.
|
344
|
+
If obj is decimal.Decimal return string representation.
|
342
345
|
If obj is list, sanitize each element in the list.
|
343
346
|
If obj is dict, return the dict.
|
344
347
|
If obj is OpenAPI model, return the properties dict.
|
@@ -364,6 +367,8 @@ class ApiClient:
|
|
364
367
|
)
|
365
368
|
elif isinstance(obj, (datetime.datetime, datetime.date)):
|
366
369
|
return obj.isoformat()
|
370
|
+
elif isinstance(obj, decimal.Decimal):
|
371
|
+
return str(obj)
|
367
372
|
|
368
373
|
elif isinstance(obj, dict):
|
369
374
|
obj_dict = obj
|
@@ -400,12 +405,12 @@ class ApiClient:
|
|
400
405
|
data = json.loads(response_text)
|
401
406
|
except ValueError:
|
402
407
|
data = response_text
|
403
|
-
elif
|
408
|
+
elif re.match(r'^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE):
|
404
409
|
if response_text == "":
|
405
410
|
data = ""
|
406
411
|
else:
|
407
412
|
data = json.loads(response_text)
|
408
|
-
elif
|
413
|
+
elif re.match(r'^text\/[a-z.+-]+\s*(;|$)', content_type, re.IGNORECASE):
|
409
414
|
data = response_text
|
410
415
|
else:
|
411
416
|
raise ApiException(
|
@@ -455,6 +460,8 @@ class ApiClient:
|
|
455
460
|
return self.__deserialize_date(data)
|
456
461
|
elif klass == datetime.datetime:
|
457
462
|
return self.__deserialize_datetime(data)
|
463
|
+
elif klass == decimal.Decimal:
|
464
|
+
return decimal.Decimal(data)
|
458
465
|
elif issubclass(klass, Enum):
|
459
466
|
return self.__deserialize_enum(data, klass)
|
460
467
|
else:
|
@@ -511,7 +518,7 @@ class ApiClient:
|
|
511
518
|
if k in collection_formats:
|
512
519
|
collection_format = collection_formats[k]
|
513
520
|
if collection_format == 'multi':
|
514
|
-
new_params.extend((k, str(value)) for value in v)
|
521
|
+
new_params.extend((k, quote(str(value))) for value in v)
|
515
522
|
else:
|
516
523
|
if collection_format == 'ssv':
|
517
524
|
delimiter = ' '
|
@@ -529,7 +536,10 @@ class ApiClient:
|
|
529
536
|
|
530
537
|
return "&".join(["=".join(map(str, item)) for item in new_params])
|
531
538
|
|
532
|
-
def files_parameters(
|
539
|
+
def files_parameters(
|
540
|
+
self,
|
541
|
+
files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]],
|
542
|
+
):
|
533
543
|
"""Builds form parameters.
|
534
544
|
|
535
545
|
:param files: File parameters.
|
@@ -544,6 +554,12 @@ class ApiClient:
|
|
544
554
|
elif isinstance(v, bytes):
|
545
555
|
filename = k
|
546
556
|
filedata = v
|
557
|
+
elif isinstance(v, tuple):
|
558
|
+
filename, filedata = v
|
559
|
+
elif isinstance(v, list):
|
560
|
+
for file_param in v:
|
561
|
+
params.extend(self.files_parameters({k: file_param}))
|
562
|
+
continue
|
547
563
|
else:
|
548
564
|
raise ValueError("Unsupported file value")
|
549
565
|
mimetype = (
|
ory_client/configuration.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -14,14 +14,16 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
import copy
|
17
|
+
import http.client as httplib
|
17
18
|
import logging
|
18
19
|
from logging import FileHandler
|
19
20
|
import multiprocessing
|
20
21
|
import sys
|
21
|
-
from typing import Optional
|
22
|
+
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
|
23
|
+
from typing_extensions import NotRequired, Self
|
24
|
+
|
22
25
|
import urllib3
|
23
26
|
|
24
|
-
import http.client as httplib
|
25
27
|
|
26
28
|
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
27
29
|
'multipleOf', 'maximum', 'exclusiveMaximum',
|
@@ -29,6 +31,111 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|
29
31
|
'minLength', 'pattern', 'maxItems', 'minItems'
|
30
32
|
}
|
31
33
|
|
34
|
+
ServerVariablesT = Dict[str, str]
|
35
|
+
|
36
|
+
GenericAuthSetting = TypedDict(
|
37
|
+
"GenericAuthSetting",
|
38
|
+
{
|
39
|
+
"type": str,
|
40
|
+
"in": str,
|
41
|
+
"key": str,
|
42
|
+
"value": str,
|
43
|
+
},
|
44
|
+
)
|
45
|
+
|
46
|
+
|
47
|
+
OAuth2AuthSetting = TypedDict(
|
48
|
+
"OAuth2AuthSetting",
|
49
|
+
{
|
50
|
+
"type": Literal["oauth2"],
|
51
|
+
"in": Literal["header"],
|
52
|
+
"key": Literal["Authorization"],
|
53
|
+
"value": str,
|
54
|
+
},
|
55
|
+
)
|
56
|
+
|
57
|
+
|
58
|
+
APIKeyAuthSetting = TypedDict(
|
59
|
+
"APIKeyAuthSetting",
|
60
|
+
{
|
61
|
+
"type": Literal["api_key"],
|
62
|
+
"in": str,
|
63
|
+
"key": str,
|
64
|
+
"value": Optional[str],
|
65
|
+
},
|
66
|
+
)
|
67
|
+
|
68
|
+
|
69
|
+
BasicAuthSetting = TypedDict(
|
70
|
+
"BasicAuthSetting",
|
71
|
+
{
|
72
|
+
"type": Literal["basic"],
|
73
|
+
"in": Literal["header"],
|
74
|
+
"key": Literal["Authorization"],
|
75
|
+
"value": Optional[str],
|
76
|
+
},
|
77
|
+
)
|
78
|
+
|
79
|
+
|
80
|
+
BearerFormatAuthSetting = TypedDict(
|
81
|
+
"BearerFormatAuthSetting",
|
82
|
+
{
|
83
|
+
"type": Literal["bearer"],
|
84
|
+
"in": Literal["header"],
|
85
|
+
"format": Literal["JWT"],
|
86
|
+
"key": Literal["Authorization"],
|
87
|
+
"value": str,
|
88
|
+
},
|
89
|
+
)
|
90
|
+
|
91
|
+
|
92
|
+
BearerAuthSetting = TypedDict(
|
93
|
+
"BearerAuthSetting",
|
94
|
+
{
|
95
|
+
"type": Literal["bearer"],
|
96
|
+
"in": Literal["header"],
|
97
|
+
"key": Literal["Authorization"],
|
98
|
+
"value": str,
|
99
|
+
},
|
100
|
+
)
|
101
|
+
|
102
|
+
|
103
|
+
HTTPSignatureAuthSetting = TypedDict(
|
104
|
+
"HTTPSignatureAuthSetting",
|
105
|
+
{
|
106
|
+
"type": Literal["http-signature"],
|
107
|
+
"in": Literal["header"],
|
108
|
+
"key": Literal["Authorization"],
|
109
|
+
"value": None,
|
110
|
+
},
|
111
|
+
)
|
112
|
+
|
113
|
+
|
114
|
+
AuthSettings = TypedDict(
|
115
|
+
"AuthSettings",
|
116
|
+
{
|
117
|
+
"basic": BasicAuthSetting,
|
118
|
+
"bearer": BearerAuthSetting,
|
119
|
+
"oauth2": OAuth2AuthSetting,
|
120
|
+
"oryAccessToken": BearerAuthSetting,
|
121
|
+
"oryWorkspaceApiKey": BearerAuthSetting,
|
122
|
+
},
|
123
|
+
total=False,
|
124
|
+
)
|
125
|
+
|
126
|
+
|
127
|
+
class HostSettingVariable(TypedDict):
|
128
|
+
description: str
|
129
|
+
default_value: str
|
130
|
+
enum_values: List[str]
|
131
|
+
|
132
|
+
|
133
|
+
class HostSetting(TypedDict):
|
134
|
+
url: str
|
135
|
+
description: str
|
136
|
+
variables: NotRequired[Dict[str, HostSettingVariable]]
|
137
|
+
|
138
|
+
|
32
139
|
class Configuration:
|
33
140
|
"""This class contains various settings of the API client.
|
34
141
|
|
@@ -79,20 +186,26 @@ conf = ory_client.Configuration(
|
|
79
186
|
|
80
187
|
"""
|
81
188
|
|
82
|
-
_default = None
|
83
|
-
|
84
|
-
def __init__(
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
189
|
+
_default: ClassVar[Optional[Self]] = None
|
190
|
+
|
191
|
+
def __init__(
|
192
|
+
self,
|
193
|
+
host: Optional[str]=None,
|
194
|
+
api_key: Optional[Dict[str, str]]=None,
|
195
|
+
api_key_prefix: Optional[Dict[str, str]]=None,
|
196
|
+
username: Optional[str]=None,
|
197
|
+
password: Optional[str]=None,
|
198
|
+
access_token: Optional[str]=None,
|
199
|
+
server_index: Optional[int]=None,
|
200
|
+
server_variables: Optional[ServerVariablesT]=None,
|
201
|
+
server_operation_index: Optional[Dict[int, int]]=None,
|
202
|
+
server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
|
203
|
+
ignore_operation_servers: bool=False,
|
204
|
+
ssl_ca_cert: Optional[str]=None,
|
205
|
+
retries: Optional[int] = None,
|
206
|
+
*,
|
207
|
+
debug: Optional[bool] = None,
|
208
|
+
) -> None:
|
96
209
|
"""Constructor
|
97
210
|
"""
|
98
211
|
self._base_path = "https://playground.projects.oryapis.com" if host is None else host
|
@@ -216,7 +329,7 @@ conf = ory_client.Configuration(
|
|
216
329
|
"""date format
|
217
330
|
"""
|
218
331
|
|
219
|
-
def __deepcopy__(self, memo):
|
332
|
+
def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
|
220
333
|
cls = self.__class__
|
221
334
|
result = cls.__new__(cls)
|
222
335
|
memo[id(self)] = result
|
@@ -230,11 +343,11 @@ conf = ory_client.Configuration(
|
|
230
343
|
result.debug = self.debug
|
231
344
|
return result
|
232
345
|
|
233
|
-
def __setattr__(self, name, value):
|
346
|
+
def __setattr__(self, name: str, value: Any) -> None:
|
234
347
|
object.__setattr__(self, name, value)
|
235
348
|
|
236
349
|
@classmethod
|
237
|
-
def set_default(cls, default):
|
350
|
+
def set_default(cls, default: Optional[Self]) -> None:
|
238
351
|
"""Set default instance of configuration.
|
239
352
|
|
240
353
|
It stores default configuration, which can be
|
@@ -245,7 +358,7 @@ conf = ory_client.Configuration(
|
|
245
358
|
cls._default = default
|
246
359
|
|
247
360
|
@classmethod
|
248
|
-
def get_default_copy(cls):
|
361
|
+
def get_default_copy(cls) -> Self:
|
249
362
|
"""Deprecated. Please use `get_default` instead.
|
250
363
|
|
251
364
|
Deprecated. Please use `get_default` instead.
|
@@ -255,7 +368,7 @@ conf = ory_client.Configuration(
|
|
255
368
|
return cls.get_default()
|
256
369
|
|
257
370
|
@classmethod
|
258
|
-
def get_default(cls):
|
371
|
+
def get_default(cls) -> Self:
|
259
372
|
"""Return the default configuration.
|
260
373
|
|
261
374
|
This method returns newly created, based on default constructor,
|
@@ -265,11 +378,11 @@ conf = ory_client.Configuration(
|
|
265
378
|
:return: The configuration object.
|
266
379
|
"""
|
267
380
|
if cls._default is None:
|
268
|
-
cls._default =
|
381
|
+
cls._default = cls()
|
269
382
|
return cls._default
|
270
383
|
|
271
384
|
@property
|
272
|
-
def logger_file(self):
|
385
|
+
def logger_file(self) -> Optional[str]:
|
273
386
|
"""The logger file.
|
274
387
|
|
275
388
|
If the logger_file is None, then add stream handler and remove file
|
@@ -281,7 +394,7 @@ conf = ory_client.Configuration(
|
|
281
394
|
return self.__logger_file
|
282
395
|
|
283
396
|
@logger_file.setter
|
284
|
-
def logger_file(self, value):
|
397
|
+
def logger_file(self, value: Optional[str]) -> None:
|
285
398
|
"""The logger file.
|
286
399
|
|
287
400
|
If the logger_file is None, then add stream handler and remove file
|
@@ -300,7 +413,7 @@ conf = ory_client.Configuration(
|
|
300
413
|
logger.addHandler(self.logger_file_handler)
|
301
414
|
|
302
415
|
@property
|
303
|
-
def debug(self):
|
416
|
+
def debug(self) -> bool:
|
304
417
|
"""Debug status
|
305
418
|
|
306
419
|
:param value: The debug status, True or False.
|
@@ -309,7 +422,7 @@ conf = ory_client.Configuration(
|
|
309
422
|
return self.__debug
|
310
423
|
|
311
424
|
@debug.setter
|
312
|
-
def debug(self, value):
|
425
|
+
def debug(self, value: bool) -> None:
|
313
426
|
"""Debug status
|
314
427
|
|
315
428
|
:param value: The debug status, True or False.
|
@@ -331,7 +444,7 @@ conf = ory_client.Configuration(
|
|
331
444
|
httplib.HTTPConnection.debuglevel = 0
|
332
445
|
|
333
446
|
@property
|
334
|
-
def logger_format(self):
|
447
|
+
def logger_format(self) -> str:
|
335
448
|
"""The logger format.
|
336
449
|
|
337
450
|
The logger_formatter will be updated when sets logger_format.
|
@@ -342,7 +455,7 @@ conf = ory_client.Configuration(
|
|
342
455
|
return self.__logger_format
|
343
456
|
|
344
457
|
@logger_format.setter
|
345
|
-
def logger_format(self, value):
|
458
|
+
def logger_format(self, value: str) -> None:
|
346
459
|
"""The logger format.
|
347
460
|
|
348
461
|
The logger_formatter will be updated when sets logger_format.
|
@@ -353,7 +466,7 @@ conf = ory_client.Configuration(
|
|
353
466
|
self.__logger_format = value
|
354
467
|
self.logger_formatter = logging.Formatter(self.__logger_format)
|
355
468
|
|
356
|
-
def get_api_key_with_prefix(self, identifier, alias=None):
|
469
|
+
def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]:
|
357
470
|
"""Gets API key (with prefix if set).
|
358
471
|
|
359
472
|
:param identifier: The identifier of apiKey.
|
@@ -370,7 +483,9 @@ conf = ory_client.Configuration(
|
|
370
483
|
else:
|
371
484
|
return key
|
372
485
|
|
373
|
-
|
486
|
+
return None
|
487
|
+
|
488
|
+
def get_basic_auth_token(self) -> Optional[str]:
|
374
489
|
"""Gets HTTP basic authentication header (string).
|
375
490
|
|
376
491
|
:return: The token for basic HTTP authentication.
|
@@ -385,12 +500,12 @@ conf = ory_client.Configuration(
|
|
385
500
|
basic_auth=username + ':' + password
|
386
501
|
).get('authorization')
|
387
502
|
|
388
|
-
def auth_settings(self):
|
503
|
+
def auth_settings(self)-> AuthSettings:
|
389
504
|
"""Gets Auth Settings dict for api client.
|
390
505
|
|
391
506
|
:return: The Auth Settings information dict.
|
392
507
|
"""
|
393
|
-
auth = {}
|
508
|
+
auth: AuthSettings = {}
|
394
509
|
if self.username is not None and self.password is not None:
|
395
510
|
auth['basic'] = {
|
396
511
|
'type': 'basic',
|
@@ -428,7 +543,7 @@ conf = ory_client.Configuration(
|
|
428
543
|
}
|
429
544
|
return auth
|
430
545
|
|
431
|
-
def to_debug_report(self):
|
546
|
+
def to_debug_report(self) -> str:
|
432
547
|
"""Gets the essential information for debugging.
|
433
548
|
|
434
549
|
:return: The report for debugging.
|
@@ -436,11 +551,11 @@ conf = ory_client.Configuration(
|
|
436
551
|
return "Python SDK Debug Report:\n"\
|
437
552
|
"OS: {env}\n"\
|
438
553
|
"Python Version: {pyversion}\n"\
|
439
|
-
"Version of the API: v1.
|
440
|
-
"SDK Package Version: v1.
|
554
|
+
"Version of the API: v1.17.2\n"\
|
555
|
+
"SDK Package Version: v1.17.2".\
|
441
556
|
format(env=sys.platform, pyversion=sys.version)
|
442
557
|
|
443
|
-
def get_host_settings(self):
|
558
|
+
def get_host_settings(self) -> List[HostSetting]:
|
444
559
|
"""Gets an array of host settings
|
445
560
|
|
446
561
|
:return: An array of host settings
|
@@ -458,7 +573,12 @@ conf = ory_client.Configuration(
|
|
458
573
|
}
|
459
574
|
]
|
460
575
|
|
461
|
-
def get_host_from_settings(
|
576
|
+
def get_host_from_settings(
|
577
|
+
self,
|
578
|
+
index: Optional[int],
|
579
|
+
variables: Optional[ServerVariablesT]=None,
|
580
|
+
servers: Optional[List[HostSetting]]=None,
|
581
|
+
) -> str:
|
462
582
|
"""Gets host URL based on the index and variables
|
463
583
|
:param index: array index of the host settings
|
464
584
|
:param variables: hash of variable and the corresponding value
|
@@ -498,12 +618,12 @@ conf = ory_client.Configuration(
|
|
498
618
|
return url
|
499
619
|
|
500
620
|
@property
|
501
|
-
def host(self):
|
621
|
+
def host(self) -> str:
|
502
622
|
"""Return generated host."""
|
503
623
|
return self.get_host_from_settings(self.server_index, variables=self.server_variables)
|
504
624
|
|
505
625
|
@host.setter
|
506
|
-
def host(self, value):
|
626
|
+
def host(self, value: str) -> None:
|
507
627
|
"""Fix base path."""
|
508
628
|
self._base_path = value
|
509
629
|
self.server_index = None
|
ory_client/exceptions.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -151,6 +151,13 @@ class ApiException(OpenApiException):
|
|
151
151
|
if http_resp.status == 404:
|
152
152
|
raise NotFoundException(http_resp=http_resp, body=body, data=data)
|
153
153
|
|
154
|
+
# Added new conditions for 409 and 422
|
155
|
+
if http_resp.status == 409:
|
156
|
+
raise ConflictException(http_resp=http_resp, body=body, data=data)
|
157
|
+
|
158
|
+
if http_resp.status == 422:
|
159
|
+
raise UnprocessableEntityException(http_resp=http_resp, body=body, data=data)
|
160
|
+
|
154
161
|
if 500 <= http_resp.status <= 599:
|
155
162
|
raise ServiceException(http_resp=http_resp, body=body, data=data)
|
156
163
|
raise ApiException(http_resp=http_resp, body=body, data=data)
|
@@ -189,6 +196,16 @@ class ServiceException(ApiException):
|
|
189
196
|
pass
|
190
197
|
|
191
198
|
|
199
|
+
class ConflictException(ApiException):
|
200
|
+
"""Exception for HTTP 409 Conflict."""
|
201
|
+
pass
|
202
|
+
|
203
|
+
|
204
|
+
class UnprocessableEntityException(ApiException):
|
205
|
+
"""Exception for HTTP 422 Unprocessable Entity."""
|
206
|
+
pass
|
207
|
+
|
208
|
+
|
192
209
|
def render_path(path_to_item):
|
193
210
|
"""Returns a string representation of a path"""
|
194
211
|
result = ""
|
ory_client/models/__init__.py
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
8
8
|
|
9
|
-
The version of the OpenAPI document: v1.
|
9
|
+
The version of the OpenAPI document: v1.17.2
|
10
10
|
Contact: support@ory.sh
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Introduction 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. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.2
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|