ory-client 1.12.2__py3-none-any.whl → 1.17.1__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 +21 -15
- ory_client/api/events_api.py +38 -26
- ory_client/api/frontend_api.py +1741 -1064
- ory_client/api/identity_api.py +197 -126
- ory_client/api/jwk_api.py +65 -44
- ory_client/api/metadata_api.py +11 -8
- ory_client/api/o_auth2_api.py +292 -191
- ory_client/api/oidc_api.py +68 -45
- ory_client/api/permission_api.py +343 -32
- ory_client/api/project_api.py +516 -145
- ory_client/api/relationship_api.py +56 -38
- ory_client/api/wellknown_api.py +14 -11
- ory_client/api/workspace_api.py +886 -34
- ory_client/api_client.py +71 -32
- ory_client/configuration.py +176 -42
- ory_client/exceptions.py +19 -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 +5 -5
- ory_client/models/billing_period_bucket.py +5 -5
- ory_client/models/check_opl_syntax_result.py +5 -5
- 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 +16 -9
- ory_client/models/create_invite_response.py +5 -5
- 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 +60 -24
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- ory_client/models/get_project_events_response.py +5 -5
- ory_client/models/get_project_metrics_response.py +5 -5
- ory_client/models/get_session_activity_response.py +5 -5
- 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 +11 -11
- 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 +5 -5
- 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 +5 -5
- 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 +12 -8
- 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 +5 -5
- ory_client/models/keto_namespace.py +2 -2
- ory_client/models/line_item_v1.py +5 -5
- ory_client/models/list_event_streams.py +5 -5
- ory_client/models/list_invoices_response.py +5 -5
- ory_client/models/list_organizations_response.py +5 -5
- ory_client/models/list_workspace_projects.py +5 -5
- ory_client/models/list_workspaces.py +5 -5
- 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 +5 -5
- 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 +57 -21
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- ory_client/models/project_branding_colors.py +2 -2
- ory_client/models/project_branding_theme.py +5 -5
- ory_client/models/project_cors.py +2 -2
- ory_client/models/project_events_datapoint.py +5 -5
- 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 +5 -5
- 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 +5 -5
- ory_client/models/relationship_patch.py +2 -2
- ory_client/models/relationships.py +5 -5
- 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 +8 -8
- 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 +5 -5
- 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 +5 -5
- ory_client/models/successful_native_registration.py +5 -5
- ory_client/models/successful_project_update.py +5 -5
- 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 +8 -8
- ory_client/models/ui_node.py +8 -8
- 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 +5 -3
- ory_client-1.17.1.dist-info/METADATA +18 -0
- ory_client-1.17.1.dist-info/RECORD +302 -0
- {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/WHEEL +1 -1
- ory_client-1.12.2.dist-info/METADATA +0 -19
- ory_client-1.12.2.dist-info/RECORD +0 -289
- {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/LICENSE +0 -0
- {ory_client-1.12.2.dist-info → ory_client-1.17.1.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.17.1
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -283,7 +283,9 @@ 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[
|
286
|
+
_files: Dict[
|
287
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
288
|
+
] = {}
|
287
289
|
_body_params: Optional[bytes] = None
|
288
290
|
|
289
291
|
# process the path parameters
|
@@ -300,11 +302,12 @@ class OAuth2Api:
|
|
300
302
|
|
301
303
|
|
302
304
|
# set the HTTP header `Accept`
|
303
|
-
|
304
|
-
[
|
305
|
-
|
306
|
-
|
307
|
-
|
305
|
+
if 'Accept' not in _header_params:
|
306
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
307
|
+
[
|
308
|
+
'application/json'
|
309
|
+
]
|
310
|
+
)
|
308
311
|
|
309
312
|
# set the HTTP header `Content-Type`
|
310
313
|
if _content_type:
|
@@ -571,7 +574,9 @@ class OAuth2Api:
|
|
571
574
|
_query_params: List[Tuple[str, str]] = []
|
572
575
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
573
576
|
_form_params: List[Tuple[str, str]] = []
|
574
|
-
_files: Dict[
|
577
|
+
_files: Dict[
|
578
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
579
|
+
] = {}
|
575
580
|
_body_params: Optional[bytes] = None
|
576
581
|
|
577
582
|
# process the path parameters
|
@@ -588,11 +593,12 @@ class OAuth2Api:
|
|
588
593
|
|
589
594
|
|
590
595
|
# set the HTTP header `Accept`
|
591
|
-
|
592
|
-
[
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
+
if 'Accept' not in _header_params:
|
597
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
598
|
+
[
|
599
|
+
'application/json'
|
600
|
+
]
|
601
|
+
)
|
596
602
|
|
597
603
|
# set the HTTP header `Content-Type`
|
598
604
|
if _content_type:
|
@@ -846,7 +852,9 @@ class OAuth2Api:
|
|
846
852
|
_query_params: List[Tuple[str, str]] = []
|
847
853
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
848
854
|
_form_params: List[Tuple[str, str]] = []
|
849
|
-
_files: Dict[
|
855
|
+
_files: Dict[
|
856
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
857
|
+
] = {}
|
850
858
|
_body_params: Optional[bytes] = None
|
851
859
|
|
852
860
|
# process the path parameters
|
@@ -861,11 +869,12 @@ class OAuth2Api:
|
|
861
869
|
|
862
870
|
|
863
871
|
# set the HTTP header `Accept`
|
864
|
-
|
865
|
-
[
|
866
|
-
|
867
|
-
|
868
|
-
|
872
|
+
if 'Accept' not in _header_params:
|
873
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
874
|
+
[
|
875
|
+
'application/json'
|
876
|
+
]
|
877
|
+
)
|
869
878
|
|
870
879
|
|
871
880
|
# authentication setting
|
@@ -1109,7 +1118,9 @@ class OAuth2Api:
|
|
1109
1118
|
_query_params: List[Tuple[str, str]] = []
|
1110
1119
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1111
1120
|
_form_params: List[Tuple[str, str]] = []
|
1112
|
-
_files: Dict[
|
1121
|
+
_files: Dict[
|
1122
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1123
|
+
] = {}
|
1113
1124
|
_body_params: Optional[bytes] = None
|
1114
1125
|
|
1115
1126
|
# process the path parameters
|
@@ -1122,11 +1133,12 @@ class OAuth2Api:
|
|
1122
1133
|
|
1123
1134
|
|
1124
1135
|
# set the HTTP header `Accept`
|
1125
|
-
|
1126
|
-
[
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1136
|
+
if 'Accept' not in _header_params:
|
1137
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1138
|
+
[
|
1139
|
+
'application/json'
|
1140
|
+
]
|
1141
|
+
)
|
1130
1142
|
|
1131
1143
|
# set the HTTP header `Content-Type`
|
1132
1144
|
if _content_type:
|
@@ -1380,7 +1392,9 @@ class OAuth2Api:
|
|
1380
1392
|
_query_params: List[Tuple[str, str]] = []
|
1381
1393
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1382
1394
|
_form_params: List[Tuple[str, str]] = []
|
1383
|
-
_files: Dict[
|
1395
|
+
_files: Dict[
|
1396
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1397
|
+
] = {}
|
1384
1398
|
_body_params: Optional[bytes] = None
|
1385
1399
|
|
1386
1400
|
# process the path parameters
|
@@ -1393,11 +1407,12 @@ class OAuth2Api:
|
|
1393
1407
|
|
1394
1408
|
|
1395
1409
|
# set the HTTP header `Accept`
|
1396
|
-
|
1397
|
-
[
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1410
|
+
if 'Accept' not in _header_params:
|
1411
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1412
|
+
[
|
1413
|
+
'application/json'
|
1414
|
+
]
|
1415
|
+
)
|
1401
1416
|
|
1402
1417
|
|
1403
1418
|
# authentication setting
|
@@ -1638,7 +1653,9 @@ class OAuth2Api:
|
|
1638
1653
|
_query_params: List[Tuple[str, str]] = []
|
1639
1654
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1640
1655
|
_form_params: List[Tuple[str, str]] = []
|
1641
|
-
_files: Dict[
|
1656
|
+
_files: Dict[
|
1657
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1658
|
+
] = {}
|
1642
1659
|
_body_params: Optional[bytes] = None
|
1643
1660
|
|
1644
1661
|
# process the path parameters
|
@@ -1653,11 +1670,12 @@ class OAuth2Api:
|
|
1653
1670
|
|
1654
1671
|
|
1655
1672
|
# set the HTTP header `Accept`
|
1656
|
-
|
1657
|
-
[
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1673
|
+
if 'Accept' not in _header_params:
|
1674
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1675
|
+
[
|
1676
|
+
'application/json'
|
1677
|
+
]
|
1678
|
+
)
|
1661
1679
|
|
1662
1680
|
|
1663
1681
|
# authentication setting
|
@@ -1898,7 +1916,9 @@ class OAuth2Api:
|
|
1898
1916
|
_query_params: List[Tuple[str, str]] = []
|
1899
1917
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1900
1918
|
_form_params: List[Tuple[str, str]] = []
|
1901
|
-
_files: Dict[
|
1919
|
+
_files: Dict[
|
1920
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1921
|
+
] = {}
|
1902
1922
|
_body_params: Optional[bytes] = None
|
1903
1923
|
|
1904
1924
|
# process the path parameters
|
@@ -1911,11 +1931,12 @@ class OAuth2Api:
|
|
1911
1931
|
|
1912
1932
|
|
1913
1933
|
# set the HTTP header `Accept`
|
1914
|
-
|
1915
|
-
[
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1934
|
+
if 'Accept' not in _header_params:
|
1935
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1936
|
+
[
|
1937
|
+
'application/json'
|
1938
|
+
]
|
1939
|
+
)
|
1919
1940
|
|
1920
1941
|
|
1921
1942
|
# authentication setting
|
@@ -2156,7 +2177,9 @@ class OAuth2Api:
|
|
2156
2177
|
_query_params: List[Tuple[str, str]] = []
|
2157
2178
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2158
2179
|
_form_params: List[Tuple[str, str]] = []
|
2159
|
-
_files: Dict[
|
2180
|
+
_files: Dict[
|
2181
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2182
|
+
] = {}
|
2160
2183
|
_body_params: Optional[bytes] = None
|
2161
2184
|
|
2162
2185
|
# process the path parameters
|
@@ -2169,11 +2192,12 @@ class OAuth2Api:
|
|
2169
2192
|
|
2170
2193
|
|
2171
2194
|
# set the HTTP header `Accept`
|
2172
|
-
|
2173
|
-
[
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2195
|
+
if 'Accept' not in _header_params:
|
2196
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2197
|
+
[
|
2198
|
+
'application/json'
|
2199
|
+
]
|
2200
|
+
)
|
2177
2201
|
|
2178
2202
|
|
2179
2203
|
# authentication setting
|
@@ -2417,7 +2441,9 @@ class OAuth2Api:
|
|
2417
2441
|
_query_params: List[Tuple[str, str]] = []
|
2418
2442
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2419
2443
|
_form_params: List[Tuple[str, str]] = []
|
2420
|
-
_files: Dict[
|
2444
|
+
_files: Dict[
|
2445
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2446
|
+
] = {}
|
2421
2447
|
_body_params: Optional[bytes] = None
|
2422
2448
|
|
2423
2449
|
# process the path parameters
|
@@ -2432,11 +2458,12 @@ class OAuth2Api:
|
|
2432
2458
|
|
2433
2459
|
|
2434
2460
|
# set the HTTP header `Accept`
|
2435
|
-
|
2436
|
-
[
|
2437
|
-
|
2438
|
-
|
2439
|
-
|
2461
|
+
if 'Accept' not in _header_params:
|
2462
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2463
|
+
[
|
2464
|
+
'application/json'
|
2465
|
+
]
|
2466
|
+
)
|
2440
2467
|
|
2441
2468
|
|
2442
2469
|
# authentication setting
|
@@ -2680,7 +2707,9 @@ class OAuth2Api:
|
|
2680
2707
|
_query_params: List[Tuple[str, str]] = []
|
2681
2708
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2682
2709
|
_form_params: List[Tuple[str, str]] = []
|
2683
|
-
_files: Dict[
|
2710
|
+
_files: Dict[
|
2711
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2712
|
+
] = {}
|
2684
2713
|
_body_params: Optional[bytes] = None
|
2685
2714
|
|
2686
2715
|
# process the path parameters
|
@@ -2695,11 +2724,12 @@ class OAuth2Api:
|
|
2695
2724
|
|
2696
2725
|
|
2697
2726
|
# set the HTTP header `Accept`
|
2698
|
-
|
2699
|
-
[
|
2700
|
-
|
2701
|
-
|
2702
|
-
|
2727
|
+
if 'Accept' not in _header_params:
|
2728
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2729
|
+
[
|
2730
|
+
'application/json'
|
2731
|
+
]
|
2732
|
+
)
|
2703
2733
|
|
2704
2734
|
|
2705
2735
|
# authentication setting
|
@@ -2943,7 +2973,9 @@ class OAuth2Api:
|
|
2943
2973
|
_query_params: List[Tuple[str, str]] = []
|
2944
2974
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2945
2975
|
_form_params: List[Tuple[str, str]] = []
|
2946
|
-
_files: Dict[
|
2976
|
+
_files: Dict[
|
2977
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2978
|
+
] = {}
|
2947
2979
|
_body_params: Optional[bytes] = None
|
2948
2980
|
|
2949
2981
|
# process the path parameters
|
@@ -2958,11 +2990,12 @@ class OAuth2Api:
|
|
2958
2990
|
|
2959
2991
|
|
2960
2992
|
# set the HTTP header `Accept`
|
2961
|
-
|
2962
|
-
[
|
2963
|
-
|
2964
|
-
|
2965
|
-
|
2993
|
+
if 'Accept' not in _header_params:
|
2994
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2995
|
+
[
|
2996
|
+
'application/json'
|
2997
|
+
]
|
2998
|
+
)
|
2966
2999
|
|
2967
3000
|
|
2968
3001
|
# authentication setting
|
@@ -3203,7 +3236,9 @@ class OAuth2Api:
|
|
3203
3236
|
_query_params: List[Tuple[str, str]] = []
|
3204
3237
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3205
3238
|
_form_params: List[Tuple[str, str]] = []
|
3206
|
-
_files: Dict[
|
3239
|
+
_files: Dict[
|
3240
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
3241
|
+
] = {}
|
3207
3242
|
_body_params: Optional[bytes] = None
|
3208
3243
|
|
3209
3244
|
# process the path parameters
|
@@ -3216,11 +3251,12 @@ class OAuth2Api:
|
|
3216
3251
|
|
3217
3252
|
|
3218
3253
|
# set the HTTP header `Accept`
|
3219
|
-
|
3220
|
-
[
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3254
|
+
if 'Accept' not in _header_params:
|
3255
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3256
|
+
[
|
3257
|
+
'application/json'
|
3258
|
+
]
|
3259
|
+
)
|
3224
3260
|
|
3225
3261
|
|
3226
3262
|
# authentication setting
|
@@ -3474,7 +3510,9 @@ class OAuth2Api:
|
|
3474
3510
|
_query_params: List[Tuple[str, str]] = []
|
3475
3511
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3476
3512
|
_form_params: List[Tuple[str, str]] = []
|
3477
|
-
_files: Dict[
|
3513
|
+
_files: Dict[
|
3514
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
3515
|
+
] = {}
|
3478
3516
|
_body_params: Optional[bytes] = None
|
3479
3517
|
|
3480
3518
|
# process the path parameters
|
@@ -3489,11 +3527,12 @@ class OAuth2Api:
|
|
3489
3527
|
|
3490
3528
|
|
3491
3529
|
# set the HTTP header `Accept`
|
3492
|
-
|
3493
|
-
[
|
3494
|
-
|
3495
|
-
|
3496
|
-
|
3530
|
+
if 'Accept' not in _header_params:
|
3531
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3532
|
+
[
|
3533
|
+
'application/json'
|
3534
|
+
]
|
3535
|
+
)
|
3497
3536
|
|
3498
3537
|
# set the HTTP header `Content-Type`
|
3499
3538
|
if _content_type:
|
@@ -3786,7 +3825,9 @@ class OAuth2Api:
|
|
3786
3825
|
_query_params: List[Tuple[str, str]] = []
|
3787
3826
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3788
3827
|
_form_params: List[Tuple[str, str]] = []
|
3789
|
-
_files: Dict[
|
3828
|
+
_files: Dict[
|
3829
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
3830
|
+
] = {}
|
3790
3831
|
_body_params: Optional[bytes] = None
|
3791
3832
|
|
3792
3833
|
# process the path parameters
|
@@ -3813,11 +3854,12 @@ class OAuth2Api:
|
|
3813
3854
|
|
3814
3855
|
|
3815
3856
|
# set the HTTP header `Accept`
|
3816
|
-
|
3817
|
-
[
|
3818
|
-
|
3819
|
-
|
3820
|
-
|
3857
|
+
if 'Accept' not in _header_params:
|
3858
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3859
|
+
[
|
3860
|
+
'application/json'
|
3861
|
+
]
|
3862
|
+
)
|
3821
3863
|
|
3822
3864
|
|
3823
3865
|
# authentication setting
|
@@ -4097,7 +4139,9 @@ class OAuth2Api:
|
|
4097
4139
|
_query_params: List[Tuple[str, str]] = []
|
4098
4140
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4099
4141
|
_form_params: List[Tuple[str, str]] = []
|
4100
|
-
_files: Dict[
|
4142
|
+
_files: Dict[
|
4143
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4144
|
+
] = {}
|
4101
4145
|
_body_params: Optional[bytes] = None
|
4102
4146
|
|
4103
4147
|
# process the path parameters
|
@@ -4124,11 +4168,12 @@ class OAuth2Api:
|
|
4124
4168
|
|
4125
4169
|
|
4126
4170
|
# set the HTTP header `Accept`
|
4127
|
-
|
4128
|
-
[
|
4129
|
-
|
4130
|
-
|
4131
|
-
|
4171
|
+
if 'Accept' not in _header_params:
|
4172
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4173
|
+
[
|
4174
|
+
'application/json'
|
4175
|
+
]
|
4176
|
+
)
|
4132
4177
|
|
4133
4178
|
|
4134
4179
|
# authentication setting
|
@@ -4395,7 +4440,9 @@ class OAuth2Api:
|
|
4395
4440
|
_query_params: List[Tuple[str, str]] = []
|
4396
4441
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4397
4442
|
_form_params: List[Tuple[str, str]] = []
|
4398
|
-
_files: Dict[
|
4443
|
+
_files: Dict[
|
4444
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4445
|
+
] = {}
|
4399
4446
|
_body_params: Optional[bytes] = None
|
4400
4447
|
|
4401
4448
|
# process the path parameters
|
@@ -4418,11 +4465,12 @@ class OAuth2Api:
|
|
4418
4465
|
|
4419
4466
|
|
4420
4467
|
# set the HTTP header `Accept`
|
4421
|
-
|
4422
|
-
[
|
4423
|
-
|
4424
|
-
|
4425
|
-
|
4468
|
+
if 'Accept' not in _header_params:
|
4469
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4470
|
+
[
|
4471
|
+
'application/json'
|
4472
|
+
]
|
4473
|
+
)
|
4426
4474
|
|
4427
4475
|
|
4428
4476
|
# authentication setting
|
@@ -4466,7 +4514,7 @@ class OAuth2Api:
|
|
4466
4514
|
) -> ErrorOAuth2:
|
4467
4515
|
"""OAuth 2.0 Authorize Endpoint
|
4468
4516
|
|
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/
|
4517
|
+
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
4518
|
|
4471
4519
|
:param _request_timeout: timeout setting for this request. If one
|
4472
4520
|
number provided, it will be total request
|
@@ -4529,7 +4577,7 @@ class OAuth2Api:
|
|
4529
4577
|
) -> ApiResponse[ErrorOAuth2]:
|
4530
4578
|
"""OAuth 2.0 Authorize Endpoint
|
4531
4579
|
|
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/
|
4580
|
+
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
4581
|
|
4534
4582
|
:param _request_timeout: timeout setting for this request. If one
|
4535
4583
|
number provided, it will be total request
|
@@ -4592,7 +4640,7 @@ class OAuth2Api:
|
|
4592
4640
|
) -> RESTResponseType:
|
4593
4641
|
"""OAuth 2.0 Authorize Endpoint
|
4594
4642
|
|
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/
|
4643
|
+
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
4644
|
|
4597
4645
|
:param _request_timeout: timeout setting for this request. If one
|
4598
4646
|
number provided, it will be total request
|
@@ -4650,7 +4698,9 @@ class OAuth2Api:
|
|
4650
4698
|
_query_params: List[Tuple[str, str]] = []
|
4651
4699
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4652
4700
|
_form_params: List[Tuple[str, str]] = []
|
4653
|
-
_files: Dict[
|
4701
|
+
_files: Dict[
|
4702
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4703
|
+
] = {}
|
4654
4704
|
_body_params: Optional[bytes] = None
|
4655
4705
|
|
4656
4706
|
# process the path parameters
|
@@ -4661,11 +4711,12 @@ class OAuth2Api:
|
|
4661
4711
|
|
4662
4712
|
|
4663
4713
|
# set the HTTP header `Accept`
|
4664
|
-
|
4665
|
-
[
|
4666
|
-
|
4667
|
-
|
4668
|
-
|
4714
|
+
if 'Accept' not in _header_params:
|
4715
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4716
|
+
[
|
4717
|
+
'application/json'
|
4718
|
+
]
|
4719
|
+
)
|
4669
4720
|
|
4670
4721
|
|
4671
4722
|
# authentication setting
|
@@ -4713,7 +4764,7 @@ class OAuth2Api:
|
|
4713
4764
|
) -> OAuth2TokenExchange:
|
4714
4765
|
"""The OAuth 2.0 Token Endpoint
|
4715
4766
|
|
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/
|
4767
|
+
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
4768
|
|
4718
4769
|
:param grant_type: (required)
|
4719
4770
|
:type grant_type: str
|
@@ -4796,7 +4847,7 @@ class OAuth2Api:
|
|
4796
4847
|
) -> ApiResponse[OAuth2TokenExchange]:
|
4797
4848
|
"""The OAuth 2.0 Token Endpoint
|
4798
4849
|
|
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/
|
4850
|
+
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
4851
|
|
4801
4852
|
:param grant_type: (required)
|
4802
4853
|
:type grant_type: str
|
@@ -4879,7 +4930,7 @@ class OAuth2Api:
|
|
4879
4930
|
) -> RESTResponseType:
|
4880
4931
|
"""The OAuth 2.0 Token Endpoint
|
4881
4932
|
|
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/
|
4933
|
+
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
4934
|
|
4884
4935
|
:param grant_type: (required)
|
4885
4936
|
:type grant_type: str
|
@@ -4957,7 +5008,9 @@ class OAuth2Api:
|
|
4957
5008
|
_query_params: List[Tuple[str, str]] = []
|
4958
5009
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4959
5010
|
_form_params: List[Tuple[str, str]] = []
|
4960
|
-
_files: Dict[
|
5011
|
+
_files: Dict[
|
5012
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
5013
|
+
] = {}
|
4961
5014
|
_body_params: Optional[bytes] = None
|
4962
5015
|
|
4963
5016
|
# process the path parameters
|
@@ -4978,11 +5031,12 @@ class OAuth2Api:
|
|
4978
5031
|
|
4979
5032
|
|
4980
5033
|
# set the HTTP header `Accept`
|
4981
|
-
|
4982
|
-
[
|
4983
|
-
|
4984
|
-
|
4985
|
-
|
5034
|
+
if 'Accept' not in _header_params:
|
5035
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5036
|
+
[
|
5037
|
+
'application/json'
|
5038
|
+
]
|
5039
|
+
)
|
4986
5040
|
|
4987
5041
|
# set the HTTP header `Content-Type`
|
4988
5042
|
if _content_type:
|
@@ -5254,7 +5308,9 @@ class OAuth2Api:
|
|
5254
5308
|
_query_params: List[Tuple[str, str]] = []
|
5255
5309
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
5256
5310
|
_form_params: List[Tuple[str, str]] = []
|
5257
|
-
_files: Dict[
|
5311
|
+
_files: Dict[
|
5312
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
5313
|
+
] = {}
|
5258
5314
|
_body_params: Optional[bytes] = None
|
5259
5315
|
|
5260
5316
|
# process the path parameters
|
@@ -5269,11 +5325,12 @@ class OAuth2Api:
|
|
5269
5325
|
|
5270
5326
|
|
5271
5327
|
# set the HTTP header `Accept`
|
5272
|
-
|
5273
|
-
[
|
5274
|
-
|
5275
|
-
|
5276
|
-
|
5328
|
+
if 'Accept' not in _header_params:
|
5329
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5330
|
+
[
|
5331
|
+
'application/json'
|
5332
|
+
]
|
5333
|
+
)
|
5277
5334
|
|
5278
5335
|
# set the HTTP header `Content-Type`
|
5279
5336
|
if _content_type:
|
@@ -5540,7 +5597,9 @@ class OAuth2Api:
|
|
5540
5597
|
_query_params: List[Tuple[str, str]] = []
|
5541
5598
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
5542
5599
|
_form_params: List[Tuple[str, str]] = []
|
5543
|
-
_files: Dict[
|
5600
|
+
_files: Dict[
|
5601
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
5602
|
+
] = {}
|
5544
5603
|
_body_params: Optional[bytes] = None
|
5545
5604
|
|
5546
5605
|
# process the path parameters
|
@@ -5557,11 +5616,12 @@ class OAuth2Api:
|
|
5557
5616
|
|
5558
5617
|
|
5559
5618
|
# set the HTTP header `Accept`
|
5560
|
-
|
5561
|
-
[
|
5562
|
-
|
5563
|
-
|
5564
|
-
|
5619
|
+
if 'Accept' not in _header_params:
|
5620
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5621
|
+
[
|
5622
|
+
'application/json'
|
5623
|
+
]
|
5624
|
+
)
|
5565
5625
|
|
5566
5626
|
# set the HTTP header `Content-Type`
|
5567
5627
|
if _content_type:
|
@@ -5828,7 +5888,9 @@ class OAuth2Api:
|
|
5828
5888
|
_query_params: List[Tuple[str, str]] = []
|
5829
5889
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
5830
5890
|
_form_params: List[Tuple[str, str]] = []
|
5831
|
-
_files: Dict[
|
5891
|
+
_files: Dict[
|
5892
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
5893
|
+
] = {}
|
5832
5894
|
_body_params: Optional[bytes] = None
|
5833
5895
|
|
5834
5896
|
# process the path parameters
|
@@ -5845,11 +5907,12 @@ class OAuth2Api:
|
|
5845
5907
|
|
5846
5908
|
|
5847
5909
|
# set the HTTP header `Accept`
|
5848
|
-
|
5849
|
-
[
|
5850
|
-
|
5851
|
-
|
5852
|
-
|
5910
|
+
if 'Accept' not in _header_params:
|
5911
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
5912
|
+
[
|
5913
|
+
'application/json'
|
5914
|
+
]
|
5915
|
+
)
|
5853
5916
|
|
5854
5917
|
# set the HTTP header `Content-Type`
|
5855
5918
|
if _content_type:
|
@@ -6103,7 +6166,9 @@ class OAuth2Api:
|
|
6103
6166
|
_query_params: List[Tuple[str, str]] = []
|
6104
6167
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6105
6168
|
_form_params: List[Tuple[str, str]] = []
|
6106
|
-
_files: Dict[
|
6169
|
+
_files: Dict[
|
6170
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
6171
|
+
] = {}
|
6107
6172
|
_body_params: Optional[bytes] = None
|
6108
6173
|
|
6109
6174
|
# process the path parameters
|
@@ -6118,11 +6183,12 @@ class OAuth2Api:
|
|
6118
6183
|
|
6119
6184
|
|
6120
6185
|
# set the HTTP header `Accept`
|
6121
|
-
|
6122
|
-
[
|
6123
|
-
|
6124
|
-
|
6125
|
-
|
6186
|
+
if 'Accept' not in _header_params:
|
6187
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
6188
|
+
[
|
6189
|
+
'application/json'
|
6190
|
+
]
|
6191
|
+
)
|
6126
6192
|
|
6127
6193
|
|
6128
6194
|
# authentication setting
|
@@ -6151,8 +6217,9 @@ class OAuth2Api:
|
|
6151
6217
|
@validate_call
|
6152
6218
|
def revoke_o_auth2_consent_sessions(
|
6153
6219
|
self,
|
6154
|
-
subject: Annotated[StrictStr, Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")],
|
6220
|
+
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")] = None,
|
6155
6221
|
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,
|
6222
|
+
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
6223
|
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
6224
|
_request_timeout: Union[
|
6158
6225
|
None,
|
@@ -6171,10 +6238,12 @@ class OAuth2Api:
|
|
6171
6238
|
|
6172
6239
|
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
6240
|
|
6174
|
-
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6241
|
+
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6175
6242
|
:type subject: str
|
6176
6243
|
: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
6244
|
:type client: str
|
6245
|
+
:param consent_request_id: Consent Request ID If set, revoke all token chains derived from this particular consent request ID.
|
6246
|
+
:type consent_request_id: str
|
6178
6247
|
:param all: Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
6179
6248
|
:type all: bool
|
6180
6249
|
:param _request_timeout: timeout setting for this request. If one
|
@@ -6202,6 +6271,7 @@ class OAuth2Api:
|
|
6202
6271
|
_param = self._revoke_o_auth2_consent_sessions_serialize(
|
6203
6272
|
subject=subject,
|
6204
6273
|
client=client,
|
6274
|
+
consent_request_id=consent_request_id,
|
6205
6275
|
all=all,
|
6206
6276
|
_request_auth=_request_auth,
|
6207
6277
|
_content_type=_content_type,
|
@@ -6226,8 +6296,9 @@ class OAuth2Api:
|
|
6226
6296
|
@validate_call
|
6227
6297
|
def revoke_o_auth2_consent_sessions_with_http_info(
|
6228
6298
|
self,
|
6229
|
-
subject: Annotated[StrictStr, Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")],
|
6299
|
+
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")] = None,
|
6230
6300
|
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,
|
6301
|
+
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
6302
|
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
6303
|
_request_timeout: Union[
|
6233
6304
|
None,
|
@@ -6246,10 +6317,12 @@ class OAuth2Api:
|
|
6246
6317
|
|
6247
6318
|
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
6319
|
|
6249
|
-
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6320
|
+
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6250
6321
|
:type subject: str
|
6251
6322
|
: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
6323
|
:type client: str
|
6324
|
+
:param consent_request_id: Consent Request ID If set, revoke all token chains derived from this particular consent request ID.
|
6325
|
+
:type consent_request_id: str
|
6253
6326
|
:param all: Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
6254
6327
|
:type all: bool
|
6255
6328
|
:param _request_timeout: timeout setting for this request. If one
|
@@ -6277,6 +6350,7 @@ class OAuth2Api:
|
|
6277
6350
|
_param = self._revoke_o_auth2_consent_sessions_serialize(
|
6278
6351
|
subject=subject,
|
6279
6352
|
client=client,
|
6353
|
+
consent_request_id=consent_request_id,
|
6280
6354
|
all=all,
|
6281
6355
|
_request_auth=_request_auth,
|
6282
6356
|
_content_type=_content_type,
|
@@ -6301,8 +6375,9 @@ class OAuth2Api:
|
|
6301
6375
|
@validate_call
|
6302
6376
|
def revoke_o_auth2_consent_sessions_without_preload_content(
|
6303
6377
|
self,
|
6304
|
-
subject: Annotated[StrictStr, Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")],
|
6378
|
+
subject: Annotated[Optional[StrictStr], Field(description="OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.")] = None,
|
6305
6379
|
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,
|
6380
|
+
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
6381
|
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
6382
|
_request_timeout: Union[
|
6308
6383
|
None,
|
@@ -6321,10 +6396,12 @@ class OAuth2Api:
|
|
6321
6396
|
|
6322
6397
|
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
6398
|
|
6324
|
-
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6399
|
+
:param subject: OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
6325
6400
|
:type subject: str
|
6326
6401
|
: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
6402
|
:type client: str
|
6403
|
+
:param consent_request_id: Consent Request ID If set, revoke all token chains derived from this particular consent request ID.
|
6404
|
+
:type consent_request_id: str
|
6328
6405
|
:param all: Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
6329
6406
|
:type all: bool
|
6330
6407
|
:param _request_timeout: timeout setting for this request. If one
|
@@ -6352,6 +6429,7 @@ class OAuth2Api:
|
|
6352
6429
|
_param = self._revoke_o_auth2_consent_sessions_serialize(
|
6353
6430
|
subject=subject,
|
6354
6431
|
client=client,
|
6432
|
+
consent_request_id=consent_request_id,
|
6355
6433
|
all=all,
|
6356
6434
|
_request_auth=_request_auth,
|
6357
6435
|
_content_type=_content_type,
|
@@ -6373,6 +6451,7 @@ class OAuth2Api:
|
|
6373
6451
|
self,
|
6374
6452
|
subject,
|
6375
6453
|
client,
|
6454
|
+
consent_request_id,
|
6376
6455
|
all,
|
6377
6456
|
_request_auth,
|
6378
6457
|
_content_type,
|
@@ -6389,7 +6468,9 @@ class OAuth2Api:
|
|
6389
6468
|
_query_params: List[Tuple[str, str]] = []
|
6390
6469
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6391
6470
|
_form_params: List[Tuple[str, str]] = []
|
6392
|
-
_files: Dict[
|
6471
|
+
_files: Dict[
|
6472
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
6473
|
+
] = {}
|
6393
6474
|
_body_params: Optional[bytes] = None
|
6394
6475
|
|
6395
6476
|
# process the path parameters
|
@@ -6402,6 +6483,10 @@ class OAuth2Api:
|
|
6402
6483
|
|
6403
6484
|
_query_params.append(('client', client))
|
6404
6485
|
|
6486
|
+
if consent_request_id is not None:
|
6487
|
+
|
6488
|
+
_query_params.append(('consent_request_id', consent_request_id))
|
6489
|
+
|
6405
6490
|
if all is not None:
|
6406
6491
|
|
6407
6492
|
_query_params.append(('all', all))
|
@@ -6412,11 +6497,12 @@ class OAuth2Api:
|
|
6412
6497
|
|
6413
6498
|
|
6414
6499
|
# set the HTTP header `Accept`
|
6415
|
-
|
6416
|
-
[
|
6417
|
-
|
6418
|
-
|
6419
|
-
|
6500
|
+
if 'Accept' not in _header_params:
|
6501
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
6502
|
+
[
|
6503
|
+
'application/json'
|
6504
|
+
]
|
6505
|
+
)
|
6420
6506
|
|
6421
6507
|
|
6422
6508
|
# authentication setting
|
@@ -6446,7 +6532,7 @@ class OAuth2Api:
|
|
6446
6532
|
def revoke_o_auth2_login_sessions(
|
6447
6533
|
self,
|
6448
6534
|
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="
|
6535
|
+
sid: Annotated[Optional[StrictStr], Field(description="Login Session ID The login session to revoke.")] = None,
|
6450
6536
|
_request_timeout: Union[
|
6451
6537
|
None,
|
6452
6538
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -6462,11 +6548,11 @@ class OAuth2Api:
|
|
6462
6548
|
) -> None:
|
6463
6549
|
"""Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
|
6464
6550
|
|
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.
|
6551
|
+
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
6552
|
|
6467
6553
|
:param subject: OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
6468
6554
|
:type subject: str
|
6469
|
-
:param sid:
|
6555
|
+
:param sid: Login Session ID The login session to revoke.
|
6470
6556
|
:type sid: str
|
6471
6557
|
:param _request_timeout: timeout setting for this request. If one
|
6472
6558
|
number provided, it will be total request
|
@@ -6517,7 +6603,7 @@ class OAuth2Api:
|
|
6517
6603
|
def revoke_o_auth2_login_sessions_with_http_info(
|
6518
6604
|
self,
|
6519
6605
|
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="
|
6606
|
+
sid: Annotated[Optional[StrictStr], Field(description="Login Session ID The login session to revoke.")] = None,
|
6521
6607
|
_request_timeout: Union[
|
6522
6608
|
None,
|
6523
6609
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -6533,11 +6619,11 @@ class OAuth2Api:
|
|
6533
6619
|
) -> ApiResponse[None]:
|
6534
6620
|
"""Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
|
6535
6621
|
|
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.
|
6622
|
+
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
6623
|
|
6538
6624
|
:param subject: OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
6539
6625
|
:type subject: str
|
6540
|
-
:param sid:
|
6626
|
+
:param sid: Login Session ID The login session to revoke.
|
6541
6627
|
:type sid: str
|
6542
6628
|
:param _request_timeout: timeout setting for this request. If one
|
6543
6629
|
number provided, it will be total request
|
@@ -6588,7 +6674,7 @@ class OAuth2Api:
|
|
6588
6674
|
def revoke_o_auth2_login_sessions_without_preload_content(
|
6589
6675
|
self,
|
6590
6676
|
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="
|
6677
|
+
sid: Annotated[Optional[StrictStr], Field(description="Login Session ID The login session to revoke.")] = None,
|
6592
6678
|
_request_timeout: Union[
|
6593
6679
|
None,
|
6594
6680
|
Annotated[StrictFloat, Field(gt=0)],
|
@@ -6604,11 +6690,11 @@ class OAuth2Api:
|
|
6604
6690
|
) -> RESTResponseType:
|
6605
6691
|
"""Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID
|
6606
6692
|
|
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.
|
6693
|
+
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
6694
|
|
6609
6695
|
:param subject: OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
6610
6696
|
:type subject: str
|
6611
|
-
:param sid:
|
6697
|
+
:param sid: Login Session ID The login session to revoke.
|
6612
6698
|
:type sid: str
|
6613
6699
|
:param _request_timeout: timeout setting for this request. If one
|
6614
6700
|
number provided, it will be total request
|
@@ -6670,7 +6756,9 @@ class OAuth2Api:
|
|
6670
6756
|
_query_params: List[Tuple[str, str]] = []
|
6671
6757
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6672
6758
|
_form_params: List[Tuple[str, str]] = []
|
6673
|
-
_files: Dict[
|
6759
|
+
_files: Dict[
|
6760
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
6761
|
+
] = {}
|
6674
6762
|
_body_params: Optional[bytes] = None
|
6675
6763
|
|
6676
6764
|
# process the path parameters
|
@@ -6689,11 +6777,12 @@ class OAuth2Api:
|
|
6689
6777
|
|
6690
6778
|
|
6691
6779
|
# set the HTTP header `Accept`
|
6692
|
-
|
6693
|
-
[
|
6694
|
-
|
6695
|
-
|
6696
|
-
|
6780
|
+
if 'Accept' not in _header_params:
|
6781
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
6782
|
+
[
|
6783
|
+
'application/json'
|
6784
|
+
]
|
6785
|
+
)
|
6697
6786
|
|
6698
6787
|
|
6699
6788
|
# authentication setting
|
@@ -6960,7 +7049,9 @@ class OAuth2Api:
|
|
6960
7049
|
_query_params: List[Tuple[str, str]] = []
|
6961
7050
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
6962
7051
|
_form_params: List[Tuple[str, str]] = []
|
6963
|
-
_files: Dict[
|
7052
|
+
_files: Dict[
|
7053
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
7054
|
+
] = {}
|
6964
7055
|
_body_params: Optional[bytes] = None
|
6965
7056
|
|
6966
7057
|
# process the path parameters
|
@@ -6977,11 +7068,12 @@ class OAuth2Api:
|
|
6977
7068
|
|
6978
7069
|
|
6979
7070
|
# set the HTTP header `Accept`
|
6980
|
-
|
6981
|
-
[
|
6982
|
-
|
6983
|
-
|
6984
|
-
|
7071
|
+
if 'Accept' not in _header_params:
|
7072
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7073
|
+
[
|
7074
|
+
'application/json'
|
7075
|
+
]
|
7076
|
+
)
|
6985
7077
|
|
6986
7078
|
# set the HTTP header `Content-Type`
|
6987
7079
|
if _content_type:
|
@@ -7255,7 +7347,9 @@ class OAuth2Api:
|
|
7255
7347
|
_query_params: List[Tuple[str, str]] = []
|
7256
7348
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
7257
7349
|
_form_params: List[Tuple[str, str]] = []
|
7258
|
-
_files: Dict[
|
7350
|
+
_files: Dict[
|
7351
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
7352
|
+
] = {}
|
7259
7353
|
_body_params: Optional[bytes] = None
|
7260
7354
|
|
7261
7355
|
# process the path parameters
|
@@ -7270,11 +7364,12 @@ class OAuth2Api:
|
|
7270
7364
|
|
7271
7365
|
|
7272
7366
|
# set the HTTP header `Accept`
|
7273
|
-
|
7274
|
-
[
|
7275
|
-
|
7276
|
-
|
7277
|
-
|
7367
|
+
if 'Accept' not in _header_params:
|
7368
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7369
|
+
[
|
7370
|
+
'application/json'
|
7371
|
+
]
|
7372
|
+
)
|
7278
7373
|
|
7279
7374
|
# set the HTTP header `Content-Type`
|
7280
7375
|
if _content_type:
|
@@ -7541,7 +7636,9 @@ class OAuth2Api:
|
|
7541
7636
|
_query_params: List[Tuple[str, str]] = []
|
7542
7637
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
7543
7638
|
_form_params: List[Tuple[str, str]] = []
|
7544
|
-
_files: Dict[
|
7639
|
+
_files: Dict[
|
7640
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
7641
|
+
] = {}
|
7545
7642
|
_body_params: Optional[bytes] = None
|
7546
7643
|
|
7547
7644
|
# process the path parameters
|
@@ -7556,11 +7653,12 @@ class OAuth2Api:
|
|
7556
7653
|
|
7557
7654
|
|
7558
7655
|
# set the HTTP header `Accept`
|
7559
|
-
|
7560
|
-
[
|
7561
|
-
|
7562
|
-
|
7563
|
-
|
7656
|
+
if 'Accept' not in _header_params:
|
7657
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7658
|
+
[
|
7659
|
+
'application/json'
|
7660
|
+
]
|
7661
|
+
)
|
7564
7662
|
|
7565
7663
|
# set the HTTP header `Content-Type`
|
7566
7664
|
if _content_type:
|
@@ -7814,7 +7912,9 @@ class OAuth2Api:
|
|
7814
7912
|
_query_params: List[Tuple[str, str]] = []
|
7815
7913
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
7816
7914
|
_form_params: List[Tuple[str, str]] = []
|
7817
|
-
_files: Dict[
|
7915
|
+
_files: Dict[
|
7916
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
7917
|
+
] = {}
|
7818
7918
|
_body_params: Optional[bytes] = None
|
7819
7919
|
|
7820
7920
|
# process the path parameters
|
@@ -7827,11 +7927,12 @@ class OAuth2Api:
|
|
7827
7927
|
|
7828
7928
|
|
7829
7929
|
# set the HTTP header `Accept`
|
7830
|
-
|
7831
|
-
[
|
7832
|
-
|
7833
|
-
|
7834
|
-
|
7930
|
+
if 'Accept' not in _header_params:
|
7931
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
7932
|
+
[
|
7933
|
+
'application/json'
|
7934
|
+
]
|
7935
|
+
)
|
7835
7936
|
|
7836
7937
|
# set the HTTP header `Content-Type`
|
7837
7938
|
if _content_type:
|