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
data/docs/OAuth2Api.md
ADDED
@@ -0,0 +1,2026 @@
|
|
1
|
+
# OryClient::OAuth2Api
|
2
|
+
|
3
|
+
All URIs are relative to *https://playground.projects.oryapis.com*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**accept_o_auth2_consent_request**](OAuth2Api.md#accept_o_auth2_consent_request) | **PUT** /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request |
|
8
|
+
| [**accept_o_auth2_login_request**](OAuth2Api.md#accept_o_auth2_login_request) | **PUT** /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request |
|
9
|
+
| [**accept_o_auth2_logout_request**](OAuth2Api.md#accept_o_auth2_logout_request) | **PUT** /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request |
|
10
|
+
| [**create_o_auth2_client**](OAuth2Api.md#create_o_auth2_client) | **POST** /admin/clients | Create OAuth 2.0 Client |
|
11
|
+
| [**delete_o_auth2_client**](OAuth2Api.md#delete_o_auth2_client) | **DELETE** /admin/clients/{id} | Delete OAuth 2.0 Client |
|
12
|
+
| [**delete_o_auth2_token**](OAuth2Api.md#delete_o_auth2_token) | **DELETE** /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client |
|
13
|
+
| [**delete_trusted_o_auth2_jwt_grant_issuer**](OAuth2Api.md#delete_trusted_o_auth2_jwt_grant_issuer) | **DELETE** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer |
|
14
|
+
| [**get_o_auth2_client**](OAuth2Api.md#get_o_auth2_client) | **GET** /admin/clients/{id} | Get an OAuth 2.0 Client |
|
15
|
+
| [**get_o_auth2_consent_request**](OAuth2Api.md#get_o_auth2_consent_request) | **GET** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request |
|
16
|
+
| [**get_o_auth2_login_request**](OAuth2Api.md#get_o_auth2_login_request) | **GET** /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request |
|
17
|
+
| [**get_o_auth2_logout_request**](OAuth2Api.md#get_o_auth2_logout_request) | **GET** /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request |
|
18
|
+
| [**get_trusted_o_auth2_jwt_grant_issuer**](OAuth2Api.md#get_trusted_o_auth2_jwt_grant_issuer) | **GET** /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer |
|
19
|
+
| [**introspect_o_auth2_token**](OAuth2Api.md#introspect_o_auth2_token) | **POST** /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens |
|
20
|
+
| [**list_o_auth2_clients**](OAuth2Api.md#list_o_auth2_clients) | **GET** /admin/clients | List OAuth 2.0 Clients |
|
21
|
+
| [**list_o_auth2_consent_sessions**](OAuth2Api.md#list_o_auth2_consent_sessions) | **GET** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject |
|
22
|
+
| [**list_trusted_o_auth2_jwt_grant_issuers**](OAuth2Api.md#list_trusted_o_auth2_jwt_grant_issuers) | **GET** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers |
|
23
|
+
| [**o_auth2_authorize**](OAuth2Api.md#o_auth2_authorize) | **GET** /oauth2/auth | OAuth 2.0 Authorize Endpoint |
|
24
|
+
| [**oauth2_token_exchange**](OAuth2Api.md#oauth2_token_exchange) | **POST** /oauth2/token | The OAuth 2.0 Token Endpoint |
|
25
|
+
| [**patch_o_auth2_client**](OAuth2Api.md#patch_o_auth2_client) | **PATCH** /admin/clients/{id} | Patch OAuth 2.0 Client |
|
26
|
+
| [**reject_o_auth2_consent_request**](OAuth2Api.md#reject_o_auth2_consent_request) | **PUT** /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request |
|
27
|
+
| [**reject_o_auth2_login_request**](OAuth2Api.md#reject_o_auth2_login_request) | **PUT** /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request |
|
28
|
+
| [**reject_o_auth2_logout_request**](OAuth2Api.md#reject_o_auth2_logout_request) | **PUT** /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request |
|
29
|
+
| [**revoke_o_auth2_consent_sessions**](OAuth2Api.md#revoke_o_auth2_consent_sessions) | **DELETE** /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject |
|
30
|
+
| [**revoke_o_auth2_login_sessions**](OAuth2Api.md#revoke_o_auth2_login_sessions) | **DELETE** /admin/oauth2/auth/sessions/login | Revokes All OAuth 2.0 Login Sessions of a Subject |
|
31
|
+
| [**revoke_o_auth2_token**](OAuth2Api.md#revoke_o_auth2_token) | **POST** /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token |
|
32
|
+
| [**set_o_auth2_client**](OAuth2Api.md#set_o_auth2_client) | **PUT** /admin/clients/{id} | Set OAuth 2.0 Client |
|
33
|
+
| [**set_o_auth2_client_lifespans**](OAuth2Api.md#set_o_auth2_client_lifespans) | **PUT** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans |
|
34
|
+
| [**trust_o_auth2_jwt_grant_issuer**](OAuth2Api.md#trust_o_auth2_jwt_grant_issuer) | **POST** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer |
|
35
|
+
|
36
|
+
|
37
|
+
## accept_o_auth2_consent_request
|
38
|
+
|
39
|
+
> <OAuth2RedirectTo> accept_o_auth2_consent_request(consent_challenge, opts)
|
40
|
+
|
41
|
+
Accept OAuth 2.0 Consent Request
|
42
|
+
|
43
|
+
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. This endpoint tells Ory 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. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
|
44
|
+
|
45
|
+
### Examples
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
require 'time'
|
49
|
+
require 'ory-client'
|
50
|
+
# setup authorization
|
51
|
+
OryClient.configure do |config|
|
52
|
+
# Configure Bearer authorization: oryAccessToken
|
53
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
54
|
+
end
|
55
|
+
|
56
|
+
api_instance = OryClient::OAuth2Api.new
|
57
|
+
consent_challenge = 'consent_challenge_example' # String | OAuth 2.0 Consent Request Challenge
|
58
|
+
opts = {
|
59
|
+
accept_o_auth2_consent_request: OryClient::AcceptOAuth2ConsentRequest.new # AcceptOAuth2ConsentRequest |
|
60
|
+
}
|
61
|
+
|
62
|
+
begin
|
63
|
+
# Accept OAuth 2.0 Consent Request
|
64
|
+
result = api_instance.accept_o_auth2_consent_request(consent_challenge, opts)
|
65
|
+
p result
|
66
|
+
rescue OryClient::ApiError => e
|
67
|
+
puts "Error when calling OAuth2Api->accept_o_auth2_consent_request: #{e}"
|
68
|
+
end
|
69
|
+
```
|
70
|
+
|
71
|
+
#### Using the accept_o_auth2_consent_request_with_http_info variant
|
72
|
+
|
73
|
+
This returns an Array which contains the response data, status code and headers.
|
74
|
+
|
75
|
+
> <Array(<OAuth2RedirectTo>, Integer, Hash)> accept_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
76
|
+
|
77
|
+
```ruby
|
78
|
+
begin
|
79
|
+
# Accept OAuth 2.0 Consent Request
|
80
|
+
data, status_code, headers = api_instance.accept_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
81
|
+
p status_code # => 2xx
|
82
|
+
p headers # => { ... }
|
83
|
+
p data # => <OAuth2RedirectTo>
|
84
|
+
rescue OryClient::ApiError => e
|
85
|
+
puts "Error when calling OAuth2Api->accept_o_auth2_consent_request_with_http_info: #{e}"
|
86
|
+
end
|
87
|
+
```
|
88
|
+
|
89
|
+
### Parameters
|
90
|
+
|
91
|
+
| Name | Type | Description | Notes |
|
92
|
+
| ---- | ---- | ----------- | ----- |
|
93
|
+
| **consent_challenge** | **String** | OAuth 2.0 Consent Request Challenge | |
|
94
|
+
| **accept_o_auth2_consent_request** | [**AcceptOAuth2ConsentRequest**](AcceptOAuth2ConsentRequest.md) | | [optional] |
|
95
|
+
|
96
|
+
### Return type
|
97
|
+
|
98
|
+
[**OAuth2RedirectTo**](OAuth2RedirectTo.md)
|
99
|
+
|
100
|
+
### Authorization
|
101
|
+
|
102
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
103
|
+
|
104
|
+
### HTTP request headers
|
105
|
+
|
106
|
+
- **Content-Type**: application/json
|
107
|
+
- **Accept**: application/json
|
108
|
+
|
109
|
+
|
110
|
+
## accept_o_auth2_login_request
|
111
|
+
|
112
|
+
> <OAuth2RedirectTo> accept_o_auth2_login_request(login_challenge, opts)
|
113
|
+
|
114
|
+
Accept OAuth 2.0 Login Request
|
115
|
+
|
116
|
+
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. 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 that the subject has successfully authenticated and includes additional information such as the subject's ID and if Ory 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.
|
117
|
+
|
118
|
+
### Examples
|
119
|
+
|
120
|
+
```ruby
|
121
|
+
require 'time'
|
122
|
+
require 'ory-client'
|
123
|
+
# setup authorization
|
124
|
+
OryClient.configure do |config|
|
125
|
+
# Configure Bearer authorization: oryAccessToken
|
126
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
127
|
+
end
|
128
|
+
|
129
|
+
api_instance = OryClient::OAuth2Api.new
|
130
|
+
login_challenge = 'login_challenge_example' # String | OAuth 2.0 Login Request Challenge
|
131
|
+
opts = {
|
132
|
+
accept_o_auth2_login_request: OryClient::AcceptOAuth2LoginRequest.new({subject: 'subject_example'}) # AcceptOAuth2LoginRequest |
|
133
|
+
}
|
134
|
+
|
135
|
+
begin
|
136
|
+
# Accept OAuth 2.0 Login Request
|
137
|
+
result = api_instance.accept_o_auth2_login_request(login_challenge, opts)
|
138
|
+
p result
|
139
|
+
rescue OryClient::ApiError => e
|
140
|
+
puts "Error when calling OAuth2Api->accept_o_auth2_login_request: #{e}"
|
141
|
+
end
|
142
|
+
```
|
143
|
+
|
144
|
+
#### Using the accept_o_auth2_login_request_with_http_info variant
|
145
|
+
|
146
|
+
This returns an Array which contains the response data, status code and headers.
|
147
|
+
|
148
|
+
> <Array(<OAuth2RedirectTo>, Integer, Hash)> accept_o_auth2_login_request_with_http_info(login_challenge, opts)
|
149
|
+
|
150
|
+
```ruby
|
151
|
+
begin
|
152
|
+
# Accept OAuth 2.0 Login Request
|
153
|
+
data, status_code, headers = api_instance.accept_o_auth2_login_request_with_http_info(login_challenge, opts)
|
154
|
+
p status_code # => 2xx
|
155
|
+
p headers # => { ... }
|
156
|
+
p data # => <OAuth2RedirectTo>
|
157
|
+
rescue OryClient::ApiError => e
|
158
|
+
puts "Error when calling OAuth2Api->accept_o_auth2_login_request_with_http_info: #{e}"
|
159
|
+
end
|
160
|
+
```
|
161
|
+
|
162
|
+
### Parameters
|
163
|
+
|
164
|
+
| Name | Type | Description | Notes |
|
165
|
+
| ---- | ---- | ----------- | ----- |
|
166
|
+
| **login_challenge** | **String** | OAuth 2.0 Login Request Challenge | |
|
167
|
+
| **accept_o_auth2_login_request** | [**AcceptOAuth2LoginRequest**](AcceptOAuth2LoginRequest.md) | | [optional] |
|
168
|
+
|
169
|
+
### Return type
|
170
|
+
|
171
|
+
[**OAuth2RedirectTo**](OAuth2RedirectTo.md)
|
172
|
+
|
173
|
+
### Authorization
|
174
|
+
|
175
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
176
|
+
|
177
|
+
### HTTP request headers
|
178
|
+
|
179
|
+
- **Content-Type**: application/json
|
180
|
+
- **Accept**: application/json
|
181
|
+
|
182
|
+
|
183
|
+
## accept_o_auth2_logout_request
|
184
|
+
|
185
|
+
> <OAuth2RedirectTo> accept_o_auth2_logout_request(logout_challenge)
|
186
|
+
|
187
|
+
Accept OAuth 2.0 Session Logout Request
|
188
|
+
|
189
|
+
When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, 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.
|
190
|
+
|
191
|
+
### Examples
|
192
|
+
|
193
|
+
```ruby
|
194
|
+
require 'time'
|
195
|
+
require 'ory-client'
|
196
|
+
# setup authorization
|
197
|
+
OryClient.configure do |config|
|
198
|
+
# Configure Bearer authorization: oryAccessToken
|
199
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
200
|
+
end
|
201
|
+
|
202
|
+
api_instance = OryClient::OAuth2Api.new
|
203
|
+
logout_challenge = 'logout_challenge_example' # String | OAuth 2.0 Logout Request Challenge
|
204
|
+
|
205
|
+
begin
|
206
|
+
# Accept OAuth 2.0 Session Logout Request
|
207
|
+
result = api_instance.accept_o_auth2_logout_request(logout_challenge)
|
208
|
+
p result
|
209
|
+
rescue OryClient::ApiError => e
|
210
|
+
puts "Error when calling OAuth2Api->accept_o_auth2_logout_request: #{e}"
|
211
|
+
end
|
212
|
+
```
|
213
|
+
|
214
|
+
#### Using the accept_o_auth2_logout_request_with_http_info variant
|
215
|
+
|
216
|
+
This returns an Array which contains the response data, status code and headers.
|
217
|
+
|
218
|
+
> <Array(<OAuth2RedirectTo>, Integer, Hash)> accept_o_auth2_logout_request_with_http_info(logout_challenge)
|
219
|
+
|
220
|
+
```ruby
|
221
|
+
begin
|
222
|
+
# Accept OAuth 2.0 Session Logout Request
|
223
|
+
data, status_code, headers = api_instance.accept_o_auth2_logout_request_with_http_info(logout_challenge)
|
224
|
+
p status_code # => 2xx
|
225
|
+
p headers # => { ... }
|
226
|
+
p data # => <OAuth2RedirectTo>
|
227
|
+
rescue OryClient::ApiError => e
|
228
|
+
puts "Error when calling OAuth2Api->accept_o_auth2_logout_request_with_http_info: #{e}"
|
229
|
+
end
|
230
|
+
```
|
231
|
+
|
232
|
+
### Parameters
|
233
|
+
|
234
|
+
| Name | Type | Description | Notes |
|
235
|
+
| ---- | ---- | ----------- | ----- |
|
236
|
+
| **logout_challenge** | **String** | OAuth 2.0 Logout Request Challenge | |
|
237
|
+
|
238
|
+
### Return type
|
239
|
+
|
240
|
+
[**OAuth2RedirectTo**](OAuth2RedirectTo.md)
|
241
|
+
|
242
|
+
### Authorization
|
243
|
+
|
244
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
245
|
+
|
246
|
+
### HTTP request headers
|
247
|
+
|
248
|
+
- **Content-Type**: Not defined
|
249
|
+
- **Accept**: application/json
|
250
|
+
|
251
|
+
|
252
|
+
## create_o_auth2_client
|
253
|
+
|
254
|
+
> <OAuth2Client> create_o_auth2_client(o_auth2_client)
|
255
|
+
|
256
|
+
Create OAuth 2.0 Client
|
257
|
+
|
258
|
+
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.
|
259
|
+
|
260
|
+
### Examples
|
261
|
+
|
262
|
+
```ruby
|
263
|
+
require 'time'
|
264
|
+
require 'ory-client'
|
265
|
+
# setup authorization
|
266
|
+
OryClient.configure do |config|
|
267
|
+
# Configure Bearer authorization: oryAccessToken
|
268
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
269
|
+
end
|
270
|
+
|
271
|
+
api_instance = OryClient::OAuth2Api.new
|
272
|
+
o_auth2_client = OryClient::OAuth2Client.new # OAuth2Client | OAuth 2.0 Client Request Body
|
273
|
+
|
274
|
+
begin
|
275
|
+
# Create OAuth 2.0 Client
|
276
|
+
result = api_instance.create_o_auth2_client(o_auth2_client)
|
277
|
+
p result
|
278
|
+
rescue OryClient::ApiError => e
|
279
|
+
puts "Error when calling OAuth2Api->create_o_auth2_client: #{e}"
|
280
|
+
end
|
281
|
+
```
|
282
|
+
|
283
|
+
#### Using the create_o_auth2_client_with_http_info variant
|
284
|
+
|
285
|
+
This returns an Array which contains the response data, status code and headers.
|
286
|
+
|
287
|
+
> <Array(<OAuth2Client>, Integer, Hash)> create_o_auth2_client_with_http_info(o_auth2_client)
|
288
|
+
|
289
|
+
```ruby
|
290
|
+
begin
|
291
|
+
# Create OAuth 2.0 Client
|
292
|
+
data, status_code, headers = api_instance.create_o_auth2_client_with_http_info(o_auth2_client)
|
293
|
+
p status_code # => 2xx
|
294
|
+
p headers # => { ... }
|
295
|
+
p data # => <OAuth2Client>
|
296
|
+
rescue OryClient::ApiError => e
|
297
|
+
puts "Error when calling OAuth2Api->create_o_auth2_client_with_http_info: #{e}"
|
298
|
+
end
|
299
|
+
```
|
300
|
+
|
301
|
+
### Parameters
|
302
|
+
|
303
|
+
| Name | Type | Description | Notes |
|
304
|
+
| ---- | ---- | ----------- | ----- |
|
305
|
+
| **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | OAuth 2.0 Client Request Body | |
|
306
|
+
|
307
|
+
### Return type
|
308
|
+
|
309
|
+
[**OAuth2Client**](OAuth2Client.md)
|
310
|
+
|
311
|
+
### Authorization
|
312
|
+
|
313
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
314
|
+
|
315
|
+
### HTTP request headers
|
316
|
+
|
317
|
+
- **Content-Type**: application/json
|
318
|
+
- **Accept**: application/json
|
319
|
+
|
320
|
+
|
321
|
+
## delete_o_auth2_client
|
322
|
+
|
323
|
+
> delete_o_auth2_client(id)
|
324
|
+
|
325
|
+
Delete OAuth 2.0 Client
|
326
|
+
|
327
|
+
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.
|
328
|
+
|
329
|
+
### Examples
|
330
|
+
|
331
|
+
```ruby
|
332
|
+
require 'time'
|
333
|
+
require 'ory-client'
|
334
|
+
# setup authorization
|
335
|
+
OryClient.configure do |config|
|
336
|
+
# Configure Bearer authorization: oryAccessToken
|
337
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
338
|
+
end
|
339
|
+
|
340
|
+
api_instance = OryClient::OAuth2Api.new
|
341
|
+
id = 'id_example' # String | The id of the OAuth 2.0 Client.
|
342
|
+
|
343
|
+
begin
|
344
|
+
# Delete OAuth 2.0 Client
|
345
|
+
api_instance.delete_o_auth2_client(id)
|
346
|
+
rescue OryClient::ApiError => e
|
347
|
+
puts "Error when calling OAuth2Api->delete_o_auth2_client: #{e}"
|
348
|
+
end
|
349
|
+
```
|
350
|
+
|
351
|
+
#### Using the delete_o_auth2_client_with_http_info variant
|
352
|
+
|
353
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
354
|
+
|
355
|
+
> <Array(nil, Integer, Hash)> delete_o_auth2_client_with_http_info(id)
|
356
|
+
|
357
|
+
```ruby
|
358
|
+
begin
|
359
|
+
# Delete OAuth 2.0 Client
|
360
|
+
data, status_code, headers = api_instance.delete_o_auth2_client_with_http_info(id)
|
361
|
+
p status_code # => 2xx
|
362
|
+
p headers # => { ... }
|
363
|
+
p data # => nil
|
364
|
+
rescue OryClient::ApiError => e
|
365
|
+
puts "Error when calling OAuth2Api->delete_o_auth2_client_with_http_info: #{e}"
|
366
|
+
end
|
367
|
+
```
|
368
|
+
|
369
|
+
### Parameters
|
370
|
+
|
371
|
+
| Name | Type | Description | Notes |
|
372
|
+
| ---- | ---- | ----------- | ----- |
|
373
|
+
| **id** | **String** | The id of the OAuth 2.0 Client. | |
|
374
|
+
|
375
|
+
### Return type
|
376
|
+
|
377
|
+
nil (empty response body)
|
378
|
+
|
379
|
+
### Authorization
|
380
|
+
|
381
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
382
|
+
|
383
|
+
### HTTP request headers
|
384
|
+
|
385
|
+
- **Content-Type**: Not defined
|
386
|
+
- **Accept**: application/json
|
387
|
+
|
388
|
+
|
389
|
+
## delete_o_auth2_token
|
390
|
+
|
391
|
+
> delete_o_auth2_token(client_id)
|
392
|
+
|
393
|
+
Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
|
394
|
+
|
395
|
+
This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
|
396
|
+
|
397
|
+
### Examples
|
398
|
+
|
399
|
+
```ruby
|
400
|
+
require 'time'
|
401
|
+
require 'ory-client'
|
402
|
+
# setup authorization
|
403
|
+
OryClient.configure do |config|
|
404
|
+
# Configure Bearer authorization: oryAccessToken
|
405
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
406
|
+
end
|
407
|
+
|
408
|
+
api_instance = OryClient::OAuth2Api.new
|
409
|
+
client_id = 'client_id_example' # String | OAuth 2.0 Client ID
|
410
|
+
|
411
|
+
begin
|
412
|
+
# Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
|
413
|
+
api_instance.delete_o_auth2_token(client_id)
|
414
|
+
rescue OryClient::ApiError => e
|
415
|
+
puts "Error when calling OAuth2Api->delete_o_auth2_token: #{e}"
|
416
|
+
end
|
417
|
+
```
|
418
|
+
|
419
|
+
#### Using the delete_o_auth2_token_with_http_info variant
|
420
|
+
|
421
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
422
|
+
|
423
|
+
> <Array(nil, Integer, Hash)> delete_o_auth2_token_with_http_info(client_id)
|
424
|
+
|
425
|
+
```ruby
|
426
|
+
begin
|
427
|
+
# Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
|
428
|
+
data, status_code, headers = api_instance.delete_o_auth2_token_with_http_info(client_id)
|
429
|
+
p status_code # => 2xx
|
430
|
+
p headers # => { ... }
|
431
|
+
p data # => nil
|
432
|
+
rescue OryClient::ApiError => e
|
433
|
+
puts "Error when calling OAuth2Api->delete_o_auth2_token_with_http_info: #{e}"
|
434
|
+
end
|
435
|
+
```
|
436
|
+
|
437
|
+
### Parameters
|
438
|
+
|
439
|
+
| Name | Type | Description | Notes |
|
440
|
+
| ---- | ---- | ----------- | ----- |
|
441
|
+
| **client_id** | **String** | OAuth 2.0 Client ID | |
|
442
|
+
|
443
|
+
### Return type
|
444
|
+
|
445
|
+
nil (empty response body)
|
446
|
+
|
447
|
+
### Authorization
|
448
|
+
|
449
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
450
|
+
|
451
|
+
### HTTP request headers
|
452
|
+
|
453
|
+
- **Content-Type**: Not defined
|
454
|
+
- **Accept**: application/json
|
455
|
+
|
456
|
+
|
457
|
+
## delete_trusted_o_auth2_jwt_grant_issuer
|
458
|
+
|
459
|
+
> delete_trusted_o_auth2_jwt_grant_issuer(id)
|
460
|
+
|
461
|
+
Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
|
462
|
+
|
463
|
+
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.
|
464
|
+
|
465
|
+
### Examples
|
466
|
+
|
467
|
+
```ruby
|
468
|
+
require 'time'
|
469
|
+
require 'ory-client'
|
470
|
+
# setup authorization
|
471
|
+
OryClient.configure do |config|
|
472
|
+
# Configure Bearer authorization: oryAccessToken
|
473
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
474
|
+
end
|
475
|
+
|
476
|
+
api_instance = OryClient::OAuth2Api.new
|
477
|
+
id = 'id_example' # String | The id of the desired grant
|
478
|
+
|
479
|
+
begin
|
480
|
+
# Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
|
481
|
+
api_instance.delete_trusted_o_auth2_jwt_grant_issuer(id)
|
482
|
+
rescue OryClient::ApiError => e
|
483
|
+
puts "Error when calling OAuth2Api->delete_trusted_o_auth2_jwt_grant_issuer: #{e}"
|
484
|
+
end
|
485
|
+
```
|
486
|
+
|
487
|
+
#### Using the delete_trusted_o_auth2_jwt_grant_issuer_with_http_info variant
|
488
|
+
|
489
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
490
|
+
|
491
|
+
> <Array(nil, Integer, Hash)> delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
|
492
|
+
|
493
|
+
```ruby
|
494
|
+
begin
|
495
|
+
# Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
|
496
|
+
data, status_code, headers = api_instance.delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
|
497
|
+
p status_code # => 2xx
|
498
|
+
p headers # => { ... }
|
499
|
+
p data # => nil
|
500
|
+
rescue OryClient::ApiError => e
|
501
|
+
puts "Error when calling OAuth2Api->delete_trusted_o_auth2_jwt_grant_issuer_with_http_info: #{e}"
|
502
|
+
end
|
503
|
+
```
|
504
|
+
|
505
|
+
### Parameters
|
506
|
+
|
507
|
+
| Name | Type | Description | Notes |
|
508
|
+
| ---- | ---- | ----------- | ----- |
|
509
|
+
| **id** | **String** | The id of the desired grant | |
|
510
|
+
|
511
|
+
### Return type
|
512
|
+
|
513
|
+
nil (empty response body)
|
514
|
+
|
515
|
+
### Authorization
|
516
|
+
|
517
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
518
|
+
|
519
|
+
### HTTP request headers
|
520
|
+
|
521
|
+
- **Content-Type**: Not defined
|
522
|
+
- **Accept**: application/json
|
523
|
+
|
524
|
+
|
525
|
+
## get_o_auth2_client
|
526
|
+
|
527
|
+
> <OAuth2Client> get_o_auth2_client(id)
|
528
|
+
|
529
|
+
Get an OAuth 2.0 Client
|
530
|
+
|
531
|
+
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.
|
532
|
+
|
533
|
+
### Examples
|
534
|
+
|
535
|
+
```ruby
|
536
|
+
require 'time'
|
537
|
+
require 'ory-client'
|
538
|
+
# setup authorization
|
539
|
+
OryClient.configure do |config|
|
540
|
+
# Configure Bearer authorization: oryAccessToken
|
541
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
542
|
+
end
|
543
|
+
|
544
|
+
api_instance = OryClient::OAuth2Api.new
|
545
|
+
id = 'id_example' # String | The id of the OAuth 2.0 Client.
|
546
|
+
|
547
|
+
begin
|
548
|
+
# Get an OAuth 2.0 Client
|
549
|
+
result = api_instance.get_o_auth2_client(id)
|
550
|
+
p result
|
551
|
+
rescue OryClient::ApiError => e
|
552
|
+
puts "Error when calling OAuth2Api->get_o_auth2_client: #{e}"
|
553
|
+
end
|
554
|
+
```
|
555
|
+
|
556
|
+
#### Using the get_o_auth2_client_with_http_info variant
|
557
|
+
|
558
|
+
This returns an Array which contains the response data, status code and headers.
|
559
|
+
|
560
|
+
> <Array(<OAuth2Client>, Integer, Hash)> get_o_auth2_client_with_http_info(id)
|
561
|
+
|
562
|
+
```ruby
|
563
|
+
begin
|
564
|
+
# Get an OAuth 2.0 Client
|
565
|
+
data, status_code, headers = api_instance.get_o_auth2_client_with_http_info(id)
|
566
|
+
p status_code # => 2xx
|
567
|
+
p headers # => { ... }
|
568
|
+
p data # => <OAuth2Client>
|
569
|
+
rescue OryClient::ApiError => e
|
570
|
+
puts "Error when calling OAuth2Api->get_o_auth2_client_with_http_info: #{e}"
|
571
|
+
end
|
572
|
+
```
|
573
|
+
|
574
|
+
### Parameters
|
575
|
+
|
576
|
+
| Name | Type | Description | Notes |
|
577
|
+
| ---- | ---- | ----------- | ----- |
|
578
|
+
| **id** | **String** | The id of the OAuth 2.0 Client. | |
|
579
|
+
|
580
|
+
### Return type
|
581
|
+
|
582
|
+
[**OAuth2Client**](OAuth2Client.md)
|
583
|
+
|
584
|
+
### Authorization
|
585
|
+
|
586
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
587
|
+
|
588
|
+
### HTTP request headers
|
589
|
+
|
590
|
+
- **Content-Type**: Not defined
|
591
|
+
- **Accept**: application/json
|
592
|
+
|
593
|
+
|
594
|
+
## get_o_auth2_consent_request
|
595
|
+
|
596
|
+
> <OAuth2ConsentRequest> get_o_auth2_consent_request(consent_challenge)
|
597
|
+
|
598
|
+
Get OAuth 2.0 Consent Request
|
599
|
+
|
600
|
+
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
|
601
|
+
|
602
|
+
### Examples
|
603
|
+
|
604
|
+
```ruby
|
605
|
+
require 'time'
|
606
|
+
require 'ory-client'
|
607
|
+
# setup authorization
|
608
|
+
OryClient.configure do |config|
|
609
|
+
# Configure Bearer authorization: oryAccessToken
|
610
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
611
|
+
end
|
612
|
+
|
613
|
+
api_instance = OryClient::OAuth2Api.new
|
614
|
+
consent_challenge = 'consent_challenge_example' # String | OAuth 2.0 Consent Request Challenge
|
615
|
+
|
616
|
+
begin
|
617
|
+
# Get OAuth 2.0 Consent Request
|
618
|
+
result = api_instance.get_o_auth2_consent_request(consent_challenge)
|
619
|
+
p result
|
620
|
+
rescue OryClient::ApiError => e
|
621
|
+
puts "Error when calling OAuth2Api->get_o_auth2_consent_request: #{e}"
|
622
|
+
end
|
623
|
+
```
|
624
|
+
|
625
|
+
#### Using the get_o_auth2_consent_request_with_http_info variant
|
626
|
+
|
627
|
+
This returns an Array which contains the response data, status code and headers.
|
628
|
+
|
629
|
+
> <Array(<OAuth2ConsentRequest>, Integer, Hash)> get_o_auth2_consent_request_with_http_info(consent_challenge)
|
630
|
+
|
631
|
+
```ruby
|
632
|
+
begin
|
633
|
+
# Get OAuth 2.0 Consent Request
|
634
|
+
data, status_code, headers = api_instance.get_o_auth2_consent_request_with_http_info(consent_challenge)
|
635
|
+
p status_code # => 2xx
|
636
|
+
p headers # => { ... }
|
637
|
+
p data # => <OAuth2ConsentRequest>
|
638
|
+
rescue OryClient::ApiError => e
|
639
|
+
puts "Error when calling OAuth2Api->get_o_auth2_consent_request_with_http_info: #{e}"
|
640
|
+
end
|
641
|
+
```
|
642
|
+
|
643
|
+
### Parameters
|
644
|
+
|
645
|
+
| Name | Type | Description | Notes |
|
646
|
+
| ---- | ---- | ----------- | ----- |
|
647
|
+
| **consent_challenge** | **String** | OAuth 2.0 Consent Request Challenge | |
|
648
|
+
|
649
|
+
### Return type
|
650
|
+
|
651
|
+
[**OAuth2ConsentRequest**](OAuth2ConsentRequest.md)
|
652
|
+
|
653
|
+
### Authorization
|
654
|
+
|
655
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
656
|
+
|
657
|
+
### HTTP request headers
|
658
|
+
|
659
|
+
- **Content-Type**: Not defined
|
660
|
+
- **Accept**: application/json
|
661
|
+
|
662
|
+
|
663
|
+
## get_o_auth2_login_request
|
664
|
+
|
665
|
+
> <OAuth2LoginRequest> get_o_auth2_login_request(login_challenge)
|
666
|
+
|
667
|
+
Get OAuth 2.0 Login Request
|
668
|
+
|
669
|
+
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. Per default, the login provider is Ory itself. You may use a different login provider which needs to be a 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.
|
670
|
+
|
671
|
+
### Examples
|
672
|
+
|
673
|
+
```ruby
|
674
|
+
require 'time'
|
675
|
+
require 'ory-client'
|
676
|
+
# setup authorization
|
677
|
+
OryClient.configure do |config|
|
678
|
+
# Configure Bearer authorization: oryAccessToken
|
679
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
680
|
+
end
|
681
|
+
|
682
|
+
api_instance = OryClient::OAuth2Api.new
|
683
|
+
login_challenge = 'login_challenge_example' # String | OAuth 2.0 Login Request Challenge
|
684
|
+
|
685
|
+
begin
|
686
|
+
# Get OAuth 2.0 Login Request
|
687
|
+
result = api_instance.get_o_auth2_login_request(login_challenge)
|
688
|
+
p result
|
689
|
+
rescue OryClient::ApiError => e
|
690
|
+
puts "Error when calling OAuth2Api->get_o_auth2_login_request: #{e}"
|
691
|
+
end
|
692
|
+
```
|
693
|
+
|
694
|
+
#### Using the get_o_auth2_login_request_with_http_info variant
|
695
|
+
|
696
|
+
This returns an Array which contains the response data, status code and headers.
|
697
|
+
|
698
|
+
> <Array(<OAuth2LoginRequest>, Integer, Hash)> get_o_auth2_login_request_with_http_info(login_challenge)
|
699
|
+
|
700
|
+
```ruby
|
701
|
+
begin
|
702
|
+
# Get OAuth 2.0 Login Request
|
703
|
+
data, status_code, headers = api_instance.get_o_auth2_login_request_with_http_info(login_challenge)
|
704
|
+
p status_code # => 2xx
|
705
|
+
p headers # => { ... }
|
706
|
+
p data # => <OAuth2LoginRequest>
|
707
|
+
rescue OryClient::ApiError => e
|
708
|
+
puts "Error when calling OAuth2Api->get_o_auth2_login_request_with_http_info: #{e}"
|
709
|
+
end
|
710
|
+
```
|
711
|
+
|
712
|
+
### Parameters
|
713
|
+
|
714
|
+
| Name | Type | Description | Notes |
|
715
|
+
| ---- | ---- | ----------- | ----- |
|
716
|
+
| **login_challenge** | **String** | OAuth 2.0 Login Request Challenge | |
|
717
|
+
|
718
|
+
### Return type
|
719
|
+
|
720
|
+
[**OAuth2LoginRequest**](OAuth2LoginRequest.md)
|
721
|
+
|
722
|
+
### Authorization
|
723
|
+
|
724
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
725
|
+
|
726
|
+
### HTTP request headers
|
727
|
+
|
728
|
+
- **Content-Type**: Not defined
|
729
|
+
- **Accept**: application/json
|
730
|
+
|
731
|
+
|
732
|
+
## get_o_auth2_logout_request
|
733
|
+
|
734
|
+
> <OAuth2LogoutRequest> get_o_auth2_logout_request(logout_challenge)
|
735
|
+
|
736
|
+
Get OAuth 2.0 Session Logout Request
|
737
|
+
|
738
|
+
Use this endpoint to fetch an Ory OAuth 2.0 logout request.
|
739
|
+
|
740
|
+
### Examples
|
741
|
+
|
742
|
+
```ruby
|
743
|
+
require 'time'
|
744
|
+
require 'ory-client'
|
745
|
+
# setup authorization
|
746
|
+
OryClient.configure do |config|
|
747
|
+
# Configure Bearer authorization: oryAccessToken
|
748
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
749
|
+
end
|
750
|
+
|
751
|
+
api_instance = OryClient::OAuth2Api.new
|
752
|
+
logout_challenge = 'logout_challenge_example' # String |
|
753
|
+
|
754
|
+
begin
|
755
|
+
# Get OAuth 2.0 Session Logout Request
|
756
|
+
result = api_instance.get_o_auth2_logout_request(logout_challenge)
|
757
|
+
p result
|
758
|
+
rescue OryClient::ApiError => e
|
759
|
+
puts "Error when calling OAuth2Api->get_o_auth2_logout_request: #{e}"
|
760
|
+
end
|
761
|
+
```
|
762
|
+
|
763
|
+
#### Using the get_o_auth2_logout_request_with_http_info variant
|
764
|
+
|
765
|
+
This returns an Array which contains the response data, status code and headers.
|
766
|
+
|
767
|
+
> <Array(<OAuth2LogoutRequest>, Integer, Hash)> get_o_auth2_logout_request_with_http_info(logout_challenge)
|
768
|
+
|
769
|
+
```ruby
|
770
|
+
begin
|
771
|
+
# Get OAuth 2.0 Session Logout Request
|
772
|
+
data, status_code, headers = api_instance.get_o_auth2_logout_request_with_http_info(logout_challenge)
|
773
|
+
p status_code # => 2xx
|
774
|
+
p headers # => { ... }
|
775
|
+
p data # => <OAuth2LogoutRequest>
|
776
|
+
rescue OryClient::ApiError => e
|
777
|
+
puts "Error when calling OAuth2Api->get_o_auth2_logout_request_with_http_info: #{e}"
|
778
|
+
end
|
779
|
+
```
|
780
|
+
|
781
|
+
### Parameters
|
782
|
+
|
783
|
+
| Name | Type | Description | Notes |
|
784
|
+
| ---- | ---- | ----------- | ----- |
|
785
|
+
| **logout_challenge** | **String** | | |
|
786
|
+
|
787
|
+
### Return type
|
788
|
+
|
789
|
+
[**OAuth2LogoutRequest**](OAuth2LogoutRequest.md)
|
790
|
+
|
791
|
+
### Authorization
|
792
|
+
|
793
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
794
|
+
|
795
|
+
### HTTP request headers
|
796
|
+
|
797
|
+
- **Content-Type**: Not defined
|
798
|
+
- **Accept**: application/json
|
799
|
+
|
800
|
+
|
801
|
+
## get_trusted_o_auth2_jwt_grant_issuer
|
802
|
+
|
803
|
+
> <TrustedOAuth2JwtGrantIssuer> get_trusted_o_auth2_jwt_grant_issuer(id)
|
804
|
+
|
805
|
+
Get Trusted OAuth2 JWT Bearer Grant Type Issuer
|
806
|
+
|
807
|
+
Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
|
808
|
+
|
809
|
+
### Examples
|
810
|
+
|
811
|
+
```ruby
|
812
|
+
require 'time'
|
813
|
+
require 'ory-client'
|
814
|
+
# setup authorization
|
815
|
+
OryClient.configure do |config|
|
816
|
+
# Configure Bearer authorization: oryAccessToken
|
817
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
818
|
+
end
|
819
|
+
|
820
|
+
api_instance = OryClient::OAuth2Api.new
|
821
|
+
id = 'id_example' # String | The id of the desired grant
|
822
|
+
|
823
|
+
begin
|
824
|
+
# Get Trusted OAuth2 JWT Bearer Grant Type Issuer
|
825
|
+
result = api_instance.get_trusted_o_auth2_jwt_grant_issuer(id)
|
826
|
+
p result
|
827
|
+
rescue OryClient::ApiError => e
|
828
|
+
puts "Error when calling OAuth2Api->get_trusted_o_auth2_jwt_grant_issuer: #{e}"
|
829
|
+
end
|
830
|
+
```
|
831
|
+
|
832
|
+
#### Using the get_trusted_o_auth2_jwt_grant_issuer_with_http_info variant
|
833
|
+
|
834
|
+
This returns an Array which contains the response data, status code and headers.
|
835
|
+
|
836
|
+
> <Array(<TrustedOAuth2JwtGrantIssuer>, Integer, Hash)> get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
|
837
|
+
|
838
|
+
```ruby
|
839
|
+
begin
|
840
|
+
# Get Trusted OAuth2 JWT Bearer Grant Type Issuer
|
841
|
+
data, status_code, headers = api_instance.get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
|
842
|
+
p status_code # => 2xx
|
843
|
+
p headers # => { ... }
|
844
|
+
p data # => <TrustedOAuth2JwtGrantIssuer>
|
845
|
+
rescue OryClient::ApiError => e
|
846
|
+
puts "Error when calling OAuth2Api->get_trusted_o_auth2_jwt_grant_issuer_with_http_info: #{e}"
|
847
|
+
end
|
848
|
+
```
|
849
|
+
|
850
|
+
### Parameters
|
851
|
+
|
852
|
+
| Name | Type | Description | Notes |
|
853
|
+
| ---- | ---- | ----------- | ----- |
|
854
|
+
| **id** | **String** | The id of the desired grant | |
|
855
|
+
|
856
|
+
### Return type
|
857
|
+
|
858
|
+
[**TrustedOAuth2JwtGrantIssuer**](TrustedOAuth2JwtGrantIssuer.md)
|
859
|
+
|
860
|
+
### Authorization
|
861
|
+
|
862
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
863
|
+
|
864
|
+
### HTTP request headers
|
865
|
+
|
866
|
+
- **Content-Type**: Not defined
|
867
|
+
- **Accept**: application/json
|
868
|
+
|
869
|
+
|
870
|
+
## introspect_o_auth2_token
|
871
|
+
|
872
|
+
> <IntrospectedOAuth2Token> introspect_o_auth2_token(token, opts)
|
873
|
+
|
874
|
+
Introspect OAuth2 Access and Refresh Tokens
|
875
|
+
|
876
|
+
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 `session.access_token` during the consent flow.
|
877
|
+
|
878
|
+
### Examples
|
879
|
+
|
880
|
+
```ruby
|
881
|
+
require 'time'
|
882
|
+
require 'ory-client'
|
883
|
+
# setup authorization
|
884
|
+
OryClient.configure do |config|
|
885
|
+
# Configure Bearer authorization: oryAccessToken
|
886
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
887
|
+
end
|
888
|
+
|
889
|
+
api_instance = OryClient::OAuth2Api.new
|
890
|
+
token = 'token_example' # String | 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.
|
891
|
+
opts = {
|
892
|
+
scope: 'scope_example' # String | 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.
|
893
|
+
}
|
894
|
+
|
895
|
+
begin
|
896
|
+
# Introspect OAuth2 Access and Refresh Tokens
|
897
|
+
result = api_instance.introspect_o_auth2_token(token, opts)
|
898
|
+
p result
|
899
|
+
rescue OryClient::ApiError => e
|
900
|
+
puts "Error when calling OAuth2Api->introspect_o_auth2_token: #{e}"
|
901
|
+
end
|
902
|
+
```
|
903
|
+
|
904
|
+
#### Using the introspect_o_auth2_token_with_http_info variant
|
905
|
+
|
906
|
+
This returns an Array which contains the response data, status code and headers.
|
907
|
+
|
908
|
+
> <Array(<IntrospectedOAuth2Token>, Integer, Hash)> introspect_o_auth2_token_with_http_info(token, opts)
|
909
|
+
|
910
|
+
```ruby
|
911
|
+
begin
|
912
|
+
# Introspect OAuth2 Access and Refresh Tokens
|
913
|
+
data, status_code, headers = api_instance.introspect_o_auth2_token_with_http_info(token, opts)
|
914
|
+
p status_code # => 2xx
|
915
|
+
p headers # => { ... }
|
916
|
+
p data # => <IntrospectedOAuth2Token>
|
917
|
+
rescue OryClient::ApiError => e
|
918
|
+
puts "Error when calling OAuth2Api->introspect_o_auth2_token_with_http_info: #{e}"
|
919
|
+
end
|
920
|
+
```
|
921
|
+
|
922
|
+
### Parameters
|
923
|
+
|
924
|
+
| Name | Type | Description | Notes |
|
925
|
+
| ---- | ---- | ----------- | ----- |
|
926
|
+
| **token** | **String** | 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. | |
|
927
|
+
| **scope** | **String** | 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. | [optional] |
|
928
|
+
|
929
|
+
### Return type
|
930
|
+
|
931
|
+
[**IntrospectedOAuth2Token**](IntrospectedOAuth2Token.md)
|
932
|
+
|
933
|
+
### Authorization
|
934
|
+
|
935
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
936
|
+
|
937
|
+
### HTTP request headers
|
938
|
+
|
939
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
940
|
+
- **Accept**: application/json
|
941
|
+
|
942
|
+
|
943
|
+
## list_o_auth2_clients
|
944
|
+
|
945
|
+
> <Array<OAuth2Client>> list_o_auth2_clients(opts)
|
946
|
+
|
947
|
+
List OAuth 2.0 Clients
|
948
|
+
|
949
|
+
This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.
|
950
|
+
|
951
|
+
### Examples
|
952
|
+
|
953
|
+
```ruby
|
954
|
+
require 'time'
|
955
|
+
require 'ory-client'
|
956
|
+
# setup authorization
|
957
|
+
OryClient.configure do |config|
|
958
|
+
# Configure Bearer authorization: oryAccessToken
|
959
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
960
|
+
end
|
961
|
+
|
962
|
+
api_instance = OryClient::OAuth2Api.new
|
963
|
+
opts = {
|
964
|
+
page_size: 789, # Integer | 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).
|
965
|
+
page_token: 'page_token_example', # String | 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).
|
966
|
+
client_name: 'client_name_example', # String | The name of the clients to filter by.
|
967
|
+
owner: 'owner_example' # String | The owner of the clients to filter by.
|
968
|
+
}
|
969
|
+
|
970
|
+
begin
|
971
|
+
# List OAuth 2.0 Clients
|
972
|
+
result = api_instance.list_o_auth2_clients(opts)
|
973
|
+
p result
|
974
|
+
rescue OryClient::ApiError => e
|
975
|
+
puts "Error when calling OAuth2Api->list_o_auth2_clients: #{e}"
|
976
|
+
end
|
977
|
+
```
|
978
|
+
|
979
|
+
#### Using the list_o_auth2_clients_with_http_info variant
|
980
|
+
|
981
|
+
This returns an Array which contains the response data, status code and headers.
|
982
|
+
|
983
|
+
> <Array(<Array<OAuth2Client>>, Integer, Hash)> list_o_auth2_clients_with_http_info(opts)
|
984
|
+
|
985
|
+
```ruby
|
986
|
+
begin
|
987
|
+
# List OAuth 2.0 Clients
|
988
|
+
data, status_code, headers = api_instance.list_o_auth2_clients_with_http_info(opts)
|
989
|
+
p status_code # => 2xx
|
990
|
+
p headers # => { ... }
|
991
|
+
p data # => <Array<OAuth2Client>>
|
992
|
+
rescue OryClient::ApiError => e
|
993
|
+
puts "Error when calling OAuth2Api->list_o_auth2_clients_with_http_info: #{e}"
|
994
|
+
end
|
995
|
+
```
|
996
|
+
|
997
|
+
### Parameters
|
998
|
+
|
999
|
+
| Name | Type | Description | Notes |
|
1000
|
+
| ---- | ---- | ----------- | ----- |
|
1001
|
+
| **page_size** | **Integer** | 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). | [optional][default to 250] |
|
1002
|
+
| **page_token** | **String** | 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). | [optional][default to '1'] |
|
1003
|
+
| **client_name** | **String** | The name of the clients to filter by. | [optional] |
|
1004
|
+
| **owner** | **String** | The owner of the clients to filter by. | [optional] |
|
1005
|
+
|
1006
|
+
### Return type
|
1007
|
+
|
1008
|
+
[**Array<OAuth2Client>**](OAuth2Client.md)
|
1009
|
+
|
1010
|
+
### Authorization
|
1011
|
+
|
1012
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1013
|
+
|
1014
|
+
### HTTP request headers
|
1015
|
+
|
1016
|
+
- **Content-Type**: Not defined
|
1017
|
+
- **Accept**: application/json
|
1018
|
+
|
1019
|
+
|
1020
|
+
## list_o_auth2_consent_sessions
|
1021
|
+
|
1022
|
+
> <Array<OAuth2ConsentSession>> list_o_auth2_consent_sessions(subject, opts)
|
1023
|
+
|
1024
|
+
List OAuth 2.0 Consent Sessions of a Subject
|
1025
|
+
|
1026
|
+
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.
|
1027
|
+
|
1028
|
+
### Examples
|
1029
|
+
|
1030
|
+
```ruby
|
1031
|
+
require 'time'
|
1032
|
+
require 'ory-client'
|
1033
|
+
# setup authorization
|
1034
|
+
OryClient.configure do |config|
|
1035
|
+
# Configure Bearer authorization: oryAccessToken
|
1036
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
api_instance = OryClient::OAuth2Api.new
|
1040
|
+
subject = 'subject_example' # String | The subject to list the consent sessions for.
|
1041
|
+
opts = {
|
1042
|
+
page_size: 789, # Integer | 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).
|
1043
|
+
page_token: 'page_token_example' # String | 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).
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
begin
|
1047
|
+
# List OAuth 2.0 Consent Sessions of a Subject
|
1048
|
+
result = api_instance.list_o_auth2_consent_sessions(subject, opts)
|
1049
|
+
p result
|
1050
|
+
rescue OryClient::ApiError => e
|
1051
|
+
puts "Error when calling OAuth2Api->list_o_auth2_consent_sessions: #{e}"
|
1052
|
+
end
|
1053
|
+
```
|
1054
|
+
|
1055
|
+
#### Using the list_o_auth2_consent_sessions_with_http_info variant
|
1056
|
+
|
1057
|
+
This returns an Array which contains the response data, status code and headers.
|
1058
|
+
|
1059
|
+
> <Array(<Array<OAuth2ConsentSession>>, Integer, Hash)> list_o_auth2_consent_sessions_with_http_info(subject, opts)
|
1060
|
+
|
1061
|
+
```ruby
|
1062
|
+
begin
|
1063
|
+
# List OAuth 2.0 Consent Sessions of a Subject
|
1064
|
+
data, status_code, headers = api_instance.list_o_auth2_consent_sessions_with_http_info(subject, opts)
|
1065
|
+
p status_code # => 2xx
|
1066
|
+
p headers # => { ... }
|
1067
|
+
p data # => <Array<OAuth2ConsentSession>>
|
1068
|
+
rescue OryClient::ApiError => e
|
1069
|
+
puts "Error when calling OAuth2Api->list_o_auth2_consent_sessions_with_http_info: #{e}"
|
1070
|
+
end
|
1071
|
+
```
|
1072
|
+
|
1073
|
+
### Parameters
|
1074
|
+
|
1075
|
+
| Name | Type | Description | Notes |
|
1076
|
+
| ---- | ---- | ----------- | ----- |
|
1077
|
+
| **subject** | **String** | The subject to list the consent sessions for. | |
|
1078
|
+
| **page_size** | **Integer** | 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). | [optional][default to 250] |
|
1079
|
+
| **page_token** | **String** | 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). | [optional][default to '1'] |
|
1080
|
+
|
1081
|
+
### Return type
|
1082
|
+
|
1083
|
+
[**Array<OAuth2ConsentSession>**](OAuth2ConsentSession.md)
|
1084
|
+
|
1085
|
+
### Authorization
|
1086
|
+
|
1087
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1088
|
+
|
1089
|
+
### HTTP request headers
|
1090
|
+
|
1091
|
+
- **Content-Type**: Not defined
|
1092
|
+
- **Accept**: application/json
|
1093
|
+
|
1094
|
+
|
1095
|
+
## list_trusted_o_auth2_jwt_grant_issuers
|
1096
|
+
|
1097
|
+
> <Array<TrustedOAuth2JwtGrantIssuer>> list_trusted_o_auth2_jwt_grant_issuers(opts)
|
1098
|
+
|
1099
|
+
List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
1100
|
+
|
1101
|
+
Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
|
1102
|
+
|
1103
|
+
### Examples
|
1104
|
+
|
1105
|
+
```ruby
|
1106
|
+
require 'time'
|
1107
|
+
require 'ory-client'
|
1108
|
+
# setup authorization
|
1109
|
+
OryClient.configure do |config|
|
1110
|
+
# Configure Bearer authorization: oryAccessToken
|
1111
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
api_instance = OryClient::OAuth2Api.new
|
1115
|
+
opts = {
|
1116
|
+
max_items: 789, # Integer |
|
1117
|
+
default_items: 789, # Integer |
|
1118
|
+
issuer: 'issuer_example' # String | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
begin
|
1122
|
+
# List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
1123
|
+
result = api_instance.list_trusted_o_auth2_jwt_grant_issuers(opts)
|
1124
|
+
p result
|
1125
|
+
rescue OryClient::ApiError => e
|
1126
|
+
puts "Error when calling OAuth2Api->list_trusted_o_auth2_jwt_grant_issuers: #{e}"
|
1127
|
+
end
|
1128
|
+
```
|
1129
|
+
|
1130
|
+
#### Using the list_trusted_o_auth2_jwt_grant_issuers_with_http_info variant
|
1131
|
+
|
1132
|
+
This returns an Array which contains the response data, status code and headers.
|
1133
|
+
|
1134
|
+
> <Array(<Array<TrustedOAuth2JwtGrantIssuer>>, Integer, Hash)> list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts)
|
1135
|
+
|
1136
|
+
```ruby
|
1137
|
+
begin
|
1138
|
+
# List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
1139
|
+
data, status_code, headers = api_instance.list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts)
|
1140
|
+
p status_code # => 2xx
|
1141
|
+
p headers # => { ... }
|
1142
|
+
p data # => <Array<TrustedOAuth2JwtGrantIssuer>>
|
1143
|
+
rescue OryClient::ApiError => e
|
1144
|
+
puts "Error when calling OAuth2Api->list_trusted_o_auth2_jwt_grant_issuers_with_http_info: #{e}"
|
1145
|
+
end
|
1146
|
+
```
|
1147
|
+
|
1148
|
+
### Parameters
|
1149
|
+
|
1150
|
+
| Name | Type | Description | Notes |
|
1151
|
+
| ---- | ---- | ----------- | ----- |
|
1152
|
+
| **max_items** | **Integer** | | [optional] |
|
1153
|
+
| **default_items** | **Integer** | | [optional] |
|
1154
|
+
| **issuer** | **String** | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned. | [optional] |
|
1155
|
+
|
1156
|
+
### Return type
|
1157
|
+
|
1158
|
+
[**Array<TrustedOAuth2JwtGrantIssuer>**](TrustedOAuth2JwtGrantIssuer.md)
|
1159
|
+
|
1160
|
+
### Authorization
|
1161
|
+
|
1162
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1163
|
+
|
1164
|
+
### HTTP request headers
|
1165
|
+
|
1166
|
+
- **Content-Type**: Not defined
|
1167
|
+
- **Accept**: application/json
|
1168
|
+
|
1169
|
+
|
1170
|
+
## o_auth2_authorize
|
1171
|
+
|
1172
|
+
> <ErrorOAuth2> o_auth2_authorize
|
1173
|
+
|
1174
|
+
OAuth 2.0 Authorize Endpoint
|
1175
|
+
|
1176
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.
|
1177
|
+
|
1178
|
+
### Examples
|
1179
|
+
|
1180
|
+
```ruby
|
1181
|
+
require 'time'
|
1182
|
+
require 'ory-client'
|
1183
|
+
|
1184
|
+
api_instance = OryClient::OAuth2Api.new
|
1185
|
+
|
1186
|
+
begin
|
1187
|
+
# OAuth 2.0 Authorize Endpoint
|
1188
|
+
result = api_instance.o_auth2_authorize
|
1189
|
+
p result
|
1190
|
+
rescue OryClient::ApiError => e
|
1191
|
+
puts "Error when calling OAuth2Api->o_auth2_authorize: #{e}"
|
1192
|
+
end
|
1193
|
+
```
|
1194
|
+
|
1195
|
+
#### Using the o_auth2_authorize_with_http_info variant
|
1196
|
+
|
1197
|
+
This returns an Array which contains the response data, status code and headers.
|
1198
|
+
|
1199
|
+
> <Array(<ErrorOAuth2>, Integer, Hash)> o_auth2_authorize_with_http_info
|
1200
|
+
|
1201
|
+
```ruby
|
1202
|
+
begin
|
1203
|
+
# OAuth 2.0 Authorize Endpoint
|
1204
|
+
data, status_code, headers = api_instance.o_auth2_authorize_with_http_info
|
1205
|
+
p status_code # => 2xx
|
1206
|
+
p headers # => { ... }
|
1207
|
+
p data # => <ErrorOAuth2>
|
1208
|
+
rescue OryClient::ApiError => e
|
1209
|
+
puts "Error when calling OAuth2Api->o_auth2_authorize_with_http_info: #{e}"
|
1210
|
+
end
|
1211
|
+
```
|
1212
|
+
|
1213
|
+
### Parameters
|
1214
|
+
|
1215
|
+
This endpoint does not need any parameter.
|
1216
|
+
|
1217
|
+
### Return type
|
1218
|
+
|
1219
|
+
[**ErrorOAuth2**](ErrorOAuth2.md)
|
1220
|
+
|
1221
|
+
### Authorization
|
1222
|
+
|
1223
|
+
No authorization required
|
1224
|
+
|
1225
|
+
### HTTP request headers
|
1226
|
+
|
1227
|
+
- **Content-Type**: Not defined
|
1228
|
+
- **Accept**: application/json
|
1229
|
+
|
1230
|
+
|
1231
|
+
## oauth2_token_exchange
|
1232
|
+
|
1233
|
+
> <OAuth2TokenExchange> oauth2_token_exchange(grant_type, opts)
|
1234
|
+
|
1235
|
+
The OAuth 2.0 Token Endpoint
|
1236
|
+
|
1237
|
+
Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.
|
1238
|
+
|
1239
|
+
### Examples
|
1240
|
+
|
1241
|
+
```ruby
|
1242
|
+
require 'time'
|
1243
|
+
require 'ory-client'
|
1244
|
+
# setup authorization
|
1245
|
+
OryClient.configure do |config|
|
1246
|
+
# Configure HTTP basic authorization: basic
|
1247
|
+
config.username = 'YOUR USERNAME'
|
1248
|
+
config.password = 'YOUR PASSWORD'
|
1249
|
+
|
1250
|
+
# Configure OAuth2 access token for authorization: oauth2
|
1251
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
api_instance = OryClient::OAuth2Api.new
|
1255
|
+
grant_type = 'grant_type_example' # String |
|
1256
|
+
opts = {
|
1257
|
+
client_id: 'client_id_example', # String |
|
1258
|
+
code: 'code_example', # String |
|
1259
|
+
redirect_uri: 'redirect_uri_example', # String |
|
1260
|
+
refresh_token: 'refresh_token_example' # String |
|
1261
|
+
}
|
1262
|
+
|
1263
|
+
begin
|
1264
|
+
# The OAuth 2.0 Token Endpoint
|
1265
|
+
result = api_instance.oauth2_token_exchange(grant_type, opts)
|
1266
|
+
p result
|
1267
|
+
rescue OryClient::ApiError => e
|
1268
|
+
puts "Error when calling OAuth2Api->oauth2_token_exchange: #{e}"
|
1269
|
+
end
|
1270
|
+
```
|
1271
|
+
|
1272
|
+
#### Using the oauth2_token_exchange_with_http_info variant
|
1273
|
+
|
1274
|
+
This returns an Array which contains the response data, status code and headers.
|
1275
|
+
|
1276
|
+
> <Array(<OAuth2TokenExchange>, Integer, Hash)> oauth2_token_exchange_with_http_info(grant_type, opts)
|
1277
|
+
|
1278
|
+
```ruby
|
1279
|
+
begin
|
1280
|
+
# The OAuth 2.0 Token Endpoint
|
1281
|
+
data, status_code, headers = api_instance.oauth2_token_exchange_with_http_info(grant_type, opts)
|
1282
|
+
p status_code # => 2xx
|
1283
|
+
p headers # => { ... }
|
1284
|
+
p data # => <OAuth2TokenExchange>
|
1285
|
+
rescue OryClient::ApiError => e
|
1286
|
+
puts "Error when calling OAuth2Api->oauth2_token_exchange_with_http_info: #{e}"
|
1287
|
+
end
|
1288
|
+
```
|
1289
|
+
|
1290
|
+
### Parameters
|
1291
|
+
|
1292
|
+
| Name | Type | Description | Notes |
|
1293
|
+
| ---- | ---- | ----------- | ----- |
|
1294
|
+
| **grant_type** | **String** | | |
|
1295
|
+
| **client_id** | **String** | | [optional] |
|
1296
|
+
| **code** | **String** | | [optional] |
|
1297
|
+
| **redirect_uri** | **String** | | [optional] |
|
1298
|
+
| **refresh_token** | **String** | | [optional] |
|
1299
|
+
|
1300
|
+
### Return type
|
1301
|
+
|
1302
|
+
[**OAuth2TokenExchange**](OAuth2TokenExchange.md)
|
1303
|
+
|
1304
|
+
### Authorization
|
1305
|
+
|
1306
|
+
[basic](../README.md#basic), [oauth2](../README.md#oauth2)
|
1307
|
+
|
1308
|
+
### HTTP request headers
|
1309
|
+
|
1310
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
1311
|
+
- **Accept**: application/json
|
1312
|
+
|
1313
|
+
|
1314
|
+
## patch_o_auth2_client
|
1315
|
+
|
1316
|
+
> <OAuth2Client> patch_o_auth2_client(id, json_patch)
|
1317
|
+
|
1318
|
+
Patch OAuth 2.0 Client
|
1319
|
+
|
1320
|
+
Patch an existing OAuth 2.0 Client using JSON Patch. 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.
|
1321
|
+
|
1322
|
+
### Examples
|
1323
|
+
|
1324
|
+
```ruby
|
1325
|
+
require 'time'
|
1326
|
+
require 'ory-client'
|
1327
|
+
# setup authorization
|
1328
|
+
OryClient.configure do |config|
|
1329
|
+
# Configure Bearer authorization: oryAccessToken
|
1330
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
api_instance = OryClient::OAuth2Api.new
|
1334
|
+
id = 'id_example' # String | The id of the OAuth 2.0 Client.
|
1335
|
+
json_patch = [OryClient::JsonPatch.new({op: 'add', path: '/services/identity/config/smtp/from_name'})] # Array<JsonPatch> | OAuth 2.0 Client JSON Patch Body
|
1336
|
+
|
1337
|
+
begin
|
1338
|
+
# Patch OAuth 2.0 Client
|
1339
|
+
result = api_instance.patch_o_auth2_client(id, json_patch)
|
1340
|
+
p result
|
1341
|
+
rescue OryClient::ApiError => e
|
1342
|
+
puts "Error when calling OAuth2Api->patch_o_auth2_client: #{e}"
|
1343
|
+
end
|
1344
|
+
```
|
1345
|
+
|
1346
|
+
#### Using the patch_o_auth2_client_with_http_info variant
|
1347
|
+
|
1348
|
+
This returns an Array which contains the response data, status code and headers.
|
1349
|
+
|
1350
|
+
> <Array(<OAuth2Client>, Integer, Hash)> patch_o_auth2_client_with_http_info(id, json_patch)
|
1351
|
+
|
1352
|
+
```ruby
|
1353
|
+
begin
|
1354
|
+
# Patch OAuth 2.0 Client
|
1355
|
+
data, status_code, headers = api_instance.patch_o_auth2_client_with_http_info(id, json_patch)
|
1356
|
+
p status_code # => 2xx
|
1357
|
+
p headers # => { ... }
|
1358
|
+
p data # => <OAuth2Client>
|
1359
|
+
rescue OryClient::ApiError => e
|
1360
|
+
puts "Error when calling OAuth2Api->patch_o_auth2_client_with_http_info: #{e}"
|
1361
|
+
end
|
1362
|
+
```
|
1363
|
+
|
1364
|
+
### Parameters
|
1365
|
+
|
1366
|
+
| Name | Type | Description | Notes |
|
1367
|
+
| ---- | ---- | ----------- | ----- |
|
1368
|
+
| **id** | **String** | The id of the OAuth 2.0 Client. | |
|
1369
|
+
| **json_patch** | [**Array<JsonPatch>**](JsonPatch.md) | OAuth 2.0 Client JSON Patch Body | |
|
1370
|
+
|
1371
|
+
### Return type
|
1372
|
+
|
1373
|
+
[**OAuth2Client**](OAuth2Client.md)
|
1374
|
+
|
1375
|
+
### Authorization
|
1376
|
+
|
1377
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1378
|
+
|
1379
|
+
### HTTP request headers
|
1380
|
+
|
1381
|
+
- **Content-Type**: application/json
|
1382
|
+
- **Accept**: application/json
|
1383
|
+
|
1384
|
+
|
1385
|
+
## reject_o_auth2_consent_request
|
1386
|
+
|
1387
|
+
> <OAuth2RedirectTo> reject_o_auth2_consent_request(consent_challenge, opts)
|
1388
|
+
|
1389
|
+
Reject OAuth 2.0 Consent Request
|
1390
|
+
|
1391
|
+
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. This endpoint tells Ory 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. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
|
1392
|
+
|
1393
|
+
### Examples
|
1394
|
+
|
1395
|
+
```ruby
|
1396
|
+
require 'time'
|
1397
|
+
require 'ory-client'
|
1398
|
+
# setup authorization
|
1399
|
+
OryClient.configure do |config|
|
1400
|
+
# Configure Bearer authorization: oryAccessToken
|
1401
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
api_instance = OryClient::OAuth2Api.new
|
1405
|
+
consent_challenge = 'consent_challenge_example' # String | OAuth 2.0 Consent Request Challenge
|
1406
|
+
opts = {
|
1407
|
+
reject_o_auth2_request: OryClient::RejectOAuth2Request.new # RejectOAuth2Request |
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
begin
|
1411
|
+
# Reject OAuth 2.0 Consent Request
|
1412
|
+
result = api_instance.reject_o_auth2_consent_request(consent_challenge, opts)
|
1413
|
+
p result
|
1414
|
+
rescue OryClient::ApiError => e
|
1415
|
+
puts "Error when calling OAuth2Api->reject_o_auth2_consent_request: #{e}"
|
1416
|
+
end
|
1417
|
+
```
|
1418
|
+
|
1419
|
+
#### Using the reject_o_auth2_consent_request_with_http_info variant
|
1420
|
+
|
1421
|
+
This returns an Array which contains the response data, status code and headers.
|
1422
|
+
|
1423
|
+
> <Array(<OAuth2RedirectTo>, Integer, Hash)> reject_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
1424
|
+
|
1425
|
+
```ruby
|
1426
|
+
begin
|
1427
|
+
# Reject OAuth 2.0 Consent Request
|
1428
|
+
data, status_code, headers = api_instance.reject_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
1429
|
+
p status_code # => 2xx
|
1430
|
+
p headers # => { ... }
|
1431
|
+
p data # => <OAuth2RedirectTo>
|
1432
|
+
rescue OryClient::ApiError => e
|
1433
|
+
puts "Error when calling OAuth2Api->reject_o_auth2_consent_request_with_http_info: #{e}"
|
1434
|
+
end
|
1435
|
+
```
|
1436
|
+
|
1437
|
+
### Parameters
|
1438
|
+
|
1439
|
+
| Name | Type | Description | Notes |
|
1440
|
+
| ---- | ---- | ----------- | ----- |
|
1441
|
+
| **consent_challenge** | **String** | OAuth 2.0 Consent Request Challenge | |
|
1442
|
+
| **reject_o_auth2_request** | [**RejectOAuth2Request**](RejectOAuth2Request.md) | | [optional] |
|
1443
|
+
|
1444
|
+
### Return type
|
1445
|
+
|
1446
|
+
[**OAuth2RedirectTo**](OAuth2RedirectTo.md)
|
1447
|
+
|
1448
|
+
### Authorization
|
1449
|
+
|
1450
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1451
|
+
|
1452
|
+
### HTTP request headers
|
1453
|
+
|
1454
|
+
- **Content-Type**: application/json
|
1455
|
+
- **Accept**: application/json
|
1456
|
+
|
1457
|
+
|
1458
|
+
## reject_o_auth2_login_request
|
1459
|
+
|
1460
|
+
> <OAuth2RedirectTo> reject_o_auth2_login_request(login_challenge, opts)
|
1461
|
+
|
1462
|
+
Reject OAuth 2.0 Login Request
|
1463
|
+
|
1464
|
+
When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. 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 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.
|
1465
|
+
|
1466
|
+
### Examples
|
1467
|
+
|
1468
|
+
```ruby
|
1469
|
+
require 'time'
|
1470
|
+
require 'ory-client'
|
1471
|
+
# setup authorization
|
1472
|
+
OryClient.configure do |config|
|
1473
|
+
# Configure Bearer authorization: oryAccessToken
|
1474
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
api_instance = OryClient::OAuth2Api.new
|
1478
|
+
login_challenge = 'login_challenge_example' # String | OAuth 2.0 Login Request Challenge
|
1479
|
+
opts = {
|
1480
|
+
reject_o_auth2_request: OryClient::RejectOAuth2Request.new # RejectOAuth2Request |
|
1481
|
+
}
|
1482
|
+
|
1483
|
+
begin
|
1484
|
+
# Reject OAuth 2.0 Login Request
|
1485
|
+
result = api_instance.reject_o_auth2_login_request(login_challenge, opts)
|
1486
|
+
p result
|
1487
|
+
rescue OryClient::ApiError => e
|
1488
|
+
puts "Error when calling OAuth2Api->reject_o_auth2_login_request: #{e}"
|
1489
|
+
end
|
1490
|
+
```
|
1491
|
+
|
1492
|
+
#### Using the reject_o_auth2_login_request_with_http_info variant
|
1493
|
+
|
1494
|
+
This returns an Array which contains the response data, status code and headers.
|
1495
|
+
|
1496
|
+
> <Array(<OAuth2RedirectTo>, Integer, Hash)> reject_o_auth2_login_request_with_http_info(login_challenge, opts)
|
1497
|
+
|
1498
|
+
```ruby
|
1499
|
+
begin
|
1500
|
+
# Reject OAuth 2.0 Login Request
|
1501
|
+
data, status_code, headers = api_instance.reject_o_auth2_login_request_with_http_info(login_challenge, opts)
|
1502
|
+
p status_code # => 2xx
|
1503
|
+
p headers # => { ... }
|
1504
|
+
p data # => <OAuth2RedirectTo>
|
1505
|
+
rescue OryClient::ApiError => e
|
1506
|
+
puts "Error when calling OAuth2Api->reject_o_auth2_login_request_with_http_info: #{e}"
|
1507
|
+
end
|
1508
|
+
```
|
1509
|
+
|
1510
|
+
### Parameters
|
1511
|
+
|
1512
|
+
| Name | Type | Description | Notes |
|
1513
|
+
| ---- | ---- | ----------- | ----- |
|
1514
|
+
| **login_challenge** | **String** | OAuth 2.0 Login Request Challenge | |
|
1515
|
+
| **reject_o_auth2_request** | [**RejectOAuth2Request**](RejectOAuth2Request.md) | | [optional] |
|
1516
|
+
|
1517
|
+
### Return type
|
1518
|
+
|
1519
|
+
[**OAuth2RedirectTo**](OAuth2RedirectTo.md)
|
1520
|
+
|
1521
|
+
### Authorization
|
1522
|
+
|
1523
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1524
|
+
|
1525
|
+
### HTTP request headers
|
1526
|
+
|
1527
|
+
- **Content-Type**: application/json
|
1528
|
+
- **Accept**: application/json
|
1529
|
+
|
1530
|
+
|
1531
|
+
## reject_o_auth2_logout_request
|
1532
|
+
|
1533
|
+
> reject_o_auth2_logout_request(logout_challenge)
|
1534
|
+
|
1535
|
+
Reject OAuth 2.0 Session Logout Request
|
1536
|
+
|
1537
|
+
When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request. No HTTP request body is required. The response is empty as the logout provider has to chose what action to perform next.
|
1538
|
+
|
1539
|
+
### Examples
|
1540
|
+
|
1541
|
+
```ruby
|
1542
|
+
require 'time'
|
1543
|
+
require 'ory-client'
|
1544
|
+
# setup authorization
|
1545
|
+
OryClient.configure do |config|
|
1546
|
+
# Configure Bearer authorization: oryAccessToken
|
1547
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
api_instance = OryClient::OAuth2Api.new
|
1551
|
+
logout_challenge = 'logout_challenge_example' # String |
|
1552
|
+
|
1553
|
+
begin
|
1554
|
+
# Reject OAuth 2.0 Session Logout Request
|
1555
|
+
api_instance.reject_o_auth2_logout_request(logout_challenge)
|
1556
|
+
rescue OryClient::ApiError => e
|
1557
|
+
puts "Error when calling OAuth2Api->reject_o_auth2_logout_request: #{e}"
|
1558
|
+
end
|
1559
|
+
```
|
1560
|
+
|
1561
|
+
#### Using the reject_o_auth2_logout_request_with_http_info variant
|
1562
|
+
|
1563
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1564
|
+
|
1565
|
+
> <Array(nil, Integer, Hash)> reject_o_auth2_logout_request_with_http_info(logout_challenge)
|
1566
|
+
|
1567
|
+
```ruby
|
1568
|
+
begin
|
1569
|
+
# Reject OAuth 2.0 Session Logout Request
|
1570
|
+
data, status_code, headers = api_instance.reject_o_auth2_logout_request_with_http_info(logout_challenge)
|
1571
|
+
p status_code # => 2xx
|
1572
|
+
p headers # => { ... }
|
1573
|
+
p data # => nil
|
1574
|
+
rescue OryClient::ApiError => e
|
1575
|
+
puts "Error when calling OAuth2Api->reject_o_auth2_logout_request_with_http_info: #{e}"
|
1576
|
+
end
|
1577
|
+
```
|
1578
|
+
|
1579
|
+
### Parameters
|
1580
|
+
|
1581
|
+
| Name | Type | Description | Notes |
|
1582
|
+
| ---- | ---- | ----------- | ----- |
|
1583
|
+
| **logout_challenge** | **String** | | |
|
1584
|
+
|
1585
|
+
### Return type
|
1586
|
+
|
1587
|
+
nil (empty response body)
|
1588
|
+
|
1589
|
+
### Authorization
|
1590
|
+
|
1591
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1592
|
+
|
1593
|
+
### HTTP request headers
|
1594
|
+
|
1595
|
+
- **Content-Type**: Not defined
|
1596
|
+
- **Accept**: application/json
|
1597
|
+
|
1598
|
+
|
1599
|
+
## revoke_o_auth2_consent_sessions
|
1600
|
+
|
1601
|
+
> revoke_o_auth2_consent_sessions(subject, opts)
|
1602
|
+
|
1603
|
+
Revoke OAuth 2.0 Consent Sessions of a Subject
|
1604
|
+
|
1605
|
+
This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
|
1606
|
+
|
1607
|
+
### Examples
|
1608
|
+
|
1609
|
+
```ruby
|
1610
|
+
require 'time'
|
1611
|
+
require 'ory-client'
|
1612
|
+
# setup authorization
|
1613
|
+
OryClient.configure do |config|
|
1614
|
+
# Configure Bearer authorization: oryAccessToken
|
1615
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
api_instance = OryClient::OAuth2Api.new
|
1619
|
+
subject = 'subject_example' # String | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
1620
|
+
opts = {
|
1621
|
+
client: 'client_example', # String | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
|
1622
|
+
all: true # Boolean | Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
1623
|
+
}
|
1624
|
+
|
1625
|
+
begin
|
1626
|
+
# Revoke OAuth 2.0 Consent Sessions of a Subject
|
1627
|
+
api_instance.revoke_o_auth2_consent_sessions(subject, opts)
|
1628
|
+
rescue OryClient::ApiError => e
|
1629
|
+
puts "Error when calling OAuth2Api->revoke_o_auth2_consent_sessions: #{e}"
|
1630
|
+
end
|
1631
|
+
```
|
1632
|
+
|
1633
|
+
#### Using the revoke_o_auth2_consent_sessions_with_http_info variant
|
1634
|
+
|
1635
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1636
|
+
|
1637
|
+
> <Array(nil, Integer, Hash)> revoke_o_auth2_consent_sessions_with_http_info(subject, opts)
|
1638
|
+
|
1639
|
+
```ruby
|
1640
|
+
begin
|
1641
|
+
# Revoke OAuth 2.0 Consent Sessions of a Subject
|
1642
|
+
data, status_code, headers = api_instance.revoke_o_auth2_consent_sessions_with_http_info(subject, opts)
|
1643
|
+
p status_code # => 2xx
|
1644
|
+
p headers # => { ... }
|
1645
|
+
p data # => nil
|
1646
|
+
rescue OryClient::ApiError => e
|
1647
|
+
puts "Error when calling OAuth2Api->revoke_o_auth2_consent_sessions_with_http_info: #{e}"
|
1648
|
+
end
|
1649
|
+
```
|
1650
|
+
|
1651
|
+
### Parameters
|
1652
|
+
|
1653
|
+
| Name | Type | Description | Notes |
|
1654
|
+
| ---- | ---- | ----------- | ----- |
|
1655
|
+
| **subject** | **String** | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. | |
|
1656
|
+
| **client** | **String** | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. | [optional] |
|
1657
|
+
| **all** | **Boolean** | Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted. | [optional] |
|
1658
|
+
|
1659
|
+
### Return type
|
1660
|
+
|
1661
|
+
nil (empty response body)
|
1662
|
+
|
1663
|
+
### Authorization
|
1664
|
+
|
1665
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1666
|
+
|
1667
|
+
### HTTP request headers
|
1668
|
+
|
1669
|
+
- **Content-Type**: Not defined
|
1670
|
+
- **Accept**: application/json
|
1671
|
+
|
1672
|
+
|
1673
|
+
## revoke_o_auth2_login_sessions
|
1674
|
+
|
1675
|
+
> revoke_o_auth2_login_sessions(subject)
|
1676
|
+
|
1677
|
+
Revokes All OAuth 2.0 Login Sessions of a Subject
|
1678
|
+
|
1679
|
+
This endpoint invalidates a subject's authentication session. After revoking the authentication session, the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
|
1680
|
+
|
1681
|
+
### Examples
|
1682
|
+
|
1683
|
+
```ruby
|
1684
|
+
require 'time'
|
1685
|
+
require 'ory-client'
|
1686
|
+
# setup authorization
|
1687
|
+
OryClient.configure do |config|
|
1688
|
+
# Configure Bearer authorization: oryAccessToken
|
1689
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
api_instance = OryClient::OAuth2Api.new
|
1693
|
+
subject = 'subject_example' # String | OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
1694
|
+
|
1695
|
+
begin
|
1696
|
+
# Revokes All OAuth 2.0 Login Sessions of a Subject
|
1697
|
+
api_instance.revoke_o_auth2_login_sessions(subject)
|
1698
|
+
rescue OryClient::ApiError => e
|
1699
|
+
puts "Error when calling OAuth2Api->revoke_o_auth2_login_sessions: #{e}"
|
1700
|
+
end
|
1701
|
+
```
|
1702
|
+
|
1703
|
+
#### Using the revoke_o_auth2_login_sessions_with_http_info variant
|
1704
|
+
|
1705
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1706
|
+
|
1707
|
+
> <Array(nil, Integer, Hash)> revoke_o_auth2_login_sessions_with_http_info(subject)
|
1708
|
+
|
1709
|
+
```ruby
|
1710
|
+
begin
|
1711
|
+
# Revokes All OAuth 2.0 Login Sessions of a Subject
|
1712
|
+
data, status_code, headers = api_instance.revoke_o_auth2_login_sessions_with_http_info(subject)
|
1713
|
+
p status_code # => 2xx
|
1714
|
+
p headers # => { ... }
|
1715
|
+
p data # => nil
|
1716
|
+
rescue OryClient::ApiError => e
|
1717
|
+
puts "Error when calling OAuth2Api->revoke_o_auth2_login_sessions_with_http_info: #{e}"
|
1718
|
+
end
|
1719
|
+
```
|
1720
|
+
|
1721
|
+
### Parameters
|
1722
|
+
|
1723
|
+
| Name | Type | Description | Notes |
|
1724
|
+
| ---- | ---- | ----------- | ----- |
|
1725
|
+
| **subject** | **String** | OAuth 2.0 Subject The subject to revoke authentication sessions for. | |
|
1726
|
+
|
1727
|
+
### Return type
|
1728
|
+
|
1729
|
+
nil (empty response body)
|
1730
|
+
|
1731
|
+
### Authorization
|
1732
|
+
|
1733
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1734
|
+
|
1735
|
+
### HTTP request headers
|
1736
|
+
|
1737
|
+
- **Content-Type**: Not defined
|
1738
|
+
- **Accept**: application/json
|
1739
|
+
|
1740
|
+
|
1741
|
+
## revoke_o_auth2_token
|
1742
|
+
|
1743
|
+
> revoke_o_auth2_token(token)
|
1744
|
+
|
1745
|
+
Revoke OAuth 2.0 Access or Refresh Token
|
1746
|
+
|
1747
|
+
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.
|
1748
|
+
|
1749
|
+
### Examples
|
1750
|
+
|
1751
|
+
```ruby
|
1752
|
+
require 'time'
|
1753
|
+
require 'ory-client'
|
1754
|
+
# setup authorization
|
1755
|
+
OryClient.configure do |config|
|
1756
|
+
# Configure HTTP basic authorization: basic
|
1757
|
+
config.username = 'YOUR USERNAME'
|
1758
|
+
config.password = 'YOUR PASSWORD'
|
1759
|
+
|
1760
|
+
# Configure OAuth2 access token for authorization: oauth2
|
1761
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
api_instance = OryClient::OAuth2Api.new
|
1765
|
+
token = 'token_example' # String |
|
1766
|
+
|
1767
|
+
begin
|
1768
|
+
# Revoke OAuth 2.0 Access or Refresh Token
|
1769
|
+
api_instance.revoke_o_auth2_token(token)
|
1770
|
+
rescue OryClient::ApiError => e
|
1771
|
+
puts "Error when calling OAuth2Api->revoke_o_auth2_token: #{e}"
|
1772
|
+
end
|
1773
|
+
```
|
1774
|
+
|
1775
|
+
#### Using the revoke_o_auth2_token_with_http_info variant
|
1776
|
+
|
1777
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1778
|
+
|
1779
|
+
> <Array(nil, Integer, Hash)> revoke_o_auth2_token_with_http_info(token)
|
1780
|
+
|
1781
|
+
```ruby
|
1782
|
+
begin
|
1783
|
+
# Revoke OAuth 2.0 Access or Refresh Token
|
1784
|
+
data, status_code, headers = api_instance.revoke_o_auth2_token_with_http_info(token)
|
1785
|
+
p status_code # => 2xx
|
1786
|
+
p headers # => { ... }
|
1787
|
+
p data # => nil
|
1788
|
+
rescue OryClient::ApiError => e
|
1789
|
+
puts "Error when calling OAuth2Api->revoke_o_auth2_token_with_http_info: #{e}"
|
1790
|
+
end
|
1791
|
+
```
|
1792
|
+
|
1793
|
+
### Parameters
|
1794
|
+
|
1795
|
+
| Name | Type | Description | Notes |
|
1796
|
+
| ---- | ---- | ----------- | ----- |
|
1797
|
+
| **token** | **String** | | |
|
1798
|
+
|
1799
|
+
### Return type
|
1800
|
+
|
1801
|
+
nil (empty response body)
|
1802
|
+
|
1803
|
+
### Authorization
|
1804
|
+
|
1805
|
+
[basic](../README.md#basic), [oauth2](../README.md#oauth2)
|
1806
|
+
|
1807
|
+
### HTTP request headers
|
1808
|
+
|
1809
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
1810
|
+
- **Accept**: application/json
|
1811
|
+
|
1812
|
+
|
1813
|
+
## set_o_auth2_client
|
1814
|
+
|
1815
|
+
> <OAuth2Client> set_o_auth2_client(id, o_auth2_client)
|
1816
|
+
|
1817
|
+
Set OAuth 2.0 Client
|
1818
|
+
|
1819
|
+
Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, 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.
|
1820
|
+
|
1821
|
+
### Examples
|
1822
|
+
|
1823
|
+
```ruby
|
1824
|
+
require 'time'
|
1825
|
+
require 'ory-client'
|
1826
|
+
# setup authorization
|
1827
|
+
OryClient.configure do |config|
|
1828
|
+
# Configure Bearer authorization: oryAccessToken
|
1829
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
api_instance = OryClient::OAuth2Api.new
|
1833
|
+
id = 'id_example' # String | OAuth 2.0 Client ID
|
1834
|
+
o_auth2_client = OryClient::OAuth2Client.new # OAuth2Client | OAuth 2.0 Client Request Body
|
1835
|
+
|
1836
|
+
begin
|
1837
|
+
# Set OAuth 2.0 Client
|
1838
|
+
result = api_instance.set_o_auth2_client(id, o_auth2_client)
|
1839
|
+
p result
|
1840
|
+
rescue OryClient::ApiError => e
|
1841
|
+
puts "Error when calling OAuth2Api->set_o_auth2_client: #{e}"
|
1842
|
+
end
|
1843
|
+
```
|
1844
|
+
|
1845
|
+
#### Using the set_o_auth2_client_with_http_info variant
|
1846
|
+
|
1847
|
+
This returns an Array which contains the response data, status code and headers.
|
1848
|
+
|
1849
|
+
> <Array(<OAuth2Client>, Integer, Hash)> set_o_auth2_client_with_http_info(id, o_auth2_client)
|
1850
|
+
|
1851
|
+
```ruby
|
1852
|
+
begin
|
1853
|
+
# Set OAuth 2.0 Client
|
1854
|
+
data, status_code, headers = api_instance.set_o_auth2_client_with_http_info(id, o_auth2_client)
|
1855
|
+
p status_code # => 2xx
|
1856
|
+
p headers # => { ... }
|
1857
|
+
p data # => <OAuth2Client>
|
1858
|
+
rescue OryClient::ApiError => e
|
1859
|
+
puts "Error when calling OAuth2Api->set_o_auth2_client_with_http_info: #{e}"
|
1860
|
+
end
|
1861
|
+
```
|
1862
|
+
|
1863
|
+
### Parameters
|
1864
|
+
|
1865
|
+
| Name | Type | Description | Notes |
|
1866
|
+
| ---- | ---- | ----------- | ----- |
|
1867
|
+
| **id** | **String** | OAuth 2.0 Client ID | |
|
1868
|
+
| **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | OAuth 2.0 Client Request Body | |
|
1869
|
+
|
1870
|
+
### Return type
|
1871
|
+
|
1872
|
+
[**OAuth2Client**](OAuth2Client.md)
|
1873
|
+
|
1874
|
+
### Authorization
|
1875
|
+
|
1876
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1877
|
+
|
1878
|
+
### HTTP request headers
|
1879
|
+
|
1880
|
+
- **Content-Type**: application/json
|
1881
|
+
- **Accept**: application/json
|
1882
|
+
|
1883
|
+
|
1884
|
+
## set_o_auth2_client_lifespans
|
1885
|
+
|
1886
|
+
> <OAuth2Client> set_o_auth2_client_lifespans(id, opts)
|
1887
|
+
|
1888
|
+
Set OAuth2 Client Token Lifespans
|
1889
|
+
|
1890
|
+
Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.
|
1891
|
+
|
1892
|
+
### Examples
|
1893
|
+
|
1894
|
+
```ruby
|
1895
|
+
require 'time'
|
1896
|
+
require 'ory-client'
|
1897
|
+
# setup authorization
|
1898
|
+
OryClient.configure do |config|
|
1899
|
+
# Configure Bearer authorization: oryAccessToken
|
1900
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
api_instance = OryClient::OAuth2Api.new
|
1904
|
+
id = 'id_example' # String | OAuth 2.0 Client ID
|
1905
|
+
opts = {
|
1906
|
+
o_auth2_client_token_lifespans: OryClient::OAuth2ClientTokenLifespans.new # OAuth2ClientTokenLifespans |
|
1907
|
+
}
|
1908
|
+
|
1909
|
+
begin
|
1910
|
+
# Set OAuth2 Client Token Lifespans
|
1911
|
+
result = api_instance.set_o_auth2_client_lifespans(id, opts)
|
1912
|
+
p result
|
1913
|
+
rescue OryClient::ApiError => e
|
1914
|
+
puts "Error when calling OAuth2Api->set_o_auth2_client_lifespans: #{e}"
|
1915
|
+
end
|
1916
|
+
```
|
1917
|
+
|
1918
|
+
#### Using the set_o_auth2_client_lifespans_with_http_info variant
|
1919
|
+
|
1920
|
+
This returns an Array which contains the response data, status code and headers.
|
1921
|
+
|
1922
|
+
> <Array(<OAuth2Client>, Integer, Hash)> set_o_auth2_client_lifespans_with_http_info(id, opts)
|
1923
|
+
|
1924
|
+
```ruby
|
1925
|
+
begin
|
1926
|
+
# Set OAuth2 Client Token Lifespans
|
1927
|
+
data, status_code, headers = api_instance.set_o_auth2_client_lifespans_with_http_info(id, opts)
|
1928
|
+
p status_code # => 2xx
|
1929
|
+
p headers # => { ... }
|
1930
|
+
p data # => <OAuth2Client>
|
1931
|
+
rescue OryClient::ApiError => e
|
1932
|
+
puts "Error when calling OAuth2Api->set_o_auth2_client_lifespans_with_http_info: #{e}"
|
1933
|
+
end
|
1934
|
+
```
|
1935
|
+
|
1936
|
+
### Parameters
|
1937
|
+
|
1938
|
+
| Name | Type | Description | Notes |
|
1939
|
+
| ---- | ---- | ----------- | ----- |
|
1940
|
+
| **id** | **String** | OAuth 2.0 Client ID | |
|
1941
|
+
| **o_auth2_client_token_lifespans** | [**OAuth2ClientTokenLifespans**](OAuth2ClientTokenLifespans.md) | | [optional] |
|
1942
|
+
|
1943
|
+
### Return type
|
1944
|
+
|
1945
|
+
[**OAuth2Client**](OAuth2Client.md)
|
1946
|
+
|
1947
|
+
### Authorization
|
1948
|
+
|
1949
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
1950
|
+
|
1951
|
+
### HTTP request headers
|
1952
|
+
|
1953
|
+
- **Content-Type**: application/json
|
1954
|
+
- **Accept**: application/json
|
1955
|
+
|
1956
|
+
|
1957
|
+
## trust_o_auth2_jwt_grant_issuer
|
1958
|
+
|
1959
|
+
> <TrustedOAuth2JwtGrantIssuer> trust_o_auth2_jwt_grant_issuer(opts)
|
1960
|
+
|
1961
|
+
Trust OAuth2 JWT Bearer Grant Type Issuer
|
1962
|
+
|
1963
|
+
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).
|
1964
|
+
|
1965
|
+
### Examples
|
1966
|
+
|
1967
|
+
```ruby
|
1968
|
+
require 'time'
|
1969
|
+
require 'ory-client'
|
1970
|
+
# setup authorization
|
1971
|
+
OryClient.configure do |config|
|
1972
|
+
# Configure Bearer authorization: oryAccessToken
|
1973
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1974
|
+
end
|
1975
|
+
|
1976
|
+
api_instance = OryClient::OAuth2Api.new
|
1977
|
+
opts = {
|
1978
|
+
trust_o_auth2_jwt_grant_issuer: OryClient::TrustOAuth2JwtGrantIssuer.new({expires_at: Time.now, issuer: 'https://jwt-idp.example.com', jwk: OryClient::JsonWebKey.new({alg: 'RS256', kid: '1603dfe0af8f4596', kty: 'RSA', use: 'sig'}), scope: ["openid", "offline"]}) # TrustOAuth2JwtGrantIssuer |
|
1979
|
+
}
|
1980
|
+
|
1981
|
+
begin
|
1982
|
+
# Trust OAuth2 JWT Bearer Grant Type Issuer
|
1983
|
+
result = api_instance.trust_o_auth2_jwt_grant_issuer(opts)
|
1984
|
+
p result
|
1985
|
+
rescue OryClient::ApiError => e
|
1986
|
+
puts "Error when calling OAuth2Api->trust_o_auth2_jwt_grant_issuer: #{e}"
|
1987
|
+
end
|
1988
|
+
```
|
1989
|
+
|
1990
|
+
#### Using the trust_o_auth2_jwt_grant_issuer_with_http_info variant
|
1991
|
+
|
1992
|
+
This returns an Array which contains the response data, status code and headers.
|
1993
|
+
|
1994
|
+
> <Array(<TrustedOAuth2JwtGrantIssuer>, Integer, Hash)> trust_o_auth2_jwt_grant_issuer_with_http_info(opts)
|
1995
|
+
|
1996
|
+
```ruby
|
1997
|
+
begin
|
1998
|
+
# Trust OAuth2 JWT Bearer Grant Type Issuer
|
1999
|
+
data, status_code, headers = api_instance.trust_o_auth2_jwt_grant_issuer_with_http_info(opts)
|
2000
|
+
p status_code # => 2xx
|
2001
|
+
p headers # => { ... }
|
2002
|
+
p data # => <TrustedOAuth2JwtGrantIssuer>
|
2003
|
+
rescue OryClient::ApiError => e
|
2004
|
+
puts "Error when calling OAuth2Api->trust_o_auth2_jwt_grant_issuer_with_http_info: #{e}"
|
2005
|
+
end
|
2006
|
+
```
|
2007
|
+
|
2008
|
+
### Parameters
|
2009
|
+
|
2010
|
+
| Name | Type | Description | Notes |
|
2011
|
+
| ---- | ---- | ----------- | ----- |
|
2012
|
+
| **trust_o_auth2_jwt_grant_issuer** | [**TrustOAuth2JwtGrantIssuer**](TrustOAuth2JwtGrantIssuer.md) | | [optional] |
|
2013
|
+
|
2014
|
+
### Return type
|
2015
|
+
|
2016
|
+
[**TrustedOAuth2JwtGrantIssuer**](TrustedOAuth2JwtGrantIssuer.md)
|
2017
|
+
|
2018
|
+
### Authorization
|
2019
|
+
|
2020
|
+
[oryAccessToken](../README.md#oryAccessToken)
|
2021
|
+
|
2022
|
+
### HTTP request headers
|
2023
|
+
|
2024
|
+
- **Content-Type**: application/json
|
2025
|
+
- **Accept**: application/json
|
2026
|
+
|