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
@@ -1,1253 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Ory APIs
|
3
|
-
|
4
|
-
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v0.2.0-alpha.60
|
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 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for OryClient::V0alpha2Api
|
17
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'V0alpha2Api' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@api_instance = OryClient::V0alpha2Api.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of V0alpha2Api' do
|
30
|
-
it 'should create an instance of V0alpha2Api' do
|
31
|
-
expect(@api_instance).to be_instance_of(OryClient::V0alpha2Api)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for admin_accept_o_auth2_consent_request
|
36
|
-
# Accept an OAuth 2.0 Consent Request
|
37
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests. The response contains a redirect URL which the consent provider should redirect the user-agent to.
|
38
|
-
# @param consent_challenge
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
|
41
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
42
|
-
describe 'admin_accept_o_auth2_consent_request test' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# unit tests for admin_accept_o_auth2_login_request
|
49
|
-
# Accept an OAuth 2.0 Login Request
|
50
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell Ory Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has successfully authenticated and includes additional information such as the subject's ID and if ORY Hydra should remember the subject's subject agent for future authentication attempts by setting a cookie. The response contains a redirect URL which the login provider should redirect the user-agent to.
|
51
|
-
# @param login_challenge
|
52
|
-
# @param [Hash] opts the optional parameters
|
53
|
-
# @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
|
54
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
55
|
-
describe 'admin_accept_o_auth2_login_request test' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
# unit tests for admin_accept_o_auth2_logout_request
|
62
|
-
# Accept an OAuth 2.0 Logout Request
|
63
|
-
# When a user or an application requests ORY Hydra to log out a user, this endpoint is used to confirm that logout request. The response contains a redirect URL which the consent provider should redirect the user-agent to.
|
64
|
-
# @param logout_challenge
|
65
|
-
# @param [Hash] opts the optional parameters
|
66
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
67
|
-
describe 'admin_accept_o_auth2_logout_request test' do
|
68
|
-
it 'should work' do
|
69
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
# unit tests for admin_create_identity
|
74
|
-
# Create an Identity
|
75
|
-
# This endpoint creates an identity. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
76
|
-
# @param [Hash] opts the optional parameters
|
77
|
-
# @option opts [AdminCreateIdentityBody] :admin_create_identity_body
|
78
|
-
# @return [Identity]
|
79
|
-
describe 'admin_create_identity test' do
|
80
|
-
it 'should work' do
|
81
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
# unit tests for admin_create_json_web_key_set
|
86
|
-
# Generate a New JSON Web Key
|
87
|
-
# This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
88
|
-
# @param set The JSON Web Key Set
|
89
|
-
# @param admin_create_json_web_key_set_body
|
90
|
-
# @param [Hash] opts the optional parameters
|
91
|
-
# @return [JsonWebKeySet]
|
92
|
-
describe 'admin_create_json_web_key_set test' do
|
93
|
-
it 'should work' do
|
94
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
# unit tests for admin_create_o_auth2_client
|
99
|
-
# Create an OAuth 2.0 Client
|
100
|
-
# Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
101
|
-
# @param o_auth2_client
|
102
|
-
# @param [Hash] opts the optional parameters
|
103
|
-
# @return [OAuth2Client]
|
104
|
-
describe 'admin_create_o_auth2_client test' do
|
105
|
-
it 'should work' do
|
106
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
# unit tests for admin_create_self_service_recovery_code
|
111
|
-
# Create a Recovery Link
|
112
|
-
# This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account.
|
113
|
-
# @param [Hash] opts the optional parameters
|
114
|
-
# @option opts [AdminCreateSelfServiceRecoveryCodeBody] :admin_create_self_service_recovery_code_body
|
115
|
-
# @return [SelfServiceRecoveryCode]
|
116
|
-
describe 'admin_create_self_service_recovery_code test' do
|
117
|
-
it 'should work' do
|
118
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
# unit tests for admin_create_self_service_recovery_link
|
123
|
-
# Create a Recovery Link
|
124
|
-
# This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
|
125
|
-
# @param [Hash] opts the optional parameters
|
126
|
-
# @option opts [AdminCreateSelfServiceRecoveryLinkBody] :admin_create_self_service_recovery_link_body
|
127
|
-
# @return [SelfServiceRecoveryLink]
|
128
|
-
describe 'admin_create_self_service_recovery_link test' do
|
129
|
-
it 'should work' do
|
130
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
# unit tests for admin_delete_identity
|
135
|
-
# Delete an Identity
|
136
|
-
# Calling this endpoint irrecoverably and permanently deletes the identity 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. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
137
|
-
# @param id ID is the identity's ID.
|
138
|
-
# @param [Hash] opts the optional parameters
|
139
|
-
# @return [nil]
|
140
|
-
describe 'admin_delete_identity test' do
|
141
|
-
it 'should work' do
|
142
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
# unit tests for admin_delete_identity_sessions
|
147
|
-
# Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
|
148
|
-
# This endpoint is useful for: To forcefully logout Identity from all devices and sessions
|
149
|
-
# @param id ID is the identity's ID.
|
150
|
-
# @param [Hash] opts the optional parameters
|
151
|
-
# @return [nil]
|
152
|
-
describe 'admin_delete_identity_sessions test' do
|
153
|
-
it 'should work' do
|
154
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
# unit tests for admin_delete_json_web_key
|
159
|
-
# Delete a JSON Web Key
|
160
|
-
# Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
161
|
-
# @param set The JSON Web Key Set
|
162
|
-
# @param kid The JSON Web Key ID (kid)
|
163
|
-
# @param [Hash] opts the optional parameters
|
164
|
-
# @return [nil]
|
165
|
-
describe 'admin_delete_json_web_key test' do
|
166
|
-
it 'should work' do
|
167
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
# unit tests for admin_delete_json_web_key_set
|
172
|
-
# Delete a JSON Web Key Set
|
173
|
-
# Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
174
|
-
# @param set The JSON Web Key Set
|
175
|
-
# @param [Hash] opts the optional parameters
|
176
|
-
# @return [nil]
|
177
|
-
describe 'admin_delete_json_web_key_set test' do
|
178
|
-
it 'should work' do
|
179
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
# unit tests for admin_delete_o_auth2_client
|
184
|
-
# Deletes an OAuth 2.0 Client
|
185
|
-
# Delete an existing OAuth 2.0 Client by its ID. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. Make sure that this endpoint is well protected and only callable by first-party components.
|
186
|
-
# @param id The id of the OAuth 2.0 Client.
|
187
|
-
# @param [Hash] opts the optional parameters
|
188
|
-
# @return [nil]
|
189
|
-
describe 'admin_delete_o_auth2_client test' do
|
190
|
-
it 'should work' do
|
191
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
192
|
-
end
|
193
|
-
end
|
194
|
-
|
195
|
-
# unit tests for admin_delete_o_auth2_token
|
196
|
-
# Delete OAuth2 Access Tokens from a Client
|
197
|
-
# This endpoint deletes OAuth2 access tokens issued for a client from the database
|
198
|
-
# @param client_id
|
199
|
-
# @param [Hash] opts the optional parameters
|
200
|
-
# @return [nil]
|
201
|
-
describe 'admin_delete_o_auth2_token test' do
|
202
|
-
it 'should work' do
|
203
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
|
-
# unit tests for admin_delete_trusted_o_auth2_jwt_grant_issuer
|
208
|
-
# Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer
|
209
|
-
# Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship. Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grant.
|
210
|
-
# @param id The id of the desired grant
|
211
|
-
# @param [Hash] opts the optional parameters
|
212
|
-
# @return [nil]
|
213
|
-
describe 'admin_delete_trusted_o_auth2_jwt_grant_issuer test' do
|
214
|
-
it 'should work' do
|
215
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
216
|
-
end
|
217
|
-
end
|
218
|
-
|
219
|
-
# unit tests for admin_extend_session
|
220
|
-
# 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.
|
221
|
-
# Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
|
222
|
-
# @param id ID is the session's ID.
|
223
|
-
# @param [Hash] opts the optional parameters
|
224
|
-
# @return [Session]
|
225
|
-
describe 'admin_extend_session test' do
|
226
|
-
it 'should work' do
|
227
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
# unit tests for admin_get_identity
|
232
|
-
# Get an Identity
|
233
|
-
# Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
234
|
-
# @param id ID must be set to the ID of identity you want to get
|
235
|
-
# @param [Hash] opts the optional parameters
|
236
|
-
# @option opts [Array<String>] :include_credential DeclassifyCredentials will declassify one or more identity's credentials Currently, only `oidc` is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token.
|
237
|
-
# @return [Identity]
|
238
|
-
describe 'admin_get_identity test' do
|
239
|
-
it 'should work' do
|
240
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
241
|
-
end
|
242
|
-
end
|
243
|
-
|
244
|
-
# unit tests for admin_get_json_web_key
|
245
|
-
# Fetch a JSON Web Key
|
246
|
-
# This endpoint returns a singular JSON Web Key. It is identified by the set and the specific key ID (kid).
|
247
|
-
# @param set The JSON Web Key Set
|
248
|
-
# @param kid The JSON Web Key ID (kid)
|
249
|
-
# @param [Hash] opts the optional parameters
|
250
|
-
# @return [JsonWebKeySet]
|
251
|
-
describe 'admin_get_json_web_key test' do
|
252
|
-
it 'should work' do
|
253
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
# unit tests for admin_get_json_web_key_set
|
258
|
-
# Retrieve a JSON Web Key Set
|
259
|
-
# This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
260
|
-
# @param set The JSON Web Key Set
|
261
|
-
# @param [Hash] opts the optional parameters
|
262
|
-
# @return [JsonWebKeySet]
|
263
|
-
describe 'admin_get_json_web_key_set test' do
|
264
|
-
it 'should work' do
|
265
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
266
|
-
end
|
267
|
-
end
|
268
|
-
|
269
|
-
# unit tests for admin_get_o_auth2_client
|
270
|
-
# Get an OAuth 2.0 Client
|
271
|
-
# Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
272
|
-
# @param id The id of the OAuth 2.0 Client.
|
273
|
-
# @param [Hash] opts the optional parameters
|
274
|
-
# @return [OAuth2Client]
|
275
|
-
describe 'admin_get_o_auth2_client test' do
|
276
|
-
it 'should work' do
|
277
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
278
|
-
end
|
279
|
-
end
|
280
|
-
|
281
|
-
# unit tests for admin_get_o_auth2_consent_request
|
282
|
-
# Get OAuth 2.0 Consent Request Information
|
283
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request.
|
284
|
-
# @param consent_challenge
|
285
|
-
# @param [Hash] opts the optional parameters
|
286
|
-
# @return [OAuth2ConsentRequest]
|
287
|
-
describe 'admin_get_o_auth2_consent_request test' do
|
288
|
-
it 'should work' do
|
289
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
|
-
# unit tests for admin_get_o_auth2_login_request
|
294
|
-
# Get an OAuth 2.0 Login Request
|
295
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
|
296
|
-
# @param login_challenge
|
297
|
-
# @param [Hash] opts the optional parameters
|
298
|
-
# @return [OAuth2LoginRequest]
|
299
|
-
describe 'admin_get_o_auth2_login_request test' do
|
300
|
-
it 'should work' do
|
301
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
302
|
-
end
|
303
|
-
end
|
304
|
-
|
305
|
-
# unit tests for admin_get_o_auth2_logout_request
|
306
|
-
# Get an OAuth 2.0 Logout Request
|
307
|
-
# Use this endpoint to fetch a logout request.
|
308
|
-
# @param logout_challenge
|
309
|
-
# @param [Hash] opts the optional parameters
|
310
|
-
# @return [OAuth2LogoutRequest]
|
311
|
-
describe 'admin_get_o_auth2_logout_request test' do
|
312
|
-
it 'should work' do
|
313
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
314
|
-
end
|
315
|
-
end
|
316
|
-
|
317
|
-
# unit tests for admin_get_trusted_o_auth2_jwt_grant_issuer
|
318
|
-
# Get a Trusted OAuth2 JWT Bearer Grant Type Issuer
|
319
|
-
# Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
|
320
|
-
# @param id The id of the desired grant
|
321
|
-
# @param [Hash] opts the optional parameters
|
322
|
-
# @return [TrustedOAuth2JwtGrantIssuer]
|
323
|
-
describe 'admin_get_trusted_o_auth2_jwt_grant_issuer test' do
|
324
|
-
it 'should work' do
|
325
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
326
|
-
end
|
327
|
-
end
|
328
|
-
|
329
|
-
# unit tests for admin_introspect_o_auth2_token
|
330
|
-
# Introspect OAuth2 Access or Refresh Tokens
|
331
|
-
# The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting `accessTokenExtra` during the consent flow. For more information [read this blog post](https://www.oauth.com/oauth2-servers/token-introspection-endpoint/).
|
332
|
-
# @param token The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned.
|
333
|
-
# @param [Hash] opts the optional parameters
|
334
|
-
# @option opts [String] :scope An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false.
|
335
|
-
# @return [IntrospectedOAuth2Token]
|
336
|
-
describe 'admin_introspect_o_auth2_token test' do
|
337
|
-
it 'should work' do
|
338
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
339
|
-
end
|
340
|
-
end
|
341
|
-
|
342
|
-
# unit tests for admin_list_courier_messages
|
343
|
-
# List Messages
|
344
|
-
# Lists all messages by given status and recipient.
|
345
|
-
# @param [Hash] opts the optional parameters
|
346
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
347
|
-
# @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.
|
348
|
-
# @option opts [CourierMessageStatus] :status Status filters out messages based on status. If no value is provided, it doesn't take effect on filter.
|
349
|
-
# @option opts [String] :recipient Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter.
|
350
|
-
# @return [Array<Message>]
|
351
|
-
describe 'admin_list_courier_messages test' do
|
352
|
-
it 'should work' do
|
353
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
354
|
-
end
|
355
|
-
end
|
356
|
-
|
357
|
-
# unit tests for admin_list_identities
|
358
|
-
# List Identities
|
359
|
-
# Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
360
|
-
# @param [Hash] opts the optional parameters
|
361
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
362
|
-
# @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.
|
363
|
-
# @return [Array<Identity>]
|
364
|
-
describe 'admin_list_identities test' do
|
365
|
-
it 'should work' do
|
366
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
367
|
-
end
|
368
|
-
end
|
369
|
-
|
370
|
-
# unit tests for admin_list_identity_sessions
|
371
|
-
# This endpoint returns all sessions that belong to the given Identity.
|
372
|
-
# This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
|
373
|
-
# @param id ID is the identity's ID.
|
374
|
-
# @param [Hash] opts the optional parameters
|
375
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
376
|
-
# @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.
|
377
|
-
# @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.
|
378
|
-
# @return [Array<Session>]
|
379
|
-
describe 'admin_list_identity_sessions test' do
|
380
|
-
it 'should work' do
|
381
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
382
|
-
end
|
383
|
-
end
|
384
|
-
|
385
|
-
# unit tests for admin_list_o_auth2_clients
|
386
|
-
# List OAuth 2.0 Clients
|
387
|
-
# This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients. The `limit` parameter can be used to retrieve more clients, but it has an upper bound at 500 objects. Pagination should be used to retrieve more than 500 objects. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://project-slug.projects.oryapis.com/admin/clients?limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
388
|
-
# @param [Hash] opts the optional parameters
|
389
|
-
# @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).
|
390
|
-
# @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).
|
391
|
-
# @option opts [String] :client_name The name of the clients to filter by.
|
392
|
-
# @option opts [String] :owner The owner of the clients to filter by.
|
393
|
-
# @return [Array<OAuth2Client>]
|
394
|
-
describe 'admin_list_o_auth2_clients test' do
|
395
|
-
it 'should work' do
|
396
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
|
-
# unit tests for admin_list_o_auth2_subject_consent_sessions
|
401
|
-
# List OAuth 2.0 Consent Sessions of a Subject
|
402
|
-
# This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
403
|
-
# @param subject The subject to list the consent sessions for.
|
404
|
-
# @param [Hash] opts the optional parameters
|
405
|
-
# @option opts [String] :link The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
|
406
|
-
# @option opts [String] :x_total_count The total number of clients.
|
407
|
-
# @return [Array<PreviousOAuth2ConsentSession>]
|
408
|
-
describe 'admin_list_o_auth2_subject_consent_sessions test' do
|
409
|
-
it 'should work' do
|
410
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
411
|
-
end
|
412
|
-
end
|
413
|
-
|
414
|
-
# unit tests for admin_list_trusted_o_auth2_jwt_grant_issuers
|
415
|
-
# List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
416
|
-
# Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
|
417
|
-
# @param [Hash] opts the optional parameters
|
418
|
-
# @option opts [Integer] :max_items
|
419
|
-
# @option opts [Integer] :default_items
|
420
|
-
# @option opts [String] :issuer If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
|
421
|
-
# @option opts [Integer] :limit The maximum amount of policies returned, upper bound is 500 policies
|
422
|
-
# @option opts [Integer] :offset The offset from where to start looking.
|
423
|
-
# @return [Array<TrustedOAuth2JwtGrantIssuer>]
|
424
|
-
describe 'admin_list_trusted_o_auth2_jwt_grant_issuers test' do
|
425
|
-
it 'should work' do
|
426
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
427
|
-
end
|
428
|
-
end
|
429
|
-
|
430
|
-
# unit tests for admin_patch_identity
|
431
|
-
# Patch an Identity
|
432
|
-
# Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/) NOTE: The fields `id`, `stateChangedAt` and `credentials` are not updateable. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
433
|
-
# @param id ID must be set to the ID of identity you want to update
|
434
|
-
# @param [Hash] opts the optional parameters
|
435
|
-
# @option opts [Array<JsonPatch>] :json_patch
|
436
|
-
# @return [Identity]
|
437
|
-
describe 'admin_patch_identity test' do
|
438
|
-
it 'should work' do
|
439
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
440
|
-
end
|
441
|
-
end
|
442
|
-
|
443
|
-
# unit tests for admin_patch_o_auth2_client
|
444
|
-
# Patch an OAuth 2.0 Client
|
445
|
-
# Patch an existing OAuth 2.0 Client. If you pass `client_secret` the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
446
|
-
# @param id The id of the OAuth 2.0 Client.
|
447
|
-
# @param json_patch
|
448
|
-
# @param [Hash] opts the optional parameters
|
449
|
-
# @return [OAuth2Client]
|
450
|
-
describe 'admin_patch_o_auth2_client test' do
|
451
|
-
it 'should work' do
|
452
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
|
-
# unit tests for admin_reject_o_auth2_consent_request
|
457
|
-
# Reject an OAuth 2.0 Consent Request
|
458
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider must include a reason why the consent was not granted. The response contains a redirect URL which the consent provider should redirect the user-agent to.
|
459
|
-
# @param consent_challenge
|
460
|
-
# @param [Hash] opts the optional parameters
|
461
|
-
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
462
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
463
|
-
describe 'admin_reject_o_auth2_consent_request test' do
|
464
|
-
it 'should work' do
|
465
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
466
|
-
end
|
467
|
-
end
|
468
|
-
|
469
|
-
# unit tests for admin_reject_o_auth2_login_request
|
470
|
-
# Reject an OAuth 2.0 Login Request
|
471
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has not authenticated and includes a reason why the authentication was denied. The response contains a redirect URL which the login provider should redirect the user-agent to.
|
472
|
-
# @param login_challenge
|
473
|
-
# @param [Hash] opts the optional parameters
|
474
|
-
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
475
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
476
|
-
describe 'admin_reject_o_auth2_login_request test' do
|
477
|
-
it 'should work' do
|
478
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
# unit tests for admin_reject_o_auth2_logout_request
|
483
|
-
# Reject an OAuth 2.0 Logout Request
|
484
|
-
# When a user or an application requests ORY Hydra to log out a user, this endpoint is used to deny that logout request. No body is required. The response is empty as the logout provider has to chose what action to perform next.
|
485
|
-
# @param logout_challenge
|
486
|
-
# @param [Hash] opts the optional parameters
|
487
|
-
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
488
|
-
# @return [nil]
|
489
|
-
describe 'admin_reject_o_auth2_logout_request test' do
|
490
|
-
it 'should work' do
|
491
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
492
|
-
end
|
493
|
-
end
|
494
|
-
|
495
|
-
# unit tests for admin_revoke_o_auth2_consent_sessions
|
496
|
-
# Revokes OAuth 2.0 Consent Sessions of a Subject for a Specific OAuth 2.0 Client
|
497
|
-
# This endpoint revokes a subject's granted consent sessions for a specific OAuth 2.0 Client and invalidates all associated OAuth 2.0 Access Tokens.
|
498
|
-
# @param subject The subject (Subject) whose consent sessions should be deleted.
|
499
|
-
# @param [Hash] opts the optional parameters
|
500
|
-
# @option opts [String] :client If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID
|
501
|
-
# @option opts [Boolean] :all If set to `true` deletes all consent sessions by the Subject that have been granted.
|
502
|
-
# @return [nil]
|
503
|
-
describe 'admin_revoke_o_auth2_consent_sessions test' do
|
504
|
-
it 'should work' do
|
505
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
506
|
-
end
|
507
|
-
end
|
508
|
-
|
509
|
-
# unit tests for admin_revoke_o_auth2_login_sessions
|
510
|
-
# Invalidates All OAuth 2.0 Login Sessions of a Certain User
|
511
|
-
# This endpoint invalidates a subject's authentication session. After revoking the authentication session, the subject has to re-authenticate at ORY Hydra. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
|
512
|
-
# @param subject The subject to revoke authentication sessions for.
|
513
|
-
# @param [Hash] opts the optional parameters
|
514
|
-
# @return [nil]
|
515
|
-
describe 'admin_revoke_o_auth2_login_sessions test' do
|
516
|
-
it 'should work' do
|
517
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
518
|
-
end
|
519
|
-
end
|
520
|
-
|
521
|
-
# unit tests for admin_trust_o_auth2_jwt_grant_issuer
|
522
|
-
# Trust an OAuth2 JWT Bearer Grant Type Issuer
|
523
|
-
# Use this endpoint to establish a trust relationship for a JWT issuer to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).
|
524
|
-
# @param [Hash] opts the optional parameters
|
525
|
-
# @option opts [AdminTrustOAuth2JwtGrantIssuerBody] :admin_trust_o_auth2_jwt_grant_issuer_body
|
526
|
-
# @return [TrustedOAuth2JwtGrantIssuer]
|
527
|
-
describe 'admin_trust_o_auth2_jwt_grant_issuer test' do
|
528
|
-
it 'should work' do
|
529
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
530
|
-
end
|
531
|
-
end
|
532
|
-
|
533
|
-
# unit tests for admin_update_identity
|
534
|
-
# Update an Identity
|
535
|
-
# This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
536
|
-
# @param id ID must be set to the ID of identity you want to update
|
537
|
-
# @param [Hash] opts the optional parameters
|
538
|
-
# @option opts [AdminUpdateIdentityBody] :admin_update_identity_body
|
539
|
-
# @return [Identity]
|
540
|
-
describe 'admin_update_identity test' do
|
541
|
-
it 'should work' do
|
542
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
|
-
# unit tests for admin_update_json_web_key
|
547
|
-
# Update a JSON Web Key
|
548
|
-
# Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
549
|
-
# @param set The JSON Web Key Set
|
550
|
-
# @param kid The JSON Web Key ID (kid)
|
551
|
-
# @param [Hash] opts the optional parameters
|
552
|
-
# @option opts [JsonWebKey] :json_web_key
|
553
|
-
# @return [JsonWebKey]
|
554
|
-
describe 'admin_update_json_web_key test' do
|
555
|
-
it 'should work' do
|
556
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
557
|
-
end
|
558
|
-
end
|
559
|
-
|
560
|
-
# unit tests for admin_update_json_web_key_set
|
561
|
-
# Update a JSON Web Key Set
|
562
|
-
# Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
563
|
-
# @param set The JSON Web Key Set
|
564
|
-
# @param [Hash] opts the optional parameters
|
565
|
-
# @option opts [JsonWebKeySet] :json_web_key_set
|
566
|
-
# @return [JsonWebKeySet]
|
567
|
-
describe 'admin_update_json_web_key_set test' do
|
568
|
-
it 'should work' do
|
569
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
570
|
-
end
|
571
|
-
end
|
572
|
-
|
573
|
-
# unit tests for admin_update_o_auth2_client
|
574
|
-
# Update an OAuth 2.0 Client
|
575
|
-
# Update an existing OAuth 2.0 Client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
576
|
-
# @param id The id of the OAuth 2.0 Client.
|
577
|
-
# @param o_auth2_client
|
578
|
-
# @param [Hash] opts the optional parameters
|
579
|
-
# @return [OAuth2Client]
|
580
|
-
describe 'admin_update_o_auth2_client test' do
|
581
|
-
it 'should work' do
|
582
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
583
|
-
end
|
584
|
-
end
|
585
|
-
|
586
|
-
# unit tests for create_project
|
587
|
-
# Create a Project
|
588
|
-
# Creates a new project.
|
589
|
-
# @param [Hash] opts the optional parameters
|
590
|
-
# @option opts [CreateProjectBody] :create_project_body
|
591
|
-
# @return [Project]
|
592
|
-
describe 'create_project test' do
|
593
|
-
it 'should work' do
|
594
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
595
|
-
end
|
596
|
-
end
|
597
|
-
|
598
|
-
# unit tests for create_project_api_key
|
599
|
-
# Create API Token
|
600
|
-
# Create an API token for a project.
|
601
|
-
# @param project The Project ID or Project slug
|
602
|
-
# @param [Hash] opts the optional parameters
|
603
|
-
# @option opts [CreateProjectApiKeyRequest] :create_project_api_key_request
|
604
|
-
# @return [ProjectApiKey]
|
605
|
-
describe 'create_project_api_key test' do
|
606
|
-
it 'should work' do
|
607
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
608
|
-
end
|
609
|
-
end
|
610
|
-
|
611
|
-
# unit tests for create_self_service_logout_flow_url_for_browsers
|
612
|
-
# Create a Logout URL for Browsers
|
613
|
-
# This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
|
614
|
-
# @param [Hash] opts the optional parameters
|
615
|
-
# @option opts [String] :cookie HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
|
616
|
-
# @return [SelfServiceLogoutUrl]
|
617
|
-
describe 'create_self_service_logout_flow_url_for_browsers test' do
|
618
|
-
it 'should work' do
|
619
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
620
|
-
end
|
621
|
-
end
|
622
|
-
|
623
|
-
# unit tests for delete_project_api_key
|
624
|
-
# Delete API Token
|
625
|
-
# Deletes an API Token and immediately removes it.
|
626
|
-
# @param project The Project ID or Project slug
|
627
|
-
# @param token_id The Token ID
|
628
|
-
# @param [Hash] opts the optional parameters
|
629
|
-
# @return [nil]
|
630
|
-
describe 'delete_project_api_key test' do
|
631
|
-
it 'should work' do
|
632
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
633
|
-
end
|
634
|
-
end
|
635
|
-
|
636
|
-
# unit tests for discover_json_web_keys
|
637
|
-
# Discover JSON Web Keys
|
638
|
-
# This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
|
639
|
-
# @param [Hash] opts the optional parameters
|
640
|
-
# @return [JsonWebKeySet]
|
641
|
-
describe 'discover_json_web_keys test' do
|
642
|
-
it 'should work' do
|
643
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
644
|
-
end
|
645
|
-
end
|
646
|
-
|
647
|
-
# unit tests for discover_oidc_configuration
|
648
|
-
# OpenID Connect Discovery
|
649
|
-
# The well known endpoint an be used to retrieve information for OpenID Connect clients. We encourage you to not roll your own OpenID Connect client but to use an OpenID Connect client library instead. You can learn more on this flow at https://openid.net/specs/openid-connect-discovery-1_0.html . Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/
|
650
|
-
# @param [Hash] opts the optional parameters
|
651
|
-
# @return [OidcConfiguration]
|
652
|
-
describe 'discover_oidc_configuration test' do
|
653
|
-
it 'should work' do
|
654
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
655
|
-
end
|
656
|
-
end
|
657
|
-
|
658
|
-
# unit tests for dynamic_client_registration_create_o_auth2_client
|
659
|
-
# Register an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
660
|
-
# This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or `client_secret_post`. The `client_secret` will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe.
|
661
|
-
# @param o_auth2_client
|
662
|
-
# @param [Hash] opts the optional parameters
|
663
|
-
# @return [OAuth2Client]
|
664
|
-
describe 'dynamic_client_registration_create_o_auth2_client test' do
|
665
|
-
it 'should work' do
|
666
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
|
-
# unit tests for dynamic_client_registration_delete_o_auth2_client
|
671
|
-
# Deletes an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
672
|
-
# This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
673
|
-
# @param id The id of the OAuth 2.0 Client.
|
674
|
-
# @param [Hash] opts the optional parameters
|
675
|
-
# @return [nil]
|
676
|
-
describe 'dynamic_client_registration_delete_o_auth2_client test' do
|
677
|
-
it 'should work' do
|
678
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
679
|
-
end
|
680
|
-
end
|
681
|
-
|
682
|
-
# unit tests for dynamic_client_registration_get_o_auth2_client
|
683
|
-
# Get an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
684
|
-
# This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
685
|
-
# @param id The id of the OAuth 2.0 Client.
|
686
|
-
# @param [Hash] opts the optional parameters
|
687
|
-
# @return [OAuth2Client]
|
688
|
-
describe 'dynamic_client_registration_get_o_auth2_client test' do
|
689
|
-
it 'should work' do
|
690
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
691
|
-
end
|
692
|
-
end
|
693
|
-
|
694
|
-
# unit tests for dynamic_client_registration_update_o_auth2_client
|
695
|
-
# Update an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
696
|
-
# This endpoint behaves like the administrative counterpart (`updateOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
697
|
-
# @param id The id of the OAuth 2.0 Client.
|
698
|
-
# @param o_auth2_client
|
699
|
-
# @param [Hash] opts the optional parameters
|
700
|
-
# @return [OAuth2Client]
|
701
|
-
describe 'dynamic_client_registration_update_o_auth2_client test' do
|
702
|
-
it 'should work' do
|
703
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
704
|
-
end
|
705
|
-
end
|
706
|
-
|
707
|
-
# unit tests for get_identity_schema
|
708
|
-
# Get a JSON Schema
|
709
|
-
# @param id ID must be set to the ID of schema you want to get
|
710
|
-
# @param [Hash] opts the optional parameters
|
711
|
-
# @return [Object]
|
712
|
-
describe 'get_identity_schema test' do
|
713
|
-
it 'should work' do
|
714
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
715
|
-
end
|
716
|
-
end
|
717
|
-
|
718
|
-
# unit tests for get_oidc_user_info
|
719
|
-
# OpenID Connect Userinfo
|
720
|
-
# This endpoint returns the payload of the ID Token, including the idTokenExtra values, of the provided OAuth 2.0 Access Token. For more information please [refer to the spec](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo). In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format.
|
721
|
-
# @param [Hash] opts the optional parameters
|
722
|
-
# @return [OidcUserInfo]
|
723
|
-
describe 'get_oidc_user_info test' do
|
724
|
-
it 'should work' do
|
725
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
726
|
-
end
|
727
|
-
end
|
728
|
-
|
729
|
-
# unit tests for get_project
|
730
|
-
# Get a Project
|
731
|
-
# Get a projects you have access to by its ID.
|
732
|
-
# @param project_id Project ID The project's ID.
|
733
|
-
# @param [Hash] opts the optional parameters
|
734
|
-
# @return [Project]
|
735
|
-
describe 'get_project test' do
|
736
|
-
it 'should work' do
|
737
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
738
|
-
end
|
739
|
-
end
|
740
|
-
|
741
|
-
# unit tests for get_project_members
|
742
|
-
# Get all members associated with this project.
|
743
|
-
# This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
|
744
|
-
# @param project_id Project ID The project's ID.
|
745
|
-
# @param [Hash] opts the optional parameters
|
746
|
-
# @return [Array<CloudAccount>]
|
747
|
-
describe 'get_project_members test' do
|
748
|
-
it 'should work' do
|
749
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
750
|
-
end
|
751
|
-
end
|
752
|
-
|
753
|
-
# unit tests for get_self_service_error
|
754
|
-
# Get Self-Service Errors
|
755
|
-
# This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
|
756
|
-
# @param id Error is the error's ID
|
757
|
-
# @param [Hash] opts the optional parameters
|
758
|
-
# @return [SelfServiceError]
|
759
|
-
describe 'get_self_service_error test' do
|
760
|
-
it 'should work' do
|
761
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
762
|
-
end
|
763
|
-
end
|
764
|
-
|
765
|
-
# unit tests for get_self_service_login_flow
|
766
|
-
# Get Login Flow
|
767
|
-
# This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
768
|
-
# @param id The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
|
769
|
-
# @param [Hash] opts the optional parameters
|
770
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
771
|
-
# @return [SelfServiceLoginFlow]
|
772
|
-
describe 'get_self_service_login_flow test' do
|
773
|
-
it 'should work' do
|
774
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
775
|
-
end
|
776
|
-
end
|
777
|
-
|
778
|
-
# unit tests for get_self_service_recovery_flow
|
779
|
-
# Get Recovery Flow
|
780
|
-
# This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
781
|
-
# @param id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
782
|
-
# @param [Hash] opts the optional parameters
|
783
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
784
|
-
# @return [SelfServiceRecoveryFlow]
|
785
|
-
describe 'get_self_service_recovery_flow test' do
|
786
|
-
it 'should work' do
|
787
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
788
|
-
end
|
789
|
-
end
|
790
|
-
|
791
|
-
# unit tests for get_self_service_registration_flow
|
792
|
-
# Get Registration Flow
|
793
|
-
# This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
794
|
-
# @param id The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
|
795
|
-
# @param [Hash] opts the optional parameters
|
796
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
797
|
-
# @return [SelfServiceRegistrationFlow]
|
798
|
-
describe 'get_self_service_registration_flow test' do
|
799
|
-
it 'should work' do
|
800
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
801
|
-
end
|
802
|
-
end
|
803
|
-
|
804
|
-
# unit tests for get_self_service_settings_flow
|
805
|
-
# Get Settings Flow
|
806
|
-
# When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos' Admin API. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
807
|
-
# @param id ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
|
808
|
-
# @param [Hash] opts the optional parameters
|
809
|
-
# @option opts [String] :x_session_token The Session Token When using the SDK in an app without a browser, please include the session token here.
|
810
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
811
|
-
# @return [SelfServiceSettingsFlow]
|
812
|
-
describe 'get_self_service_settings_flow test' do
|
813
|
-
it 'should work' do
|
814
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
815
|
-
end
|
816
|
-
end
|
817
|
-
|
818
|
-
# unit tests for get_self_service_verification_flow
|
819
|
-
# Get Verification Flow
|
820
|
-
# This endpoint returns a verification flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceVerificationFlow(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
|
821
|
-
# @param id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
|
822
|
-
# @param [Hash] opts the optional parameters
|
823
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
|
824
|
-
# @return [SelfServiceVerificationFlow]
|
825
|
-
describe 'get_self_service_verification_flow test' do
|
826
|
-
it 'should work' do
|
827
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
828
|
-
end
|
829
|
-
end
|
830
|
-
|
831
|
-
# unit tests for get_web_authn_java_script
|
832
|
-
# Get WebAuthn JavaScript
|
833
|
-
# This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration. If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file: ```html <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
834
|
-
# @param [Hash] opts the optional parameters
|
835
|
-
# @return [String]
|
836
|
-
describe 'get_web_authn_java_script test' do
|
837
|
-
it 'should work' do
|
838
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
839
|
-
end
|
840
|
-
end
|
841
|
-
|
842
|
-
# unit tests for initialize_self_service_login_flow_for_browsers
|
843
|
-
# Initialize Login Flow for Browsers
|
844
|
-
# This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
845
|
-
# @param [Hash] opts the optional parameters
|
846
|
-
# @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
|
847
|
-
# @option opts [String] :aal Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
|
848
|
-
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
849
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
850
|
-
# @return [SelfServiceLoginFlow]
|
851
|
-
describe 'initialize_self_service_login_flow_for_browsers test' do
|
852
|
-
it 'should work' do
|
853
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
854
|
-
end
|
855
|
-
end
|
856
|
-
|
857
|
-
# unit tests for initialize_self_service_login_flow_without_browser
|
858
|
-
# Initialize Login Flow for APIs, Services, Apps, ...
|
859
|
-
# This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
860
|
-
# @param [Hash] opts the optional parameters
|
861
|
-
# @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
|
862
|
-
# @option opts [String] :aal Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
|
863
|
-
# @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
|
864
|
-
# @return [SelfServiceLoginFlow]
|
865
|
-
describe 'initialize_self_service_login_flow_without_browser test' do
|
866
|
-
it 'should work' do
|
867
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
868
|
-
end
|
869
|
-
end
|
870
|
-
|
871
|
-
# unit tests for initialize_self_service_recovery_flow_for_browsers
|
872
|
-
# Initialize Recovery Flow for Browsers
|
873
|
-
# This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
874
|
-
# @param [Hash] opts the optional parameters
|
875
|
-
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
876
|
-
# @return [SelfServiceRecoveryFlow]
|
877
|
-
describe 'initialize_self_service_recovery_flow_for_browsers test' do
|
878
|
-
it 'should work' do
|
879
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
880
|
-
end
|
881
|
-
end
|
882
|
-
|
883
|
-
# unit tests for initialize_self_service_recovery_flow_without_browser
|
884
|
-
# Initialize Recovery Flow for APIs, Services, Apps, ...
|
885
|
-
# This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. To fetch an existing recovery flow call `/self-service/recovery/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
886
|
-
# @param [Hash] opts the optional parameters
|
887
|
-
# @return [SelfServiceRecoveryFlow]
|
888
|
-
describe 'initialize_self_service_recovery_flow_without_browser test' do
|
889
|
-
it 'should work' do
|
890
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
891
|
-
end
|
892
|
-
end
|
893
|
-
|
894
|
-
# unit tests for initialize_self_service_registration_flow_for_browsers
|
895
|
-
# Initialize Registration Flow for Browsers
|
896
|
-
# This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
897
|
-
# @param [Hash] opts the optional parameters
|
898
|
-
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
899
|
-
# @return [SelfServiceRegistrationFlow]
|
900
|
-
describe 'initialize_self_service_registration_flow_for_browsers test' do
|
901
|
-
it 'should work' do
|
902
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
903
|
-
end
|
904
|
-
end
|
905
|
-
|
906
|
-
# unit tests for initialize_self_service_registration_flow_without_browser
|
907
|
-
# Initialize Registration Flow for APIs, Services, Apps, ...
|
908
|
-
# This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
909
|
-
# @param [Hash] opts the optional parameters
|
910
|
-
# @return [SelfServiceRegistrationFlow]
|
911
|
-
describe 'initialize_self_service_registration_flow_without_browser test' do
|
912
|
-
it 'should work' do
|
913
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
914
|
-
end
|
915
|
-
end
|
916
|
-
|
917
|
-
# unit tests for initialize_self_service_settings_flow_for_browsers
|
918
|
-
# Initialize Settings Flow for Browsers
|
919
|
-
# This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
920
|
-
# @param [Hash] opts the optional parameters
|
921
|
-
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
922
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
923
|
-
# @return [SelfServiceSettingsFlow]
|
924
|
-
describe 'initialize_self_service_settings_flow_for_browsers test' do
|
925
|
-
it 'should work' do
|
926
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
927
|
-
end
|
928
|
-
end
|
929
|
-
|
930
|
-
# unit tests for initialize_self_service_settings_flow_without_browser
|
931
|
-
# Initialize Settings Flow for APIs, Services, Apps, ...
|
932
|
-
# This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
933
|
-
# @param [Hash] opts the optional parameters
|
934
|
-
# @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
|
935
|
-
# @return [SelfServiceSettingsFlow]
|
936
|
-
describe 'initialize_self_service_settings_flow_without_browser test' do
|
937
|
-
it 'should work' do
|
938
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
939
|
-
end
|
940
|
-
end
|
941
|
-
|
942
|
-
# unit tests for initialize_self_service_verification_flow_for_browsers
|
943
|
-
# Initialize Verification Flow for Browser Clients
|
944
|
-
# This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
|
945
|
-
# @param [Hash] opts the optional parameters
|
946
|
-
# @option opts [String] :return_to The URL to return the browser to after the flow was completed.
|
947
|
-
# @return [SelfServiceVerificationFlow]
|
948
|
-
describe 'initialize_self_service_verification_flow_for_browsers test' do
|
949
|
-
it 'should work' do
|
950
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
951
|
-
end
|
952
|
-
end
|
953
|
-
|
954
|
-
# unit tests for initialize_self_service_verification_flow_without_browser
|
955
|
-
# Initialize Verification Flow for APIs, Services, Apps, ...
|
956
|
-
# This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
|
957
|
-
# @param [Hash] opts the optional parameters
|
958
|
-
# @return [SelfServiceVerificationFlow]
|
959
|
-
describe 'initialize_self_service_verification_flow_without_browser test' do
|
960
|
-
it 'should work' do
|
961
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
962
|
-
end
|
963
|
-
end
|
964
|
-
|
965
|
-
# unit tests for list_identity_schemas
|
966
|
-
# Get all Identity Schemas
|
967
|
-
# @param [Hash] opts the optional parameters
|
968
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
969
|
-
# @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.
|
970
|
-
# @return [Array<IdentitySchemaContainer>]
|
971
|
-
describe 'list_identity_schemas test' do
|
972
|
-
it 'should work' do
|
973
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
974
|
-
end
|
975
|
-
end
|
976
|
-
|
977
|
-
# unit tests for list_project_api_keys
|
978
|
-
# List a Project's API Tokens
|
979
|
-
# A list of all the project's API tokens.
|
980
|
-
# @param project The Project ID or Project slug
|
981
|
-
# @param [Hash] opts the optional parameters
|
982
|
-
# @return [Array<ProjectApiKey>]
|
983
|
-
describe 'list_project_api_keys test' do
|
984
|
-
it 'should work' do
|
985
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
986
|
-
end
|
987
|
-
end
|
988
|
-
|
989
|
-
# unit tests for list_projects
|
990
|
-
# List All Projects
|
991
|
-
# Lists all projects you have access to.
|
992
|
-
# @param [Hash] opts the optional parameters
|
993
|
-
# @return [Array<ProjectMetadata>]
|
994
|
-
describe 'list_projects test' do
|
995
|
-
it 'should work' do
|
996
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
997
|
-
end
|
998
|
-
end
|
999
|
-
|
1000
|
-
# unit tests for list_sessions
|
1001
|
-
# This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
|
1002
|
-
# This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
|
1003
|
-
# @param [Hash] opts the optional parameters
|
1004
|
-
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1005
|
-
# @option opts [String] :cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
1006
|
-
# @option opts [Integer] :per_page Items per Page This is the number of items per page.
|
1007
|
-
# @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.
|
1008
|
-
# @return [Array<Session>]
|
1009
|
-
describe 'list_sessions test' do
|
1010
|
-
it 'should work' do
|
1011
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1012
|
-
end
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
# unit tests for patch_project
|
1016
|
-
# Patch an Ory Cloud Project Configuration`
|
1017
|
-
# Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for. This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
1018
|
-
# @param project_id Project ID The project's ID.
|
1019
|
-
# @param [Hash] opts the optional parameters
|
1020
|
-
# @option opts [Array<JsonPatch>] :json_patch
|
1021
|
-
# @return [SuccessfulProjectUpdate]
|
1022
|
-
describe 'patch_project test' do
|
1023
|
-
it 'should work' do
|
1024
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1025
|
-
end
|
1026
|
-
end
|
1027
|
-
|
1028
|
-
# unit tests for perform_o_auth2_authorization_flow
|
1029
|
-
# The OAuth 2.0 Authorize Endpoint
|
1030
|
-
# This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows. OAuth2 is a very popular protocol and a library for your programming language will exists. To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc6749
|
1031
|
-
# @param [Hash] opts the optional parameters
|
1032
|
-
# @return [OAuth2ApiError]
|
1033
|
-
describe 'perform_o_auth2_authorization_flow test' do
|
1034
|
-
it 'should work' do
|
1035
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1036
|
-
end
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
# unit tests for perform_o_auth2_token_flow
|
1040
|
-
# The OAuth 2.0 Token Endpoint
|
1041
|
-
# The client makes a request to the token endpoint by sending the following parameters using the \"application/x-www-form-urlencoded\" HTTP request entity-body. > Do not implement a client for this endpoint yourself. Use a library. There are many libraries > available for any programming language. You can find a list of libraries here: https://oauth.net/code/ > > Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above
|
1042
|
-
# @param grant_type
|
1043
|
-
# @param [Hash] opts the optional parameters
|
1044
|
-
# @option opts [String] :client_id
|
1045
|
-
# @option opts [String] :code
|
1046
|
-
# @option opts [String] :redirect_uri
|
1047
|
-
# @option opts [String] :refresh_token
|
1048
|
-
# @return [OAuth2TokenResponse]
|
1049
|
-
describe 'perform_o_auth2_token_flow test' do
|
1050
|
-
it 'should work' do
|
1051
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1052
|
-
end
|
1053
|
-
end
|
1054
|
-
|
1055
|
-
# unit tests for perform_oidc_front_or_back_channel_logout
|
1056
|
-
# OpenID Connect Front- or Back-channel Enabled Logout
|
1057
|
-
# This endpoint initiates and completes user logout at Ory Hydra and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow.
|
1058
|
-
# @param [Hash] opts the optional parameters
|
1059
|
-
# @return [nil]
|
1060
|
-
describe 'perform_oidc_front_or_back_channel_logout test' do
|
1061
|
-
it 'should work' do
|
1062
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1063
|
-
end
|
1064
|
-
end
|
1065
|
-
|
1066
|
-
# unit tests for purge_project
|
1067
|
-
# Irrecoverably Purge a Project
|
1068
|
-
# !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
|
1069
|
-
# @param project_id Project ID The project's ID.
|
1070
|
-
# @param [Hash] opts the optional parameters
|
1071
|
-
# @return [nil]
|
1072
|
-
describe 'purge_project test' do
|
1073
|
-
it 'should work' do
|
1074
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1075
|
-
end
|
1076
|
-
end
|
1077
|
-
|
1078
|
-
# unit tests for remove_project_member
|
1079
|
-
# Remove a member associated with this project. This also sets their invite status to `REMOVED`.
|
1080
|
-
# This endpoint requires the user to be a member of the project with the role `OWNER`.
|
1081
|
-
# @param project_id Project ID The project's ID.
|
1082
|
-
# @param member_id Member ID
|
1083
|
-
# @param [Hash] opts the optional parameters
|
1084
|
-
# @return [nil]
|
1085
|
-
describe 'remove_project_member test' do
|
1086
|
-
it 'should work' do
|
1087
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1088
|
-
end
|
1089
|
-
end
|
1090
|
-
|
1091
|
-
# unit tests for revoke_o_auth2_token
|
1092
|
-
# Revoke an OAuth2 Access or Refresh Token
|
1093
|
-
# Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for.
|
1094
|
-
# @param token
|
1095
|
-
# @param [Hash] opts the optional parameters
|
1096
|
-
# @return [nil]
|
1097
|
-
describe 'revoke_o_auth2_token test' do
|
1098
|
-
it 'should work' do
|
1099
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1100
|
-
end
|
1101
|
-
end
|
1102
|
-
|
1103
|
-
# unit tests for revoke_session
|
1104
|
-
# Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
1105
|
-
# This endpoint is useful for: To forcefully logout the current user from another device or session
|
1106
|
-
# @param id ID is the session's ID.
|
1107
|
-
# @param [Hash] opts the optional parameters
|
1108
|
-
# @return [nil]
|
1109
|
-
describe 'revoke_session test' do
|
1110
|
-
it 'should work' do
|
1111
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1112
|
-
end
|
1113
|
-
end
|
1114
|
-
|
1115
|
-
# unit tests for revoke_sessions
|
1116
|
-
# Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
|
1117
|
-
# This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
|
1118
|
-
# @param [Hash] opts the optional parameters
|
1119
|
-
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1120
|
-
# @option opts [String] :cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
1121
|
-
# @return [RevokedSessions]
|
1122
|
-
describe 'revoke_sessions test' do
|
1123
|
-
it 'should work' do
|
1124
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1125
|
-
end
|
1126
|
-
end
|
1127
|
-
|
1128
|
-
# unit tests for submit_self_service_login_flow
|
1129
|
-
# Submit a Login Flow
|
1130
|
-
# :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
1131
|
-
# @param flow The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
|
1132
|
-
# @param submit_self_service_login_flow_body
|
1133
|
-
# @param [Hash] opts the optional parameters
|
1134
|
-
# @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
|
1135
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
1136
|
-
# @return [SuccessfulSelfServiceLoginWithoutBrowser]
|
1137
|
-
describe 'submit_self_service_login_flow test' do
|
1138
|
-
it 'should work' do
|
1139
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1140
|
-
end
|
1141
|
-
end
|
1142
|
-
|
1143
|
-
# unit tests for submit_self_service_logout_flow
|
1144
|
-
# Complete Self-Service Logout
|
1145
|
-
# This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
|
1146
|
-
# @param [Hash] opts the optional parameters
|
1147
|
-
# @option opts [String] :token A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint.
|
1148
|
-
# @option opts [String] :return_to The URL to return to after the logout was completed.
|
1149
|
-
# @return [nil]
|
1150
|
-
describe 'submit_self_service_logout_flow test' do
|
1151
|
-
it 'should work' do
|
1152
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1153
|
-
end
|
1154
|
-
end
|
1155
|
-
|
1156
|
-
# unit tests for submit_self_service_logout_flow_without_browser
|
1157
|
-
# Perform Logout for APIs, Services, Apps, ...
|
1158
|
-
# Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.
|
1159
|
-
# @param submit_self_service_logout_flow_without_browser_body
|
1160
|
-
# @param [Hash] opts the optional parameters
|
1161
|
-
# @return [nil]
|
1162
|
-
describe 'submit_self_service_logout_flow_without_browser test' do
|
1163
|
-
it 'should work' do
|
1164
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1165
|
-
end
|
1166
|
-
end
|
1167
|
-
|
1168
|
-
# unit tests for submit_self_service_recovery_flow
|
1169
|
-
# Complete Recovery Flow
|
1170
|
-
# Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
|
1171
|
-
# @param flow The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
|
1172
|
-
# @param submit_self_service_recovery_flow_body
|
1173
|
-
# @param [Hash] opts the optional parameters
|
1174
|
-
# @option opts [String] :token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
|
1175
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
1176
|
-
# @return [SelfServiceRecoveryFlow]
|
1177
|
-
describe 'submit_self_service_recovery_flow test' do
|
1178
|
-
it 'should work' do
|
1179
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1180
|
-
end
|
1181
|
-
end
|
1182
|
-
|
1183
|
-
# unit tests for submit_self_service_registration_flow
|
1184
|
-
# Submit a Registration Flow
|
1185
|
-
# Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
|
1186
|
-
# @param flow The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
|
1187
|
-
# @param submit_self_service_registration_flow_body
|
1188
|
-
# @param [Hash] opts the optional parameters
|
1189
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
1190
|
-
# @return [SuccessfulSelfServiceRegistrationWithoutBrowser]
|
1191
|
-
describe 'submit_self_service_registration_flow test' do
|
1192
|
-
it 'should work' do
|
1193
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1194
|
-
end
|
1195
|
-
end
|
1196
|
-
|
1197
|
-
# unit tests for submit_self_service_settings_flow
|
1198
|
-
# Complete Settings Flow
|
1199
|
-
# Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
1200
|
-
# @param flow The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
|
1201
|
-
# @param submit_self_service_settings_flow_body
|
1202
|
-
# @param [Hash] opts the optional parameters
|
1203
|
-
# @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
|
1204
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
1205
|
-
# @return [SelfServiceSettingsFlow]
|
1206
|
-
describe 'submit_self_service_settings_flow test' do
|
1207
|
-
it 'should work' do
|
1208
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1209
|
-
end
|
1210
|
-
end
|
1211
|
-
|
1212
|
-
# unit tests for submit_self_service_verification_flow
|
1213
|
-
# Complete Verification Flow
|
1214
|
-
# Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
|
1215
|
-
# @param flow The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
|
1216
|
-
# @param submit_self_service_verification_flow_body
|
1217
|
-
# @param [Hash] opts the optional parameters
|
1218
|
-
# @option opts [String] :token Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
|
1219
|
-
# @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
|
1220
|
-
# @return [SelfServiceVerificationFlow]
|
1221
|
-
describe 'submit_self_service_verification_flow test' do
|
1222
|
-
it 'should work' do
|
1223
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1224
|
-
end
|
1225
|
-
end
|
1226
|
-
|
1227
|
-
# unit tests for to_session
|
1228
|
-
# Check Who the Current HTTP Session Belongs To
|
1229
|
-
# Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. Additionally when the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSession(undefined, req.header('cookie')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! # This endpoint authenticates users by checking if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
|
1230
|
-
# @param [Hash] opts the optional parameters
|
1231
|
-
# @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
|
1232
|
-
# @option opts [String] :cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
|
1233
|
-
# @return [Session]
|
1234
|
-
describe 'to_session test' do
|
1235
|
-
it 'should work' do
|
1236
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1237
|
-
end
|
1238
|
-
end
|
1239
|
-
|
1240
|
-
# unit tests for update_project
|
1241
|
-
# Update an Ory Cloud Project Configuration
|
1242
|
-
# This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
|
1243
|
-
# @param project_id Project ID The project's ID.
|
1244
|
-
# @param [Hash] opts the optional parameters
|
1245
|
-
# @option opts [UpdateProject] :update_project
|
1246
|
-
# @return [SuccessfulProjectUpdate]
|
1247
|
-
describe 'update_project test' do
|
1248
|
-
it 'should work' do
|
1249
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1250
|
-
end
|
1251
|
-
end
|
1252
|
-
|
1253
|
-
end
|