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/o_auth2_api.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
|
|
@@ -283,7 +283,7 @@ class OAuth2Api:
|
|
283
283
|
_query_params: List[Tuple[str, str]] = []
|
284
284
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
285
285
|
_form_params: List[Tuple[str, str]] = []
|
286
|
-
_files: Dict[str, str] = {}
|
286
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
287
287
|
_body_params: Optional[bytes] = None
|
288
288
|
|
289
289
|
# process the path parameters
|
@@ -300,11 +300,12 @@ class OAuth2Api:
|
|
300
300
|
|
301
301
|
|
302
302
|
# set the HTTP header `Accept`
|
303
|
-
|
304
|
-
[
|
305
|
-
|
306
|
-
|
307
|
-
|
303
|
+
if 'Accept' not in _header_params:
|
304
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
305
|
+
[
|
306
|
+
'application/json'
|
307
|
+
]
|
308
|
+
)
|
308
309
|
|
309
310
|
# set the HTTP header `Content-Type`
|
310
311
|
if _content_type:
|
@@ -571,7 +572,7 @@ class OAuth2Api:
|
|
571
572
|
_query_params: List[Tuple[str, str]] = []
|
572
573
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
573
574
|
_form_params: List[Tuple[str, str]] = []
|
574
|
-
_files: Dict[str, str] = {}
|
575
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
575
576
|
_body_params: Optional[bytes] = None
|
576
577
|
|
577
578
|
# process the path parameters
|
@@ -588,11 +589,12 @@ class OAuth2Api:
|
|
588
589
|
|
589
590
|
|
590
591
|
# set the HTTP header `Accept`
|
591
|
-
|
592
|
-
[
|
593
|
-
|
594
|
-
|
595
|
-
|
592
|
+
if 'Accept' not in _header_params:
|
593
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
594
|
+
[
|
595
|
+
'application/json'
|
596
|
+
]
|
597
|
+
)
|
596
598
|
|
597
599
|
# set the HTTP header `Content-Type`
|
598
600
|
if _content_type:
|
@@ -846,7 +848,7 @@ class OAuth2Api:
|
|
846
848
|
_query_params: List[Tuple[str, str]] = []
|
847
849
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
848
850
|
_form_params: List[Tuple[str, str]] = []
|
849
|
-
_files: Dict[str, str] = {}
|
851
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
850
852
|
_body_params: Optional[bytes] = None
|
851
853
|
|
852
854
|
# process the path parameters
|
@@ -861,11 +863,12 @@ class OAuth2Api:
|
|
861
863
|
|
862
864
|
|
863
865
|
# set the HTTP header `Accept`
|
864
|
-
|
865
|
-
[
|
866
|
-
|
867
|
-
|
868
|
-
|
866
|
+
if 'Accept' not in _header_params:
|
867
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
868
|
+
[
|
869
|
+
'application/json'
|
870
|
+
]
|
871
|
+
)
|
869
872
|
|
870
873
|
|
871
874
|
# authentication setting
|
@@ -1109,7 +1112,7 @@ class OAuth2Api:
|
|
1109
1112
|
_query_params: List[Tuple[str, str]] = []
|
1110
1113
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1111
1114
|
_form_params: List[Tuple[str, str]] = []
|
1112
|
-
_files: Dict[str, str] = {}
|
1115
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
1113
1116
|
_body_params: Optional[bytes] = None
|
1114
1117
|
|
1115
1118
|
# process the path parameters
|
@@ -1122,11 +1125,12 @@ class OAuth2Api:
|
|
1122
1125
|
|
1123
1126
|
|
1124
1127
|
# set the HTTP header `Accept`
|
1125
|
-
|
1126
|
-
[
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1128
|
+
if 'Accept' not in _header_params:
|
1129
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1130
|
+
[
|
1131
|
+
'application/json'
|
1132
|
+
]
|
1133
|
+
)
|
1130
1134
|
|
1131
1135
|
# set the HTTP header `Content-Type`
|
1132
1136
|
if _content_type:
|
@@ -1380,7 +1384,7 @@ class OAuth2Api:
|
|
1380
1384
|
_query_params: List[Tuple[str, str]] = []
|
1381
1385
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1382
1386
|
_form_params: List[Tuple[str, str]] = []
|
1383
|
-
_files: Dict[str, str] = {}
|
1387
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
1384
1388
|
_body_params: Optional[bytes] = None
|
1385
1389
|
|
1386
1390
|
# process the path parameters
|
@@ -1393,11 +1397,12 @@ class OAuth2Api:
|
|
1393
1397
|
|
1394
1398
|
|
1395
1399
|
# set the HTTP header `Accept`
|
1396
|
-
|
1397
|
-
[
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1400
|
+
if 'Accept' not in _header_params:
|
1401
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1402
|
+
[
|
1403
|
+
'application/json'
|
1404
|
+
]
|
1405
|
+
)
|
1401
1406
|
|
1402
1407
|
|
1403
1408
|
# authentication setting
|
@@ -1638,7 +1643,7 @@ class OAuth2Api:
|
|
1638
1643
|
_query_params: List[Tuple[str, str]] = []
|
1639
1644
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1640
1645
|
_form_params: List[Tuple[str, str]] = []
|
1641
|
-
_files: Dict[str, str] = {}
|
1646
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
1642
1647
|
_body_params: Optional[bytes] = None
|
1643
1648
|
|
1644
1649
|
# process the path parameters
|
@@ -1653,11 +1658,12 @@ class OAuth2Api:
|
|
1653
1658
|
|
1654
1659
|
|
1655
1660
|
# set the HTTP header `Accept`
|
1656
|
-
|
1657
|
-
[
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
+
if 'Accept' not in _header_params:
|
1662
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1663
|
+
[
|
1664
|
+
'application/json'
|
1665
|
+
]
|
1666
|
+
)
|
1661
1667
|
|
1662
1668
|
|
1663
1669
|
# authentication setting
|
@@ -1898,7 +1904,7 @@ class OAuth2Api:
|
|
1898
1904
|
_query_params: List[Tuple[str, str]] = []
|
1899
1905
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1900
1906
|
_form_params: List[Tuple[str, str]] = []
|
1901
|
-
_files: Dict[str, str] = {}
|
1907
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
1902
1908
|
_body_params: Optional[bytes] = None
|
1903
1909
|
|
1904
1910
|
# process the path parameters
|
@@ -1911,11 +1917,12 @@ class OAuth2Api:
|
|
1911
1917
|
|
1912
1918
|
|
1913
1919
|
# set the HTTP header `Accept`
|
1914
|
-
|
1915
|
-
[
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1920
|
+
if 'Accept' not in _header_params:
|
1921
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1922
|
+
[
|
1923
|
+
'application/json'
|
1924
|
+
]
|
1925
|
+
)
|
1919
1926
|
|
1920
1927
|
|
1921
1928
|
# authentication setting
|
@@ -2156,7 +2163,7 @@ class OAuth2Api:
|
|
2156
2163
|
_query_params: List[Tuple[str, str]] = []
|
2157
2164
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2158
2165
|
_form_params: List[Tuple[str, str]] = []
|
2159
|
-
_files: Dict[str, str] = {}
|
2166
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
2160
2167
|
_body_params: Optional[bytes] = None
|
2161
2168
|
|
2162
2169
|
# process the path parameters
|
@@ -2169,11 +2176,12 @@ class OAuth2Api:
|
|
2169
2176
|
|
2170
2177
|
|
2171
2178
|
# set the HTTP header `Accept`
|
2172
|
-
|
2173
|
-
[
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2179
|
+
if 'Accept' not in _header_params:
|
2180
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2181
|
+
[
|
2182
|
+
'application/json'
|
2183
|
+
]
|
2184
|
+
)
|
2177
2185
|
|
2178
2186
|
|
2179
2187
|
# authentication setting
|
@@ -2417,7 +2425,7 @@ class OAuth2Api:
|
|
2417
2425
|
_query_params: List[Tuple[str, str]] = []
|
2418
2426
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2419
2427
|
_form_params: List[Tuple[str, str]] = []
|
2420
|
-
_files: Dict[str, str] = {}
|
2428
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
2421
2429
|
_body_params: Optional[bytes] = None
|
2422
2430
|
|
2423
2431
|
# process the path parameters
|
@@ -2432,11 +2440,12 @@ class OAuth2Api:
|
|
2432
2440
|
|
2433
2441
|
|
2434
2442
|
# set the HTTP header `Accept`
|
2435
|
-
|
2436
|
-
[
|
2437
|
-
|
2438
|
-
|
2439
|
-
|
2443
|
+
if 'Accept' not in _header_params:
|
2444
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2445
|
+
[
|
2446
|
+
'application/json'
|
2447
|
+
]
|
2448
|
+
)
|
2440
2449
|
|
2441
2450
|
|
2442
2451
|
# authentication setting
|
@@ -2680,7 +2689,7 @@ class OAuth2Api:
|
|
2680
2689
|
_query_params: List[Tuple[str, str]] = []
|
2681
2690
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2682
2691
|
_form_params: List[Tuple[str, str]] = []
|
2683
|
-
_files: Dict[str, str] = {}
|
2692
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
2684
2693
|
_body_params: Optional[bytes] = None
|
2685
2694
|
|
2686
2695
|
# process the path parameters
|
@@ -2695,11 +2704,12 @@ class OAuth2Api:
|
|
2695
2704
|
|
2696
2705
|
|
2697
2706
|
# set the HTTP header `Accept`
|
2698
|
-
|
2699
|
-
[
|
2700
|
-
|
2701
|
-
|
2702
|
-
|
2707
|
+
if 'Accept' not in _header_params:
|
2708
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2709
|
+
[
|
2710
|
+
'application/json'
|
2711
|
+
]
|
2712
|
+
)
|
2703
2713
|
|
2704
2714
|
|
2705
2715
|
# authentication setting
|
@@ -2943,7 +2953,7 @@ class OAuth2Api:
|
|
2943
2953
|
_query_params: List[Tuple[str, str]] = []
|
2944
2954
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2945
2955
|
_form_params: List[Tuple[str, str]] = []
|
2946
|
-
_files: Dict[str, str] = {}
|
2956
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
2947
2957
|
_body_params: Optional[bytes] = None
|
2948
2958
|
|
2949
2959
|
# process the path parameters
|
@@ -2958,11 +2968,12 @@ class OAuth2Api:
|
|
2958
2968
|
|
2959
2969
|
|
2960
2970
|
# set the HTTP header `Accept`
|
2961
|
-
|
2962
|
-
[
|
2963
|
-
|
2964
|
-
|
2965
|
-
|
2971
|
+
if 'Accept' not in _header_params:
|
2972
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2973
|
+
[
|
2974
|
+
'application/json'
|
2975
|
+
]
|
2976
|
+
)
|
2966
2977
|
|
2967
2978
|
|
2968
2979
|
# authentication setting
|
@@ -3203,7 +3214,7 @@ class OAuth2Api:
|
|
3203
3214
|
_query_params: List[Tuple[str, str]] = []
|
3204
3215
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3205
3216
|
_form_params: List[Tuple[str, str]] = []
|
3206
|
-
_files: Dict[str, str] = {}
|
3217
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
3207
3218
|
_body_params: Optional[bytes] = None
|
3208
3219
|
|
3209
3220
|
# process the path parameters
|
@@ -3216,11 +3227,12 @@ class OAuth2Api:
|
|
3216
3227
|
|
3217
3228
|
|
3218
3229
|
# set the HTTP header `Accept`
|
3219
|
-
|
3220
|
-
[
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3230
|
+
if 'Accept' not in _header_params:
|
3231
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3232
|
+
[
|
3233
|
+
'application/json'
|
3234
|
+
]
|
3235
|
+
)
|
3224
3236
|
|
3225
3237
|
|
3226
3238
|
# authentication setting
|
@@ -3474,7 +3486,7 @@ class OAuth2Api:
|
|
3474
3486
|
_query_params: List[Tuple[str, str]] = []
|
3475
3487
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3476
3488
|
_form_params: List[Tuple[str, str]] = []
|
3477
|
-
_files: Dict[str, str] = {}
|
3489
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
3478
3490
|
_body_params: Optional[bytes] = None
|
3479
3491
|
|
3480
3492
|
# process the path parameters
|
@@ -3489,11 +3501,12 @@ class OAuth2Api:
|
|
3489
3501
|
|
3490
3502
|
|
3491
3503
|
# set the HTTP header `Accept`
|
3492
|
-
|
3493
|
-
[
|
3494
|
-
|
3495
|
-
|
3496
|
-
|
3504
|
+
if 'Accept' not in _header_params:
|
3505
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3506
|
+
[
|
3507
|
+
'application/json'
|
3508
|
+
]
|
3509
|
+
)
|
3497
3510
|
|
3498
3511
|
# set the HTTP header `Content-Type`
|
3499
3512
|
if _content_type:
|
@@ -3786,7 +3799,7 @@ class OAuth2Api:
|
|
3786
3799
|
_query_params: List[Tuple[str, str]] = []
|
3787
3800
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3788
3801
|
_form_params: List[Tuple[str, str]] = []
|
3789
|
-
_files: Dict[str, str] = {}
|
3802
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
3790
3803
|
_body_params: Optional[bytes] = None
|
3791
3804
|
|
3792
3805
|
# process the path parameters
|
@@ -3813,11 +3826,12 @@ class OAuth2Api:
|
|
3813
3826
|
|
3814
3827
|
|
3815
3828
|
# set the HTTP header `Accept`
|
3816
|
-
|
3817
|
-
[
|
3818
|
-
|
3819
|
-
|
3820
|
-
|
3829
|
+
if 'Accept' not in _header_params:
|
3830
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3831
|
+
[
|
3832
|
+
'application/json'
|
3833
|
+
]
|
3834
|
+
)
|
3821
3835
|
|
3822
3836
|
|
3823
3837
|
# authentication setting
|
@@ -4097,7 +4111,7 @@ class OAuth2Api:
|
|
4097
4111
|
_query_params: List[Tuple[str, str]] = []
|
4098
4112
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4099
4113
|
_form_params: List[Tuple[str, str]] = []
|
4100
|
-
_files: Dict[str, str] = {}
|
4114
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
4101
4115
|
_body_params: Optional[bytes] = None
|
4102
4116
|
|
4103
4117
|
# process the path parameters
|
@@ -4124,11 +4138,12 @@ class OAuth2Api:
|
|
4124
4138
|
|
4125
4139
|
|
4126
4140
|
# set the HTTP header `Accept`
|
4127
|
-
|
4128
|
-
[
|
4129
|
-
|
4130
|
-
|
4131
|
-
|
4141
|
+
if 'Accept' not in _header_params:
|
4142
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4143
|
+
[
|
4144
|
+
'application/json'
|
4145
|
+
]
|
4146
|
+
)
|
4132
4147
|
|
4133
4148
|
|
4134
4149
|
# authentication setting
|
@@ -4395,7 +4410,7 @@ class OAuth2Api:
|
|
4395
4410
|
_query_params: List[Tuple[str, str]] = []
|
4396
4411
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4397
4412
|
_form_params: List[Tuple[str, str]] = []
|
4398
|
-
_files: Dict[str, str] = {}
|
4413
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
4399
4414
|
_body_params: Optional[bytes] = None
|
4400
4415
|
|
4401
4416
|
# process the path parameters
|
@@ -4418,11 +4433,12 @@ class OAuth2Api:
|
|
4418
4433
|
|
4419
4434
|
|
4420
4435
|
# set the HTTP header `Accept`
|
4421
|
-
|
4422
|
-
[
|
4423
|
-
|
4424
|
-
|
4425
|
-
|
4436
|
+
if 'Accept' not in _header_params:
|
4437
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4438
|
+
[
|
4439
|
+
'application/json'
|
4440
|
+
]
|
4441
|
+
)
|
4426
4442
|
|
4427
4443
|
|
4428
4444
|
# authentication setting
|
@@ -4466,7 +4482,7 @@ class OAuth2Api:
|
|
4466
4482
|
) -> ErrorOAuth2:
|
4467
4483
|
"""OAuth 2.0 Authorize Endpoint
|
4468
4484
|
|
4469
|
-
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/
|
4485
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
|
4470
4486
|
|
4471
4487
|
:param _request_timeout: timeout setting for this request. If one
|
4472
4488
|
number provided, it will be total request
|
@@ -4529,7 +4545,7 @@ class OAuth2Api:
|
|
4529
4545
|
) -> ApiResponse[ErrorOAuth2]:
|
4530
4546
|
"""OAuth 2.0 Authorize Endpoint
|
4531
4547
|
|
4532
|
-
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/
|
4548
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
|
4533
4549
|
|
4534
4550
|
:param _request_timeout: timeout setting for this request. If one
|
4535
4551
|
number provided, it will be total request
|
@@ -4592,7 +4608,7 @@ class OAuth2Api:
|
|
4592
4608
|
) -> RESTResponseType:
|
4593
4609
|
"""OAuth 2.0 Authorize Endpoint
|
4594
4610
|
|
4595
|
-
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/
|
4611
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
|
4596
4612
|
|
4597
4613
|
:param _request_timeout: timeout setting for this request. If one
|
4598
4614
|
number provided, it will be total request
|
@@ -4650,7 +4666,7 @@ class OAuth2Api:
|
|
4650
4666
|
_query_params: List[Tuple[str, str]] = []
|
4651
4667
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4652
4668
|
_form_params: List[Tuple[str, str]] = []
|
4653
|
-
_files: Dict[str, str] = {}
|
4669
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
4654
4670
|
_body_params: Optional[bytes] = None
|
4655
4671
|
|
4656
4672
|
# process the path parameters
|
@@ -4661,11 +4677,12 @@ class OAuth2Api:
|
|
4661
4677
|
|
4662
4678
|
|
4663
4679
|
# set the HTTP header `Accept`
|
4664
|
-
|
4665
|
-
[
|
4666
|
-
|
4667
|
-
|
4668
|
-
|
4680
|
+
if 'Accept' not in _header_params:
|
4681
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4682
|
+
[
|
4683
|
+
'application/json'
|
4684
|
+
]
|
4685
|
+
)
|
4669
4686
|
|
4670
4687
|
|
4671
4688
|
# authentication setting
|
@@ -4713,7 +4730,7 @@ class OAuth2Api:
|
|
4713
4730
|
) -> OAuth2TokenExchange:
|
4714
4731
|
"""The OAuth 2.0 Token Endpoint
|
4715
4732
|
|
4716
|
-
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/
|
4733
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
|
4717
4734
|
|
4718
4735
|
:param grant_type: (required)
|
4719
4736
|
:type grant_type: str
|
@@ -4796,7 +4813,7 @@ class OAuth2Api:
|
|
4796
4813
|
) -> ApiResponse[OAuth2TokenExchange]:
|
4797
4814
|
"""The OAuth 2.0 Token Endpoint
|
4798
4815
|
|
4799
|
-
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/
|
4816
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
|
4800
4817
|
|
4801
4818
|
:param grant_type: (required)
|
4802
4819
|
:type grant_type: str
|
@@ -4879,7 +4896,7 @@ class OAuth2Api:
|
|
4879
4896
|
) -> RESTResponseType:
|
4880
4897
|
"""The OAuth 2.0 Token Endpoint
|
4881
4898
|
|
4882
|
-
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/
|
4899
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.
|
4883
4900
|
|
4884
4901
|
:param grant_type: (required)
|
4885
4902
|
:type grant_type: str
|
@@ -4957,7 +4974,7 @@ class OAuth2Api:
|
|
4957
4974
|
_query_params: List[Tuple[str, str]] = []
|
4958
4975
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4959
4976
|
_form_params: List[Tuple[str, str]] = []
|
4960
|
-
_files: Dict[str, str] = {}
|
4977
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
4961
4978
|
_body_params: Optional[bytes] = None
|
4962
4979
|
|
4963
4980
|
# process the path parameters
|
@@ -4978,11 +4995,12 @@ class OAuth2Api:
|
|
4978
4995
|
|
4979
4996
|
|
4980
4997
|
# set the HTTP header `Accept`
|
4981
|
-
|
4982
|
-
[
|
4983
|
-
|
4984
|
-
|
4985
|
-
|
4998
|
+
if 'Accept' not in _header_params:
|
4999
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5000
|
+
[
|
5001
|
+
'application/json'
|
5002
|
+
]
|
5003
|
+
)
|
4986
5004
|
|
4987
5005
|
# set the HTTP header `Content-Type`
|
4988
5006
|
if _content_type:
|
@@ -5254,7 +5272,7 @@ class OAuth2Api:
|
|
5254
5272
|
_query_params: List[Tuple[str, str]] = []
|
5255
5273
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
5256
5274
|
_form_params: List[Tuple[str, str]] = []
|
5257
|
-
_files: Dict[str, str] = {}
|
5275
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
5258
5276
|
_body_params: Optional[bytes] = None
|
5259
5277
|
|
5260
5278
|
# process the path parameters
|
@@ -5269,11 +5287,12 @@ class OAuth2Api:
|
|
5269
5287
|
|
5270
5288
|
|
5271
5289
|
# set the HTTP header `Accept`
|
5272
|
-
|
5273
|
-
[
|
5274
|
-
|
5275
|
-
|
5276
|
-
|
5290
|
+
if 'Accept' not in _header_params:
|
5291
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5292
|
+
[
|
5293
|
+
'application/json'
|
5294
|
+
]
|
5295
|
+
)
|
5277
5296
|
|
5278
5297
|
# set the HTTP header `Content-Type`
|
5279
5298
|
if _content_type:
|
@@ -5540,7 +5559,7 @@ class OAuth2Api:
|
|
5540
5559
|
_query_params: List[Tuple[str, str]] = []
|
5541
5560
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
5542
5561
|
_form_params: List[Tuple[str, str]] = []
|
5543
|
-
_files: Dict[str, str] = {}
|
5562
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
5544
5563
|
_body_params: Optional[bytes] = None
|
5545
5564
|
|
5546
5565
|
# process the path parameters
|
@@ -5557,11 +5576,12 @@ class OAuth2Api:
|
|
5557
5576
|
|
5558
5577
|
|
5559
5578
|
# set the HTTP header `Accept`
|
5560
|
-
|
5561
|
-
[
|
5562
|
-
|
5563
|
-
|
5564
|
-
|
5579
|
+
if 'Accept' not in _header_params:
|
5580
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5581
|
+
[
|
5582
|
+
'application/json'
|
5583
|
+
]
|
5584
|
+
)
|
5565
5585
|
|
5566
5586
|
# set the HTTP header `Content-Type`
|
5567
5587
|
if _content_type:
|
@@ -5828,7 +5848,7 @@ class OAuth2Api:
|
|
5828
5848
|
_query_params: List[Tuple[str, str]] = []
|
5829
5849
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
5830
5850
|
_form_params: List[Tuple[str, str]] = []
|
5831
|
-
_files: Dict[str, str] = {}
|
5851
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
5832
5852
|
_body_params: Optional[bytes] = None
|
5833
5853
|
|
5834
5854
|
# process the path parameters
|
@@ -5845,11 +5865,12 @@ class OAuth2Api:
|
|
5845
5865
|
|
5846
5866
|
|
5847
5867
|
# set the HTTP header `Accept`
|
5848
|
-
|
5849
|
-
[
|
5850
|
-
|
5851
|
-
|
5852
|
-
|
5868
|
+
if 'Accept' not in _header_params:
|
5869
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5870
|
+
[
|
5871
|
+
'application/json'
|
5872
|
+
]
|
5873
|
+
)
|
5853
5874
|
|
5854
5875
|
# set the HTTP header `Content-Type`
|
5855
5876
|
if _content_type:
|
@@ -6103,7 +6124,7 @@ class OAuth2Api:
|
|
6103
6124
|
_query_params: List[Tuple[str, str]] = []
|
6104
6125
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6105
6126
|
_form_params: List[Tuple[str, str]] = []
|
6106
|
-
_files: Dict[str, str] = {}
|
6127
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
6107
6128
|
_body_params: Optional[bytes] = None
|
6108
6129
|
|
6109
6130
|
# process the path parameters
|
@@ -6118,11 +6139,12 @@ class OAuth2Api:
|
|
6118
6139
|
|
6119
6140
|
|
6120
6141
|
# set the HTTP header `Accept`
|
6121
|
-
|
6122
|
-
[
|
6123
|
-
|
6124
|
-
|
6125
|
-
|
6142
|
+
if 'Accept' not in _header_params:
|
6143
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
6144
|
+
[
|
6145
|
+
'application/json'
|
6146
|
+
]
|
6147
|
+
)
|
6126
6148
|
|
6127
6149
|
|
6128
6150
|
# authentication setting
|
@@ -6151,8 +6173,9 @@ class OAuth2Api:
|
|
6151
6173
|
@validate_call
|
6152
6174
|
def revoke_o_auth2_consent_sessions(
|
6153
6175
|
self,
|
6154
|
-
subject: Annotated[StrictStr, Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")],
|
6176
|
+
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")] = None,
|
6155
6177
|
client: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.")] = None,
|
6178
|
+
consent_request_id: Annotated[Optional[StrictStr], Field(description="Consent Request ID If set, revoke all token chains derived from this particular consent request ID.")] = None,
|
6156
6179
|
all: Annotated[Optional[StrictBool], Field(description="Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.")] = None,
|
6157
6180
|
_request_timeout: Union[
|
6158
6181
|
None,
|
@@ -6171,10 +6194,12 @@ class OAuth2Api:
|
|
6171
6194
|
|
6172
6195
|
This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
|
6173
6196
|
|
6174
|
-
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6197
|
+
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6175
6198
|
:type subject: str
|
6176
6199
|
:param client: OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
|
6177
6200
|
:type client: str
|
6201
|
+
:param consent_request_id: Consent Request ID If set, revoke all token chains derived from this particular consent request ID.
|
6202
|
+
:type consent_request_id: str
|
6178
6203
|
:param all: Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
6179
6204
|
:type all: bool
|
6180
6205
|
:param _request_timeout: timeout setting for this request. If one
|
@@ -6202,6 +6227,7 @@ class OAuth2Api:
|
|
6202
6227
|
_param = self._revoke_o_auth2_consent_sessions_serialize(
|
6203
6228
|
subject=subject,
|
6204
6229
|
client=client,
|
6230
|
+
consent_request_id=consent_request_id,
|
6205
6231
|
all=all,
|
6206
6232
|
_request_auth=_request_auth,
|
6207
6233
|
_content_type=_content_type,
|
@@ -6226,8 +6252,9 @@ class OAuth2Api:
|
|
6226
6252
|
@validate_call
|
6227
6253
|
def revoke_o_auth2_consent_sessions_with_http_info(
|
6228
6254
|
self,
|
6229
|
-
subject: Annotated[StrictStr, Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")],
|
6255
|
+
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")] = None,
|
6230
6256
|
client: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.")] = None,
|
6257
|
+
consent_request_id: Annotated[Optional[StrictStr], Field(description="Consent Request ID If set, revoke all token chains derived from this particular consent request ID.")] = None,
|
6231
6258
|
all: Annotated[Optional[StrictBool], Field(description="Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.")] = None,
|
6232
6259
|
_request_timeout: Union[
|
6233
6260
|
None,
|
@@ -6246,10 +6273,12 @@ class OAuth2Api:
|
|
6246
6273
|
|
6247
6274
|
This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
|
6248
6275
|
|
6249
|
-
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6276
|
+
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6250
6277
|
:type subject: str
|
6251
6278
|
:param client: OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
|
6252
6279
|
:type client: str
|
6280
|
+
:param consent_request_id: Consent Request ID If set, revoke all token chains derived from this particular consent request ID.
|
6281
|
+
:type consent_request_id: str
|
6253
6282
|
:param all: Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
6254
6283
|
:type all: bool
|
6255
6284
|
:param _request_timeout: timeout setting for this request. If one
|
@@ -6277,6 +6306,7 @@ class OAuth2Api:
|
|
6277
6306
|
_param = self._revoke_o_auth2_consent_sessions_serialize(
|
6278
6307
|
subject=subject,
|
6279
6308
|
client=client,
|
6309
|
+
consent_request_id=consent_request_id,
|
6280
6310
|
all=all,
|
6281
6311
|
_request_auth=_request_auth,
|
6282
6312
|
_content_type=_content_type,
|
@@ -6301,8 +6331,9 @@ class OAuth2Api:
|
|
6301
6331
|
@validate_call
|
6302
6332
|
def revoke_o_auth2_consent_sessions_without_preload_content(
|
6303
6333
|
self,
|
6304
|
-
subject: Annotated[StrictStr, Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")],
|
6334
|
+
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")] = None,
|
6305
6335
|
client: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.")] = None,
|
6336
|
+
consent_request_id: Annotated[Optional[StrictStr], Field(description="Consent Request ID If set, revoke all token chains derived from this particular consent request ID.")] = None,
|
6306
6337
|
all: Annotated[Optional[StrictBool], Field(description="Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.")] = None,
|
6307
6338
|
_request_timeout: Union[
|
6308
6339
|
None,
|
@@ -6321,10 +6352,12 @@ class OAuth2Api:
|
|
6321
6352
|
|
6322
6353
|
This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
|
6323
6354
|
|
6324
|
-
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6355
|
+
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6325
6356
|
:type subject: str
|
6326
6357
|
:param client: OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
|
6327
6358
|
:type client: str
|
6359
|
+
:param consent_request_id: Consent Request ID If set, revoke all token chains derived from this particular consent request ID.
|
6360
|
+
:type consent_request_id: str
|
6328
6361
|
:param all: Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
6329
6362
|
:type all: bool
|
6330
6363
|
:param _request_timeout: timeout setting for this request. If one
|
@@ -6352,6 +6385,7 @@ class OAuth2Api:
|
|
6352
6385
|
_param = self._revoke_o_auth2_consent_sessions_serialize(
|
6353
6386
|
subject=subject,
|
6354
6387
|
client=client,
|
6388
|
+
consent_request_id=consent_request_id,
|
6355
6389
|
all=all,
|
6356
6390
|
_request_auth=_request_auth,
|
6357
6391
|
_content_type=_content_type,
|
@@ -6373,6 +6407,7 @@ class OAuth2Api:
|
|
6373
6407
|
self,
|
6374
6408
|
subject,
|
6375
6409
|
client,
|
6410
|
+
consent_request_id,
|
6376
6411
|
all,
|
6377
6412
|
_request_auth,
|
6378
6413
|
_content_type,
|
@@ -6389,7 +6424,7 @@ class OAuth2Api:
|
|
6389
6424
|
_query_params: List[Tuple[str, str]] = []
|
6390
6425
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6391
6426
|
_form_params: List[Tuple[str, str]] = []
|
6392
|
-
_files: Dict[str, str] = {}
|
6427
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
6393
6428
|
_body_params: Optional[bytes] = None
|
6394
6429
|
|
6395
6430
|
# process the path parameters
|
@@ -6402,6 +6437,10 @@ class OAuth2Api:
|
|
6402
6437
|
|
6403
6438
|
_query_params.append(('client', client))
|
6404
6439
|
|
6440
|
+
if consent_request_id is not None:
|
6441
|
+
|
6442
|
+
_query_params.append(('consent_request_id', consent_request_id))
|
6443
|
+
|
6405
6444
|
if all is not None:
|
6406
6445
|
|
6407
6446
|
_query_params.append(('all', all))
|
@@ -6412,11 +6451,12 @@ class OAuth2Api:
|
|
6412
6451
|
|
6413
6452
|
|
6414
6453
|
# set the HTTP header `Accept`
|
6415
|
-
|
6416
|
-
[
|
6417
|
-
|
6418
|
-
|
6419
|
-
|
6454
|
+
if 'Accept' not in _header_params:
|
6455
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
6456
|
+
[
|
6457
|
+
'application/json'
|
6458
|
+
]
|
6459
|
+
)
|
6420
6460
|
|
6421
6461
|
|
6422
6462
|
# authentication setting
|
@@ -6446,7 +6486,7 @@ class OAuth2Api:
|
|
6446
6486
|
def revoke_o_auth2_login_sessions(
|
6447
6487
|
self,
|
6448
6488
|
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Subject The subject to revoke authentication sessions for.")] = None,
|
6449
|
-
sid: Annotated[Optional[StrictStr], Field(description="
|
6489
|
+
sid: Annotated[Optional[StrictStr], Field(description="Login Session ID The login session to revoke.")] = None,
|
6450
6490
|
_request_timeout: Union[
|
6451
6491
|
None,
|
6452
6492
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -6462,11 +6502,11 @@ class OAuth2Api:
|
|
6462
6502
|
) -> None:
|
6463
6503
|
"""Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
|
6464
6504
|
|
6465
|
-
This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.
|
6505
|
+
This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case. When using Ory for the identity provider, the login provider will also invalidate the session cookie.
|
6466
6506
|
|
6467
6507
|
:param subject: OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
6468
6508
|
:type subject: str
|
6469
|
-
:param sid:
|
6509
|
+
:param sid: Login Session ID The login session to revoke.
|
6470
6510
|
:type sid: str
|
6471
6511
|
:param _request_timeout: timeout setting for this request. If one
|
6472
6512
|
number provided, it will be total request
|
@@ -6517,7 +6557,7 @@ class OAuth2Api:
|
|
6517
6557
|
def revoke_o_auth2_login_sessions_with_http_info(
|
6518
6558
|
self,
|
6519
6559
|
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Subject The subject to revoke authentication sessions for.")] = None,
|
6520
|
-
sid: Annotated[Optional[StrictStr], Field(description="
|
6560
|
+
sid: Annotated[Optional[StrictStr], Field(description="Login Session ID The login session to revoke.")] = None,
|
6521
6561
|
_request_timeout: Union[
|
6522
6562
|
None,
|
6523
6563
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -6533,11 +6573,11 @@ class OAuth2Api:
|
|
6533
6573
|
) -> ApiResponse[None]:
|
6534
6574
|
"""Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
|
6535
6575
|
|
6536
|
-
This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.
|
6576
|
+
This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case. When using Ory for the identity provider, the login provider will also invalidate the session cookie.
|
6537
6577
|
|
6538
6578
|
:param subject: OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
6539
6579
|
:type subject: str
|
6540
|
-
:param sid:
|
6580
|
+
:param sid: Login Session ID The login session to revoke.
|
6541
6581
|
:type sid: str
|
6542
6582
|
:param _request_timeout: timeout setting for this request. If one
|
6543
6583
|
number provided, it will be total request
|
@@ -6588,7 +6628,7 @@ class OAuth2Api:
|
|
6588
6628
|
def revoke_o_auth2_login_sessions_without_preload_content(
|
6589
6629
|
self,
|
6590
6630
|
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Subject The subject to revoke authentication sessions for.")] = None,
|
6591
|
-
sid: Annotated[Optional[StrictStr], Field(description="
|
6631
|
+
sid: Annotated[Optional[StrictStr], Field(description="Login Session ID The login session to revoke.")] = None,
|
6592
6632
|
_request_timeout: Union[
|
6593
6633
|
None,
|
6594
6634
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -6604,11 +6644,11 @@ class OAuth2Api:
|
|
6604
6644
|
) -> RESTResponseType:
|
6605
6645
|
"""Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
|
6606
6646
|
|
6607
|
-
This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.
|
6647
|
+
This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case. When using Ory for the identity provider, the login provider will also invalidate the session cookie.
|
6608
6648
|
|
6609
6649
|
:param subject: OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
6610
6650
|
:type subject: str
|
6611
|
-
:param sid:
|
6651
|
+
:param sid: Login Session ID The login session to revoke.
|
6612
6652
|
:type sid: str
|
6613
6653
|
:param _request_timeout: timeout setting for this request. If one
|
6614
6654
|
number provided, it will be total request
|
@@ -6670,7 +6710,7 @@ class OAuth2Api:
|
|
6670
6710
|
_query_params: List[Tuple[str, str]] = []
|
6671
6711
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6672
6712
|
_form_params: List[Tuple[str, str]] = []
|
6673
|
-
_files: Dict[str, str] = {}
|
6713
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
6674
6714
|
_body_params: Optional[bytes] = None
|
6675
6715
|
|
6676
6716
|
# process the path parameters
|
@@ -6689,11 +6729,12 @@ class OAuth2Api:
|
|
6689
6729
|
|
6690
6730
|
|
6691
6731
|
# set the HTTP header `Accept`
|
6692
|
-
|
6693
|
-
[
|
6694
|
-
|
6695
|
-
|
6696
|
-
|
6732
|
+
if 'Accept' not in _header_params:
|
6733
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
6734
|
+
[
|
6735
|
+
'application/json'
|
6736
|
+
]
|
6737
|
+
)
|
6697
6738
|
|
6698
6739
|
|
6699
6740
|
# authentication setting
|
@@ -6960,7 +7001,7 @@ class OAuth2Api:
|
|
6960
7001
|
_query_params: List[Tuple[str, str]] = []
|
6961
7002
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6962
7003
|
_form_params: List[Tuple[str, str]] = []
|
6963
|
-
_files: Dict[str, str] = {}
|
7004
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
6964
7005
|
_body_params: Optional[bytes] = None
|
6965
7006
|
|
6966
7007
|
# process the path parameters
|
@@ -6977,11 +7018,12 @@ class OAuth2Api:
|
|
6977
7018
|
|
6978
7019
|
|
6979
7020
|
# set the HTTP header `Accept`
|
6980
|
-
|
6981
|
-
[
|
6982
|
-
|
6983
|
-
|
6984
|
-
|
7021
|
+
if 'Accept' not in _header_params:
|
7022
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7023
|
+
[
|
7024
|
+
'application/json'
|
7025
|
+
]
|
7026
|
+
)
|
6985
7027
|
|
6986
7028
|
# set the HTTP header `Content-Type`
|
6987
7029
|
if _content_type:
|
@@ -7255,7 +7297,7 @@ class OAuth2Api:
|
|
7255
7297
|
_query_params: List[Tuple[str, str]] = []
|
7256
7298
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
7257
7299
|
_form_params: List[Tuple[str, str]] = []
|
7258
|
-
_files: Dict[str, str] = {}
|
7300
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
7259
7301
|
_body_params: Optional[bytes] = None
|
7260
7302
|
|
7261
7303
|
# process the path parameters
|
@@ -7270,11 +7312,12 @@ class OAuth2Api:
|
|
7270
7312
|
|
7271
7313
|
|
7272
7314
|
# set the HTTP header `Accept`
|
7273
|
-
|
7274
|
-
[
|
7275
|
-
|
7276
|
-
|
7277
|
-
|
7315
|
+
if 'Accept' not in _header_params:
|
7316
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7317
|
+
[
|
7318
|
+
'application/json'
|
7319
|
+
]
|
7320
|
+
)
|
7278
7321
|
|
7279
7322
|
# set the HTTP header `Content-Type`
|
7280
7323
|
if _content_type:
|
@@ -7541,7 +7584,7 @@ class OAuth2Api:
|
|
7541
7584
|
_query_params: List[Tuple[str, str]] = []
|
7542
7585
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
7543
7586
|
_form_params: List[Tuple[str, str]] = []
|
7544
|
-
_files: Dict[str, str] = {}
|
7587
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
7545
7588
|
_body_params: Optional[bytes] = None
|
7546
7589
|
|
7547
7590
|
# process the path parameters
|
@@ -7556,11 +7599,12 @@ class OAuth2Api:
|
|
7556
7599
|
|
7557
7600
|
|
7558
7601
|
# set the HTTP header `Accept`
|
7559
|
-
|
7560
|
-
[
|
7561
|
-
|
7562
|
-
|
7563
|
-
|
7602
|
+
if 'Accept' not in _header_params:
|
7603
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7604
|
+
[
|
7605
|
+
'application/json'
|
7606
|
+
]
|
7607
|
+
)
|
7564
7608
|
|
7565
7609
|
# set the HTTP header `Content-Type`
|
7566
7610
|
if _content_type:
|
@@ -7814,7 +7858,7 @@ class OAuth2Api:
|
|
7814
7858
|
_query_params: List[Tuple[str, str]] = []
|
7815
7859
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
7816
7860
|
_form_params: List[Tuple[str, str]] = []
|
7817
|
-
_files: Dict[str, str] = {}
|
7861
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
7818
7862
|
_body_params: Optional[bytes] = None
|
7819
7863
|
|
7820
7864
|
# process the path parameters
|
@@ -7827,11 +7871,12 @@ class OAuth2Api:
|
|
7827
7871
|
|
7828
7872
|
|
7829
7873
|
# set the HTTP header `Accept`
|
7830
|
-
|
7831
|
-
[
|
7832
|
-
|
7833
|
-
|
7834
|
-
|
7874
|
+
if 'Accept' not in _header_params:
|
7875
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7876
|
+
[
|
7877
|
+
'application/json'
|
7878
|
+
]
|
7879
|
+
)
|
7835
7880
|
|
7836
7881
|
# set the HTTP header `Content-Type`
|
7837
7882
|
if _content_type:
|