ory-client 1.4.9__py3-none-any.whl → 1.5.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 +2 -2
- ory_client/api/courier_api.py +1 -1
- ory_client/api/events_api.py +614 -0
- ory_client/api/frontend_api.py +1 -1
- ory_client/api/identity_api.py +1 -1
- ory_client/api/jwk_api.py +1 -1
- ory_client/api/metadata_api.py +1 -1
- ory_client/api/o_auth2_api.py +1 -1
- ory_client/api/oidc_api.py +1 -1
- ory_client/api/permission_api.py +1 -1
- ory_client/api/project_api.py +1 -1
- ory_client/api/relationship_api.py +1 -1
- ory_client/api/wellknown_api.py +1 -1
- ory_client/api_client.py +2 -2
- ory_client/apis/__init__.py +1 -0
- ory_client/configuration.py +3 -3
- ory_client/exceptions.py +1 -1
- ory_client/model/accept_o_auth2_consent_request.py +1 -1
- ory_client/model/accept_o_auth2_consent_request_session.py +1 -1
- ory_client/model/accept_o_auth2_login_request.py +1 -1
- ory_client/model/active_project_in_console.py +1 -1
- ory_client/model/attribute.py +1 -1
- ory_client/model/attribute_filter.py +1 -1
- ory_client/model/attributes_count_datapoint.py +1 -1
- ory_client/model/authenticator_assurance_level.py +1 -1
- ory_client/model/batch_patch_identities_response.py +1 -1
- ory_client/model/check_opl_syntax_result.py +1 -1
- ory_client/model/check_permission_result.py +1 -1
- ory_client/model/cloud_account.py +1 -1
- ory_client/model/consistency_request_parameters.py +1 -1
- ory_client/model/continue_with.py +1 -1
- ory_client/model/continue_with_recovery_ui.py +1 -1
- ory_client/model/continue_with_recovery_ui_flow.py +1 -1
- ory_client/model/continue_with_set_ory_session_token.py +1 -1
- ory_client/model/continue_with_settings_ui.py +1 -1
- ory_client/model/continue_with_settings_ui_flow.py +1 -1
- ory_client/model/continue_with_verification_ui.py +1 -1
- ory_client/model/continue_with_verification_ui_flow.py +1 -1
- ory_client/model/courier_message_status.py +1 -1
- ory_client/model/courier_message_type.py +1 -1
- ory_client/model/create_custom_domain_body.py +1 -1
- ory_client/model/create_event_stream_body.py +287 -0
- ory_client/model/create_identity_body.py +1 -1
- ory_client/model/create_invite_response.py +1 -1
- ory_client/model/create_json_web_key_set.py +1 -1
- ory_client/model/create_member_invite_response.py +1 -1
- ory_client/model/create_project_api_key_request.py +1 -1
- ory_client/model/create_project_body.py +1 -1
- ory_client/model/create_project_branding.py +1 -1
- ory_client/model/create_project_member_invite_body.py +1 -1
- ory_client/model/create_project_normalized_payload.py +11 -1
- ory_client/model/create_recovery_code_for_identity_body.py +1 -1
- ory_client/model/create_recovery_link_for_identity_body.py +1 -1
- ory_client/model/create_relationship_body.py +1 -1
- ory_client/model/create_subscription_body.py +1 -1
- ory_client/model/create_verifiable_credential_request_body.py +1 -1
- ory_client/model/create_workspace_member_invite_body.py +1 -1
- ory_client/model/credential_supported_draft00.py +1 -1
- ory_client/model/custom_domain.py +1 -1
- ory_client/model/delete_my_sessions_count.py +1 -1
- ory_client/model/email_template_data.py +1 -1
- ory_client/model/email_template_data_body.py +1 -1
- ory_client/model/error_authenticator_assurance_level_not_satisfied.py +1 -1
- ory_client/model/error_browser_location_change_required.py +1 -1
- ory_client/model/error_flow_replaced.py +1 -1
- ory_client/model/error_generic.py +1 -1
- ory_client/model/error_o_auth2.py +1 -1
- ory_client/model/event_stream.py +284 -0
- ory_client/model/expanded_permission_tree.py +1 -1
- ory_client/model/flow_error.py +1 -1
- ory_client/model/generic_error.py +1 -1
- ory_client/model/generic_error_content.py +1 -1
- ory_client/model/generic_usage.py +1 -1
- ory_client/model/get_attributes_count_response.py +1 -1
- ory_client/model/get_managed_identity_schema_location.py +1 -1
- ory_client/model/get_metrics_event_attributes_response.py +1 -1
- ory_client/model/get_metrics_event_types_response.py +1 -1
- ory_client/model/get_organization_response.py +1 -1
- ory_client/model/get_project_events_body.py +1 -1
- ory_client/model/get_project_events_response.py +1 -1
- ory_client/model/get_project_metrics_response.py +1 -1
- ory_client/model/get_session_activity_response.py +1 -1
- ory_client/model/get_version200_response.py +1 -1
- ory_client/model/health_not_ready_status.py +1 -1
- ory_client/model/health_status.py +1 -1
- ory_client/model/identity.py +1 -1
- ory_client/model/identity_credentials.py +1 -1
- ory_client/model/identity_credentials_code.py +1 -1
- ory_client/model/identity_credentials_oidc.py +1 -1
- ory_client/model/identity_credentials_oidc_provider.py +1 -1
- ory_client/model/identity_credentials_password.py +1 -1
- ory_client/model/identity_credentials_type.py +1 -1
- ory_client/model/identity_patch.py +1 -1
- ory_client/model/identity_patch_response.py +1 -1
- ory_client/model/identity_schema_container.py +1 -1
- ory_client/model/identity_schema_preset.py +1 -1
- ory_client/model/identity_schema_presets.py +1 -1
- ory_client/model/identity_schemas.py +1 -1
- ory_client/model/identity_state.py +1 -1
- ory_client/model/identity_with_credentials.py +1 -1
- ory_client/model/identity_with_credentials_oidc.py +1 -1
- ory_client/model/identity_with_credentials_oidc_config.py +1 -1
- ory_client/model/identity_with_credentials_oidc_config_provider.py +1 -1
- ory_client/model/identity_with_credentials_password.py +1 -1
- ory_client/model/identity_with_credentials_password_config.py +1 -1
- ory_client/model/internal_get_project_branding_body.py +1 -1
- ory_client/model/internal_is_ax_welcome_screen_enabled_for_project_body.py +1 -1
- ory_client/model/internal_is_owner_for_project_by_slug_body.py +1 -1
- ory_client/model/internal_is_owner_for_project_by_slug_response.py +1 -1
- ory_client/model/internal_provision_mock_subscription.py +1 -1
- ory_client/model/introspected_o_auth2_token.py +1 -1
- ory_client/model/is_owner_for_project_by_slug.py +1 -1
- ory_client/model/is_ready200_response.py +1 -1
- ory_client/model/is_ready503_response.py +1 -1
- ory_client/model/json_patch.py +1 -1
- ory_client/model/json_patch_document.py +1 -1
- ory_client/model/json_web_key.py +1 -1
- ory_client/model/json_web_key_set.py +1 -1
- ory_client/model/keto_namespace.py +1 -1
- ory_client/model/keto_namespaces.py +1 -1
- ory_client/model/list_custom_domains.py +1 -1
- ory_client/model/list_event_streams.py +270 -0
- ory_client/model/list_my_workspaces_response.py +1 -1
- ory_client/model/list_organizations_response.py +1 -1
- ory_client/model/login_flow.py +1 -1
- ory_client/model/login_flow_state.py +1 -1
- ory_client/model/logout_flow.py +1 -1
- ory_client/model/managed_identity_schema.py +1 -1
- ory_client/model/managed_identity_schema_validation_result.py +1 -1
- ory_client/model/managed_identity_schemas.py +1 -1
- ory_client/model/member_invite.py +1 -1
- ory_client/model/member_invites.py +1 -1
- ory_client/model/message.py +7 -4
- ory_client/model/message_dispatch.py +1 -1
- ory_client/model/metrics_datapoint.py +1 -1
- ory_client/model/namespace.py +1 -1
- ory_client/model/needs_privileged_session_error.py +1 -1
- ory_client/model/normalized_project.py +1 -1
- ory_client/model/normalized_project_revision.py +11 -1
- ory_client/model/normalized_project_revision_courier_channel.py +328 -0
- ory_client/model/normalized_project_revision_hook.py +1 -1
- ory_client/model/normalized_project_revision_identity_schema.py +1 -1
- ory_client/model/normalized_project_revision_identity_schemas.py +1 -1
- ory_client/model/normalized_project_revision_third_party_provider.py +1 -1
- ory_client/model/normalized_project_revision_tokenizer_template.py +1 -1
- ory_client/model/normalized_project_revision_tokenizer_templates.py +1 -1
- ory_client/model/normalized_projects.py +1 -1
- ory_client/model/null_duration.py +1 -1
- ory_client/model/o_auth2_client.py +1 -1
- ory_client/model/o_auth2_client_token_lifespans.py +1 -1
- ory_client/model/o_auth2_consent_request.py +1 -1
- ory_client/model/o_auth2_consent_request_open_id_connect_context.py +1 -1
- ory_client/model/o_auth2_consent_session.py +1 -1
- ory_client/model/o_auth2_consent_session_expires_at.py +1 -1
- ory_client/model/o_auth2_consent_sessions.py +1 -1
- ory_client/model/o_auth2_login_request.py +11 -15
- ory_client/model/o_auth2_logout_request.py +1 -1
- ory_client/model/o_auth2_redirect_to.py +1 -1
- ory_client/model/o_auth2_token_exchange.py +1 -1
- ory_client/model/oidc_configuration.py +1 -1
- ory_client/model/oidc_user_info.py +1 -1
- ory_client/model/organization.py +1 -1
- ory_client/model/organization_body.py +1 -1
- ory_client/model/pagination.py +1 -1
- ory_client/model/pagination_headers.py +1 -1
- ory_client/model/parse_error.py +1 -1
- ory_client/model/patch_identities_body.py +1 -1
- ory_client/model/perform_native_logout_body.py +1 -1
- ory_client/model/permissions_on_project.py +1 -1
- ory_client/model/plan.py +1 -1
- ory_client/model/plan_details.py +1 -1
- ory_client/model/plans.py +1 -1
- ory_client/model/post_check_permission_body.py +1 -1
- ory_client/model/post_check_permission_or_error_body.py +1 -1
- ory_client/model/pricing.py +1 -1
- ory_client/model/project.py +1 -1
- ory_client/model/project_api_key.py +1 -1
- ory_client/model/project_api_keys.py +1 -1
- ory_client/model/project_branding.py +1 -1
- ory_client/model/project_branding_colors.py +1 -1
- ory_client/model/project_branding_theme.py +1 -1
- ory_client/model/project_branding_themes.py +1 -1
- ory_client/model/project_cors.py +1 -1
- ory_client/model/project_events_datapoint.py +1 -1
- ory_client/model/project_host.py +1 -1
- ory_client/model/project_member.py +1 -1
- ory_client/model/project_members.py +1 -1
- ory_client/model/project_metadata.py +1 -1
- ory_client/model/project_metadata_list.py +1 -1
- ory_client/model/project_revision_hooks.py +1 -1
- ory_client/model/project_revision_identity_schemas.py +1 -1
- ory_client/model/project_revision_third_party_login_providers.py +1 -1
- ory_client/model/project_revisions.py +1 -1
- ory_client/model/project_service_identity.py +1 -1
- ory_client/model/project_service_o_auth2.py +1 -1
- ory_client/model/project_service_permission.py +1 -1
- ory_client/model/project_services.py +1 -1
- ory_client/model/projects.py +1 -1
- ory_client/model/quota_usage.py +4 -3
- ory_client/model/recovery_code_for_identity.py +1 -1
- ory_client/model/recovery_flow.py +1 -1
- ory_client/model/recovery_flow_state.py +1 -1
- ory_client/model/recovery_identity_address.py +1 -1
- ory_client/model/recovery_link_for_identity.py +1 -1
- ory_client/model/registration_flow.py +1 -1
- ory_client/model/registration_flow_state.py +1 -1
- ory_client/model/reject_o_auth2_request.py +1 -1
- ory_client/model/relation_query.py +1 -1
- ory_client/model/relationship.py +1 -1
- ory_client/model/relationship_namespaces.py +1 -1
- ory_client/model/relationship_patch.py +1 -1
- ory_client/model/relationships.py +1 -1
- ory_client/model/revision_courier_channels.py +292 -0
- ory_client/model/rfc6749_error_json.py +1 -1
- ory_client/model/schema_patch.py +1 -1
- ory_client/model/self_service_flow_expired_error.py +1 -1
- ory_client/model/session.py +1 -1
- ory_client/model/session_activity_datapoint.py +1 -1
- ory_client/model/session_authentication_method.py +1 -1
- ory_client/model/session_authentication_methods.py +1 -1
- ory_client/model/session_device.py +1 -1
- ory_client/model/set_active_project_in_console_body.py +1 -1
- ory_client/model/set_custom_domain_body.py +1 -1
- ory_client/model/set_event_stream_body.py +287 -0
- ory_client/model/set_project.py +1 -1
- ory_client/model/set_project_branding_theme_body.py +1 -1
- ory_client/model/settings_flow.py +1 -1
- ory_client/model/settings_flow_state.py +1 -1
- ory_client/model/source_position.py +1 -1
- ory_client/model/string_slice_json_format.py +1 -1
- ory_client/model/stripe_customer.py +1 -1
- ory_client/model/subject_set.py +1 -1
- ory_client/model/subscription.py +1 -1
- ory_client/model/successful_code_exchange_response.py +1 -1
- ory_client/model/successful_native_login.py +1 -1
- ory_client/model/successful_native_registration.py +1 -1
- ory_client/model/successful_project_update.py +1 -1
- ory_client/model/token_pagination.py +1 -1
- ory_client/model/token_pagination_headers.py +1 -1
- ory_client/model/token_pagination_request_parameters.py +1 -1
- ory_client/model/token_pagination_response_headers.py +1 -1
- ory_client/model/trust_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_issuer.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_issuers.py +1 -1
- ory_client/model/trusted_o_auth2_jwt_grant_json_web_key.py +1 -1
- ory_client/model/ui_container.py +1 -1
- ory_client/model/ui_node.py +1 -1
- ory_client/model/ui_node_anchor_attributes.py +1 -1
- ory_client/model/ui_node_attributes.py +1 -1
- ory_client/model/ui_node_image_attributes.py +1 -1
- ory_client/model/ui_node_input_attributes.py +1 -1
- ory_client/model/ui_node_meta.py +1 -1
- ory_client/model/ui_node_script_attributes.py +1 -1
- ory_client/model/ui_node_text_attributes.py +1 -1
- ory_client/model/ui_nodes.py +1 -1
- ory_client/model/ui_text.py +1 -1
- ory_client/model/ui_texts.py +1 -1
- ory_client/model/update_identity_body.py +1 -1
- ory_client/model/update_login_flow_body.py +1 -1
- ory_client/model/update_login_flow_with_code_method.py +1 -1
- ory_client/model/update_login_flow_with_lookup_secret_method.py +1 -1
- ory_client/model/update_login_flow_with_oidc_method.py +1 -1
- ory_client/model/update_login_flow_with_password_method.py +1 -1
- ory_client/model/update_login_flow_with_totp_method.py +1 -1
- ory_client/model/update_login_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_recovery_flow_body.py +1 -1
- ory_client/model/update_recovery_flow_with_code_method.py +1 -1
- ory_client/model/update_recovery_flow_with_link_method.py +1 -1
- ory_client/model/update_registration_flow_body.py +1 -1
- ory_client/model/update_registration_flow_with_code_method.py +1 -1
- ory_client/model/update_registration_flow_with_oidc_method.py +1 -1
- ory_client/model/update_registration_flow_with_password_method.py +1 -1
- ory_client/model/update_registration_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_settings_flow_body.py +1 -1
- ory_client/model/update_settings_flow_with_lookup_method.py +1 -1
- ory_client/model/update_settings_flow_with_oidc_method.py +1 -1
- ory_client/model/update_settings_flow_with_password_method.py +1 -1
- ory_client/model/update_settings_flow_with_profile_method.py +1 -1
- ory_client/model/update_settings_flow_with_totp_method.py +1 -1
- ory_client/model/update_settings_flow_with_web_authn_method.py +1 -1
- ory_client/model/update_subscription_body.py +1 -1
- ory_client/model/update_verification_flow_body.py +1 -1
- ory_client/model/update_verification_flow_with_code_method.py +1 -1
- ory_client/model/update_verification_flow_with_link_method.py +1 -1
- ory_client/model/usage.py +1 -1
- ory_client/model/verifiable_credential_priming_response.py +1 -1
- ory_client/model/verifiable_credential_proof.py +1 -1
- ory_client/model/verifiable_credential_response.py +1 -1
- ory_client/model/verifiable_identity_address.py +7 -3
- ory_client/model/verification_flow.py +1 -1
- ory_client/model/verification_flow_state.py +1 -1
- ory_client/model/version.py +1 -1
- ory_client/model/warning.py +1 -1
- ory_client/model/workspace.py +1 -1
- ory_client/model/workspaces.py +1 -1
- ory_client/model_utils.py +1 -1
- ory_client/models/__init__.py +6 -0
- ory_client/rest.py +1 -1
- {ory_client-1.4.9.dist-info → ory_client-1.5.1.dist-info}/METADATA +1 -1
- ory_client-1.5.1.dist-info/RECORD +305 -0
- ory_client-1.4.9.dist-info/RECORD +0 -298
- {ory_client-1.4.9.dist-info → ory_client-1.5.1.dist-info}/LICENSE +0 -0
- {ory_client-1.4.9.dist-info → ory_client-1.5.1.dist-info}/WHEEL +0 -0
- {ory_client-1.4.9.dist-info → ory_client-1.5.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,328 @@
|
|
1
|
+
"""
|
2
|
+
Ory APIs
|
3
|
+
|
4
|
+
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
"""
|
10
|
+
|
11
|
+
|
12
|
+
import re # noqa: F401
|
13
|
+
import sys # noqa: F401
|
14
|
+
|
15
|
+
from ory_client.model_utils import ( # noqa: F401
|
16
|
+
ApiTypeError,
|
17
|
+
ModelComposed,
|
18
|
+
ModelNormal,
|
19
|
+
ModelSimple,
|
20
|
+
cached_property,
|
21
|
+
change_keys_js_to_python,
|
22
|
+
convert_js_args_to_python_args,
|
23
|
+
date,
|
24
|
+
datetime,
|
25
|
+
file_type,
|
26
|
+
none_type,
|
27
|
+
validate_get_composed_info,
|
28
|
+
OpenApiModel
|
29
|
+
)
|
30
|
+
from ory_client.exceptions import ApiAttributeError
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
class NormalizedProjectRevisionCourierChannel(ModelNormal):
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
36
|
+
Ref: https://openapi-generator.tech
|
37
|
+
|
38
|
+
Do not edit the class manually.
|
39
|
+
|
40
|
+
Attributes:
|
41
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
42
|
+
and the for var_name this is (var_name,). The value is a dict
|
43
|
+
with a capitalized key describing the allowed value and an allowed
|
44
|
+
value. These dicts store the allowed enum values.
|
45
|
+
attribute_map (dict): The key is attribute name
|
46
|
+
and the value is json key in definition.
|
47
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
48
|
+
variable value to the discriminator class name.
|
49
|
+
validations (dict): The key is the tuple path to the attribute
|
50
|
+
and the for var_name this is (var_name,). The value is a dict
|
51
|
+
that stores validations for max_length, min_length, max_items,
|
52
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
53
|
+
inclusive_minimum, and regex.
|
54
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
55
|
+
as additional properties values.
|
56
|
+
"""
|
57
|
+
|
58
|
+
allowed_values = {
|
59
|
+
('request_config_auth_type',): {
|
60
|
+
'BASIC_AUTH': "basic_auth",
|
61
|
+
'API_KEY': "api_key",
|
62
|
+
},
|
63
|
+
}
|
64
|
+
|
65
|
+
validations = {
|
66
|
+
}
|
67
|
+
|
68
|
+
@cached_property
|
69
|
+
def additional_properties_type():
|
70
|
+
"""
|
71
|
+
This must be a method because a model may have properties that are
|
72
|
+
of type self, this must run after the class is loaded
|
73
|
+
"""
|
74
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
75
|
+
|
76
|
+
_nullable = False
|
77
|
+
|
78
|
+
@cached_property
|
79
|
+
def openapi_types():
|
80
|
+
"""
|
81
|
+
This must be a method because a model may have properties that are
|
82
|
+
of type self, this must run after the class is loaded
|
83
|
+
|
84
|
+
Returns
|
85
|
+
openapi_types (dict): The key is attribute name
|
86
|
+
and the value is attribute type.
|
87
|
+
"""
|
88
|
+
return {
|
89
|
+
'channel_id': (str,), # noqa: E501
|
90
|
+
'request_config_body': (str,), # noqa: E501
|
91
|
+
'request_config_method': (str,), # noqa: E501
|
92
|
+
'created_at': (datetime,), # noqa: E501
|
93
|
+
'request_config_auth_config_api_key_in': (str,), # noqa: E501
|
94
|
+
'request_config_auth_config_api_key_name': (str,), # noqa: E501
|
95
|
+
'request_config_auth_config_api_key_value': (str,), # noqa: E501
|
96
|
+
'request_config_auth_config_basic_auth_password': (str,), # noqa: E501
|
97
|
+
'request_config_auth_config_basic_auth_user': (str,), # noqa: E501
|
98
|
+
'request_config_auth_type': (str,), # noqa: E501
|
99
|
+
'request_config_headers': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
|
100
|
+
'request_config_url': (str,), # noqa: E501
|
101
|
+
'updated_at': (datetime,), # noqa: E501
|
102
|
+
}
|
103
|
+
|
104
|
+
@cached_property
|
105
|
+
def discriminator():
|
106
|
+
return None
|
107
|
+
|
108
|
+
|
109
|
+
attribute_map = {
|
110
|
+
'channel_id': 'channel_id', # noqa: E501
|
111
|
+
'request_config_body': 'request_config_body', # noqa: E501
|
112
|
+
'request_config_method': 'request_config_method', # noqa: E501
|
113
|
+
'created_at': 'created_at', # noqa: E501
|
114
|
+
'request_config_auth_config_api_key_in': 'request_config_auth_config_api_key_in', # noqa: E501
|
115
|
+
'request_config_auth_config_api_key_name': 'request_config_auth_config_api_key_name', # noqa: E501
|
116
|
+
'request_config_auth_config_api_key_value': 'request_config_auth_config_api_key_value', # noqa: E501
|
117
|
+
'request_config_auth_config_basic_auth_password': 'request_config_auth_config_basic_auth_password', # noqa: E501
|
118
|
+
'request_config_auth_config_basic_auth_user': 'request_config_auth_config_basic_auth_user', # noqa: E501
|
119
|
+
'request_config_auth_type': 'request_config_auth_type', # noqa: E501
|
120
|
+
'request_config_headers': 'request_config_headers', # noqa: E501
|
121
|
+
'request_config_url': 'request_config_url', # noqa: E501
|
122
|
+
'updated_at': 'updated_at', # noqa: E501
|
123
|
+
}
|
124
|
+
|
125
|
+
read_only_vars = {
|
126
|
+
'created_at', # noqa: E501
|
127
|
+
'updated_at', # noqa: E501
|
128
|
+
}
|
129
|
+
|
130
|
+
_composed_schemas = {}
|
131
|
+
|
132
|
+
@classmethod
|
133
|
+
@convert_js_args_to_python_args
|
134
|
+
def _from_openapi_data(cls, channel_id, request_config_body, request_config_method, *args, **kwargs): # noqa: E501
|
135
|
+
"""NormalizedProjectRevisionCourierChannel - a model defined in OpenAPI
|
136
|
+
|
137
|
+
Args:
|
138
|
+
channel_id (str): The Channel's public ID
|
139
|
+
request_config_body (str): URI pointing to the JsonNet template used for HTTP body payload generation.
|
140
|
+
request_config_method (str): The HTTP method to use (GET, POST, etc) for the HTTP call
|
141
|
+
|
142
|
+
Keyword Args:
|
143
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
144
|
+
will be type checked and a TypeError will be
|
145
|
+
raised if the wrong type is input.
|
146
|
+
Defaults to True
|
147
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
148
|
+
drill down to the model in received_data
|
149
|
+
when deserializing a response
|
150
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
151
|
+
are serialized names, as specified in the OpenAPI document.
|
152
|
+
False if the variable names in the input data
|
153
|
+
are pythonic names, e.g. snake case (default)
|
154
|
+
_configuration (Configuration): the instance to use when
|
155
|
+
deserializing a file_type parameter.
|
156
|
+
If passed, type conversion is attempted
|
157
|
+
If omitted no type conversion is done.
|
158
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
159
|
+
classes that we have traveled through so that
|
160
|
+
if we see that class again we will not use its
|
161
|
+
discriminator again.
|
162
|
+
When traveling through a discriminator, the
|
163
|
+
composed schema that is
|
164
|
+
is traveled through is added to this set.
|
165
|
+
For example if Animal has a discriminator
|
166
|
+
petType and we pass in "Dog", and the class Dog
|
167
|
+
allOf includes Animal, we move through Animal
|
168
|
+
once using the discriminator, and pick Dog.
|
169
|
+
Then in Dog, we will make an instance of the
|
170
|
+
Animal class but this time we won't travel
|
171
|
+
through its discriminator because we passed in
|
172
|
+
_visited_composed_classes = (Animal,)
|
173
|
+
created_at (datetime): The creation date. [optional] # noqa: E501
|
174
|
+
request_config_auth_config_api_key_in (str): API key location Can either be \"header\" or \"query\". [optional] # noqa: E501
|
175
|
+
request_config_auth_config_api_key_name (str): API key name Only used if the auth type is api_key. [optional] # noqa: E501
|
176
|
+
request_config_auth_config_api_key_value (str): API key value Only used if the auth type is api_key. [optional] # noqa: E501
|
177
|
+
request_config_auth_config_basic_auth_password (str): Basic Auth Password Only used if the auth type is basic_auth. [optional] # noqa: E501
|
178
|
+
request_config_auth_config_basic_auth_user (str): Basic Auth Username Only used if the auth type is basic_auth. [optional] # noqa: E501
|
179
|
+
request_config_auth_type (str): HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey. [optional] # noqa: E501
|
180
|
+
request_config_headers ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-. [optional] # noqa: E501
|
181
|
+
request_config_url (str): [optional] # noqa: E501
|
182
|
+
updated_at (datetime): Last upate time. [optional] # noqa: E501
|
183
|
+
"""
|
184
|
+
|
185
|
+
_check_type = kwargs.pop('_check_type', True)
|
186
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
187
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
188
|
+
_configuration = kwargs.pop('_configuration', None)
|
189
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
190
|
+
|
191
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
192
|
+
|
193
|
+
if args:
|
194
|
+
for arg in args:
|
195
|
+
if isinstance(arg, dict):
|
196
|
+
kwargs.update(arg)
|
197
|
+
else:
|
198
|
+
raise ApiTypeError(
|
199
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
200
|
+
args,
|
201
|
+
self.__class__.__name__,
|
202
|
+
),
|
203
|
+
path_to_item=_path_to_item,
|
204
|
+
valid_classes=(self.__class__,),
|
205
|
+
)
|
206
|
+
|
207
|
+
self._data_store = {}
|
208
|
+
self._check_type = _check_type
|
209
|
+
self._spec_property_naming = _spec_property_naming
|
210
|
+
self._path_to_item = _path_to_item
|
211
|
+
self._configuration = _configuration
|
212
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
213
|
+
|
214
|
+
self.channel_id = channel_id
|
215
|
+
self.request_config_body = request_config_body
|
216
|
+
self.request_config_method = request_config_method
|
217
|
+
for var_name, var_value in kwargs.items():
|
218
|
+
if var_name not in self.attribute_map and \
|
219
|
+
self._configuration is not None and \
|
220
|
+
self._configuration.discard_unknown_keys and \
|
221
|
+
self.additional_properties_type is None:
|
222
|
+
# discard variable.
|
223
|
+
continue
|
224
|
+
setattr(self, var_name, var_value)
|
225
|
+
return self
|
226
|
+
|
227
|
+
required_properties = set([
|
228
|
+
'_data_store',
|
229
|
+
'_check_type',
|
230
|
+
'_spec_property_naming',
|
231
|
+
'_path_to_item',
|
232
|
+
'_configuration',
|
233
|
+
'_visited_composed_classes',
|
234
|
+
])
|
235
|
+
|
236
|
+
@convert_js_args_to_python_args
|
237
|
+
def __init__(self, channel_id, request_config_body, request_config_method, *args, **kwargs): # noqa: E501
|
238
|
+
"""NormalizedProjectRevisionCourierChannel - a model defined in OpenAPI
|
239
|
+
|
240
|
+
Args:
|
241
|
+
channel_id (str): The Channel's public ID
|
242
|
+
request_config_body (str): URI pointing to the JsonNet template used for HTTP body payload generation.
|
243
|
+
request_config_method (str): The HTTP method to use (GET, POST, etc) for the HTTP call
|
244
|
+
|
245
|
+
Keyword Args:
|
246
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
247
|
+
will be type checked and a TypeError will be
|
248
|
+
raised if the wrong type is input.
|
249
|
+
Defaults to True
|
250
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
251
|
+
drill down to the model in received_data
|
252
|
+
when deserializing a response
|
253
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
254
|
+
are serialized names, as specified in the OpenAPI document.
|
255
|
+
False if the variable names in the input data
|
256
|
+
are pythonic names, e.g. snake case (default)
|
257
|
+
_configuration (Configuration): the instance to use when
|
258
|
+
deserializing a file_type parameter.
|
259
|
+
If passed, type conversion is attempted
|
260
|
+
If omitted no type conversion is done.
|
261
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
262
|
+
classes that we have traveled through so that
|
263
|
+
if we see that class again we will not use its
|
264
|
+
discriminator again.
|
265
|
+
When traveling through a discriminator, the
|
266
|
+
composed schema that is
|
267
|
+
is traveled through is added to this set.
|
268
|
+
For example if Animal has a discriminator
|
269
|
+
petType and we pass in "Dog", and the class Dog
|
270
|
+
allOf includes Animal, we move through Animal
|
271
|
+
once using the discriminator, and pick Dog.
|
272
|
+
Then in Dog, we will make an instance of the
|
273
|
+
Animal class but this time we won't travel
|
274
|
+
through its discriminator because we passed in
|
275
|
+
_visited_composed_classes = (Animal,)
|
276
|
+
created_at (datetime): The creation date. [optional] # noqa: E501
|
277
|
+
request_config_auth_config_api_key_in (str): API key location Can either be \"header\" or \"query\". [optional] # noqa: E501
|
278
|
+
request_config_auth_config_api_key_name (str): API key name Only used if the auth type is api_key. [optional] # noqa: E501
|
279
|
+
request_config_auth_config_api_key_value (str): API key value Only used if the auth type is api_key. [optional] # noqa: E501
|
280
|
+
request_config_auth_config_basic_auth_password (str): Basic Auth Password Only used if the auth type is basic_auth. [optional] # noqa: E501
|
281
|
+
request_config_auth_config_basic_auth_user (str): Basic Auth Username Only used if the auth type is basic_auth. [optional] # noqa: E501
|
282
|
+
request_config_auth_type (str): HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey. [optional] # noqa: E501
|
283
|
+
request_config_headers ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-. [optional] # noqa: E501
|
284
|
+
request_config_url (str): [optional] # noqa: E501
|
285
|
+
updated_at (datetime): Last upate time. [optional] # noqa: E501
|
286
|
+
"""
|
287
|
+
|
288
|
+
_check_type = kwargs.pop('_check_type', True)
|
289
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
290
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
291
|
+
_configuration = kwargs.pop('_configuration', None)
|
292
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
293
|
+
|
294
|
+
if args:
|
295
|
+
for arg in args:
|
296
|
+
if isinstance(arg, dict):
|
297
|
+
kwargs.update(arg)
|
298
|
+
else:
|
299
|
+
raise ApiTypeError(
|
300
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
301
|
+
args,
|
302
|
+
self.__class__.__name__,
|
303
|
+
),
|
304
|
+
path_to_item=_path_to_item,
|
305
|
+
valid_classes=(self.__class__,),
|
306
|
+
)
|
307
|
+
|
308
|
+
self._data_store = {}
|
309
|
+
self._check_type = _check_type
|
310
|
+
self._spec_property_naming = _spec_property_naming
|
311
|
+
self._path_to_item = _path_to_item
|
312
|
+
self._configuration = _configuration
|
313
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
314
|
+
|
315
|
+
self.channel_id = channel_id
|
316
|
+
self.request_config_body = request_config_body
|
317
|
+
self.request_config_method = request_config_method
|
318
|
+
for var_name, var_value in kwargs.items():
|
319
|
+
if var_name not in self.attribute_map and \
|
320
|
+
self._configuration is not None and \
|
321
|
+
self._configuration.discard_unknown_keys and \
|
322
|
+
self.additional_properties_type is None:
|
323
|
+
# discard variable.
|
324
|
+
continue
|
325
|
+
setattr(self, var_name, var_value)
|
326
|
+
if var_name in self.read_only_vars:
|
327
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
328
|
+
f"class with read only attributes.")
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -95,11 +95,11 @@ class OAuth2LoginRequest(ModelNormal):
|
|
95
95
|
'challenge': (str,), # noqa: E501
|
96
96
|
'client': (OAuth2Client,), # noqa: E501
|
97
97
|
'request_url': (str,), # noqa: E501
|
98
|
-
'requested_access_token_audience': (StringSliceJSONFormat,), # noqa: E501
|
99
|
-
'requested_scope': (StringSliceJSONFormat,), # noqa: E501
|
100
98
|
'skip': (bool,), # noqa: E501
|
101
99
|
'subject': (str,), # noqa: E501
|
102
100
|
'oidc_context': (OAuth2ConsentRequestOpenIDConnectContext,), # noqa: E501
|
101
|
+
'requested_access_token_audience': (StringSliceJSONFormat,), # noqa: E501
|
102
|
+
'requested_scope': (StringSliceJSONFormat,), # noqa: E501
|
103
103
|
'session_id': (str,), # noqa: E501
|
104
104
|
}
|
105
105
|
|
@@ -112,11 +112,11 @@ class OAuth2LoginRequest(ModelNormal):
|
|
112
112
|
'challenge': 'challenge', # noqa: E501
|
113
113
|
'client': 'client', # noqa: E501
|
114
114
|
'request_url': 'request_url', # noqa: E501
|
115
|
-
'requested_access_token_audience': 'requested_access_token_audience', # noqa: E501
|
116
|
-
'requested_scope': 'requested_scope', # noqa: E501
|
117
115
|
'skip': 'skip', # noqa: E501
|
118
116
|
'subject': 'subject', # noqa: E501
|
119
117
|
'oidc_context': 'oidc_context', # noqa: E501
|
118
|
+
'requested_access_token_audience': 'requested_access_token_audience', # noqa: E501
|
119
|
+
'requested_scope': 'requested_scope', # noqa: E501
|
120
120
|
'session_id': 'session_id', # noqa: E501
|
121
121
|
}
|
122
122
|
|
@@ -127,15 +127,13 @@ class OAuth2LoginRequest(ModelNormal):
|
|
127
127
|
|
128
128
|
@classmethod
|
129
129
|
@convert_js_args_to_python_args
|
130
|
-
def _from_openapi_data(cls, challenge, client, request_url,
|
130
|
+
def _from_openapi_data(cls, challenge, client, request_url, skip, subject, *args, **kwargs): # noqa: E501
|
131
131
|
"""OAuth2LoginRequest - a model defined in OpenAPI
|
132
132
|
|
133
133
|
Args:
|
134
134
|
challenge (str): ID is the identifier (\"login challenge\") of the login request. It is used to identify the session.
|
135
135
|
client (OAuth2Client):
|
136
136
|
request_url (str): RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
|
137
|
-
requested_access_token_audience (StringSliceJSONFormat):
|
138
|
-
requested_scope (StringSliceJSONFormat):
|
139
137
|
skip (bool): Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information.
|
140
138
|
subject (str): Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail.
|
141
139
|
|
@@ -171,6 +169,8 @@ class OAuth2LoginRequest(ModelNormal):
|
|
171
169
|
through its discriminator because we passed in
|
172
170
|
_visited_composed_classes = (Animal,)
|
173
171
|
oidc_context (OAuth2ConsentRequestOpenIDConnectContext): [optional] # noqa: E501
|
172
|
+
requested_access_token_audience (StringSliceJSONFormat): [optional] # noqa: E501
|
173
|
+
requested_scope (StringSliceJSONFormat): [optional] # noqa: E501
|
174
174
|
session_id (str): SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.. [optional] # noqa: E501
|
175
175
|
"""
|
176
176
|
|
@@ -206,8 +206,6 @@ class OAuth2LoginRequest(ModelNormal):
|
|
206
206
|
self.challenge = challenge
|
207
207
|
self.client = client
|
208
208
|
self.request_url = request_url
|
209
|
-
self.requested_access_token_audience = requested_access_token_audience
|
210
|
-
self.requested_scope = requested_scope
|
211
209
|
self.skip = skip
|
212
210
|
self.subject = subject
|
213
211
|
for var_name, var_value in kwargs.items():
|
@@ -230,15 +228,13 @@ class OAuth2LoginRequest(ModelNormal):
|
|
230
228
|
])
|
231
229
|
|
232
230
|
@convert_js_args_to_python_args
|
233
|
-
def __init__(self, challenge, client, request_url,
|
231
|
+
def __init__(self, challenge, client, request_url, skip, subject, *args, **kwargs): # noqa: E501
|
234
232
|
"""OAuth2LoginRequest - a model defined in OpenAPI
|
235
233
|
|
236
234
|
Args:
|
237
235
|
challenge (str): ID is the identifier (\"login challenge\") of the login request. It is used to identify the session.
|
238
236
|
client (OAuth2Client):
|
239
237
|
request_url (str): RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
|
240
|
-
requested_access_token_audience (StringSliceJSONFormat):
|
241
|
-
requested_scope (StringSliceJSONFormat):
|
242
238
|
skip (bool): Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information.
|
243
239
|
subject (str): Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail.
|
244
240
|
|
@@ -274,6 +270,8 @@ class OAuth2LoginRequest(ModelNormal):
|
|
274
270
|
through its discriminator because we passed in
|
275
271
|
_visited_composed_classes = (Animal,)
|
276
272
|
oidc_context (OAuth2ConsentRequestOpenIDConnectContext): [optional] # noqa: E501
|
273
|
+
requested_access_token_audience (StringSliceJSONFormat): [optional] # noqa: E501
|
274
|
+
requested_scope (StringSliceJSONFormat): [optional] # noqa: E501
|
277
275
|
session_id (str): SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.. [optional] # noqa: E501
|
278
276
|
"""
|
279
277
|
|
@@ -307,8 +305,6 @@ class OAuth2LoginRequest(ModelNormal):
|
|
307
305
|
self.challenge = challenge
|
308
306
|
self.client = client
|
309
307
|
self.request_url = request_url
|
310
|
-
self.requested_access_token_audience = requested_access_token_audience
|
311
|
-
self.requested_scope = requested_scope
|
312
308
|
self.skip = skip
|
313
309
|
self.subject = subject
|
314
310
|
for var_name, var_value in kwargs.items():
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|
ory_client/model/organization.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.5.1
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
"""
|