ory-client 0.2.0.alpha4 → 0.2.0.alpha14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +112 -19
- data/docs/AcceptOAuth2ConsentRequest.md +28 -0
- data/docs/AcceptOAuth2ConsentRequestSession.md +20 -0
- data/docs/AcceptOAuth2LoginRequest.md +30 -0
- data/docs/AdminApi.md +76 -0
- data/docs/AdminCreateJsonWebKeySetBody.md +22 -0
- data/docs/AdminTrustOAuth2JwtGrantIssuerBody.md +28 -0
- data/docs/{IdentitySchemaLocation.md → GetManagedIdentitySchemaLocation.md} +2 -2
- data/docs/HandledOAuth2ConsentRequest.md +18 -0
- data/docs/HandledOAuth2LoginRequest.md +18 -0
- data/docs/HandledOAuth2LogoutRequest.md +18 -0
- data/docs/Headers.md +18 -0
- data/docs/IDTokenClaims.md +44 -0
- data/docs/IdentitySchemaContainer.md +1 -1
- data/docs/IntrospectedOAuth2Token.md +44 -0
- data/docs/{IsAlive200Response.md → IsReady200Response.md} +2 -2
- data/docs/JsonWebKey.md +50 -0
- data/docs/JsonWebKeySet.md +18 -0
- data/docs/{IdentitySchema.md → ManagedIdentitySchema.md} +2 -2
- data/docs/{IdentitySchemaValidationResult.md → ManagedIdentitySchemaValidationResult.md} +2 -2
- data/docs/MetadataApi.md +8 -8
- data/docs/NormalizedProjectRevision.md +82 -0
- data/docs/NormalizedProjectRevisionIdentitySchema.md +1 -1
- data/docs/OAuth2AccessRequest.md +24 -0
- data/docs/OAuth2ApiError.md +24 -0
- data/docs/OAuth2Client.md +110 -0
- data/docs/OAuth2ConsentRequest.md +42 -0
- data/docs/OAuth2ConsentRequestOpenIDConnectContext.md +26 -0
- data/docs/OAuth2ConsentSession.md +36 -0
- data/docs/OAuth2LoginRequest.md +34 -0
- data/docs/OAuth2LogoutRequest.md +28 -0
- data/docs/OAuth2TokenResponse.md +28 -0
- data/docs/OidcConfiguration.md +74 -0
- data/docs/OidcUserInfo.md +54 -0
- data/docs/Pagination.md +4 -0
- data/docs/PaginationHeaders.md +20 -0
- data/docs/PreviousOAuth2ConsentSession.md +30 -0
- data/docs/ProjectServiceOAuth2.md +18 -0
- data/docs/ProjectServices.md +2 -0
- data/docs/RefreshTokenHookRequest.md +28 -0
- data/docs/RefreshTokenHookResponse.md +18 -0
- data/docs/RejectOAuth2Request.md +26 -0
- data/docs/Subscription.md +1 -1
- data/docs/SuccessfulOAuth2RequestResponse.md +18 -0
- data/docs/TrustedOAuth2JwtGrantIssuer.md +32 -0
- data/docs/TrustedOAuth2JwtGrantJsonWebKey.md +20 -0
- data/docs/UpdateOAuth2ClientLifespans.md +40 -0
- data/docs/V0alpha2Api.md +3238 -253
- data/lib/ory-client/api/admin_api.rb +90 -0
- data/lib/ory-client/api/metadata_api.rb +7 -7
- data/lib/ory-client/api/read_api.rb +1 -1
- data/lib/ory-client/api/v0alpha2_api.rb +3117 -300
- data/lib/ory-client/api/write_api.rb +1 -1
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/configuration.rb +22 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +270 -0
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +232 -0
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +285 -0
- data/lib/ory-client/models/active_project.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/admin_create_json_web_key_set_body.rb +255 -0
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
- data/lib/ory-client/models/admin_trust_o_auth2_jwt_grant_issuer_body.rb +291 -0
- data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-client/models/api_token.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/cname_settings.rb +1 -1
- data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/create_project_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_payload.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/expand_tree.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +1 -1
- data/lib/ory-client/models/generic_error_content.rb +1 -1
- data/lib/ory-client/models/get_check_response.rb +1 -1
- data/lib/ory-client/models/{identity_schema_location.rb → get_managed_identity_schema_location.rb} +4 -4
- data/lib/ory-client/models/get_relation_tuples_response.rb +1 -1
- data/lib/ory-client/models/get_version200_response.rb +1 -1
- data/lib/ory-client/models/handled_o_auth2_consent_request.rb +225 -0
- data/lib/ory-client/models/handled_o_auth2_login_request.rb +225 -0
- data/lib/ory-client/models/handled_o_auth2_logout_request.rb +225 -0
- data/lib/ory-client/models/headers.rb +222 -0
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/id_token_claims.rb +343 -0
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/identity_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +1 -1
- data/lib/ory-client/models/identity_schema_container.rb +3 -2
- data/lib/ory-client/models/identity_schema_preset.rb +1 -1
- data/lib/ory-client/models/identity_state.rb +1 -1
- data/lib/ory-client/models/internal_relation_tuple.rb +1 -1
- data/lib/ory-client/models/introspected_o_auth2_token.rb +360 -0
- data/lib/ory-client/models/invite_payload.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
- data/lib/ory-client/models/{is_alive200_response.rb → is_ready200_response.rb} +4 -4
- data/lib/ory-client/models/is_ready503_response.rb +1 -1
- data/lib/ory-client/models/json_error.rb +1 -1
- data/lib/ory-client/models/json_patch.rb +1 -1
- data/lib/ory-client/models/json_web_key.rb +390 -0
- data/lib/ory-client/models/json_web_key_set.rb +223 -0
- data/lib/ory-client/models/keto_namespace.rb +1 -1
- data/lib/ory-client/models/{identity_schema.rb → managed_identity_schema.rb} +4 -4
- data/lib/ory-client/models/{identity_schema_validation_result.rb → managed_identity_schema_validation_result.rb} +4 -4
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision.rb +525 -2
- data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +2 -2
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
- data/lib/ory-client/models/null_plan.rb +3 -1
- data/lib/ory-client/models/o_auth2_access_request.rb +256 -0
- data/lib/ory-client/models/o_auth2_api_error.rb +251 -0
- data/lib/ory-client/models/o_auth2_client.rb +890 -0
- data/lib/ory-client/models/o_auth2_consent_request.rb +345 -0
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +266 -0
- data/lib/ory-client/models/o_auth2_consent_session.rb +304 -0
- data/lib/ory-client/models/o_auth2_login_request.rb +335 -0
- data/lib/ory-client/models/o_auth2_logout_request.rb +269 -0
- data/lib/ory-client/models/o_auth2_token_response.rb +271 -0
- data/lib/ory-client/models/oidc_configuration.rb +572 -0
- data/lib/ory-client/models/oidc_user_info.rb +401 -0
- data/lib/ory-client/models/pagination.rb +56 -2
- data/lib/ory-client/models/pagination_headers.rb +230 -0
- data/lib/ory-client/models/patch_delta.rb +1 -1
- data/lib/ory-client/models/previous_o_auth2_consent_session.rb +280 -0
- data/lib/ory-client/models/project.rb +1 -1
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_invite.rb +1 -1
- data/lib/ory-client/models/project_metadata.rb +1 -1
- data/lib/ory-client/models/project_service_identity.rb +1 -1
- data/lib/ory-client/models/project_service_o_auth2.rb +224 -0
- data/lib/ory-client/models/project_service_permission.rb +1 -1
- data/lib/ory-client/models/project_services.rb +11 -2
- data/lib/ory-client/models/provision_mock_subscription_payload.rb +1 -1
- data/lib/ory-client/models/quota_custom_domains.rb +1 -1
- data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/refresh_token_hook_request.rb +272 -0
- data/lib/ory-client/models/refresh_token_hook_response.rb +219 -0
- data/lib/ory-client/models/reject_o_auth2_request.rb +260 -0
- data/lib/ory-client/models/relation_query.rb +1 -1
- data/lib/ory-client/models/revoked_sessions.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
- data/lib/ory-client/models/self_service_error.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/self_service_login_flow.rb +1 -1
- data/lib/ory-client/models/self_service_logout_url.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
- data/lib/ory-client/models/stripe_customer_response.rb +1 -1
- data/lib/ory-client/models/subject_set.rb +1 -1
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/subscription.rb +4 -4
- data/lib/ory-client/models/successful_o_auth2_request_response.rb +225 -0
- data/lib/ory-client/models/successful_project_update.rb +1 -1
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
- data/lib/ory-client/models/token_pagination.rb +1 -1
- data/lib/ory-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +290 -0
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +230 -0
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +1 -1
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.rb +9 -9
- data/lib/ory-client/models/ui_node_meta.rb +1 -1
- data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
- data/lib/ory-client/models/ui_text.rb +1 -1
- data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +535 -0
- data/lib/ory-client/models/update_project.rb +1 -1
- data/lib/ory-client/models/update_subscription_payload.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.rb +1 -1
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +40 -5
- data/ory-client.gemspec +1 -1
- data/spec/api/admin_api_spec.rb +47 -0
- data/spec/api/metadata_api_spec.rb +3 -3
- data/spec/api/read_api_spec.rb +1 -1
- data/spec/api/v0alpha2_api_spec.rb +532 -3
- data/spec/api/write_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +40 -0
- data/spec/models/accept_o_auth2_consent_request_spec.rb +64 -0
- data/spec/models/accept_o_auth2_login_request_spec.rb +70 -0
- data/spec/models/active_project_spec.rb +1 -1
- data/spec/models/admin_create_identity_body_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
- data/spec/models/admin_create_json_web_key_set_body_spec.rb +46 -0
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
- data/spec/models/admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb +64 -0
- data/spec/models/admin_update_identity_body_spec.rb +1 -1
- data/spec/models/api_token_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/cname_settings_spec.rb +1 -1
- data/spec/models/create_custom_hostname_body_spec.rb +1 -1
- data/spec/models/create_project_body_spec.rb +1 -1
- data/spec/models/create_subscription_payload_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/expand_tree_spec.rb +1 -1
- data/spec/models/generic_error_content_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/get_check_response_spec.rb +1 -1
- data/spec/models/{identity_schema_location_spec.rb → get_managed_identity_schema_location_spec.rb} +7 -7
- data/spec/models/get_relation_tuples_response_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/handled_o_auth2_consent_request_spec.rb +34 -0
- data/spec/models/handled_o_auth2_login_request_spec.rb +34 -0
- data/spec/models/handled_o_auth2_logout_request_spec.rb +34 -0
- data/spec/models/headers_spec.rb +34 -0
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/id_token_claims_spec.rb +112 -0
- data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_credentials_password_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_type_spec.rb +1 -1
- data/spec/models/identity_schema_container_spec.rb +1 -1
- data/spec/models/identity_schema_preset_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_state_spec.rb +1 -1
- data/spec/models/internal_relation_tuple_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +112 -0
- data/spec/models/invite_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/{is_alive200_response_spec.rb → is_ready200_response_spec.rb} +7 -7
- data/spec/models/is_ready503_response_spec.rb +1 -1
- data/spec/models/json_error_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +34 -0
- data/spec/models/json_web_key_spec.rb +130 -0
- data/spec/models/keto_namespace_spec.rb +1 -1
- data/spec/models/{identity_schema_spec.rb → managed_identity_schema_spec.rb} +7 -7
- data/spec/models/{identity_schema_validation_result_spec.rb → managed_identity_schema_validation_result_spec.rb} +7 -7
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
- data/spec/models/normalized_project_revision_spec.rb +247 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
- data/spec/models/normalized_project_spec.rb +1 -1
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/o_auth2_access_request_spec.rb +52 -0
- data/spec/models/o_auth2_api_error_spec.rb +52 -0
- data/spec/models/o_auth2_client_spec.rb +310 -0
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +58 -0
- data/spec/models/o_auth2_consent_request_spec.rb +106 -0
- data/spec/models/o_auth2_consent_session_spec.rb +88 -0
- data/spec/models/o_auth2_login_request_spec.rb +82 -0
- data/spec/models/o_auth2_logout_request_spec.rb +64 -0
- data/spec/models/o_auth2_token_response_spec.rb +64 -0
- data/spec/models/oidc_configuration_spec.rb +202 -0
- data/spec/models/oidc_user_info_spec.rb +142 -0
- data/spec/models/pagination_headers_spec.rb +40 -0
- data/spec/models/pagination_spec.rb +13 -1
- data/spec/models/patch_delta_spec.rb +1 -1
- data/spec/models/previous_o_auth2_consent_session_spec.rb +70 -0
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_invite_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +1 -1
- data/spec/models/project_service_o_auth2_spec.rb +34 -0
- data/spec/models/project_service_permission_spec.rb +1 -1
- data/spec/models/project_services_spec.rb +7 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/provision_mock_subscription_payload_spec.rb +1 -1
- data/spec/models/quota_custom_domains_spec.rb +1 -1
- data/spec/models/quota_project_member_seats_spec.rb +1 -1
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/refresh_token_hook_request_spec.rb +64 -0
- data/spec/models/refresh_token_hook_response_spec.rb +34 -0
- data/spec/models/reject_o_auth2_request_spec.rb +58 -0
- data/spec/models/relation_query_spec.rb +1 -1
- data/spec/models/revoked_sessions_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/self_service_login_flow_spec.rb +1 -1
- data/spec/models/self_service_logout_url_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
- data/spec/models/self_service_recovery_link_spec.rb +1 -1
- data/spec/models/self_service_registration_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/settings_profile_form_config_spec.rb +1 -1
- data/spec/models/stripe_customer_response_spec.rb +1 -1
- data/spec/models/subject_set_spec.rb +1 -1
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_o_auth2_request_response_spec.rb +34 -0
- data/spec/models/successful_project_update_spec.rb +1 -1
- data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +76 -0
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +40 -0
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +5 -5
- data/spec/models/ui_node_meta_spec.rb +1 -1
- data/spec/models/ui_node_script_attributes_spec.rb +1 -1
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +1 -1
- data/spec/models/ui_text_spec.rb +1 -1
- data/spec/models/update_custom_hostname_body_spec.rb +1 -1
- data/spec/models/update_o_auth2_client_lifespans_spec.rb +100 -0
- data/spec/models/update_project_spec.rb +1 -1
- data/spec/models/update_subscription_payload_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/all.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/processor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/base.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/builders/default.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/clobbering_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current_arg_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/deprecation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic/engine.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/dedenter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/explanation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/literal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/stack_state.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/macruby.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/max_numparam_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/meta.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby18.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby19.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby20.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby21.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby22.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby23.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby24.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby25.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby26.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby27.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby28.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby30.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby31.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby32.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rubymotion.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_parse.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/buffer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment/associator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/collection.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/condition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/constant.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/for.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/heredoc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/index.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/keyword.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/method_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/operator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/rescue_body.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/send.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/ternary.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/variable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/range.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/static_environment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/variables_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/parser.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.2.0.gemspec → parser-3.1.2.1.gemspec} +4 -4
- metadata +236 -96
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.0.gem +0 -0
@@ -0,0 +1,390 @@
|
|
1
|
+
=begin
|
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.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.14
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
class JsonWebKey
|
18
|
+
# The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name.
|
19
|
+
attr_accessor :alg
|
20
|
+
|
21
|
+
attr_accessor :crv
|
22
|
+
|
23
|
+
attr_accessor :d
|
24
|
+
|
25
|
+
attr_accessor :dp
|
26
|
+
|
27
|
+
attr_accessor :dq
|
28
|
+
|
29
|
+
attr_accessor :e
|
30
|
+
|
31
|
+
attr_accessor :k
|
32
|
+
|
33
|
+
# The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string.
|
34
|
+
attr_accessor :kid
|
35
|
+
|
36
|
+
# The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string.
|
37
|
+
attr_accessor :kty
|
38
|
+
|
39
|
+
attr_accessor :n
|
40
|
+
|
41
|
+
attr_accessor :p
|
42
|
+
|
43
|
+
attr_accessor :q
|
44
|
+
|
45
|
+
attr_accessor :qi
|
46
|
+
|
47
|
+
# Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).
|
48
|
+
attr_accessor :use
|
49
|
+
|
50
|
+
attr_accessor :x
|
51
|
+
|
52
|
+
# The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.
|
53
|
+
attr_accessor :x5c
|
54
|
+
|
55
|
+
attr_accessor :y
|
56
|
+
|
57
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
58
|
+
def self.attribute_map
|
59
|
+
{
|
60
|
+
:'alg' => :'alg',
|
61
|
+
:'crv' => :'crv',
|
62
|
+
:'d' => :'d',
|
63
|
+
:'dp' => :'dp',
|
64
|
+
:'dq' => :'dq',
|
65
|
+
:'e' => :'e',
|
66
|
+
:'k' => :'k',
|
67
|
+
:'kid' => :'kid',
|
68
|
+
:'kty' => :'kty',
|
69
|
+
:'n' => :'n',
|
70
|
+
:'p' => :'p',
|
71
|
+
:'q' => :'q',
|
72
|
+
:'qi' => :'qi',
|
73
|
+
:'use' => :'use',
|
74
|
+
:'x' => :'x',
|
75
|
+
:'x5c' => :'x5c',
|
76
|
+
:'y' => :'y'
|
77
|
+
}
|
78
|
+
end
|
79
|
+
|
80
|
+
# Returns all the JSON keys this model knows about
|
81
|
+
def self.acceptable_attributes
|
82
|
+
attribute_map.values
|
83
|
+
end
|
84
|
+
|
85
|
+
# Attribute type mapping.
|
86
|
+
def self.openapi_types
|
87
|
+
{
|
88
|
+
:'alg' => :'String',
|
89
|
+
:'crv' => :'String',
|
90
|
+
:'d' => :'String',
|
91
|
+
:'dp' => :'String',
|
92
|
+
:'dq' => :'String',
|
93
|
+
:'e' => :'String',
|
94
|
+
:'k' => :'String',
|
95
|
+
:'kid' => :'String',
|
96
|
+
:'kty' => :'String',
|
97
|
+
:'n' => :'String',
|
98
|
+
:'p' => :'String',
|
99
|
+
:'q' => :'String',
|
100
|
+
:'qi' => :'String',
|
101
|
+
:'use' => :'String',
|
102
|
+
:'x' => :'String',
|
103
|
+
:'x5c' => :'Array<String>',
|
104
|
+
:'y' => :'String'
|
105
|
+
}
|
106
|
+
end
|
107
|
+
|
108
|
+
# List of attributes with nullable: true
|
109
|
+
def self.openapi_nullable
|
110
|
+
Set.new([
|
111
|
+
])
|
112
|
+
end
|
113
|
+
|
114
|
+
# Initializes the object
|
115
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
+
def initialize(attributes = {})
|
117
|
+
if (!attributes.is_a?(Hash))
|
118
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::JsonWebKey` initialize method"
|
119
|
+
end
|
120
|
+
|
121
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
122
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
123
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
124
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::JsonWebKey`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
125
|
+
end
|
126
|
+
h[k.to_sym] = v
|
127
|
+
}
|
128
|
+
|
129
|
+
if attributes.key?(:'alg')
|
130
|
+
self.alg = attributes[:'alg']
|
131
|
+
end
|
132
|
+
|
133
|
+
if attributes.key?(:'crv')
|
134
|
+
self.crv = attributes[:'crv']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.key?(:'d')
|
138
|
+
self.d = attributes[:'d']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'dp')
|
142
|
+
self.dp = attributes[:'dp']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.key?(:'dq')
|
146
|
+
self.dq = attributes[:'dq']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'e')
|
150
|
+
self.e = attributes[:'e']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'k')
|
154
|
+
self.k = attributes[:'k']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'kid')
|
158
|
+
self.kid = attributes[:'kid']
|
159
|
+
end
|
160
|
+
|
161
|
+
if attributes.key?(:'kty')
|
162
|
+
self.kty = attributes[:'kty']
|
163
|
+
end
|
164
|
+
|
165
|
+
if attributes.key?(:'n')
|
166
|
+
self.n = attributes[:'n']
|
167
|
+
end
|
168
|
+
|
169
|
+
if attributes.key?(:'p')
|
170
|
+
self.p = attributes[:'p']
|
171
|
+
end
|
172
|
+
|
173
|
+
if attributes.key?(:'q')
|
174
|
+
self.q = attributes[:'q']
|
175
|
+
end
|
176
|
+
|
177
|
+
if attributes.key?(:'qi')
|
178
|
+
self.qi = attributes[:'qi']
|
179
|
+
end
|
180
|
+
|
181
|
+
if attributes.key?(:'use')
|
182
|
+
self.use = attributes[:'use']
|
183
|
+
end
|
184
|
+
|
185
|
+
if attributes.key?(:'x')
|
186
|
+
self.x = attributes[:'x']
|
187
|
+
end
|
188
|
+
|
189
|
+
if attributes.key?(:'x5c')
|
190
|
+
if (value = attributes[:'x5c']).is_a?(Array)
|
191
|
+
self.x5c = value
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.key?(:'y')
|
196
|
+
self.y = attributes[:'y']
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
201
|
+
# @return Array for valid properties with the reasons
|
202
|
+
def list_invalid_properties
|
203
|
+
invalid_properties = Array.new
|
204
|
+
if @alg.nil?
|
205
|
+
invalid_properties.push('invalid value for "alg", alg cannot be nil.')
|
206
|
+
end
|
207
|
+
|
208
|
+
if @kid.nil?
|
209
|
+
invalid_properties.push('invalid value for "kid", kid cannot be nil.')
|
210
|
+
end
|
211
|
+
|
212
|
+
if @kty.nil?
|
213
|
+
invalid_properties.push('invalid value for "kty", kty cannot be nil.')
|
214
|
+
end
|
215
|
+
|
216
|
+
if @use.nil?
|
217
|
+
invalid_properties.push('invalid value for "use", use cannot be nil.')
|
218
|
+
end
|
219
|
+
|
220
|
+
invalid_properties
|
221
|
+
end
|
222
|
+
|
223
|
+
# Check to see if the all the properties in the model are valid
|
224
|
+
# @return true if the model is valid
|
225
|
+
def valid?
|
226
|
+
return false if @alg.nil?
|
227
|
+
return false if @kid.nil?
|
228
|
+
return false if @kty.nil?
|
229
|
+
return false if @use.nil?
|
230
|
+
true
|
231
|
+
end
|
232
|
+
|
233
|
+
# Checks equality by comparing each attribute.
|
234
|
+
# @param [Object] Object to be compared
|
235
|
+
def ==(o)
|
236
|
+
return true if self.equal?(o)
|
237
|
+
self.class == o.class &&
|
238
|
+
alg == o.alg &&
|
239
|
+
crv == o.crv &&
|
240
|
+
d == o.d &&
|
241
|
+
dp == o.dp &&
|
242
|
+
dq == o.dq &&
|
243
|
+
e == o.e &&
|
244
|
+
k == o.k &&
|
245
|
+
kid == o.kid &&
|
246
|
+
kty == o.kty &&
|
247
|
+
n == o.n &&
|
248
|
+
p == o.p &&
|
249
|
+
q == o.q &&
|
250
|
+
qi == o.qi &&
|
251
|
+
use == o.use &&
|
252
|
+
x == o.x &&
|
253
|
+
x5c == o.x5c &&
|
254
|
+
y == o.y
|
255
|
+
end
|
256
|
+
|
257
|
+
# @see the `==` method
|
258
|
+
# @param [Object] Object to be compared
|
259
|
+
def eql?(o)
|
260
|
+
self == o
|
261
|
+
end
|
262
|
+
|
263
|
+
# Calculates hash code according to all attributes.
|
264
|
+
# @return [Integer] Hash code
|
265
|
+
def hash
|
266
|
+
[alg, crv, d, dp, dq, e, k, kid, kty, n, p, q, qi, use, x, x5c, y].hash
|
267
|
+
end
|
268
|
+
|
269
|
+
# Builds the object from hash
|
270
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
271
|
+
# @return [Object] Returns the model itself
|
272
|
+
def self.build_from_hash(attributes)
|
273
|
+
new.build_from_hash(attributes)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Builds the object from hash
|
277
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
278
|
+
# @return [Object] Returns the model itself
|
279
|
+
def build_from_hash(attributes)
|
280
|
+
return nil unless attributes.is_a?(Hash)
|
281
|
+
attributes = attributes.transform_keys(&:to_sym)
|
282
|
+
self.class.openapi_types.each_pair do |key, type|
|
283
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
284
|
+
self.send("#{key}=", nil)
|
285
|
+
elsif type =~ /\AArray<(.*)>/i
|
286
|
+
# check to ensure the input is an array given that the attribute
|
287
|
+
# is documented as an array but the input is not
|
288
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
289
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
290
|
+
end
|
291
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
292
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
self
|
297
|
+
end
|
298
|
+
|
299
|
+
# Deserializes the data based on type
|
300
|
+
# @param string type Data type
|
301
|
+
# @param string value Value to be deserialized
|
302
|
+
# @return [Object] Deserialized data
|
303
|
+
def _deserialize(type, value)
|
304
|
+
case type.to_sym
|
305
|
+
when :Time
|
306
|
+
Time.parse(value)
|
307
|
+
when :Date
|
308
|
+
Date.parse(value)
|
309
|
+
when :String
|
310
|
+
value.to_s
|
311
|
+
when :Integer
|
312
|
+
value.to_i
|
313
|
+
when :Float
|
314
|
+
value.to_f
|
315
|
+
when :Boolean
|
316
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
317
|
+
true
|
318
|
+
else
|
319
|
+
false
|
320
|
+
end
|
321
|
+
when :Object
|
322
|
+
# generic object (usually a Hash), return directly
|
323
|
+
value
|
324
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
325
|
+
inner_type = Regexp.last_match[:inner_type]
|
326
|
+
value.map { |v| _deserialize(inner_type, v) }
|
327
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
328
|
+
k_type = Regexp.last_match[:k_type]
|
329
|
+
v_type = Regexp.last_match[:v_type]
|
330
|
+
{}.tap do |hash|
|
331
|
+
value.each do |k, v|
|
332
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
else # model
|
336
|
+
# models (e.g. Pet) or oneOf
|
337
|
+
klass = OryClient.const_get(type)
|
338
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
# Returns the string representation of the object
|
343
|
+
# @return [String] String presentation of the object
|
344
|
+
def to_s
|
345
|
+
to_hash.to_s
|
346
|
+
end
|
347
|
+
|
348
|
+
# to_body is an alias to to_hash (backward compatibility)
|
349
|
+
# @return [Hash] Returns the object in the form of hash
|
350
|
+
def to_body
|
351
|
+
to_hash
|
352
|
+
end
|
353
|
+
|
354
|
+
# Returns the object in the form of hash
|
355
|
+
# @return [Hash] Returns the object in the form of hash
|
356
|
+
def to_hash
|
357
|
+
hash = {}
|
358
|
+
self.class.attribute_map.each_pair do |attr, param|
|
359
|
+
value = self.send(attr)
|
360
|
+
if value.nil?
|
361
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
362
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
363
|
+
end
|
364
|
+
|
365
|
+
hash[param] = _to_hash(value)
|
366
|
+
end
|
367
|
+
hash
|
368
|
+
end
|
369
|
+
|
370
|
+
# Outputs non-array value in the form of hash
|
371
|
+
# For object, use to_hash. Otherwise, just return the value
|
372
|
+
# @param [Object] value Any valid value
|
373
|
+
# @return [Hash] Returns the value in the form of hash
|
374
|
+
def _to_hash(value)
|
375
|
+
if value.is_a?(Array)
|
376
|
+
value.compact.map { |v| _to_hash(v) }
|
377
|
+
elsif value.is_a?(Hash)
|
378
|
+
{}.tap do |hash|
|
379
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
380
|
+
end
|
381
|
+
elsif value.respond_to? :to_hash
|
382
|
+
value.to_hash
|
383
|
+
else
|
384
|
+
value
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
end
|
389
|
+
|
390
|
+
end
|
@@ -0,0 +1,223 @@
|
|
1
|
+
=begin
|
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.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.14
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
# It is important that this model object is named JSONWebKeySet for \"swagger generate spec\" to generate only on definition of a JSONWebKeySet. Since one with the same name is previously defined as client.Client.JSONWebKeys and this one is last, this one will be effectively written in the swagger spec.
|
18
|
+
class JsonWebKeySet
|
19
|
+
# The value of the \"keys\" parameter is an array of JSON Web Key (JWK) values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
|
20
|
+
attr_accessor :keys
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'keys' => :'keys'
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
# Returns all the JSON keys this model knows about
|
30
|
+
def self.acceptable_attributes
|
31
|
+
attribute_map.values
|
32
|
+
end
|
33
|
+
|
34
|
+
# Attribute type mapping.
|
35
|
+
def self.openapi_types
|
36
|
+
{
|
37
|
+
:'keys' => :'Array<JsonWebKey>'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# List of attributes with nullable: true
|
42
|
+
def self.openapi_nullable
|
43
|
+
Set.new([
|
44
|
+
])
|
45
|
+
end
|
46
|
+
|
47
|
+
# Initializes the object
|
48
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
49
|
+
def initialize(attributes = {})
|
50
|
+
if (!attributes.is_a?(Hash))
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::JsonWebKeySet` initialize method"
|
52
|
+
end
|
53
|
+
|
54
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::JsonWebKeySet`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
58
|
+
end
|
59
|
+
h[k.to_sym] = v
|
60
|
+
}
|
61
|
+
|
62
|
+
if attributes.key?(:'keys')
|
63
|
+
if (value = attributes[:'keys']).is_a?(Array)
|
64
|
+
self.keys = value
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
70
|
+
# @return Array for valid properties with the reasons
|
71
|
+
def list_invalid_properties
|
72
|
+
invalid_properties = Array.new
|
73
|
+
invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
true
|
80
|
+
end
|
81
|
+
|
82
|
+
# Checks equality by comparing each attribute.
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def ==(o)
|
85
|
+
return true if self.equal?(o)
|
86
|
+
self.class == o.class &&
|
87
|
+
keys == o.keys
|
88
|
+
end
|
89
|
+
|
90
|
+
# @see the `==` method
|
91
|
+
# @param [Object] Object to be compared
|
92
|
+
def eql?(o)
|
93
|
+
self == o
|
94
|
+
end
|
95
|
+
|
96
|
+
# Calculates hash code according to all attributes.
|
97
|
+
# @return [Integer] Hash code
|
98
|
+
def hash
|
99
|
+
[keys].hash
|
100
|
+
end
|
101
|
+
|
102
|
+
# Builds the object from hash
|
103
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
104
|
+
# @return [Object] Returns the model itself
|
105
|
+
def self.build_from_hash(attributes)
|
106
|
+
new.build_from_hash(attributes)
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
115
|
+
self.class.openapi_types.each_pair do |key, type|
|
116
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
117
|
+
self.send("#{key}=", nil)
|
118
|
+
elsif type =~ /\AArray<(.*)>/i
|
119
|
+
# check to ensure the input is an array given that the attribute
|
120
|
+
# is documented as an array but the input is not
|
121
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
122
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
123
|
+
end
|
124
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
125
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
self
|
130
|
+
end
|
131
|
+
|
132
|
+
# Deserializes the data based on type
|
133
|
+
# @param string type Data type
|
134
|
+
# @param string value Value to be deserialized
|
135
|
+
# @return [Object] Deserialized data
|
136
|
+
def _deserialize(type, value)
|
137
|
+
case type.to_sym
|
138
|
+
when :Time
|
139
|
+
Time.parse(value)
|
140
|
+
when :Date
|
141
|
+
Date.parse(value)
|
142
|
+
when :String
|
143
|
+
value.to_s
|
144
|
+
when :Integer
|
145
|
+
value.to_i
|
146
|
+
when :Float
|
147
|
+
value.to_f
|
148
|
+
when :Boolean
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
150
|
+
true
|
151
|
+
else
|
152
|
+
false
|
153
|
+
end
|
154
|
+
when :Object
|
155
|
+
# generic object (usually a Hash), return directly
|
156
|
+
value
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
163
|
+
{}.tap do |hash|
|
164
|
+
value.each do |k, v|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
else # model
|
169
|
+
# models (e.g. Pet) or oneOf
|
170
|
+
klass = OryClient.const_get(type)
|
171
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the string representation of the object
|
176
|
+
# @return [String] String presentation of the object
|
177
|
+
def to_s
|
178
|
+
to_hash.to_s
|
179
|
+
end
|
180
|
+
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_body
|
184
|
+
to_hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Returns the object in the form of hash
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_hash
|
190
|
+
hash = {}
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
192
|
+
value = self.send(attr)
|
193
|
+
if value.nil?
|
194
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
195
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
196
|
+
end
|
197
|
+
|
198
|
+
hash[param] = _to_hash(value)
|
199
|
+
end
|
200
|
+
hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# Outputs non-array value in the form of hash
|
204
|
+
# For object, use to_hash. Otherwise, just return the value
|
205
|
+
# @param [Object] value Any valid value
|
206
|
+
# @return [Hash] Returns the value in the form of hash
|
207
|
+
def _to_hash(value)
|
208
|
+
if value.is_a?(Array)
|
209
|
+
value.compact.map { |v| _to_hash(v) }
|
210
|
+
elsif value.is_a?(Hash)
|
211
|
+
{}.tap do |hash|
|
212
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
213
|
+
end
|
214
|
+
elsif value.respond_to? :to_hash
|
215
|
+
value.to_hash
|
216
|
+
else
|
217
|
+
value
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
@@ -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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.2.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.14
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|
@@ -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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.2.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.14
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|
@@ -15,7 +15,7 @@ require 'time'
|
|
15
15
|
|
16
16
|
module OryClient
|
17
17
|
# Together the name and identity uuid are a unique index constraint. This prevents a user from having schemas with the same name. This also allows schemas to have the same name across the system.
|
18
|
-
class
|
18
|
+
class ManagedIdentitySchema
|
19
19
|
# The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage
|
20
20
|
attr_accessor :blob_name
|
21
21
|
|
@@ -77,13 +77,13 @@ module OryClient
|
|
77
77
|
# @param [Hash] attributes Model attributes in the form of hash
|
78
78
|
def initialize(attributes = {})
|
79
79
|
if (!attributes.is_a?(Hash))
|
80
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::
|
80
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ManagedIdentitySchema` initialize method"
|
81
81
|
end
|
82
82
|
|
83
83
|
# check to see if the attribute exists and convert string to symbol for hash key
|
84
84
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
85
85
|
if (!self.class.attribute_map.key?(k.to_sym))
|
86
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::
|
86
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ManagedIdentitySchema`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
87
87
|
end
|
88
88
|
h[k.to_sym] = v
|
89
89
|
}
|
@@ -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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.2.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.14
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryClient
|
17
|
-
class
|
17
|
+
class ManagedIdentitySchemaValidationResult
|
18
18
|
attr_accessor :message
|
19
19
|
|
20
20
|
attr_accessor :valid
|
@@ -50,13 +50,13 @@ module OryClient
|
|
50
50
|
# @param [Hash] attributes Model attributes in the form of hash
|
51
51
|
def initialize(attributes = {})
|
52
52
|
if (!attributes.is_a?(Hash))
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ManagedIdentitySchemaValidationResult` initialize method"
|
54
54
|
end
|
55
55
|
|
56
56
|
# check to see if the attribute exists and convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
58
|
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ManagedIdentitySchemaValidationResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
60
|
end
|
61
61
|
h[k.to_sym] = v
|
62
62
|
}
|
@@ -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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.2.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.14
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|