ory-client 1.12.1__py3-none-any.whl → 1.16.10__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 +16 -3
- ory_client/api/courier_api.py +17 -15
- ory_client/api/events_api.py +30 -26
- ory_client/api/frontend_api.py +1677 -1064
- ory_client/api/identity_api.py +161 -126
- ory_client/api/jwk_api.py +51 -44
- ory_client/api/metadata_api.py +9 -8
- ory_client/api/o_auth2_api.py +236 -191
- ory_client/api/oidc_api.py +52 -45
- ory_client/api/permission_api.py +331 -32
- ory_client/api/project_api.py +482 -145
- ory_client/api/relationship_api.py +44 -38
- ory_client/api/wellknown_api.py +12 -11
- ory_client/api/workspace_api.py +870 -34
- ory_client/api_client.py +54 -31
- ory_client/configuration.py +23 -9
- ory_client/exceptions.py +2 -2
- ory_client/models/__init__.py +15 -2
- ory_client/models/accept_o_auth2_consent_request.py +2 -2
- ory_client/models/accept_o_auth2_consent_request_session.py +2 -2
- ory_client/models/accept_o_auth2_login_request.py +2 -2
- ory_client/models/account_experience_colors.py +329 -0
- ory_client/models/account_experience_configuration.py +35 -13
- ory_client/models/account_experience_theme_variables.py +2 -2
- ory_client/models/active_project_in_console.py +2 -2
- ory_client/models/add_project_to_workspace_body.py +2 -2
- ory_client/models/attribute.py +2 -2
- ory_client/models/attribute_filter.py +2 -2
- ory_client/models/attributes_count_datapoint.py +2 -2
- ory_client/models/authenticator_assurance_level.py +2 -2
- ory_client/models/batch_check_permission_body.py +109 -0
- ory_client/models/batch_check_permission_result.py +109 -0
- ory_client/models/batch_patch_identities_response.py +2 -2
- ory_client/models/billing_period_bucket.py +2 -2
- ory_client/models/check_opl_syntax_result.py +2 -2
- ory_client/models/check_permission_result.py +2 -2
- ory_client/models/check_permission_result_with_error.py +103 -0
- ory_client/models/cloud_account.py +6 -4
- ory_client/models/consistency_request_parameters.py +2 -2
- ory_client/models/continue_with.py +35 -11
- ory_client/models/continue_with_recovery_ui.py +2 -2
- ory_client/models/continue_with_recovery_ui_flow.py +3 -3
- ory_client/models/continue_with_redirect_browser_to.py +110 -0
- ory_client/models/continue_with_set_ory_session_token.py +2 -2
- ory_client/models/continue_with_settings_ui.py +2 -2
- ory_client/models/continue_with_settings_ui_flow.py +7 -5
- ory_client/models/continue_with_verification_ui.py +2 -2
- ory_client/models/continue_with_verification_ui_flow.py +3 -3
- ory_client/models/courier_message_status.py +2 -2
- ory_client/models/courier_message_type.py +2 -2
- ory_client/models/create_custom_domain_body.py +2 -2
- ory_client/models/create_event_stream_body.py +2 -2
- ory_client/models/create_fedcm_flow_response.py +111 -0
- ory_client/models/create_identity_body.py +10 -3
- ory_client/models/create_invite_response.py +2 -2
- ory_client/models/create_json_web_key_set.py +2 -2
- ory_client/models/create_project_api_key_request.py +7 -4
- ory_client/models/create_project_body.py +5 -5
- ory_client/models/create_project_branding.py +2 -2
- ory_client/models/create_project_member_invite_body.py +2 -2
- ory_client/models/create_project_normalized_payload.py +42 -6
- ory_client/models/create_recovery_code_for_identity_body.py +2 -2
- ory_client/models/create_recovery_link_for_identity_body.py +2 -2
- ory_client/models/create_relationship_body.py +2 -2
- ory_client/models/create_subscription_body.py +2 -2
- ory_client/models/create_subscription_common.py +2 -2
- ory_client/models/create_verifiable_credential_request_body.py +2 -2
- ory_client/models/create_workspace_api_key_body.py +104 -0
- ory_client/models/create_workspace_body.py +2 -2
- ory_client/models/create_workspace_member_invite_body.py +16 -7
- ory_client/models/create_workspace_subscription_body.py +2 -2
- ory_client/models/credential_supported_draft00.py +2 -2
- ory_client/models/custom_domain.py +2 -2
- ory_client/models/delete_my_sessions_count.py +2 -2
- ory_client/models/email_template_data.py +2 -2
- ory_client/models/email_template_data_body.py +2 -2
- ory_client/models/error_authenticator_assurance_level_not_satisfied.py +2 -2
- ory_client/models/error_browser_location_change_required.py +2 -2
- ory_client/models/error_flow_replaced.py +2 -2
- ory_client/models/error_generic.py +2 -2
- ory_client/models/error_o_auth2.py +2 -2
- ory_client/models/event_stream.py +2 -2
- ory_client/models/expanded_permission_tree.py +2 -2
- ory_client/models/flow_error.py +2 -2
- ory_client/models/generic_error.py +2 -2
- ory_client/models/generic_error_content.py +2 -2
- ory_client/models/generic_usage.py +2 -2
- ory_client/models/get_attributes_count_response.py +2 -2
- ory_client/models/get_managed_identity_schema_location.py +2 -2
- ory_client/models/get_metrics_event_attributes_response.py +2 -2
- ory_client/models/get_metrics_event_types_response.py +2 -2
- ory_client/models/get_organization_response.py +2 -2
- ory_client/models/get_project_events_body.py +2 -2
- ory_client/models/get_project_events_response.py +2 -2
- ory_client/models/get_project_metrics_response.py +2 -2
- ory_client/models/get_session_activity_response.py +2 -2
- ory_client/models/get_version200_response.py +2 -2
- ory_client/models/health_not_ready_status.py +2 -2
- ory_client/models/health_status.py +2 -2
- ory_client/models/identity.py +2 -2
- ory_client/models/identity_credentials.py +5 -5
- ory_client/models/identity_credentials_code.py +14 -14
- ory_client/models/identity_credentials_code_address.py +103 -0
- ory_client/models/identity_credentials_oidc.py +2 -2
- ory_client/models/identity_credentials_oidc_provider.py +7 -5
- ory_client/models/identity_credentials_password.py +7 -5
- ory_client/models/identity_patch.py +2 -2
- ory_client/models/identity_patch_response.py +13 -6
- ory_client/models/identity_schema_container.py +2 -2
- ory_client/models/identity_schema_preset.py +2 -2
- ory_client/models/identity_with_credentials.py +2 -2
- ory_client/models/identity_with_credentials_oidc.py +2 -2
- ory_client/models/identity_with_credentials_oidc_config.py +2 -2
- ory_client/models/identity_with_credentials_oidc_config_provider.py +8 -6
- ory_client/models/identity_with_credentials_password.py +2 -2
- ory_client/models/identity_with_credentials_password_config.py +7 -5
- ory_client/models/internal_get_project_branding_body.py +2 -2
- ory_client/models/internal_is_ax_welcome_screen_enabled_for_project_body.py +2 -2
- ory_client/models/internal_is_owner_for_project_by_slug_body.py +3 -3
- ory_client/models/internal_is_owner_for_project_by_slug_response.py +2 -2
- ory_client/models/introspected_o_auth2_token.py +2 -2
- ory_client/models/invite_token_body.py +101 -0
- ory_client/models/invoice.py +3 -3
- ory_client/models/invoice_data_v1.py +9 -5
- ory_client/models/is_owner_for_project_by_slug.py +3 -3
- ory_client/models/json_patch.py +2 -2
- ory_client/models/json_web_key.py +2 -2
- ory_client/models/json_web_key_set.py +2 -2
- ory_client/models/keto_namespace.py +2 -2
- ory_client/models/line_item_v1.py +2 -2
- ory_client/models/list_event_streams.py +2 -2
- ory_client/models/list_invoices_response.py +2 -2
- ory_client/models/list_organizations_response.py +2 -2
- ory_client/models/list_workspace_projects.py +2 -2
- ory_client/models/list_workspaces.py +2 -2
- ory_client/models/login_flow.py +5 -5
- ory_client/models/login_flow_state.py +3 -3
- ory_client/models/logout_flow.py +2 -2
- ory_client/models/managed_identity_schema.py +2 -2
- ory_client/models/managed_identity_schema_validation_result.py +2 -2
- ory_client/models/member_invite.py +10 -3
- ory_client/models/message.py +2 -2
- ory_client/models/message_dispatch.py +2 -2
- ory_client/models/metrics_datapoint.py +2 -2
- ory_client/models/money.py +2 -2
- ory_client/models/namespace.py +2 -2
- ory_client/models/needs_privileged_session_error.py +2 -2
- ory_client/models/normalized_project.py +5 -5
- ory_client/models/normalized_project_revision.py +39 -3
- ory_client/models/normalized_project_revision_courier_channel.py +2 -2
- ory_client/models/normalized_project_revision_hook.py +2 -2
- ory_client/models/normalized_project_revision_identity_schema.py +2 -2
- ory_client/models/normalized_project_revision_saml_provider.py +148 -0
- ory_client/models/normalized_project_revision_third_party_provider.py +34 -3
- ory_client/models/normalized_project_revision_tokenizer_template.py +2 -2
- ory_client/models/o_auth2_client.py +3 -3
- ory_client/models/o_auth2_client_token_lifespans.py +2 -2
- ory_client/models/o_auth2_consent_request.py +6 -4
- ory_client/models/o_auth2_consent_request_open_id_connect_context.py +2 -2
- ory_client/models/o_auth2_consent_session.py +5 -3
- ory_client/models/o_auth2_consent_session_expires_at.py +2 -2
- ory_client/models/o_auth2_login_request.py +3 -3
- ory_client/models/o_auth2_logout_request.py +9 -4
- ory_client/models/o_auth2_redirect_to.py +2 -2
- ory_client/models/o_auth2_token_exchange.py +2 -2
- ory_client/models/oidc_configuration.py +2 -2
- ory_client/models/oidc_user_info.py +2 -2
- ory_client/models/organization.py +2 -2
- ory_client/models/organization_body.py +2 -2
- ory_client/models/pagination.py +2 -2
- ory_client/models/pagination_headers.py +2 -2
- ory_client/models/parse_error.py +2 -2
- ory_client/models/patch_identities_body.py +2 -2
- ory_client/models/perform_native_logout_body.py +2 -2
- ory_client/models/permissions_on_workspace.py +2 -2
- ory_client/models/plan.py +2 -2
- ory_client/models/plan_details.py +2 -2
- ory_client/models/post_check_permission_body.py +2 -2
- ory_client/models/post_check_permission_or_error_body.py +2 -2
- ory_client/models/project.py +5 -5
- ory_client/models/project_api_key.py +5 -3
- ory_client/models/project_branding.py +2 -2
- ory_client/models/project_branding_colors.py +2 -2
- ory_client/models/project_branding_theme.py +2 -2
- ory_client/models/project_cors.py +2 -2
- ory_client/models/project_events_datapoint.py +2 -2
- ory_client/models/project_host.py +2 -2
- ory_client/models/project_member.py +6 -4
- ory_client/models/project_metadata.py +5 -5
- ory_client/models/project_service_identity.py +2 -2
- ory_client/models/project_service_o_auth2.py +2 -2
- ory_client/models/project_service_permission.py +2 -2
- ory_client/models/project_services.py +2 -2
- ory_client/models/provider.py +113 -0
- ory_client/models/quota_usage.py +8 -6
- ory_client/models/recovery_code_for_identity.py +2 -2
- ory_client/models/recovery_flow.py +2 -2
- ory_client/models/recovery_flow_state.py +3 -3
- ory_client/models/recovery_identity_address.py +2 -2
- ory_client/models/recovery_link_for_identity.py +2 -2
- ory_client/models/registration_flow.py +5 -5
- ory_client/models/registration_flow_state.py +3 -3
- ory_client/models/reject_o_auth2_request.py +2 -2
- ory_client/models/relation_query.py +2 -2
- ory_client/models/relationship.py +2 -2
- ory_client/models/relationship_namespaces.py +2 -2
- ory_client/models/relationship_patch.py +2 -2
- ory_client/models/relationships.py +2 -2
- ory_client/models/rfc6749_error_json.py +2 -2
- ory_client/models/schema_patch.py +2 -2
- ory_client/models/self_service_flow_expired_error.py +2 -2
- ory_client/models/session.py +2 -2
- ory_client/models/session_activity_datapoint.py +2 -2
- ory_client/models/session_authentication_method.py +2 -2
- ory_client/models/session_device.py +2 -2
- ory_client/models/set_active_project_in_console_body.py +2 -2
- ory_client/models/set_custom_domain_body.py +2 -2
- ory_client/models/set_event_stream_body.py +2 -2
- ory_client/models/set_project.py +2 -2
- ory_client/models/set_project_branding_theme_body.py +2 -2
- ory_client/models/settings_flow.py +2 -2
- ory_client/models/settings_flow_state.py +3 -3
- ory_client/models/source_position.py +2 -2
- ory_client/models/subject_set.py +2 -2
- ory_client/models/subscription.py +2 -2
- ory_client/models/successful_code_exchange_response.py +2 -2
- ory_client/models/successful_native_login.py +2 -2
- ory_client/models/successful_native_registration.py +2 -2
- ory_client/models/successful_project_update.py +2 -2
- ory_client/models/tax_line_item.py +2 -2
- ory_client/models/time_interval.py +2 -2
- ory_client/models/token_pagination.py +2 -2
- ory_client/models/token_pagination_headers.py +2 -2
- ory_client/models/token_pagination_request_parameters.py +2 -2
- ory_client/models/token_pagination_response_headers.py +2 -2
- ory_client/models/trust_o_auth2_jwt_grant_issuer.py +2 -2
- ory_client/models/trusted_o_auth2_jwt_grant_issuer.py +2 -2
- ory_client/models/trusted_o_auth2_jwt_grant_json_web_key.py +2 -2
- ory_client/models/ui_container.py +2 -2
- ory_client/models/ui_node.py +5 -5
- ory_client/models/ui_node_anchor_attributes.py +2 -2
- ory_client/models/ui_node_attributes.py +4 -4
- ory_client/models/ui_node_image_attributes.py +2 -2
- ory_client/models/ui_node_input_attributes.py +32 -6
- ory_client/models/ui_node_meta.py +2 -2
- ory_client/models/ui_node_script_attributes.py +2 -2
- ory_client/models/ui_node_text_attributes.py +2 -2
- ory_client/models/ui_text.py +2 -2
- ory_client/models/update_fedcm_flow_body.py +105 -0
- ory_client/models/update_identity_body.py +2 -2
- ory_client/models/update_login_flow_body.py +35 -11
- ory_client/models/update_login_flow_with_code_method.py +5 -3
- ory_client/models/update_login_flow_with_identifier_first_method.py +107 -0
- ory_client/models/update_login_flow_with_lookup_secret_method.py +2 -2
- ory_client/models/update_login_flow_with_oidc_method.py +3 -3
- ory_client/models/update_login_flow_with_passkey_method.py +2 -2
- ory_client/models/update_login_flow_with_password_method.py +2 -2
- ory_client/models/update_login_flow_with_totp_method.py +2 -2
- ory_client/models/update_login_flow_with_web_authn_method.py +2 -2
- ory_client/models/update_recovery_flow_body.py +4 -4
- ory_client/models/update_recovery_flow_with_code_method.py +2 -2
- ory_client/models/update_recovery_flow_with_link_method.py +2 -2
- ory_client/models/update_registration_flow_body.py +36 -12
- ory_client/models/update_registration_flow_with_code_method.py +2 -2
- ory_client/models/update_registration_flow_with_oidc_method.py +3 -3
- ory_client/models/update_registration_flow_with_passkey_method.py +2 -2
- ory_client/models/update_registration_flow_with_password_method.py +2 -2
- ory_client/models/update_registration_flow_with_profile_method.py +14 -4
- ory_client/models/update_registration_flow_with_web_authn_method.py +2 -2
- ory_client/models/update_settings_flow_body.py +4 -4
- ory_client/models/update_settings_flow_with_lookup_method.py +2 -2
- ory_client/models/update_settings_flow_with_oidc_method.py +2 -2
- ory_client/models/update_settings_flow_with_passkey_method.py +2 -2
- ory_client/models/update_settings_flow_with_password_method.py +2 -2
- ory_client/models/update_settings_flow_with_profile_method.py +2 -2
- ory_client/models/update_settings_flow_with_totp_method.py +2 -2
- ory_client/models/update_settings_flow_with_web_authn_method.py +2 -2
- ory_client/models/update_subscription_body.py +2 -2
- ory_client/models/update_verification_flow_body.py +4 -4
- ory_client/models/update_verification_flow_with_code_method.py +2 -2
- ory_client/models/update_verification_flow_with_link_method.py +2 -2
- ory_client/models/update_workspace_body.py +2 -2
- ory_client/models/usage.py +2 -2
- ory_client/models/verifiable_credential_priming_response.py +2 -2
- ory_client/models/verifiable_credential_proof.py +2 -2
- ory_client/models/verifiable_credential_response.py +2 -2
- ory_client/models/verifiable_identity_address.py +2 -2
- ory_client/models/verification_flow.py +2 -2
- ory_client/models/verification_flow_state.py +3 -3
- ory_client/models/version.py +2 -2
- ory_client/models/warning.py +2 -2
- ory_client/models/workspace.py +2 -2
- ory_client/models/workspace_api_key.py +6 -4
- ory_client/rest.py +4 -2
- ory_client-1.16.10.dist-info/METADATA +18 -0
- ory_client-1.16.10.dist-info/RECORD +302 -0
- {ory_client-1.12.1.dist-info → ory_client-1.16.10.dist-info}/WHEEL +1 -1
- ory_client-1.12.1.dist-info/METADATA +0 -19
- ory_client-1.12.1.dist-info/RECORD +0 -289
- {ory_client-1.12.1.dist-info → ory_client-1.16.10.dist-info}/LICENSE +0 -0
- {ory_client-1.12.1.dist-info → ory_client-1.16.10.dist-info}/top_level.txt +0 -0
ory_client/api_client.py
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
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.
|
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.16.10
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -23,7 +23,8 @@ import re
|
|
23
23
|
import tempfile
|
24
24
|
|
25
25
|
from urllib.parse import quote
|
26
|
-
from typing import Tuple, Optional, List, Dict
|
26
|
+
from typing import Tuple, Optional, List, Dict, Union
|
27
|
+
from pydantic import SecretStr
|
27
28
|
|
28
29
|
from ory_client.configuration import Configuration
|
29
30
|
from ory_client.api_response import ApiResponse, T as ApiResponseT
|
@@ -88,7 +89,7 @@ class ApiClient:
|
|
88
89
|
self.default_headers[header_name] = header_value
|
89
90
|
self.cookie = cookie
|
90
91
|
# Set default User-Agent.
|
91
|
-
self.user_agent = 'OpenAPI-Generator/v1.
|
92
|
+
self.user_agent = 'OpenAPI-Generator/v1.16.10/python'
|
92
93
|
self.client_side_validation = configuration.client_side_validation
|
93
94
|
|
94
95
|
def __enter__(self):
|
@@ -208,7 +209,8 @@ class ApiClient:
|
|
208
209
|
post_params,
|
209
210
|
collection_formats
|
210
211
|
)
|
211
|
-
|
212
|
+
if files:
|
213
|
+
post_params.extend(self.files_parameters(files))
|
212
214
|
|
213
215
|
# auth setting
|
214
216
|
self.update_params_for_auth(
|
@@ -226,7 +228,7 @@ class ApiClient:
|
|
226
228
|
body = self.sanitize_for_serialization(body)
|
227
229
|
|
228
230
|
# request url
|
229
|
-
if _host is None:
|
231
|
+
if _host is None or self.configuration.ignore_operation_servers:
|
230
232
|
url = self.configuration.host + resource_path
|
231
233
|
else:
|
232
234
|
# use server/host defined in path or operation instead
|
@@ -313,7 +315,7 @@ class ApiClient:
|
|
313
315
|
match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type)
|
314
316
|
encoding = match.group(1) if match else "utf-8"
|
315
317
|
response_text = response_data.data.decode(encoding)
|
316
|
-
return_data = self.deserialize(response_text, response_type)
|
318
|
+
return_data = self.deserialize(response_text, response_type, content_type)
|
317
319
|
finally:
|
318
320
|
if not 200 <= response_data.status <= 299:
|
319
321
|
raise ApiException.from_response(
|
@@ -333,6 +335,7 @@ class ApiClient:
|
|
333
335
|
"""Builds a JSON POST object.
|
334
336
|
|
335
337
|
If obj is None, return None.
|
338
|
+
If obj is SecretStr, return obj.get_secret_value()
|
336
339
|
If obj is str, int, long, float, bool, return directly.
|
337
340
|
If obj is datetime.datetime, datetime.date
|
338
341
|
convert to string in iso8601 format.
|
@@ -345,6 +348,10 @@ class ApiClient:
|
|
345
348
|
"""
|
346
349
|
if obj is None:
|
347
350
|
return None
|
351
|
+
elif isinstance(obj, Enum):
|
352
|
+
return obj.value
|
353
|
+
elif isinstance(obj, SecretStr):
|
354
|
+
return obj.get_secret_value()
|
348
355
|
elif isinstance(obj, self.PRIMITIVE_TYPES):
|
349
356
|
return obj
|
350
357
|
elif isinstance(obj, list):
|
@@ -366,28 +373,45 @@ class ApiClient:
|
|
366
373
|
# and attributes which value is not None.
|
367
374
|
# Convert attribute name to json key in
|
368
375
|
# model definition for request.
|
369
|
-
|
376
|
+
if hasattr(obj, 'to_dict') and callable(getattr(obj, 'to_dict')):
|
377
|
+
obj_dict = obj.to_dict()
|
378
|
+
else:
|
379
|
+
obj_dict = obj.__dict__
|
370
380
|
|
371
381
|
return {
|
372
382
|
key: self.sanitize_for_serialization(val)
|
373
383
|
for key, val in obj_dict.items()
|
374
384
|
}
|
375
385
|
|
376
|
-
def deserialize(self, response_text, response_type):
|
386
|
+
def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
|
377
387
|
"""Deserializes response into an object.
|
378
388
|
|
379
389
|
:param response: RESTResponse object to be deserialized.
|
380
390
|
:param response_type: class literal for
|
381
391
|
deserialized object, or string of class name.
|
392
|
+
:param content_type: content type of response.
|
382
393
|
|
383
394
|
:return: deserialized object.
|
384
395
|
"""
|
385
396
|
|
386
397
|
# fetch data from response object
|
387
|
-
|
388
|
-
|
389
|
-
|
398
|
+
if content_type is None:
|
399
|
+
try:
|
400
|
+
data = json.loads(response_text)
|
401
|
+
except ValueError:
|
402
|
+
data = response_text
|
403
|
+
elif content_type.startswith("application/json"):
|
404
|
+
if response_text == "":
|
405
|
+
data = ""
|
406
|
+
else:
|
407
|
+
data = json.loads(response_text)
|
408
|
+
elif content_type.startswith("text/plain"):
|
390
409
|
data = response_text
|
410
|
+
else:
|
411
|
+
raise ApiException(
|
412
|
+
status=0,
|
413
|
+
reason="Unsupported content type: {0}".format(content_type)
|
414
|
+
)
|
391
415
|
|
392
416
|
return self.__deserialize(data, response_type)
|
393
417
|
|
@@ -505,31 +529,30 @@ class ApiClient:
|
|
505
529
|
|
506
530
|
return "&".join(["=".join(map(str, item)) for item in new_params])
|
507
531
|
|
508
|
-
def files_parameters(self, files
|
532
|
+
def files_parameters(self, files: Dict[str, Union[str, bytes]]):
|
509
533
|
"""Builds form parameters.
|
510
534
|
|
511
535
|
:param files: File parameters.
|
512
536
|
:return: Form parameters with files.
|
513
537
|
"""
|
514
538
|
params = []
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
539
|
+
for k, v in files.items():
|
540
|
+
if isinstance(v, str):
|
541
|
+
with open(v, 'rb') as f:
|
542
|
+
filename = os.path.basename(f.name)
|
543
|
+
filedata = f.read()
|
544
|
+
elif isinstance(v, bytes):
|
545
|
+
filename = k
|
546
|
+
filedata = v
|
547
|
+
else:
|
548
|
+
raise ValueError("Unsupported file value")
|
549
|
+
mimetype = (
|
550
|
+
mimetypes.guess_type(filename)[0]
|
551
|
+
or 'application/octet-stream'
|
552
|
+
)
|
553
|
+
params.append(
|
554
|
+
tuple([k, tuple([filename, filedata, mimetype])])
|
555
|
+
)
|
533
556
|
return params
|
534
557
|
|
535
558
|
def select_header_accept(self, accepts: List[str]) -> Optional[str]:
|
ory_client/configuration.py
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
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.
|
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.16.10
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -33,6 +33,9 @@ class Configuration:
|
|
33
33
|
"""This class contains various settings of the API client.
|
34
34
|
|
35
35
|
:param host: Base url.
|
36
|
+
:param ignore_operation_servers
|
37
|
+
Boolean to ignore operation servers for the API client.
|
38
|
+
Config will use `host` as the base url regardless of the operation servers.
|
36
39
|
:param api_key: Dict to store API key(s).
|
37
40
|
Each entry in the dict specifies an API key.
|
38
41
|
The dict key is the name of the security scheme in the OAS specification.
|
@@ -55,6 +58,7 @@ class Configuration:
|
|
55
58
|
values before.
|
56
59
|
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
57
60
|
in PEM format.
|
61
|
+
:param retries: Number of retries for API requests.
|
58
62
|
|
59
63
|
:Example:
|
60
64
|
|
@@ -83,11 +87,15 @@ conf = ory_client.Configuration(
|
|
83
87
|
access_token=None,
|
84
88
|
server_index=None, server_variables=None,
|
85
89
|
server_operation_index=None, server_operation_variables=None,
|
90
|
+
ignore_operation_servers=False,
|
86
91
|
ssl_ca_cert=None,
|
92
|
+
retries=None,
|
93
|
+
*,
|
94
|
+
debug: Optional[bool] = None
|
87
95
|
) -> None:
|
88
96
|
"""Constructor
|
89
97
|
"""
|
90
|
-
self._base_path = "https
|
98
|
+
self._base_path = "https://playground.projects.oryapis.com" if host is None else host
|
91
99
|
"""Default Base url
|
92
100
|
"""
|
93
101
|
self.server_index = 0 if server_index is None and host is None else server_index
|
@@ -98,6 +106,9 @@ conf = ory_client.Configuration(
|
|
98
106
|
self.server_operation_variables = server_operation_variables or {}
|
99
107
|
"""Default server variables
|
100
108
|
"""
|
109
|
+
self.ignore_operation_servers = ignore_operation_servers
|
110
|
+
"""Ignore operation servers
|
111
|
+
"""
|
101
112
|
self.temp_folder_path = None
|
102
113
|
"""Temp file folder for downloading files
|
103
114
|
"""
|
@@ -141,7 +152,10 @@ conf = ory_client.Configuration(
|
|
141
152
|
self.logger_file = None
|
142
153
|
"""Debug file location
|
143
154
|
"""
|
144
|
-
|
155
|
+
if debug is not None:
|
156
|
+
self.debug = debug
|
157
|
+
else:
|
158
|
+
self.__debug = False
|
145
159
|
"""Debug switch
|
146
160
|
"""
|
147
161
|
|
@@ -184,7 +198,7 @@ conf = ory_client.Configuration(
|
|
184
198
|
self.safe_chars_for_path_param = ''
|
185
199
|
"""Safe chars for path_param
|
186
200
|
"""
|
187
|
-
self.retries =
|
201
|
+
self.retries = retries
|
188
202
|
"""Adding retries to override urllib3 default value 3
|
189
203
|
"""
|
190
204
|
# Enable client side validation
|
@@ -422,8 +436,8 @@ conf = ory_client.Configuration(
|
|
422
436
|
return "Python SDK Debug Report:\n"\
|
423
437
|
"OS: {env}\n"\
|
424
438
|
"Python Version: {pyversion}\n"\
|
425
|
-
"Version of the API: v1.
|
426
|
-
"SDK Package Version: v1.
|
439
|
+
"Version of the API: v1.16.10\n"\
|
440
|
+
"SDK Package Version: v1.16.10".\
|
427
441
|
format(env=sys.platform, pyversion=sys.version)
|
428
442
|
|
429
443
|
def get_host_settings(self):
|
@@ -433,10 +447,10 @@ conf = ory_client.Configuration(
|
|
433
447
|
"""
|
434
448
|
return [
|
435
449
|
{
|
436
|
-
'url': "https://{
|
450
|
+
'url': "https://{project_slug}.projects.oryapis.com",
|
437
451
|
'description': "No description provided",
|
438
452
|
'variables': {
|
439
|
-
'
|
453
|
+
'project_slug': {
|
440
454
|
'description': "Your Ory Network Project slug. You can find it in the [Ory Network Console](https://console.ory.sh/projects/current/developers/guides).",
|
441
455
|
'default_value': "playground",
|
442
456
|
}
|
ory_client/exceptions.py
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
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.
|
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.16.10
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
ory_client/models/__init__.py
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
"""
|
5
5
|
Ory APIs
|
6
6
|
|
7
|
-
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.
|
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.16.10
|
10
10
|
Contact: support@ory.sh
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
from ory_client.models.accept_o_auth2_consent_request import AcceptOAuth2ConsentRequest
|
19
19
|
from ory_client.models.accept_o_auth2_consent_request_session import AcceptOAuth2ConsentRequestSession
|
20
20
|
from ory_client.models.accept_o_auth2_login_request import AcceptOAuth2LoginRequest
|
21
|
+
from ory_client.models.account_experience_colors import AccountExperienceColors
|
21
22
|
from ory_client.models.account_experience_configuration import AccountExperienceConfiguration
|
22
23
|
from ory_client.models.account_experience_theme_variables import AccountExperienceThemeVariables
|
23
24
|
from ory_client.models.active_project_in_console import ActiveProjectInConsole
|
@@ -26,15 +27,19 @@ from ory_client.models.attribute import Attribute
|
|
26
27
|
from ory_client.models.attribute_filter import AttributeFilter
|
27
28
|
from ory_client.models.attributes_count_datapoint import AttributesCountDatapoint
|
28
29
|
from ory_client.models.authenticator_assurance_level import AuthenticatorAssuranceLevel
|
30
|
+
from ory_client.models.batch_check_permission_body import BatchCheckPermissionBody
|
31
|
+
from ory_client.models.batch_check_permission_result import BatchCheckPermissionResult
|
29
32
|
from ory_client.models.batch_patch_identities_response import BatchPatchIdentitiesResponse
|
30
33
|
from ory_client.models.billing_period_bucket import BillingPeriodBucket
|
31
34
|
from ory_client.models.check_opl_syntax_result import CheckOplSyntaxResult
|
32
35
|
from ory_client.models.check_permission_result import CheckPermissionResult
|
36
|
+
from ory_client.models.check_permission_result_with_error import CheckPermissionResultWithError
|
33
37
|
from ory_client.models.cloud_account import CloudAccount
|
34
38
|
from ory_client.models.consistency_request_parameters import ConsistencyRequestParameters
|
35
39
|
from ory_client.models.continue_with import ContinueWith
|
36
40
|
from ory_client.models.continue_with_recovery_ui import ContinueWithRecoveryUi
|
37
41
|
from ory_client.models.continue_with_recovery_ui_flow import ContinueWithRecoveryUiFlow
|
42
|
+
from ory_client.models.continue_with_redirect_browser_to import ContinueWithRedirectBrowserTo
|
38
43
|
from ory_client.models.continue_with_set_ory_session_token import ContinueWithSetOrySessionToken
|
39
44
|
from ory_client.models.continue_with_settings_ui import ContinueWithSettingsUi
|
40
45
|
from ory_client.models.continue_with_settings_ui_flow import ContinueWithSettingsUiFlow
|
@@ -44,6 +49,7 @@ from ory_client.models.courier_message_status import CourierMessageStatus
|
|
44
49
|
from ory_client.models.courier_message_type import CourierMessageType
|
45
50
|
from ory_client.models.create_custom_domain_body import CreateCustomDomainBody
|
46
51
|
from ory_client.models.create_event_stream_body import CreateEventStreamBody
|
52
|
+
from ory_client.models.create_fedcm_flow_response import CreateFedcmFlowResponse
|
47
53
|
from ory_client.models.create_identity_body import CreateIdentityBody
|
48
54
|
from ory_client.models.create_invite_response import CreateInviteResponse
|
49
55
|
from ory_client.models.create_json_web_key_set import CreateJsonWebKeySet
|
@@ -58,6 +64,7 @@ from ory_client.models.create_relationship_body import CreateRelationshipBody
|
|
58
64
|
from ory_client.models.create_subscription_body import CreateSubscriptionBody
|
59
65
|
from ory_client.models.create_subscription_common import CreateSubscriptionCommon
|
60
66
|
from ory_client.models.create_verifiable_credential_request_body import CreateVerifiableCredentialRequestBody
|
67
|
+
from ory_client.models.create_workspace_api_key_body import CreateWorkspaceApiKeyBody
|
61
68
|
from ory_client.models.create_workspace_body import CreateWorkspaceBody
|
62
69
|
from ory_client.models.create_workspace_member_invite_body import CreateWorkspaceMemberInviteBody
|
63
70
|
from ory_client.models.create_workspace_subscription_body import CreateWorkspaceSubscriptionBody
|
@@ -92,6 +99,7 @@ from ory_client.models.health_status import HealthStatus
|
|
92
99
|
from ory_client.models.identity import Identity
|
93
100
|
from ory_client.models.identity_credentials import IdentityCredentials
|
94
101
|
from ory_client.models.identity_credentials_code import IdentityCredentialsCode
|
102
|
+
from ory_client.models.identity_credentials_code_address import IdentityCredentialsCodeAddress
|
95
103
|
from ory_client.models.identity_credentials_oidc import IdentityCredentialsOidc
|
96
104
|
from ory_client.models.identity_credentials_oidc_provider import IdentityCredentialsOidcProvider
|
97
105
|
from ory_client.models.identity_credentials_password import IdentityCredentialsPassword
|
@@ -110,6 +118,7 @@ from ory_client.models.internal_is_ax_welcome_screen_enabled_for_project_body im
|
|
110
118
|
from ory_client.models.internal_is_owner_for_project_by_slug_body import InternalIsOwnerForProjectBySlugBody
|
111
119
|
from ory_client.models.internal_is_owner_for_project_by_slug_response import InternalIsOwnerForProjectBySlugResponse
|
112
120
|
from ory_client.models.introspected_o_auth2_token import IntrospectedOAuth2Token
|
121
|
+
from ory_client.models.invite_token_body import InviteTokenBody
|
113
122
|
from ory_client.models.invoice import Invoice
|
114
123
|
from ory_client.models.invoice_data_v1 import InvoiceDataV1
|
115
124
|
from ory_client.models.is_owner_for_project_by_slug import IsOwnerForProjectBySlug
|
@@ -140,6 +149,7 @@ from ory_client.models.normalized_project_revision import NormalizedProjectRevis
|
|
140
149
|
from ory_client.models.normalized_project_revision_courier_channel import NormalizedProjectRevisionCourierChannel
|
141
150
|
from ory_client.models.normalized_project_revision_hook import NormalizedProjectRevisionHook
|
142
151
|
from ory_client.models.normalized_project_revision_identity_schema import NormalizedProjectRevisionIdentitySchema
|
152
|
+
from ory_client.models.normalized_project_revision_saml_provider import NormalizedProjectRevisionSAMLProvider
|
143
153
|
from ory_client.models.normalized_project_revision_third_party_provider import NormalizedProjectRevisionThirdPartyProvider
|
144
154
|
from ory_client.models.normalized_project_revision_tokenizer_template import NormalizedProjectRevisionTokenizerTemplate
|
145
155
|
from ory_client.models.o_auth2_client import OAuth2Client
|
@@ -180,6 +190,7 @@ from ory_client.models.project_service_identity import ProjectServiceIdentity
|
|
180
190
|
from ory_client.models.project_service_o_auth2 import ProjectServiceOAuth2
|
181
191
|
from ory_client.models.project_service_permission import ProjectServicePermission
|
182
192
|
from ory_client.models.project_services import ProjectServices
|
193
|
+
from ory_client.models.provider import Provider
|
183
194
|
from ory_client.models.quota_usage import QuotaUsage
|
184
195
|
from ory_client.models.rfc6749_error_json import RFC6749ErrorJson
|
185
196
|
from ory_client.models.recovery_code_for_identity import RecoveryCodeForIdentity
|
@@ -234,9 +245,11 @@ from ory_client.models.ui_node_meta import UiNodeMeta
|
|
234
245
|
from ory_client.models.ui_node_script_attributes import UiNodeScriptAttributes
|
235
246
|
from ory_client.models.ui_node_text_attributes import UiNodeTextAttributes
|
236
247
|
from ory_client.models.ui_text import UiText
|
248
|
+
from ory_client.models.update_fedcm_flow_body import UpdateFedcmFlowBody
|
237
249
|
from ory_client.models.update_identity_body import UpdateIdentityBody
|
238
250
|
from ory_client.models.update_login_flow_body import UpdateLoginFlowBody
|
239
251
|
from ory_client.models.update_login_flow_with_code_method import UpdateLoginFlowWithCodeMethod
|
252
|
+
from ory_client.models.update_login_flow_with_identifier_first_method import UpdateLoginFlowWithIdentifierFirstMethod
|
240
253
|
from ory_client.models.update_login_flow_with_lookup_secret_method import UpdateLoginFlowWithLookupSecretMethod
|
241
254
|
from ory_client.models.update_login_flow_with_oidc_method import UpdateLoginFlowWithOidcMethod
|
242
255
|
from ory_client.models.update_login_flow_with_passkey_method import UpdateLoginFlowWithPasskeyMethod
|
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
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.
|
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.16.10
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
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.
|
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.16.10
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
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.
|
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.16.10
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|