ory-client 0.2.0.alpha60 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +14 -14
- data/README.md +216 -205
- data/docs/ActiveProjectInConsole.md +18 -0
- data/docs/CheckOplSyntaxResult.md +18 -0
- data/docs/CheckPermissionResult.md +18 -0
- data/docs/CourierApi.md +85 -0
- data/docs/CreateCustomDomainBody.md +24 -0
- data/docs/CreateIdentityBody.md +32 -0
- data/docs/CreateJsonWebKeySet.md +22 -0
- data/docs/CreateProjectInvite.md +18 -0
- data/docs/CreateRecoveryCodeForIdentityBody.md +20 -0
- data/docs/CreateRecoveryLinkForIdentityBody.md +20 -0
- data/docs/CreateRelationshipBody.md +26 -0
- data/docs/CreateSubscriptionBody.md +22 -0
- data/docs/CustomDomain.md +34 -0
- data/docs/CustomDomainQuota.md +22 -0
- data/docs/DeleteMySessionsCount.md +18 -0
- data/docs/ErrorBrowserLocationChangeRequired.md +34 -0
- data/docs/ErrorFlowReplaced.md +34 -0
- data/docs/ErrorGeneric.md +18 -0
- data/docs/ErrorOAuth2.md +26 -0
- data/docs/ExpandedPermissionTree.md +22 -0
- data/docs/FlowError.md +24 -0
- data/docs/FrontendApi.md +1995 -0
- data/docs/IdentityApi.md +1160 -0
- data/docs/IdentityWithCredentials.md +20 -0
- data/docs/IdentityWithCredentialsOidc.md +18 -0
- data/docs/IdentityWithCredentialsOidcConfig.md +20 -0
- data/docs/IdentityWithCredentialsOidcConfigProvider.md +20 -0
- data/docs/IdentityWithCredentialsPassword.md +18 -0
- data/docs/IdentityWithCredentialsPasswordConfig.md +20 -0
- data/docs/InternalIsOwnerForProjectBySlugBody.md +22 -0
- data/docs/InternalProvisionMockSubscription.md +20 -0
- data/docs/InviteQuota.md +22 -0
- data/docs/JsonWebKeySet.md +1 -1
- data/docs/JwkApi.md +511 -0
- data/docs/LoginFlow.md +44 -0
- data/docs/LogoutFlow.md +20 -0
- data/docs/ManagedIdentitySchema.md +1 -1
- data/docs/NormalizedProject.md +2 -4
- data/docs/NormalizedProjectRevision.md +54 -36
- data/docs/NormalizedProjectRevisionHook.md +2 -2
- data/docs/NormalizedProjectRevisionIdentitySchema.md +2 -2
- data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
- data/docs/OAuth2Api.md +2026 -0
- data/docs/OAuth2Client.md +26 -30
- data/docs/OAuth2ClientTokenLifespans.md +36 -0
- data/docs/OAuth2ConsentSession.md +14 -20
- data/docs/OAuth2RedirectTo.md +18 -0
- data/docs/OAuth2TokenExchange.md +28 -0
- data/docs/OidcApi.md +473 -0
- data/docs/OidcConfiguration.md +30 -30
- data/docs/PerformNativeLogoutBody.md +18 -0
- data/docs/PermissionApi.md +405 -0
- data/docs/PostCheckPermissionBody.md +26 -0
- data/docs/PostCheckPermissionOrErrorBody.md +26 -0
- data/docs/Project.md +3 -3
- data/docs/ProjectApi.md +927 -0
- data/docs/ProjectApiKey.md +3 -3
- data/docs/ProjectHost.md +2 -2
- data/docs/ProjectInvite.md +3 -3
- data/docs/ProjectMetadata.md +2 -2
- data/docs/RecoveryCodeForIdentity.md +22 -0
- data/docs/RecoveryFlow.md +34 -0
- data/docs/RecoveryFlowState.md +15 -0
- data/docs/RecoveryLinkForIdentity.md +20 -0
- data/docs/RegistrationFlow.md +36 -0
- data/docs/Relationship.md +26 -0
- data/docs/RelationshipApi.md +460 -0
- data/docs/RelationshipNamespaces.md +18 -0
- data/docs/RelationshipPatch.md +20 -0
- data/docs/Relationships.md +20 -0
- data/docs/SelfServiceFlowExpiredError.md +2 -0
- data/docs/SetActiveProjectInConsoleBody.md +18 -0
- data/docs/SetCustomDomainBody.md +24 -0
- data/docs/SetProject.md +20 -0
- data/docs/SettingsFlow.md +36 -0
- data/docs/SettingsFlowState.md +15 -0
- data/docs/StripeCustomer.md +18 -0
- data/docs/Subscription.md +2 -2
- data/docs/SuccessfulNativeLogin.md +20 -0
- data/docs/SuccessfulNativeRegistration.md +22 -0
- data/docs/SuccessfulProjectUpdate.md +1 -1
- data/docs/TokenPaginationRequestParameters.md +20 -0
- data/docs/TokenPaginationResponseHeaders.md +20 -0
- data/docs/TrustOAuth2JwtGrantIssuer.md +28 -0
- data/docs/UiText.md +1 -1
- data/docs/UpdateIdentityBody.md +28 -0
- data/docs/UpdateLoginFlowBody.md +87 -0
- data/docs/UpdateLoginFlowWithLookupSecretMethod.md +22 -0
- data/docs/UpdateLoginFlowWithOidcMethod.md +24 -0
- data/docs/UpdateLoginFlowWithPasswordMethod.md +26 -0
- data/docs/UpdateLoginFlowWithTotpMethod.md +22 -0
- data/docs/UpdateLoginFlowWithWebAuthnMethod.md +24 -0
- data/docs/UpdateRecoveryFlowBody.md +78 -0
- data/docs/UpdateRecoveryFlowWithCodeMethod.md +24 -0
- data/docs/UpdateRecoveryFlowWithLinkMethod.md +22 -0
- data/docs/UpdateRegistrationFlowBody.md +81 -0
- data/docs/UpdateRegistrationFlowWithOidcMethod.md +24 -0
- data/docs/UpdateRegistrationFlowWithPasswordMethod.md +24 -0
- data/docs/UpdateRegistrationFlowWithWebAuthnMethod.md +26 -0
- data/docs/UpdateSettingsFlowBody.md +90 -0
- data/docs/UpdateSettingsFlowWithLookupMethod.md +28 -0
- data/docs/UpdateSettingsFlowWithOidcMethod.md +26 -0
- data/docs/UpdateSettingsFlowWithPasswordMethod.md +22 -0
- data/docs/UpdateSettingsFlowWithProfileMethod.md +22 -0
- data/docs/UpdateSettingsFlowWithTotpMethod.md +24 -0
- data/docs/UpdateSettingsFlowWithWebAuthnMethod.md +26 -0
- data/docs/UpdateSubscriptionBody.md +20 -0
- data/docs/UpdateVerificationFlowBody.md +75 -0
- data/docs/UpdateVerificationFlowWithCodeMethodBody.md +26 -0
- data/docs/UpdateVerificationFlowWithLinkMethod.md +22 -0
- data/docs/VerificationFlow.md +34 -0
- data/docs/VerificationFlowState.md +15 -0
- data/docs/WellknownApi.md +69 -0
- data/lib/ory-client/api/courier_api.rb +103 -0
- data/lib/ory-client/api/frontend_api.rb +1965 -0
- data/lib/ory-client/api/identity_api.rb +1120 -0
- data/lib/ory-client/api/jwk_api.rb +506 -0
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/o_auth2_api.rb +1926 -0
- data/lib/ory-client/api/oidc_api.rb +459 -0
- data/lib/ory-client/api/permission_api.rb +399 -0
- data/lib/ory-client/api/project_api.rb +864 -0
- data/lib/ory-client/api/relationship_api.rb +433 -0
- data/lib/ory-client/api/wellknown_api.rb +79 -0
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/active_project_in_console.rb +221 -0
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/check_opl_syntax_result.rb +222 -0
- data/lib/ory-client/models/check_permission_result.rb +226 -0
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/courier_message_status.rb +1 -1
- data/lib/ory-client/models/courier_message_type.rb +1 -1
- data/lib/ory-client/models/create_custom_domain_body.rb +253 -0
- data/lib/ory-client/models/create_identity_body.rb +305 -0
- data/lib/ory-client/models/create_json_web_key_set.rb +256 -0
- data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
- data/lib/ory-client/models/create_project_body.rb +2 -1
- data/lib/ory-client/models/create_project_invite.rb +220 -0
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +253 -0
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +253 -0
- data/lib/ory-client/models/create_relationship_body.rb +260 -0
- data/lib/ory-client/models/create_subscription_body.rb +248 -0
- data/lib/ory-client/models/custom_domain.rb +297 -0
- data/lib/ory-client/models/custom_domain_quota.rb +238 -0
- data/lib/ory-client/models/delete_my_sessions_count.rb +221 -0
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/error_browser_location_change_required.rb +307 -0
- data/lib/ory-client/models/error_flow_replaced.rb +308 -0
- data/lib/ory-client/models/error_generic.rb +225 -0
- data/lib/ory-client/models/error_o_auth2.rb +261 -0
- data/lib/ory-client/models/expanded_permission_tree.rb +280 -0
- data/lib/ory-client/models/flow_error.rb +254 -0
- 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_managed_identity_schema_location.rb +2 -1
- data/lib/ory-client/models/get_version200_response.rb +1 -1
- 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/identity.rb +4 -2
- 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 +2 -1
- 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/identity_with_credentials.rb +229 -0
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +220 -0
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +231 -0
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +241 -0
- data/lib/ory-client/models/identity_with_credentials_password.rb +220 -0
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +231 -0
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +251 -0
- data/lib/ory-client/models/internal_provision_mock_subscription.rb +240 -0
- data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-client/models/invite_quota.rb +238 -0
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_ready200_response.rb +1 -1
- data/lib/ory-client/models/is_ready503_response.rb +1 -1
- data/lib/ory-client/models/json_patch.rb +1 -2
- data/lib/ory-client/models/json_web_key.rb +1 -1
- data/lib/ory-client/models/json_web_key_set.rb +3 -3
- data/lib/ory-client/models/keto_namespace.rb +1 -1
- data/lib/ory-client/models/login_flow.rb +377 -0
- data/lib/ory-client/models/logout_flow.rb +241 -0
- data/lib/ory-client/models/managed_identity_schema.rb +1 -2
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +2 -1
- data/lib/ory-client/models/message.rb +35 -1
- data/lib/ory-client/models/namespace.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +3 -20
- data/lib/ory-client/models/normalized_project_revision.rb +175 -49
- data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -3
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -3
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -2
- data/lib/ory-client/models/null_plan.rb +1 -1
- data/lib/ory-client/models/o_auth2_client.rb +30 -81
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +481 -0
- data/lib/ory-client/models/o_auth2_consent_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
- data/lib/ory-client/models/o_auth2_consent_session.rb +50 -74
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +1 -1
- data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
- data/lib/ory-client/models/o_auth2_redirect_to.rb +226 -0
- data/lib/ory-client/models/o_auth2_token_exchange.rb +271 -0
- data/lib/ory-client/models/oidc_configuration.rb +31 -31
- data/lib/ory-client/models/oidc_user_info.rb +2 -2
- data/lib/ory-client/models/pagination.rb +1 -1
- data/lib/ory-client/models/pagination_headers.rb +1 -1
- data/lib/ory-client/models/parse_error.rb +1 -1
- data/lib/ory-client/models/perform_native_logout_body.rb +226 -0
- data/lib/ory-client/models/post_check_permission_body.rb +260 -0
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +260 -0
- data/lib/ory-client/models/project.rb +2 -4
- data/lib/ory-client/models/project_api_key.rb +1 -4
- data/lib/ory-client/models/project_host.rb +1 -3
- data/lib/ory-client/models/project_invite.rb +35 -4
- data/lib/ory-client/models/project_metadata.rb +2 -3
- data/lib/ory-client/models/project_service_identity.rb +1 -1
- data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
- data/lib/ory-client/models/project_service_permission.rb +1 -1
- data/lib/ory-client/models/project_services.rb +1 -1
- data/lib/ory-client/models/recovery_code_for_identity.rb +251 -0
- data/lib/ory-client/models/recovery_flow.rb +334 -0
- data/lib/ory-client/models/recovery_flow_state.rb +38 -0
- data/lib/ory-client/models/recovery_identity_address.rb +1 -1
- data/lib/ory-client/models/recovery_link_for_identity.rb +236 -0
- data/lib/ory-client/models/registration_flow.rb +337 -0
- data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
- data/lib/ory-client/models/relation_query.rb +2 -1
- data/lib/ory-client/models/relationship.rb +275 -0
- data/lib/ory-client/models/relationship_namespaces.rb +222 -0
- data/lib/ory-client/models/relationship_patch.rb +263 -0
- data/lib/ory-client/models/relationships.rb +232 -0
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +12 -2
- 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/set_active_project_in_console_body.rb +226 -0
- data/lib/ory-client/models/set_custom_domain_body.rb +253 -0
- data/lib/ory-client/models/set_project.rb +239 -0
- data/lib/ory-client/models/settings_flow.rb +348 -0
- data/lib/ory-client/models/settings_flow_state.rb +37 -0
- data/lib/ory-client/models/source_position.rb +1 -1
- data/lib/ory-client/models/stripe_customer.rb +219 -0
- data/lib/ory-client/models/subject_set.rb +1 -1
- data/lib/ory-client/models/subscription.rb +2 -3
- data/lib/ory-client/models/successful_native_login.rb +235 -0
- data/lib/ory-client/models/successful_native_registration.rb +244 -0
- data/lib/ory-client/models/successful_project_update.rb +2 -2
- 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/token_pagination_request_parameters.rb +265 -0
- data/lib/ory-client/models/token_pagination_response_headers.rb +231 -0
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +292 -0
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +2 -1
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +2 -1
- 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 +1 -1
- 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 +36 -1
- data/lib/ory-client/models/update_identity_body.rb +286 -0
- data/lib/ory-client/models/update_login_flow_body.rb +61 -0
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +251 -0
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +261 -0
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +276 -0
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +251 -0
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +261 -0
- data/lib/ory-client/models/update_recovery_flow_body.rb +56 -0
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +256 -0
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +251 -0
- data/lib/ory-client/models/update_registration_flow_body.rb +58 -0
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +261 -0
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +266 -0
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +271 -0
- data/lib/ory-client/models/update_settings_flow_body.rb +64 -0
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +276 -0
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +266 -0
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +251 -0
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +251 -0
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +256 -0
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +266 -0
- data/lib/ory-client/models/update_subscription_body.rb +234 -0
- data/lib/ory-client/models/update_verification_flow_body.rb +54 -0
- data/lib/ory-client/models/update_verification_flow_with_code_method_body.rb +260 -0
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +251 -0
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/verification_flow.rb +319 -0
- data/lib/ory-client/models/verification_flow_state.rb +38 -0
- 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 +95 -94
- data/ory-client.gemspec +1 -1
- data/spec/api/courier_api_spec.rb +50 -0
- data/spec/api/frontend_api_spec.rb +415 -0
- data/spec/api/identity_api_spec.rb +239 -0
- data/spec/api/jwk_api_spec.rb +125 -0
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/o_auth2_api_spec.rb +391 -0
- data/spec/api/oidc_api_spec.rb +117 -0
- data/spec/api/permission_api_spec.rb +114 -0
- data/spec/api/project_api_spec.rb +194 -0
- data/spec/api/relationship_api_spec.rb +120 -0
- data/spec/api/wellknown_api_spec.rb +46 -0
- 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 +1 -1
- data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
- data/spec/models/active_project_in_console_spec.rb +34 -0
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/check_opl_syntax_result_spec.rb +34 -0
- data/spec/models/check_permission_result_spec.rb +34 -0
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/courier_message_status_spec.rb +1 -1
- data/spec/models/courier_message_type_spec.rb +1 -1
- data/spec/models/create_custom_domain_body_spec.rb +52 -0
- data/spec/models/create_identity_body_spec.rb +76 -0
- data/spec/models/create_json_web_key_set_spec.rb +46 -0
- data/spec/models/create_project_api_key_request_spec.rb +1 -1
- data/spec/models/create_project_body_spec.rb +1 -1
- data/spec/models/create_project_invite_spec.rb +34 -0
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +40 -0
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +40 -0
- data/spec/models/create_relationship_body_spec.rb +58 -0
- data/spec/models/create_subscription_body_spec.rb +46 -0
- data/spec/models/custom_domain_quota_spec.rb +46 -0
- data/spec/models/custom_domain_spec.rb +82 -0
- data/spec/models/delete_my_sessions_count_spec.rb +34 -0
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/error_browser_location_change_required_spec.rb +82 -0
- data/spec/models/error_flow_replaced_spec.rb +82 -0
- data/spec/models/error_generic_spec.rb +34 -0
- data/spec/models/error_o_auth2_spec.rb +58 -0
- data/spec/models/expanded_permission_tree_spec.rb +50 -0
- data/spec/models/flow_error_spec.rb +52 -0
- data/spec/models/generic_error_content_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- 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/identity_with_credentials_oidc_config_provider_spec.rb +40 -0
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +40 -0
- data/spec/models/identity_with_credentials_oidc_spec.rb +34 -0
- data/spec/models/identity_with_credentials_password_config_spec.rb +40 -0
- data/spec/models/identity_with_credentials_password_spec.rb +34 -0
- data/spec/models/identity_with_credentials_spec.rb +40 -0
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +46 -0
- data/spec/models/internal_provision_mock_subscription_spec.rb +40 -0
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/invite_quota_spec.rb +46 -0
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/is_ready200_response_spec.rb +1 -1
- data/spec/models/is_ready503_response_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +1 -1
- data/spec/models/json_web_key_spec.rb +1 -1
- data/spec/models/keto_namespace_spec.rb +1 -1
- data/spec/models/login_flow_spec.rb +112 -0
- data/spec/models/logout_flow_spec.rb +40 -0
- data/spec/models/managed_identity_schema_spec.rb +1 -1
- data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/message_spec.rb +5 -1
- data/spec/models/namespace_spec.rb +1 -1
- 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 +63 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
- data/spec/models/normalized_project_spec.rb +1 -7
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +1 -13
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +88 -0
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +8 -26
- data/spec/models/o_auth2_login_request_spec.rb +1 -1
- data/spec/models/o_auth2_logout_request_spec.rb +1 -1
- data/spec/models/o_auth2_redirect_to_spec.rb +34 -0
- data/spec/models/o_auth2_token_exchange_spec.rb +64 -0
- data/spec/models/oidc_configuration_spec.rb +1 -1
- data/spec/models/oidc_user_info_spec.rb +1 -1
- data/spec/models/pagination_headers_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/parse_error_spec.rb +1 -1
- data/spec/models/perform_native_logout_body_spec.rb +34 -0
- data/spec/models/post_check_permission_body_spec.rb +58 -0
- data/spec/models/post_check_permission_or_error_body_spec.rb +58 -0
- data/spec/models/project_api_key_spec.rb +1 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_invite_spec.rb +5 -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 +1 -1
- data/spec/models/project_service_permission_spec.rb +1 -1
- data/spec/models/project_services_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/recovery_code_for_identity_spec.rb +46 -0
- data/spec/models/recovery_flow_spec.rb +82 -0
- data/spec/models/recovery_flow_state_spec.rb +28 -0
- data/spec/models/recovery_identity_address_spec.rb +1 -1
- data/spec/models/recovery_link_for_identity_spec.rb +40 -0
- data/spec/models/registration_flow_spec.rb +88 -0
- data/spec/models/reject_o_auth2_request_spec.rb +1 -1
- data/spec/models/relation_query_spec.rb +1 -1
- data/spec/models/relationship_namespaces_spec.rb +34 -0
- data/spec/models/relationship_patch_spec.rb +44 -0
- data/spec/models/relationship_spec.rb +58 -0
- data/spec/models/relationships_spec.rb +40 -0
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +7 -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/set_active_project_in_console_body_spec.rb +34 -0
- data/spec/models/set_custom_domain_body_spec.rb +52 -0
- data/spec/models/set_project_spec.rb +40 -0
- data/spec/models/settings_flow_spec.rb +88 -0
- data/spec/models/settings_flow_state_spec.rb +28 -0
- data/spec/models/source_position_spec.rb +1 -1
- data/spec/models/stripe_customer_spec.rb +34 -0
- data/spec/models/subject_set_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/successful_native_login_spec.rb +40 -0
- data/spec/models/successful_native_registration_spec.rb +46 -0
- data/spec/models/successful_project_update_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_request_parameters_spec.rb +40 -0
- data/spec/models/token_pagination_response_headers_spec.rb +40 -0
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +64 -0
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
- 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 +1 -1
- 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 +5 -1
- data/spec/models/update_identity_body_spec.rb +64 -0
- data/spec/models/update_login_flow_body_spec.rb +43 -0
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +46 -0
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +52 -0
- data/spec/models/update_login_flow_with_password_method_spec.rb +58 -0
- data/spec/models/update_login_flow_with_totp_method_spec.rb +46 -0
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +52 -0
- data/spec/models/update_recovery_flow_body_spec.rb +43 -0
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +52 -0
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +46 -0
- data/spec/models/update_registration_flow_body_spec.rb +43 -0
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +52 -0
- data/spec/models/update_registration_flow_with_password_method_spec.rb +52 -0
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +58 -0
- data/spec/models/update_settings_flow_body_spec.rb +43 -0
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +64 -0
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +58 -0
- data/spec/models/update_settings_flow_with_password_method_spec.rb +46 -0
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +46 -0
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +52 -0
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +58 -0
- data/spec/models/update_subscription_body_spec.rb +40 -0
- data/spec/models/update_verification_flow_body_spec.rb +43 -0
- data/spec/models/update_verification_flow_with_code_method_body_spec.rb +58 -0
- data/spec/models/update_verification_flow_with_link_method_spec.rb +46 -0
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/verification_flow_spec.rb +82 -0
- data/spec/models/verification_flow_state_spec.rb +28 -0
- 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/ethon-0.16.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.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.6/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/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Guardfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/README.md +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/ethon.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/codes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/constants.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/form_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/functions.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/infos.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/settings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/debug_info.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/features.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/form.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/header.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/actionable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/custom.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/delete.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/get.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/head.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/patch.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/post.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/postable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/put.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/putable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/mirror.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/operations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/params.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/queryable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/util.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/ethon_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/global_init.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_option.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_value.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_add.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_fdset.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_remove.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_timeout.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/select.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/libc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/loggable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/operations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/benchmarks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/memory_leaks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/perf_spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/memory_test_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/os_memory_leak_tracker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/curl_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/features_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/form_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/header_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/get_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/head_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/post_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/put_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/queryable_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/util_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/libc_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/loggable_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/operations_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/stack_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/localhost_server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/server.rb +0 -0
- 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.1 → parser-3.1.3.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/all.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/ast/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ast/processor.rb +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/base.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/builders/default.rb +2317 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/clobbering_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/current.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/current_arg_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/deprecation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/diagnostic/engine.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/diagnostic.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/dedenter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/explanation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/literal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/stack_state.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/lexer.rb +25045 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/macruby.rb +9632 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/max_numparam_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/messages.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/meta.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby18.rb +9270 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby19.rb +9556 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby20.rb +10227 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby21.rb +10201 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby22.rb +10300 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby23.rb +10320 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby24.rb +10452 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby25.rb +10372 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby26.rb +10350 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby27.rb +11945 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/ruby28.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby30.rb +12241 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby31.rb +12714 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby32.rb +12691 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/rubymotion.rb +9513 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner/ruby_parse.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/buffer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/comment/associator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/comment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/collection.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/condition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/constant.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/for.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/heredoc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/index.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/keyword.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/method_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/operator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/rescue_body.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/send.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/ternary.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/variable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/range.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/static_environment.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/variables_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/Changelog.md +2360 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/utilities.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb +2385 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/console_codes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb +525 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/hooks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/invocations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/memoized_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/notifications.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/option_parser.rb +323 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ordering.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/output_wrapper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/pending.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/world.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/Changelog.md +1285 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers.rb +1044 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/Changelog.md +1212 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb +380 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/message_expectation.rb +820 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/test_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/caller_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/comparable_version.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/differ.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/encoded_string.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/method_signature_verifier.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/mutex.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/token.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
- 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/ethon-0.16.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.3.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.12.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.12.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.12.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.12.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.12.0.gemspec +39 -0
- metadata +793 -789
- data/docs/ActiveProject.md +0 -18
- data/docs/AdminApi.md +0 -76
- data/docs/AdminCreateIdentityBody.md +0 -32
- data/docs/AdminCreateIdentityImportCredentialsOidc.md +0 -18
- data/docs/AdminCreateIdentityImportCredentialsOidcConfig.md +0 -20
- data/docs/AdminCreateIdentityImportCredentialsOidcProvider.md +0 -20
- data/docs/AdminCreateIdentityImportCredentialsPassword.md +0 -18
- data/docs/AdminCreateIdentityImportCredentialsPasswordConfig.md +0 -20
- data/docs/AdminCreateJsonWebKeySetBody.md +0 -22
- data/docs/AdminCreateSelfServiceRecoveryCodeBody.md +0 -20
- data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +0 -20
- data/docs/AdminIdentityImportCredentials.md +0 -20
- data/docs/AdminTrustOAuth2JwtGrantIssuerBody.md +0 -28
- data/docs/AdminUpdateIdentityBody.md +0 -28
- data/docs/CnameSettings.md +0 -34
- data/docs/CreateCustomHostnameBody.md +0 -24
- data/docs/CreateSubscriptionPayload.md +0 -22
- data/docs/ExpandTree.md +0 -22
- data/docs/GetCheckResponse.md +0 -18
- data/docs/GetNamespacesResponse.md +0 -18
- data/docs/GetRelationTuplesResponse.md +0 -20
- data/docs/HandledOAuth2ConsentRequest.md +0 -18
- data/docs/HandledOAuth2LoginRequest.md +0 -18
- data/docs/HandledOAuth2LogoutRequest.md +0 -18
- data/docs/Headers.md +0 -18
- data/docs/IDTokenClaims.md +0 -44
- data/docs/InvitePayload.md +0 -18
- data/docs/IsOwnerForProjectBySlugPayload.md +0 -22
- data/docs/JsonError.md +0 -18
- data/docs/NamespacesApi.md +0 -74
- data/docs/OAuth2AccessRequest.md +0 -24
- data/docs/OAuth2ApiError.md +0 -24
- data/docs/OAuth2TokenResponse.md +0 -28
- data/docs/PatchDelta.md +0 -20
- data/docs/PostCheckOplSyntaxResponse.md +0 -18
- data/docs/PreviousOAuth2ConsentSession.md +0 -30
- data/docs/ProvisionMockSubscriptionPayload.md +0 -20
- data/docs/QuotaCustomDomains.md +0 -22
- data/docs/QuotaProjectMemberSeats.md +0 -22
- data/docs/ReadApi.md +0 -467
- data/docs/RefreshTokenHookRequest.md +0 -28
- data/docs/RefreshTokenHookResponse.md +0 -18
- data/docs/RelationTuple.md +0 -26
- data/docs/RevokedSessions.md +0 -18
- data/docs/SelfServiceBrowserLocationChangeRequiredError.md +0 -34
- data/docs/SelfServiceError.md +0 -24
- data/docs/SelfServiceLoginFlow.md +0 -40
- data/docs/SelfServiceLogoutUrl.md +0 -20
- data/docs/SelfServiceRecoveryCode.md +0 -22
- data/docs/SelfServiceRecoveryFlow.md +0 -34
- data/docs/SelfServiceRecoveryFlowState.md +0 -15
- data/docs/SelfServiceRecoveryLink.md +0 -20
- data/docs/SelfServiceRegistrationFlow.md +0 -32
- data/docs/SelfServiceSettingsFlow.md +0 -36
- data/docs/SelfServiceSettingsFlowState.md +0 -15
- data/docs/SelfServiceVerificationFlow.md +0 -34
- data/docs/SelfServiceVerificationFlowState.md +0 -15
- data/docs/SettingsProfileFormConfig.md +0 -24
- data/docs/StripeCustomerResponse.md +0 -18
- data/docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md +0 -20
- data/docs/SubmitSelfServiceLoginFlowBody.md +0 -87
- data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +0 -22
- data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +0 -24
- data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +0 -26
- data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +0 -22
- data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +0 -24
- data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +0 -18
- data/docs/SubmitSelfServiceRecoveryFlowBody.md +0 -78
- data/docs/SubmitSelfServiceRecoveryFlowWithCodeMethodBody.md +0 -24
- data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +0 -22
- data/docs/SubmitSelfServiceRegistrationFlowBody.md +0 -81
- data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +0 -24
- data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +0 -24
- data/docs/SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody.md +0 -26
- data/docs/SubmitSelfServiceSettingsFlowBody.md +0 -90
- data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +0 -28
- data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +0 -26
- data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +0 -22
- data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +0 -22
- data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +0 -24
- data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +0 -26
- data/docs/SubmitSelfServiceVerificationFlowBody.md +0 -75
- data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +0 -22
- data/docs/SuccessfulOAuth2RequestResponse.md +0 -18
- data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +0 -20
- data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +0 -22
- data/docs/SyntaxApi.md +0 -77
- data/docs/UpdateCustomHostnameBody.md +0 -24
- data/docs/UpdateOAuth2ClientLifespans.md +0 -40
- data/docs/UpdateProject.md +0 -20
- data/docs/UpdateSubscriptionPayload.md +0 -20
- data/docs/V0alpha2Api.md +0 -6762
- data/docs/WriteApi.md +0 -233
- data/lib/ory-client/api/admin_api.rb +0 -90
- data/lib/ory-client/api/namespaces_api.rb +0 -79
- data/lib/ory-client/api/read_api.rb +0 -449
- data/lib/ory-client/api/syntax_api.rb +0 -90
- data/lib/ory-client/api/v0alpha2_api.rb +0 -6452
- data/lib/ory-client/api/write_api.rb +0 -228
- data/lib/ory-client/models/active_project.rb +0 -221
- data/lib/ory-client/models/admin_create_identity_body.rb +0 -304
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +0 -219
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +0 -231
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +0 -240
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +0 -219
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +0 -230
- data/lib/ory-client/models/admin_create_json_web_key_set_body.rb +0 -255
- data/lib/ory-client/models/admin_create_self_service_recovery_code_body.rb +0 -252
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +0 -252
- data/lib/ory-client/models/admin_identity_import_credentials.rb +0 -228
- data/lib/ory-client/models/admin_trust_o_auth2_jwt_grant_issuer_body.rb +0 -291
- data/lib/ory-client/models/admin_update_identity_body.rb +0 -285
- data/lib/ory-client/models/cname_settings.rb +0 -296
- data/lib/ory-client/models/create_custom_hostname_body.rb +0 -252
- data/lib/ory-client/models/create_subscription_payload.rb +0 -247
- data/lib/ory-client/models/expand_tree.rb +0 -280
- data/lib/ory-client/models/get_check_response.rb +0 -226
- data/lib/ory-client/models/get_namespaces_response.rb +0 -221
- data/lib/ory-client/models/get_relation_tuples_response.rb +0 -231
- data/lib/ory-client/models/handled_o_auth2_consent_request.rb +0 -225
- data/lib/ory-client/models/handled_o_auth2_login_request.rb +0 -225
- data/lib/ory-client/models/handled_o_auth2_logout_request.rb +0 -225
- data/lib/ory-client/models/headers.rb +0 -222
- data/lib/ory-client/models/id_token_claims.rb +0 -343
- data/lib/ory-client/models/invite_payload.rb +0 -219
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +0 -250
- data/lib/ory-client/models/json_error.rb +0 -225
- data/lib/ory-client/models/o_auth2_access_request.rb +0 -256
- data/lib/ory-client/models/o_auth2_api_error.rb +0 -251
- data/lib/ory-client/models/o_auth2_token_response.rb +0 -271
- data/lib/ory-client/models/patch_delta.rb +0 -262
- data/lib/ory-client/models/post_check_opl_syntax_response.rb +0 -222
- data/lib/ory-client/models/previous_o_auth2_consent_session.rb +0 -280
- data/lib/ory-client/models/provision_mock_subscription_payload.rb +0 -238
- data/lib/ory-client/models/quota_custom_domains.rb +0 -237
- data/lib/ory-client/models/quota_project_member_seats.rb +0 -237
- data/lib/ory-client/models/refresh_token_hook_request.rb +0 -272
- data/lib/ory-client/models/refresh_token_hook_response.rb +0 -219
- data/lib/ory-client/models/relation_tuple.rb +0 -274
- data/lib/ory-client/models/revoked_sessions.rb +0 -220
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +0 -307
- data/lib/ory-client/models/self_service_error.rb +0 -254
- data/lib/ory-client/models/self_service_login_flow.rb +0 -358
- data/lib/ory-client/models/self_service_logout_url.rb +0 -240
- data/lib/ory-client/models/self_service_recovery_code.rb +0 -250
- data/lib/ory-client/models/self_service_recovery_flow.rb +0 -334
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +0 -38
- data/lib/ory-client/models/self_service_recovery_link.rb +0 -235
- data/lib/ory-client/models/self_service_registration_flow.rb +0 -318
- data/lib/ory-client/models/self_service_settings_flow.rb +0 -348
- data/lib/ory-client/models/self_service_settings_flow_state.rb +0 -37
- data/lib/ory-client/models/self_service_verification_flow.rb +0 -319
- data/lib/ory-client/models/self_service_verification_flow_state.rb +0 -38
- data/lib/ory-client/models/settings_profile_form_config.rb +0 -267
- data/lib/ory-client/models/stripe_customer_response.rb +0 -219
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +0 -230
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +0 -61
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +0 -250
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +0 -261
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +0 -275
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +0 -250
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +0 -260
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +0 -226
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +0 -55
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_code_method_body.rb +0 -255
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +0 -250
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +0 -57
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +0 -261
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +0 -266
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +0 -270
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +0 -63
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +0 -275
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +0 -266
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +0 -250
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +0 -251
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +0 -255
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +0 -265
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +0 -54
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +0 -250
- data/lib/ory-client/models/successful_o_auth2_request_response.rb +0 -225
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +0 -235
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +0 -244
- data/lib/ory-client/models/update_custom_hostname_body.rb +0 -252
- data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +0 -535
- data/lib/ory-client/models/update_project.rb +0 -239
- data/lib/ory-client/models/update_subscription_payload.rb +0 -233
- data/spec/api/admin_api_spec.rb +0 -47
- data/spec/api/namespaces_api_spec.rb +0 -46
- data/spec/api/read_api_spec.rb +0 -124
- data/spec/api/syntax_api_spec.rb +0 -47
- data/spec/api/v0alpha2_api_spec.rb +0 -1253
- data/spec/api/write_api_spec.rb +0 -77
- data/spec/models/active_project_spec.rb +0 -34
- data/spec/models/admin_create_identity_body_spec.rb +0 -76
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +0 -40
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +0 -40
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +0 -34
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +0 -40
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +0 -34
- data/spec/models/admin_create_json_web_key_set_body_spec.rb +0 -46
- data/spec/models/admin_create_self_service_recovery_code_body_spec.rb +0 -40
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +0 -40
- data/spec/models/admin_identity_import_credentials_spec.rb +0 -40
- data/spec/models/admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb +0 -64
- data/spec/models/admin_update_identity_body_spec.rb +0 -64
- data/spec/models/cname_settings_spec.rb +0 -82
- data/spec/models/create_custom_hostname_body_spec.rb +0 -52
- data/spec/models/create_subscription_payload_spec.rb +0 -46
- data/spec/models/expand_tree_spec.rb +0 -50
- data/spec/models/get_check_response_spec.rb +0 -34
- data/spec/models/get_namespaces_response_spec.rb +0 -34
- data/spec/models/get_relation_tuples_response_spec.rb +0 -40
- data/spec/models/handled_o_auth2_consent_request_spec.rb +0 -34
- data/spec/models/handled_o_auth2_login_request_spec.rb +0 -34
- data/spec/models/handled_o_auth2_logout_request_spec.rb +0 -34
- data/spec/models/headers_spec.rb +0 -34
- data/spec/models/id_token_claims_spec.rb +0 -112
- data/spec/models/invite_payload_spec.rb +0 -34
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +0 -46
- data/spec/models/json_error_spec.rb +0 -34
- data/spec/models/o_auth2_access_request_spec.rb +0 -52
- data/spec/models/o_auth2_api_error_spec.rb +0 -52
- data/spec/models/o_auth2_token_response_spec.rb +0 -64
- data/spec/models/patch_delta_spec.rb +0 -44
- data/spec/models/post_check_opl_syntax_response_spec.rb +0 -34
- data/spec/models/previous_o_auth2_consent_session_spec.rb +0 -70
- data/spec/models/provision_mock_subscription_payload_spec.rb +0 -40
- data/spec/models/quota_custom_domains_spec.rb +0 -46
- data/spec/models/quota_project_member_seats_spec.rb +0 -46
- data/spec/models/refresh_token_hook_request_spec.rb +0 -64
- data/spec/models/refresh_token_hook_response_spec.rb +0 -34
- data/spec/models/relation_tuple_spec.rb +0 -58
- data/spec/models/revoked_sessions_spec.rb +0 -34
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +0 -82
- data/spec/models/self_service_error_spec.rb +0 -52
- data/spec/models/self_service_login_flow_spec.rb +0 -100
- data/spec/models/self_service_logout_url_spec.rb +0 -40
- data/spec/models/self_service_recovery_code_spec.rb +0 -46
- data/spec/models/self_service_recovery_flow_spec.rb +0 -82
- data/spec/models/self_service_recovery_flow_state_spec.rb +0 -28
- data/spec/models/self_service_recovery_link_spec.rb +0 -40
- data/spec/models/self_service_registration_flow_spec.rb +0 -76
- data/spec/models/self_service_settings_flow_spec.rb +0 -88
- data/spec/models/self_service_settings_flow_state_spec.rb +0 -28
- data/spec/models/self_service_verification_flow_spec.rb +0 -82
- data/spec/models/self_service_verification_flow_state_spec.rb +0 -28
- data/spec/models/settings_profile_form_config_spec.rb +0 -52
- data/spec/models/stripe_customer_response_spec.rb +0 -34
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +0 -40
- data/spec/models/submit_self_service_login_flow_body_spec.rb +0 -43
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +0 -46
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +0 -52
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +0 -58
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +0 -46
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +0 -52
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +0 -34
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +0 -43
- data/spec/models/submit_self_service_recovery_flow_with_code_method_body_spec.rb +0 -52
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +0 -46
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +0 -43
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +0 -52
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +0 -52
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +0 -58
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +0 -43
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +0 -64
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +0 -58
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +0 -46
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +0 -46
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +0 -52
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +0 -58
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +0 -43
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +0 -46
- data/spec/models/successful_o_auth2_request_response_spec.rb +0 -34
- data/spec/models/successful_self_service_login_without_browser_spec.rb +0 -40
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +0 -46
- data/spec/models/update_custom_hostname_body_spec.rb +0 -52
- data/spec/models/update_o_auth2_client_lifespans_spec.rb +0 -100
- data/spec/models/update_project_spec.rb +0 -40
- data/spec/models/update_subscription_payload_spec.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/README.md +0 -95
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ast/processor.rb +0 -288
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/builders/default.rb +0 -2309
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/current.rb +0 -119
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/messages.rb +0 -118
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/meta.rb +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/static_environment.rb +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/version.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/parser.gemspec +0 -43
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec/version.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/Changelog.md +0 -2355
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +0 -2383
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +0 -521
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +0 -325
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/Changelog.md +0 -1277
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/expectations/version.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/matchers.rb +0 -1041
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/Changelog.md +0 -1193
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +0 -369
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +0 -822
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +0 -202
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/Changelog.md +0 -357
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/ruby_features.rb +0 -194
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/version.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.15.0.gemspec +0 -32
- data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.2.1.gemspec +0 -63
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +0 -43
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +0 -63
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.1.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.1.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.1.gemspec +0 -39
@@ -0,0 +1,1120 @@
|
|
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: v1.0.0
|
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 'cgi'
|
14
|
+
|
15
|
+
module OryClient
|
16
|
+
class IdentityApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Create an Identity
|
23
|
+
# Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods.
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [CreateIdentityBody] :create_identity_body
|
26
|
+
# @return [Identity]
|
27
|
+
def create_identity(opts = {})
|
28
|
+
data, _status_code, _headers = create_identity_with_http_info(opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Create an Identity
|
33
|
+
# Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods.
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [CreateIdentityBody] :create_identity_body
|
36
|
+
# @return [Array<(Identity, Integer, Hash)>] Identity data, response status code and response headers
|
37
|
+
def create_identity_with_http_info(opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.create_identity ...'
|
40
|
+
end
|
41
|
+
# resource path
|
42
|
+
local_var_path = '/admin/identities'
|
43
|
+
|
44
|
+
# query parameters
|
45
|
+
query_params = opts[:query_params] || {}
|
46
|
+
|
47
|
+
# header parameters
|
48
|
+
header_params = opts[:header_params] || {}
|
49
|
+
# HTTP header 'Accept' (if needed)
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
51
|
+
# HTTP header 'Content-Type'
|
52
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
53
|
+
if !content_type.nil?
|
54
|
+
header_params['Content-Type'] = content_type
|
55
|
+
end
|
56
|
+
|
57
|
+
# form parameters
|
58
|
+
form_params = opts[:form_params] || {}
|
59
|
+
|
60
|
+
# http body (model)
|
61
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_identity_body'])
|
62
|
+
|
63
|
+
# return_type
|
64
|
+
return_type = opts[:debug_return_type] || 'Identity'
|
65
|
+
|
66
|
+
# auth_names
|
67
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
68
|
+
|
69
|
+
new_options = opts.merge(
|
70
|
+
:operation => :"IdentityApi.create_identity",
|
71
|
+
:header_params => header_params,
|
72
|
+
:query_params => query_params,
|
73
|
+
:form_params => form_params,
|
74
|
+
:body => post_body,
|
75
|
+
:auth_names => auth_names,
|
76
|
+
:return_type => return_type
|
77
|
+
)
|
78
|
+
|
79
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
|
+
if @api_client.config.debugging
|
81
|
+
@api_client.config.logger.debug "API called: IdentityApi#create_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
|
+
end
|
83
|
+
return data, status_code, headers
|
84
|
+
end
|
85
|
+
|
86
|
+
# Create a Recovery Code
|
87
|
+
# This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account.
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [CreateRecoveryCodeForIdentityBody] :create_recovery_code_for_identity_body
|
90
|
+
# @return [RecoveryCodeForIdentity]
|
91
|
+
def create_recovery_code_for_identity(opts = {})
|
92
|
+
data, _status_code, _headers = create_recovery_code_for_identity_with_http_info(opts)
|
93
|
+
data
|
94
|
+
end
|
95
|
+
|
96
|
+
# Create a Recovery Code
|
97
|
+
# This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account.
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [CreateRecoveryCodeForIdentityBody] :create_recovery_code_for_identity_body
|
100
|
+
# @return [Array<(RecoveryCodeForIdentity, Integer, Hash)>] RecoveryCodeForIdentity data, response status code and response headers
|
101
|
+
def create_recovery_code_for_identity_with_http_info(opts = {})
|
102
|
+
if @api_client.config.debugging
|
103
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.create_recovery_code_for_identity ...'
|
104
|
+
end
|
105
|
+
# resource path
|
106
|
+
local_var_path = '/admin/recovery/code'
|
107
|
+
|
108
|
+
# query parameters
|
109
|
+
query_params = opts[:query_params] || {}
|
110
|
+
|
111
|
+
# header parameters
|
112
|
+
header_params = opts[:header_params] || {}
|
113
|
+
# HTTP header 'Accept' (if needed)
|
114
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
115
|
+
# HTTP header 'Content-Type'
|
116
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
117
|
+
if !content_type.nil?
|
118
|
+
header_params['Content-Type'] = content_type
|
119
|
+
end
|
120
|
+
|
121
|
+
# form parameters
|
122
|
+
form_params = opts[:form_params] || {}
|
123
|
+
|
124
|
+
# http body (model)
|
125
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_recovery_code_for_identity_body'])
|
126
|
+
|
127
|
+
# return_type
|
128
|
+
return_type = opts[:debug_return_type] || 'RecoveryCodeForIdentity'
|
129
|
+
|
130
|
+
# auth_names
|
131
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
132
|
+
|
133
|
+
new_options = opts.merge(
|
134
|
+
:operation => :"IdentityApi.create_recovery_code_for_identity",
|
135
|
+
:header_params => header_params,
|
136
|
+
:query_params => query_params,
|
137
|
+
:form_params => form_params,
|
138
|
+
:body => post_body,
|
139
|
+
:auth_names => auth_names,
|
140
|
+
:return_type => return_type
|
141
|
+
)
|
142
|
+
|
143
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
144
|
+
if @api_client.config.debugging
|
145
|
+
@api_client.config.logger.debug "API called: IdentityApi#create_recovery_code_for_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
146
|
+
end
|
147
|
+
return data, status_code, headers
|
148
|
+
end
|
149
|
+
|
150
|
+
# Create a Recovery Link
|
151
|
+
# This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
|
152
|
+
# @param [Hash] opts the optional parameters
|
153
|
+
# @option opts [CreateRecoveryLinkForIdentityBody] :create_recovery_link_for_identity_body
|
154
|
+
# @return [RecoveryLinkForIdentity]
|
155
|
+
def create_recovery_link_for_identity(opts = {})
|
156
|
+
data, _status_code, _headers = create_recovery_link_for_identity_with_http_info(opts)
|
157
|
+
data
|
158
|
+
end
|
159
|
+
|
160
|
+
# Create a Recovery Link
|
161
|
+
# This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @option opts [CreateRecoveryLinkForIdentityBody] :create_recovery_link_for_identity_body
|
164
|
+
# @return [Array<(RecoveryLinkForIdentity, Integer, Hash)>] RecoveryLinkForIdentity data, response status code and response headers
|
165
|
+
def create_recovery_link_for_identity_with_http_info(opts = {})
|
166
|
+
if @api_client.config.debugging
|
167
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.create_recovery_link_for_identity ...'
|
168
|
+
end
|
169
|
+
# resource path
|
170
|
+
local_var_path = '/admin/recovery/link'
|
171
|
+
|
172
|
+
# query parameters
|
173
|
+
query_params = opts[:query_params] || {}
|
174
|
+
|
175
|
+
# header parameters
|
176
|
+
header_params = opts[:header_params] || {}
|
177
|
+
# HTTP header 'Accept' (if needed)
|
178
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
179
|
+
# HTTP header 'Content-Type'
|
180
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
181
|
+
if !content_type.nil?
|
182
|
+
header_params['Content-Type'] = content_type
|
183
|
+
end
|
184
|
+
|
185
|
+
# form parameters
|
186
|
+
form_params = opts[:form_params] || {}
|
187
|
+
|
188
|
+
# http body (model)
|
189
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_recovery_link_for_identity_body'])
|
190
|
+
|
191
|
+
# return_type
|
192
|
+
return_type = opts[:debug_return_type] || 'RecoveryLinkForIdentity'
|
193
|
+
|
194
|
+
# auth_names
|
195
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
196
|
+
|
197
|
+
new_options = opts.merge(
|
198
|
+
:operation => :"IdentityApi.create_recovery_link_for_identity",
|
199
|
+
:header_params => header_params,
|
200
|
+
:query_params => query_params,
|
201
|
+
:form_params => form_params,
|
202
|
+
:body => post_body,
|
203
|
+
:auth_names => auth_names,
|
204
|
+
:return_type => return_type
|
205
|
+
)
|
206
|
+
|
207
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
208
|
+
if @api_client.config.debugging
|
209
|
+
@api_client.config.logger.debug "API called: IdentityApi#create_recovery_link_for_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
210
|
+
end
|
211
|
+
return data, status_code, headers
|
212
|
+
end
|
213
|
+
|
214
|
+
# Delete an Identity
|
215
|
+
# Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already.
|
216
|
+
# @param id [String] ID is the identity's ID.
|
217
|
+
# @param [Hash] opts the optional parameters
|
218
|
+
# @return [nil]
|
219
|
+
def delete_identity(id, opts = {})
|
220
|
+
delete_identity_with_http_info(id, opts)
|
221
|
+
nil
|
222
|
+
end
|
223
|
+
|
224
|
+
# Delete an Identity
|
225
|
+
# Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already.
|
226
|
+
# @param id [String] ID is the identity's ID.
|
227
|
+
# @param [Hash] opts the optional parameters
|
228
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
229
|
+
def delete_identity_with_http_info(id, opts = {})
|
230
|
+
if @api_client.config.debugging
|
231
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.delete_identity ...'
|
232
|
+
end
|
233
|
+
# verify the required parameter 'id' is set
|
234
|
+
if @api_client.config.client_side_validation && id.nil?
|
235
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.delete_identity"
|
236
|
+
end
|
237
|
+
# resource path
|
238
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
239
|
+
|
240
|
+
# query parameters
|
241
|
+
query_params = opts[:query_params] || {}
|
242
|
+
|
243
|
+
# header parameters
|
244
|
+
header_params = opts[:header_params] || {}
|
245
|
+
# HTTP header 'Accept' (if needed)
|
246
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
247
|
+
|
248
|
+
# form parameters
|
249
|
+
form_params = opts[:form_params] || {}
|
250
|
+
|
251
|
+
# http body (model)
|
252
|
+
post_body = opts[:debug_body]
|
253
|
+
|
254
|
+
# return_type
|
255
|
+
return_type = opts[:debug_return_type]
|
256
|
+
|
257
|
+
# auth_names
|
258
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
259
|
+
|
260
|
+
new_options = opts.merge(
|
261
|
+
:operation => :"IdentityApi.delete_identity",
|
262
|
+
:header_params => header_params,
|
263
|
+
:query_params => query_params,
|
264
|
+
:form_params => form_params,
|
265
|
+
:body => post_body,
|
266
|
+
:auth_names => auth_names,
|
267
|
+
:return_type => return_type
|
268
|
+
)
|
269
|
+
|
270
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
271
|
+
if @api_client.config.debugging
|
272
|
+
@api_client.config.logger.debug "API called: IdentityApi#delete_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
273
|
+
end
|
274
|
+
return data, status_code, headers
|
275
|
+
end
|
276
|
+
|
277
|
+
# Delete & Invalidate an Identity's Sessions
|
278
|
+
# Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
|
279
|
+
# @param id [String] ID is the identity's ID.
|
280
|
+
# @param [Hash] opts the optional parameters
|
281
|
+
# @return [nil]
|
282
|
+
def delete_identity_sessions(id, opts = {})
|
283
|
+
delete_identity_sessions_with_http_info(id, opts)
|
284
|
+
nil
|
285
|
+
end
|
286
|
+
|
287
|
+
# Delete & Invalidate an Identity's Sessions
|
288
|
+
# Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
|
289
|
+
# @param id [String] ID is the identity's ID.
|
290
|
+
# @param [Hash] opts the optional parameters
|
291
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
292
|
+
def delete_identity_sessions_with_http_info(id, opts = {})
|
293
|
+
if @api_client.config.debugging
|
294
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.delete_identity_sessions ...'
|
295
|
+
end
|
296
|
+
# verify the required parameter 'id' is set
|
297
|
+
if @api_client.config.client_side_validation && id.nil?
|
298
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.delete_identity_sessions"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '/admin/identities/{id}/sessions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
302
|
+
|
303
|
+
# query parameters
|
304
|
+
query_params = opts[:query_params] || {}
|
305
|
+
|
306
|
+
# header parameters
|
307
|
+
header_params = opts[:header_params] || {}
|
308
|
+
# HTTP header 'Accept' (if needed)
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
310
|
+
|
311
|
+
# form parameters
|
312
|
+
form_params = opts[:form_params] || {}
|
313
|
+
|
314
|
+
# http body (model)
|
315
|
+
post_body = opts[:debug_body]
|
316
|
+
|
317
|
+
# return_type
|
318
|
+
return_type = opts[:debug_return_type]
|
319
|
+
|
320
|
+
# auth_names
|
321
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
322
|
+
|
323
|
+
new_options = opts.merge(
|
324
|
+
:operation => :"IdentityApi.delete_identity_sessions",
|
325
|
+
:header_params => header_params,
|
326
|
+
:query_params => query_params,
|
327
|
+
:form_params => form_params,
|
328
|
+
:body => post_body,
|
329
|
+
:auth_names => auth_names,
|
330
|
+
:return_type => return_type
|
331
|
+
)
|
332
|
+
|
333
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
334
|
+
if @api_client.config.debugging
|
335
|
+
@api_client.config.logger.debug "API called: IdentityApi#delete_identity_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
336
|
+
end
|
337
|
+
return data, status_code, headers
|
338
|
+
end
|
339
|
+
|
340
|
+
# Deactivate a Session
|
341
|
+
# Calling this endpoint deactivates the specified session. Session data is not deleted.
|
342
|
+
# @param id [String] ID is the session's ID.
|
343
|
+
# @param [Hash] opts the optional parameters
|
344
|
+
# @return [nil]
|
345
|
+
def disable_session(id, opts = {})
|
346
|
+
disable_session_with_http_info(id, opts)
|
347
|
+
nil
|
348
|
+
end
|
349
|
+
|
350
|
+
# Deactivate a Session
|
351
|
+
# Calling this endpoint deactivates the specified session. Session data is not deleted.
|
352
|
+
# @param id [String] ID is the session's ID.
|
353
|
+
# @param [Hash] opts the optional parameters
|
354
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
355
|
+
def disable_session_with_http_info(id, opts = {})
|
356
|
+
if @api_client.config.debugging
|
357
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.disable_session ...'
|
358
|
+
end
|
359
|
+
# verify the required parameter 'id' is set
|
360
|
+
if @api_client.config.client_side_validation && id.nil?
|
361
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.disable_session"
|
362
|
+
end
|
363
|
+
# resource path
|
364
|
+
local_var_path = '/admin/sessions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
365
|
+
|
366
|
+
# query parameters
|
367
|
+
query_params = opts[:query_params] || {}
|
368
|
+
|
369
|
+
# header parameters
|
370
|
+
header_params = opts[:header_params] || {}
|
371
|
+
# HTTP header 'Accept' (if needed)
|
372
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
373
|
+
|
374
|
+
# form parameters
|
375
|
+
form_params = opts[:form_params] || {}
|
376
|
+
|
377
|
+
# http body (model)
|
378
|
+
post_body = opts[:debug_body]
|
379
|
+
|
380
|
+
# return_type
|
381
|
+
return_type = opts[:debug_return_type]
|
382
|
+
|
383
|
+
# auth_names
|
384
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
385
|
+
|
386
|
+
new_options = opts.merge(
|
387
|
+
:operation => :"IdentityApi.disable_session",
|
388
|
+
:header_params => header_params,
|
389
|
+
:query_params => query_params,
|
390
|
+
:form_params => form_params,
|
391
|
+
:body => post_body,
|
392
|
+
:auth_names => auth_names,
|
393
|
+
:return_type => return_type
|
394
|
+
)
|
395
|
+
|
396
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
397
|
+
if @api_client.config.debugging
|
398
|
+
@api_client.config.logger.debug "API called: IdentityApi#disable_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
399
|
+
end
|
400
|
+
return data, status_code, headers
|
401
|
+
end
|
402
|
+
|
403
|
+
# Extend a Session
|
404
|
+
# Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
|
405
|
+
# @param id [String] ID is the session's ID.
|
406
|
+
# @param [Hash] opts the optional parameters
|
407
|
+
# @return [Session]
|
408
|
+
def extend_session(id, opts = {})
|
409
|
+
data, _status_code, _headers = extend_session_with_http_info(id, opts)
|
410
|
+
data
|
411
|
+
end
|
412
|
+
|
413
|
+
# Extend a Session
|
414
|
+
# Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
|
415
|
+
# @param id [String] ID is the session's ID.
|
416
|
+
# @param [Hash] opts the optional parameters
|
417
|
+
# @return [Array<(Session, Integer, Hash)>] Session data, response status code and response headers
|
418
|
+
def extend_session_with_http_info(id, opts = {})
|
419
|
+
if @api_client.config.debugging
|
420
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.extend_session ...'
|
421
|
+
end
|
422
|
+
# verify the required parameter 'id' is set
|
423
|
+
if @api_client.config.client_side_validation && id.nil?
|
424
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.extend_session"
|
425
|
+
end
|
426
|
+
# resource path
|
427
|
+
local_var_path = '/admin/sessions/{id}/extend'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
428
|
+
|
429
|
+
# query parameters
|
430
|
+
query_params = opts[:query_params] || {}
|
431
|
+
|
432
|
+
# header parameters
|
433
|
+
header_params = opts[:header_params] || {}
|
434
|
+
# HTTP header 'Accept' (if needed)
|
435
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
436
|
+
|
437
|
+
# form parameters
|
438
|
+
form_params = opts[:form_params] || {}
|
439
|
+
|
440
|
+
# http body (model)
|
441
|
+
post_body = opts[:debug_body]
|
442
|
+
|
443
|
+
# return_type
|
444
|
+
return_type = opts[:debug_return_type] || 'Session'
|
445
|
+
|
446
|
+
# auth_names
|
447
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
448
|
+
|
449
|
+
new_options = opts.merge(
|
450
|
+
:operation => :"IdentityApi.extend_session",
|
451
|
+
:header_params => header_params,
|
452
|
+
:query_params => query_params,
|
453
|
+
:form_params => form_params,
|
454
|
+
:body => post_body,
|
455
|
+
:auth_names => auth_names,
|
456
|
+
:return_type => return_type
|
457
|
+
)
|
458
|
+
|
459
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
460
|
+
if @api_client.config.debugging
|
461
|
+
@api_client.config.logger.debug "API called: IdentityApi#extend_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
462
|
+
end
|
463
|
+
return data, status_code, headers
|
464
|
+
end
|
465
|
+
|
466
|
+
# Get an Identity
|
467
|
+
# Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter.
|
468
|
+
# @param id [String] ID must be set to the ID of identity you want to get
|
469
|
+
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :include_credential Include Credentials in Response Currently, only `oidc` is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token.
|
471
|
+
# @return [Identity]
|
472
|
+
def get_identity(id, opts = {})
|
473
|
+
data, _status_code, _headers = get_identity_with_http_info(id, opts)
|
474
|
+
data
|
475
|
+
end
|
476
|
+
|
477
|
+
# Get an Identity
|
478
|
+
# Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter.
|
479
|
+
# @param id [String] ID must be set to the ID of identity you want to get
|
480
|
+
# @param [Hash] opts the optional parameters
|
481
|
+
# @option opts [Array<String>] :include_credential Include Credentials in Response Currently, only `oidc` is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token.
|
482
|
+
# @return [Array<(Identity, Integer, Hash)>] Identity data, response status code and response headers
|
483
|
+
def get_identity_with_http_info(id, opts = {})
|
484
|
+
if @api_client.config.debugging
|
485
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.get_identity ...'
|
486
|
+
end
|
487
|
+
# verify the required parameter 'id' is set
|
488
|
+
if @api_client.config.client_side_validation && id.nil?
|
489
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.get_identity"
|
490
|
+
end
|
491
|
+
# resource path
|
492
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
493
|
+
|
494
|
+
# query parameters
|
495
|
+
query_params = opts[:query_params] || {}
|
496
|
+
query_params[:'include_credential'] = @api_client.build_collection_param(opts[:'include_credential'], :multi) if !opts[:'include_credential'].nil?
|
497
|
+
|
498
|
+
# header parameters
|
499
|
+
header_params = opts[:header_params] || {}
|
500
|
+
# HTTP header 'Accept' (if needed)
|
501
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
502
|
+
|
503
|
+
# form parameters
|
504
|
+
form_params = opts[:form_params] || {}
|
505
|
+
|
506
|
+
# http body (model)
|
507
|
+
post_body = opts[:debug_body]
|
508
|
+
|
509
|
+
# return_type
|
510
|
+
return_type = opts[:debug_return_type] || 'Identity'
|
511
|
+
|
512
|
+
# auth_names
|
513
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
514
|
+
|
515
|
+
new_options = opts.merge(
|
516
|
+
:operation => :"IdentityApi.get_identity",
|
517
|
+
:header_params => header_params,
|
518
|
+
:query_params => query_params,
|
519
|
+
:form_params => form_params,
|
520
|
+
:body => post_body,
|
521
|
+
:auth_names => auth_names,
|
522
|
+
:return_type => return_type
|
523
|
+
)
|
524
|
+
|
525
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
526
|
+
if @api_client.config.debugging
|
527
|
+
@api_client.config.logger.debug "API called: IdentityApi#get_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
528
|
+
end
|
529
|
+
return data, status_code, headers
|
530
|
+
end
|
531
|
+
|
532
|
+
# Get Identity JSON Schema
|
533
|
+
# Return a specific identity schema.
|
534
|
+
# @param id [String] ID must be set to the ID of schema you want to get
|
535
|
+
# @param [Hash] opts the optional parameters
|
536
|
+
# @return [Object]
|
537
|
+
def get_identity_schema(id, opts = {})
|
538
|
+
data, _status_code, _headers = get_identity_schema_with_http_info(id, opts)
|
539
|
+
data
|
540
|
+
end
|
541
|
+
|
542
|
+
# Get Identity JSON Schema
|
543
|
+
# Return a specific identity schema.
|
544
|
+
# @param id [String] ID must be set to the ID of schema you want to get
|
545
|
+
# @param [Hash] opts the optional parameters
|
546
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
547
|
+
def get_identity_schema_with_http_info(id, opts = {})
|
548
|
+
if @api_client.config.debugging
|
549
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.get_identity_schema ...'
|
550
|
+
end
|
551
|
+
# verify the required parameter 'id' is set
|
552
|
+
if @api_client.config.client_side_validation && id.nil?
|
553
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.get_identity_schema"
|
554
|
+
end
|
555
|
+
# resource path
|
556
|
+
local_var_path = '/schemas/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
557
|
+
|
558
|
+
# query parameters
|
559
|
+
query_params = opts[:query_params] || {}
|
560
|
+
|
561
|
+
# header parameters
|
562
|
+
header_params = opts[:header_params] || {}
|
563
|
+
# HTTP header 'Accept' (if needed)
|
564
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
565
|
+
|
566
|
+
# form parameters
|
567
|
+
form_params = opts[:form_params] || {}
|
568
|
+
|
569
|
+
# http body (model)
|
570
|
+
post_body = opts[:debug_body]
|
571
|
+
|
572
|
+
# return_type
|
573
|
+
return_type = opts[:debug_return_type] || 'Object'
|
574
|
+
|
575
|
+
# auth_names
|
576
|
+
auth_names = opts[:debug_auth_names] || []
|
577
|
+
|
578
|
+
new_options = opts.merge(
|
579
|
+
:operation => :"IdentityApi.get_identity_schema",
|
580
|
+
:header_params => header_params,
|
581
|
+
:query_params => query_params,
|
582
|
+
:form_params => form_params,
|
583
|
+
:body => post_body,
|
584
|
+
:auth_names => auth_names,
|
585
|
+
:return_type => return_type
|
586
|
+
)
|
587
|
+
|
588
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
589
|
+
if @api_client.config.debugging
|
590
|
+
@api_client.config.logger.debug "API called: IdentityApi#get_identity_schema\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
591
|
+
end
|
592
|
+
return data, status_code, headers
|
593
|
+
end
|
594
|
+
|
595
|
+
# This endpoint returns the session object with expandables specified.
|
596
|
+
# This endpoint is useful for: Getting a session object with all specified expandables that exist in an administrative context.
|
597
|
+
# @param id [String] ID is the session's ID.
|
598
|
+
# @param [Hash] opts the optional parameters
|
599
|
+
# @option opts [Array<String>] :expand ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped.
|
600
|
+
# @return [Session]
|
601
|
+
def get_session(id, opts = {})
|
602
|
+
data, _status_code, _headers = get_session_with_http_info(id, opts)
|
603
|
+
data
|
604
|
+
end
|
605
|
+
|
606
|
+
# This endpoint returns the session object with expandables specified.
|
607
|
+
# This endpoint is useful for: Getting a session object with all specified expandables that exist in an administrative context.
|
608
|
+
# @param id [String] ID is the session's ID.
|
609
|
+
# @param [Hash] opts the optional parameters
|
610
|
+
# @option opts [Array<String>] :expand ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped.
|
611
|
+
# @return [Array<(Session, Integer, Hash)>] Session data, response status code and response headers
|
612
|
+
def get_session_with_http_info(id, opts = {})
|
613
|
+
if @api_client.config.debugging
|
614
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.get_session ...'
|
615
|
+
end
|
616
|
+
# verify the required parameter 'id' is set
|
617
|
+
if @api_client.config.client_side_validation && id.nil?
|
618
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.get_session"
|
619
|
+
end
|
620
|
+
allowable_values = ["Devices", "Identity"]
|
621
|
+
if @api_client.config.client_side_validation && opts[:'expand'] && !opts[:'expand'].all? { |item| allowable_values.include?(item) }
|
622
|
+
fail ArgumentError, "invalid value for \"expand\", must include one of #{allowable_values}"
|
623
|
+
end
|
624
|
+
# resource path
|
625
|
+
local_var_path = '/admin/sessions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
626
|
+
|
627
|
+
# query parameters
|
628
|
+
query_params = opts[:query_params] || {}
|
629
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
|
630
|
+
|
631
|
+
# header parameters
|
632
|
+
header_params = opts[:header_params] || {}
|
633
|
+
# HTTP header 'Accept' (if needed)
|
634
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
635
|
+
|
636
|
+
# form parameters
|
637
|
+
form_params = opts[:form_params] || {}
|
638
|
+
|
639
|
+
# http body (model)
|
640
|
+
post_body = opts[:debug_body]
|
641
|
+
|
642
|
+
# return_type
|
643
|
+
return_type = opts[:debug_return_type] || 'Session'
|
644
|
+
|
645
|
+
# auth_names
|
646
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
647
|
+
|
648
|
+
new_options = opts.merge(
|
649
|
+
:operation => :"IdentityApi.get_session",
|
650
|
+
:header_params => header_params,
|
651
|
+
:query_params => query_params,
|
652
|
+
:form_params => form_params,
|
653
|
+
:body => post_body,
|
654
|
+
:auth_names => auth_names,
|
655
|
+
:return_type => return_type
|
656
|
+
)
|
657
|
+
|
658
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
659
|
+
if @api_client.config.debugging
|
660
|
+
@api_client.config.logger.debug "API called: IdentityApi#get_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
661
|
+
end
|
662
|
+
return data, status_code, headers
|
663
|
+
end
|
664
|
+
|
665
|
+
# List Identities
|
666
|
+
# Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
|
667
|
+
# @param [Hash] opts the optional parameters
|
668
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
669
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
670
|
+
# @return [Array<Identity>]
|
671
|
+
def list_identities(opts = {})
|
672
|
+
data, _status_code, _headers = list_identities_with_http_info(opts)
|
673
|
+
data
|
674
|
+
end
|
675
|
+
|
676
|
+
# List Identities
|
677
|
+
# Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.
|
678
|
+
# @param [Hash] opts the optional parameters
|
679
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
680
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
681
|
+
# @return [Array<(Array<Identity>, Integer, Hash)>] Array<Identity> data, response status code and response headers
|
682
|
+
def list_identities_with_http_info(opts = {})
|
683
|
+
if @api_client.config.debugging
|
684
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.list_identities ...'
|
685
|
+
end
|
686
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
687
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling IdentityApi.list_identities, must be smaller than or equal to 1000.'
|
688
|
+
end
|
689
|
+
|
690
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
691
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling IdentityApi.list_identities, must be greater than or equal to 1.'
|
692
|
+
end
|
693
|
+
|
694
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
|
695
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling IdentityApi.list_identities, must be greater than or equal to 1.'
|
696
|
+
end
|
697
|
+
|
698
|
+
# resource path
|
699
|
+
local_var_path = '/admin/identities'
|
700
|
+
|
701
|
+
# query parameters
|
702
|
+
query_params = opts[:query_params] || {}
|
703
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
704
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
705
|
+
|
706
|
+
# header parameters
|
707
|
+
header_params = opts[:header_params] || {}
|
708
|
+
# HTTP header 'Accept' (if needed)
|
709
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
710
|
+
|
711
|
+
# form parameters
|
712
|
+
form_params = opts[:form_params] || {}
|
713
|
+
|
714
|
+
# http body (model)
|
715
|
+
post_body = opts[:debug_body]
|
716
|
+
|
717
|
+
# return_type
|
718
|
+
return_type = opts[:debug_return_type] || 'Array<Identity>'
|
719
|
+
|
720
|
+
# auth_names
|
721
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
722
|
+
|
723
|
+
new_options = opts.merge(
|
724
|
+
:operation => :"IdentityApi.list_identities",
|
725
|
+
:header_params => header_params,
|
726
|
+
:query_params => query_params,
|
727
|
+
:form_params => form_params,
|
728
|
+
:body => post_body,
|
729
|
+
:auth_names => auth_names,
|
730
|
+
:return_type => return_type
|
731
|
+
)
|
732
|
+
|
733
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
734
|
+
if @api_client.config.debugging
|
735
|
+
@api_client.config.logger.debug "API called: IdentityApi#list_identities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
736
|
+
end
|
737
|
+
return data, status_code, headers
|
738
|
+
end
|
739
|
+
|
740
|
+
# Get all Identity Schemas
|
741
|
+
# Returns a list of all identity schemas currently in use.
|
742
|
+
# @param [Hash] opts the optional parameters
|
743
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
744
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
745
|
+
# @return [Array<IdentitySchemaContainer>]
|
746
|
+
def list_identity_schemas(opts = {})
|
747
|
+
data, _status_code, _headers = list_identity_schemas_with_http_info(opts)
|
748
|
+
data
|
749
|
+
end
|
750
|
+
|
751
|
+
# Get all Identity Schemas
|
752
|
+
# Returns a list of all identity schemas currently in use.
|
753
|
+
# @param [Hash] opts the optional parameters
|
754
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
755
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
756
|
+
# @return [Array<(Array<IdentitySchemaContainer>, Integer, Hash)>] Array<IdentitySchemaContainer> data, response status code and response headers
|
757
|
+
def list_identity_schemas_with_http_info(opts = {})
|
758
|
+
if @api_client.config.debugging
|
759
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.list_identity_schemas ...'
|
760
|
+
end
|
761
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
762
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling IdentityApi.list_identity_schemas, must be smaller than or equal to 1000.'
|
763
|
+
end
|
764
|
+
|
765
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
766
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling IdentityApi.list_identity_schemas, must be greater than or equal to 1.'
|
767
|
+
end
|
768
|
+
|
769
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
|
770
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling IdentityApi.list_identity_schemas, must be greater than or equal to 1.'
|
771
|
+
end
|
772
|
+
|
773
|
+
# resource path
|
774
|
+
local_var_path = '/schemas'
|
775
|
+
|
776
|
+
# query parameters
|
777
|
+
query_params = opts[:query_params] || {}
|
778
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
779
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
780
|
+
|
781
|
+
# header parameters
|
782
|
+
header_params = opts[:header_params] || {}
|
783
|
+
# HTTP header 'Accept' (if needed)
|
784
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
785
|
+
|
786
|
+
# form parameters
|
787
|
+
form_params = opts[:form_params] || {}
|
788
|
+
|
789
|
+
# http body (model)
|
790
|
+
post_body = opts[:debug_body]
|
791
|
+
|
792
|
+
# return_type
|
793
|
+
return_type = opts[:debug_return_type] || 'Array<IdentitySchemaContainer>'
|
794
|
+
|
795
|
+
# auth_names
|
796
|
+
auth_names = opts[:debug_auth_names] || []
|
797
|
+
|
798
|
+
new_options = opts.merge(
|
799
|
+
:operation => :"IdentityApi.list_identity_schemas",
|
800
|
+
:header_params => header_params,
|
801
|
+
:query_params => query_params,
|
802
|
+
:form_params => form_params,
|
803
|
+
:body => post_body,
|
804
|
+
:auth_names => auth_names,
|
805
|
+
:return_type => return_type
|
806
|
+
)
|
807
|
+
|
808
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
809
|
+
if @api_client.config.debugging
|
810
|
+
@api_client.config.logger.debug "API called: IdentityApi#list_identity_schemas\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
811
|
+
end
|
812
|
+
return data, status_code, headers
|
813
|
+
end
|
814
|
+
|
815
|
+
# List an Identity's Sessions
|
816
|
+
# This endpoint returns all sessions that belong to the given Identity.
|
817
|
+
# @param id [String] ID is the identity's ID.
|
818
|
+
# @param [Hash] opts the optional parameters
|
819
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
820
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
821
|
+
# @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
822
|
+
# @return [Array<Session>]
|
823
|
+
def list_identity_sessions(id, opts = {})
|
824
|
+
data, _status_code, _headers = list_identity_sessions_with_http_info(id, opts)
|
825
|
+
data
|
826
|
+
end
|
827
|
+
|
828
|
+
# List an Identity's Sessions
|
829
|
+
# This endpoint returns all sessions that belong to the given Identity.
|
830
|
+
# @param id [String] ID is the identity's ID.
|
831
|
+
# @param [Hash] opts the optional parameters
|
832
|
+
# @option opts [Integer] :per_page Items per Page This is the number of items per page. (default to 250)
|
833
|
+
# @option opts [Integer] :page Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. (default to 1)
|
834
|
+
# @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
835
|
+
# @return [Array<(Array<Session>, Integer, Hash)>] Array<Session> data, response status code and response headers
|
836
|
+
def list_identity_sessions_with_http_info(id, opts = {})
|
837
|
+
if @api_client.config.debugging
|
838
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.list_identity_sessions ...'
|
839
|
+
end
|
840
|
+
# verify the required parameter 'id' is set
|
841
|
+
if @api_client.config.client_side_validation && id.nil?
|
842
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.list_identity_sessions"
|
843
|
+
end
|
844
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] > 1000
|
845
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling IdentityApi.list_identity_sessions, must be smaller than or equal to 1000.'
|
846
|
+
end
|
847
|
+
|
848
|
+
if @api_client.config.client_side_validation && !opts[:'per_page'].nil? && opts[:'per_page'] < 1
|
849
|
+
fail ArgumentError, 'invalid value for "opts[:"per_page"]" when calling IdentityApi.list_identity_sessions, must be greater than or equal to 1.'
|
850
|
+
end
|
851
|
+
|
852
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
|
853
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling IdentityApi.list_identity_sessions, must be greater than or equal to 1.'
|
854
|
+
end
|
855
|
+
|
856
|
+
# resource path
|
857
|
+
local_var_path = '/admin/identities/{id}/sessions'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
858
|
+
|
859
|
+
# query parameters
|
860
|
+
query_params = opts[:query_params] || {}
|
861
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
862
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
863
|
+
query_params[:'active'] = opts[:'active'] if !opts[:'active'].nil?
|
864
|
+
|
865
|
+
# header parameters
|
866
|
+
header_params = opts[:header_params] || {}
|
867
|
+
# HTTP header 'Accept' (if needed)
|
868
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
869
|
+
|
870
|
+
# form parameters
|
871
|
+
form_params = opts[:form_params] || {}
|
872
|
+
|
873
|
+
# http body (model)
|
874
|
+
post_body = opts[:debug_body]
|
875
|
+
|
876
|
+
# return_type
|
877
|
+
return_type = opts[:debug_return_type] || 'Array<Session>'
|
878
|
+
|
879
|
+
# auth_names
|
880
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
881
|
+
|
882
|
+
new_options = opts.merge(
|
883
|
+
:operation => :"IdentityApi.list_identity_sessions",
|
884
|
+
:header_params => header_params,
|
885
|
+
:query_params => query_params,
|
886
|
+
:form_params => form_params,
|
887
|
+
:body => post_body,
|
888
|
+
:auth_names => auth_names,
|
889
|
+
:return_type => return_type
|
890
|
+
)
|
891
|
+
|
892
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
893
|
+
if @api_client.config.debugging
|
894
|
+
@api_client.config.logger.debug "API called: IdentityApi#list_identity_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
895
|
+
end
|
896
|
+
return data, status_code, headers
|
897
|
+
end
|
898
|
+
|
899
|
+
# List All Sessions
|
900
|
+
# Listing all sessions that exist.
|
901
|
+
# @param [Hash] opts the optional parameters
|
902
|
+
# @option opts [Integer] :page_size Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to 250)
|
903
|
+
# @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
|
904
|
+
# @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
905
|
+
# @option opts [Array<String>] :expand ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped.
|
906
|
+
# @return [Array<Session>]
|
907
|
+
def list_sessions(opts = {})
|
908
|
+
data, _status_code, _headers = list_sessions_with_http_info(opts)
|
909
|
+
data
|
910
|
+
end
|
911
|
+
|
912
|
+
# List All Sessions
|
913
|
+
# Listing all sessions that exist.
|
914
|
+
# @param [Hash] opts the optional parameters
|
915
|
+
# @option opts [Integer] :page_size Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to 250)
|
916
|
+
# @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
|
917
|
+
# @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
|
918
|
+
# @option opts [Array<String>] :expand ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped.
|
919
|
+
# @return [Array<(Array<Session>, Integer, Hash)>] Array<Session> data, response status code and response headers
|
920
|
+
def list_sessions_with_http_info(opts = {})
|
921
|
+
if @api_client.config.debugging
|
922
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.list_sessions ...'
|
923
|
+
end
|
924
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 1000
|
925
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling IdentityApi.list_sessions, must be smaller than or equal to 1000.'
|
926
|
+
end
|
927
|
+
|
928
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
929
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling IdentityApi.list_sessions, must be greater than or equal to 1.'
|
930
|
+
end
|
931
|
+
|
932
|
+
allowable_values = ["Devices", "Identity"]
|
933
|
+
if @api_client.config.client_side_validation && opts[:'expand'] && !opts[:'expand'].all? { |item| allowable_values.include?(item) }
|
934
|
+
fail ArgumentError, "invalid value for \"expand\", must include one of #{allowable_values}"
|
935
|
+
end
|
936
|
+
# resource path
|
937
|
+
local_var_path = '/admin/sessions'
|
938
|
+
|
939
|
+
# query parameters
|
940
|
+
query_params = opts[:query_params] || {}
|
941
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
942
|
+
query_params[:'page_token'] = opts[:'page_token'] if !opts[:'page_token'].nil?
|
943
|
+
query_params[:'active'] = opts[:'active'] if !opts[:'active'].nil?
|
944
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if !opts[:'expand'].nil?
|
945
|
+
|
946
|
+
# header parameters
|
947
|
+
header_params = opts[:header_params] || {}
|
948
|
+
# HTTP header 'Accept' (if needed)
|
949
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
950
|
+
|
951
|
+
# form parameters
|
952
|
+
form_params = opts[:form_params] || {}
|
953
|
+
|
954
|
+
# http body (model)
|
955
|
+
post_body = opts[:debug_body]
|
956
|
+
|
957
|
+
# return_type
|
958
|
+
return_type = opts[:debug_return_type] || 'Array<Session>'
|
959
|
+
|
960
|
+
# auth_names
|
961
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
962
|
+
|
963
|
+
new_options = opts.merge(
|
964
|
+
:operation => :"IdentityApi.list_sessions",
|
965
|
+
:header_params => header_params,
|
966
|
+
:query_params => query_params,
|
967
|
+
:form_params => form_params,
|
968
|
+
:body => post_body,
|
969
|
+
:auth_names => auth_names,
|
970
|
+
:return_type => return_type
|
971
|
+
)
|
972
|
+
|
973
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
974
|
+
if @api_client.config.debugging
|
975
|
+
@api_client.config.logger.debug "API called: IdentityApi#list_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
976
|
+
end
|
977
|
+
return data, status_code, headers
|
978
|
+
end
|
979
|
+
|
980
|
+
# Patch an Identity
|
981
|
+
# Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.
|
982
|
+
# @param id [String] ID must be set to the ID of identity you want to update
|
983
|
+
# @param [Hash] opts the optional parameters
|
984
|
+
# @option opts [Array<JsonPatch>] :json_patch
|
985
|
+
# @return [Identity]
|
986
|
+
def patch_identity(id, opts = {})
|
987
|
+
data, _status_code, _headers = patch_identity_with_http_info(id, opts)
|
988
|
+
data
|
989
|
+
end
|
990
|
+
|
991
|
+
# Patch an Identity
|
992
|
+
# Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.
|
993
|
+
# @param id [String] ID must be set to the ID of identity you want to update
|
994
|
+
# @param [Hash] opts the optional parameters
|
995
|
+
# @option opts [Array<JsonPatch>] :json_patch
|
996
|
+
# @return [Array<(Identity, Integer, Hash)>] Identity data, response status code and response headers
|
997
|
+
def patch_identity_with_http_info(id, opts = {})
|
998
|
+
if @api_client.config.debugging
|
999
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.patch_identity ...'
|
1000
|
+
end
|
1001
|
+
# verify the required parameter 'id' is set
|
1002
|
+
if @api_client.config.client_side_validation && id.nil?
|
1003
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.patch_identity"
|
1004
|
+
end
|
1005
|
+
# resource path
|
1006
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1007
|
+
|
1008
|
+
# query parameters
|
1009
|
+
query_params = opts[:query_params] || {}
|
1010
|
+
|
1011
|
+
# header parameters
|
1012
|
+
header_params = opts[:header_params] || {}
|
1013
|
+
# HTTP header 'Accept' (if needed)
|
1014
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1015
|
+
# HTTP header 'Content-Type'
|
1016
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1017
|
+
if !content_type.nil?
|
1018
|
+
header_params['Content-Type'] = content_type
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# form parameters
|
1022
|
+
form_params = opts[:form_params] || {}
|
1023
|
+
|
1024
|
+
# http body (model)
|
1025
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'json_patch'])
|
1026
|
+
|
1027
|
+
# return_type
|
1028
|
+
return_type = opts[:debug_return_type] || 'Identity'
|
1029
|
+
|
1030
|
+
# auth_names
|
1031
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1032
|
+
|
1033
|
+
new_options = opts.merge(
|
1034
|
+
:operation => :"IdentityApi.patch_identity",
|
1035
|
+
:header_params => header_params,
|
1036
|
+
:query_params => query_params,
|
1037
|
+
:form_params => form_params,
|
1038
|
+
:body => post_body,
|
1039
|
+
:auth_names => auth_names,
|
1040
|
+
:return_type => return_type
|
1041
|
+
)
|
1042
|
+
|
1043
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1044
|
+
if @api_client.config.debugging
|
1045
|
+
@api_client.config.logger.debug "API called: IdentityApi#patch_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1046
|
+
end
|
1047
|
+
return data, status_code, headers
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# Update an Identity
|
1051
|
+
# This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity payload (except credentials) is expected. It is possible to update the identity's credentials as well.
|
1052
|
+
# @param id [String] ID must be set to the ID of identity you want to update
|
1053
|
+
# @param [Hash] opts the optional parameters
|
1054
|
+
# @option opts [UpdateIdentityBody] :update_identity_body
|
1055
|
+
# @return [Identity]
|
1056
|
+
def update_identity(id, opts = {})
|
1057
|
+
data, _status_code, _headers = update_identity_with_http_info(id, opts)
|
1058
|
+
data
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
# Update an Identity
|
1062
|
+
# This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity payload (except credentials) is expected. It is possible to update the identity's credentials as well.
|
1063
|
+
# @param id [String] ID must be set to the ID of identity you want to update
|
1064
|
+
# @param [Hash] opts the optional parameters
|
1065
|
+
# @option opts [UpdateIdentityBody] :update_identity_body
|
1066
|
+
# @return [Array<(Identity, Integer, Hash)>] Identity data, response status code and response headers
|
1067
|
+
def update_identity_with_http_info(id, opts = {})
|
1068
|
+
if @api_client.config.debugging
|
1069
|
+
@api_client.config.logger.debug 'Calling API: IdentityApi.update_identity ...'
|
1070
|
+
end
|
1071
|
+
# verify the required parameter 'id' is set
|
1072
|
+
if @api_client.config.client_side_validation && id.nil?
|
1073
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling IdentityApi.update_identity"
|
1074
|
+
end
|
1075
|
+
# resource path
|
1076
|
+
local_var_path = '/admin/identities/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1077
|
+
|
1078
|
+
# query parameters
|
1079
|
+
query_params = opts[:query_params] || {}
|
1080
|
+
|
1081
|
+
# header parameters
|
1082
|
+
header_params = opts[:header_params] || {}
|
1083
|
+
# HTTP header 'Accept' (if needed)
|
1084
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1085
|
+
# HTTP header 'Content-Type'
|
1086
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1087
|
+
if !content_type.nil?
|
1088
|
+
header_params['Content-Type'] = content_type
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# form parameters
|
1092
|
+
form_params = opts[:form_params] || {}
|
1093
|
+
|
1094
|
+
# http body (model)
|
1095
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_identity_body'])
|
1096
|
+
|
1097
|
+
# return_type
|
1098
|
+
return_type = opts[:debug_return_type] || 'Identity'
|
1099
|
+
|
1100
|
+
# auth_names
|
1101
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1102
|
+
|
1103
|
+
new_options = opts.merge(
|
1104
|
+
:operation => :"IdentityApi.update_identity",
|
1105
|
+
:header_params => header_params,
|
1106
|
+
:query_params => query_params,
|
1107
|
+
:form_params => form_params,
|
1108
|
+
:body => post_body,
|
1109
|
+
:auth_names => auth_names,
|
1110
|
+
:return_type => return_type
|
1111
|
+
)
|
1112
|
+
|
1113
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1114
|
+
if @api_client.config.debugging
|
1115
|
+
@api_client.config.logger.debug "API called: IdentityApi#update_identity\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1116
|
+
end
|
1117
|
+
return data, status_code, headers
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
end
|