ory-client 0.2.0.alpha48 → 1.0.0.alpha0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -15
- data/README.md +245 -210
- data/docs/AcceptOAuth2ConsentRequest.md +28 -0
- data/docs/AcceptOAuth2ConsentRequestSession.md +20 -0
- data/docs/AcceptOAuth2LoginRequest.md +30 -0
- 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/CourierMessageStatus.md +15 -0
- data/docs/CourierMessageType.md +15 -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/Identity.md +2 -2
- 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/IntrospectedOAuth2Token.md +44 -0
- data/docs/InviteQuota.md +22 -0
- data/docs/JsonWebKey.md +50 -0
- data/docs/JsonWebKeySet.md +18 -0
- 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/Message.md +36 -0
- data/docs/Namespace.md +18 -0
- data/docs/NormalizedProject.md +2 -4
- data/docs/NormalizedProjectRevision.md +74 -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 +47 -27
- data/docs/OAuth2ClientTokenLifespans.md +36 -0
- data/docs/OAuth2ConsentRequest.md +42 -0
- data/docs/OAuth2ConsentRequestOpenIDConnectContext.md +26 -0
- data/docs/OAuth2ConsentSession.md +32 -0
- data/docs/OAuth2ConsentSessionExpiresAt.md +26 -0
- data/docs/OAuth2LoginRequest.md +34 -0
- data/docs/OAuth2LogoutRequest.md +28 -0
- data/docs/OAuth2RedirectTo.md +18 -0
- data/docs/OAuth2TokenExchange.md +28 -0
- data/docs/OidcApi.md +473 -0
- data/docs/OidcConfiguration.md +74 -0
- data/docs/OidcUserInfo.md +54 -0
- data/docs/Pagination.md +4 -0
- data/docs/PaginationHeaders.md +20 -0
- data/docs/ParseError.md +22 -0
- 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/RecoveryIdentityAddress.md +26 -0
- data/docs/RecoveryLinkForIdentity.md +20 -0
- data/docs/RegistrationFlow.md +36 -0
- data/docs/RejectOAuth2Request.md +26 -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 +3 -1
- data/docs/Session.md +3 -1
- data/docs/SessionDevice.md +7 -1
- 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/SourcePosition.md +20 -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/TrustedOAuth2JwtGrantIssuer.md +32 -0
- data/docs/TrustedOAuth2JwtGrantJsonWebKey.md +20 -0
- data/docs/UiNode.md +2 -2
- data/docs/UiNodeInputAttributes.md +2 -2
- 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/VerifiableIdentityAddress.md +1 -1
- 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 +8 -1
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +270 -0
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +232 -0
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +285 -0
- data/lib/ory-client/models/active_project_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 +39 -0
- data/lib/ory-client/models/courier_message_type.rb +37 -0
- 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 +6 -3
- 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 +360 -0
- 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 +4 -5
- data/lib/ory-client/models/json_web_key_set.rb +7 -7
- 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 +336 -0
- data/lib/ory-client/models/namespace.rb +220 -0
- 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 +275 -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 +293 -37
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +481 -0
- data/lib/ory-client/models/o_auth2_consent_request.rb +345 -0
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +266 -0
- data/lib/ory-client/models/o_auth2_consent_session.rb +289 -0
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +255 -0
- data/lib/ory-client/models/o_auth2_login_request.rb +335 -0
- data/lib/ory-client/models/o_auth2_logout_request.rb +269 -0
- data/lib/ory-client/models/o_auth2_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 +572 -0
- data/lib/ory-client/models/oidc_user_info.rb +401 -0
- data/lib/ory-client/models/pagination.rb +56 -2
- data/lib/ory-client/models/pagination_headers.rb +230 -0
- data/lib/ory-client/models/parse_error.rb +237 -0
- 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 +272 -0
- 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 +260 -0
- 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 +13 -2
- data/lib/ory-client/models/session.rb +15 -2
- data/lib/ory-client/models/session_authentication_method.rb +3 -3
- data/lib/ory-client/models/session_device.rb +39 -3
- 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 +228 -0
- 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 +291 -0
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +231 -0
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +5 -5
- 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 +3 -3
- 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 +2 -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 +119 -100
- 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 +40 -0
- data/spec/models/accept_o_auth2_consent_request_spec.rb +64 -0
- data/spec/models/accept_o_auth2_login_request_spec.rb +70 -0
- data/spec/models/active_project_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 +28 -0
- data/spec/models/courier_message_type_spec.rb +28 -0
- 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 +112 -0
- 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 +7 -7
- data/spec/models/json_web_key_spec.rb +7 -7
- 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 +92 -0
- data/spec/models/namespace_spec.rb +34 -0
- 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 +123 -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 +61 -1
- 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 +58 -0
- data/spec/models/o_auth2_consent_request_spec.rb +106 -0
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +58 -0
- data/spec/models/o_auth2_consent_session_spec.rb +76 -0
- data/spec/models/o_auth2_login_request_spec.rb +82 -0
- data/spec/models/o_auth2_logout_request_spec.rb +64 -0
- data/spec/models/o_auth2_redirect_to_spec.rb +34 -0
- data/spec/models/o_auth2_token_exchange_spec.rb +64 -0
- data/spec/models/oidc_configuration_spec.rb +202 -0
- data/spec/models/oidc_user_info_spec.rb +142 -0
- data/spec/models/pagination_headers_spec.rb +40 -0
- data/spec/models/pagination_spec.rb +13 -1
- data/spec/models/parse_error_spec.rb +46 -0
- 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 +58 -0
- 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 +58 -0
- 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 +2 -2
- data/spec/models/session_device_spec.rb +19 -1
- data/spec/models/session_spec.rb +7 -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 +40 -0
- 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 +76 -0
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +40 -0
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +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 +2 -2
- 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/psych-4.0.6.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.5 → psych-4.0.6}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +41 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.5 → psych-4.0.6}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/psych.so +0 -0
- 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.5 → psych-4.0.6}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/Mavenfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/bin/console +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/bin/setup +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/depend +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_emitter.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_parser.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_to_ruby.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_to_ruby.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_yaml_tree.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_yaml_tree.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/config.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/dumper.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/loader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/reader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/scanner.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/writer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/yaml.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/yaml_private.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/class_loader.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/coder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/core_ext.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/exception.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/handlers/document_stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/handlers/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/ruby_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/yaml_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/alias.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/document.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/mapping.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/scalar.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/sequence.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/omap.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/scalar_scanner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/streaming.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/depth_first.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/emitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/json_tree.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/to_ruby.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/visitor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/yaml_tree.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/y.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/psych.gemspec +0 -0
- 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/psych-4.0.6.gemspec +38 -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 +979 -903
- data/docs/AcceptConsentRequest.md +0 -28
- data/docs/AcceptLoginRequest.md +0 -30
- data/docs/ActiveProject.md +0 -18
- data/docs/AdminApi.md +0 -2154
- 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/AdminCreateSelfServiceRecoveryLinkBody.md +0 -20
- data/docs/AdminIdentityImportCredentials.md +0 -20
- data/docs/AdminUpdateIdentityBody.md +0 -28
- data/docs/CnameSettings.md +0 -34
- data/docs/CompletedRequest.md +0 -18
- data/docs/ConsentRequest.md +0 -42
- data/docs/ConsentRequestSession.md +0 -20
- data/docs/CreateCustomHostnameBody.md +0 -24
- data/docs/CreateSubscriptionPayload.md +0 -22
- data/docs/ExpandTree.md +0 -22
- data/docs/FlushInactiveOAuth2TokensRequest.md +0 -18
- data/docs/FlushLoginConsentRequest.md +0 -18
- data/docs/GetCheckResponse.md +0 -18
- data/docs/GetRelationTuplesResponse.md +0 -20
- data/docs/InvitePayload.md +0 -18
- data/docs/IsOwnerForProjectBySlugPayload.md +0 -22
- data/docs/JSONWebKey.md +0 -50
- data/docs/JSONWebKeySet.md +0 -18
- data/docs/JsonError.md +0 -24
- data/docs/JsonWebKeySetGeneratorRequest.md +0 -22
- data/docs/LoginRequest.md +0 -34
- data/docs/LogoutRequest.md +0 -28
- data/docs/OAuth2TokenIntrospection.md +0 -44
- data/docs/Oauth2TokenResponse.md +0 -28
- data/docs/OauthTokenResponse.md +0 -28
- data/docs/OpenIDConnectContext.md +0 -26
- data/docs/PatchDelta.md +0 -20
- data/docs/PatchDocument.md +0 -24
- data/docs/PreviousConsentSession.md +0 -30
- data/docs/ProvisionMockSubscriptionPayload.md +0 -20
- data/docs/PublicApi.md +0 -738
- data/docs/QuotaCustomDomains.md +0 -22
- data/docs/QuotaProjectMemberSeats.md +0 -22
- data/docs/ReadApi.md +0 -467
- data/docs/RecoveryAddress.md +0 -26
- data/docs/RefreshTokenHookRequest.md +0 -24
- data/docs/RefreshTokenHookResponse.md +0 -18
- data/docs/RejectRequest.md +0 -26
- data/docs/RelationTuple.md +0 -26
- data/docs/RequestWasHandledResponse.md +0 -18
- 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/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 -75
- 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/SuccessfulSelfServiceLoginWithoutBrowser.md +0 -20
- data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +0 -22
- data/docs/TrustJwtGrantIssuerBody.md +0 -28
- data/docs/TrustedJsonWebKey.md +0 -20
- data/docs/TrustedJwtGrantIssuer.md +0 -32
- data/docs/UpdateCustomHostnameBody.md +0 -24
- data/docs/UpdateProject.md +0 -20
- data/docs/UpdateSubscriptionPayload.md +0 -20
- data/docs/UserinfoResponse.md +0 -54
- data/docs/V0alpha2Api.md +0 -3623
- data/docs/WellKnown.md +0 -70
- data/docs/WriteApi.md +0 -233
- data/lib/ory-client/api/admin_api.rb +0 -2184
- data/lib/ory-client/api/public_api.rb +0 -723
- data/lib/ory-client/api/read_api.rb +0 -449
- data/lib/ory-client/api/v0alpha2_api.rb +0 -3484
- data/lib/ory-client/api/write_api.rb +0 -228
- data/lib/ory-client/models/accept_consent_request.rb +0 -270
- data/lib/ory-client/models/accept_login_request.rb +0 -285
- 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_self_service_recovery_link_body.rb +0 -251
- data/lib/ory-client/models/admin_identity_import_credentials.rb +0 -228
- 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/completed_request.rb +0 -225
- data/lib/ory-client/models/consent_request.rb +0 -345
- data/lib/ory-client/models/consent_request_session.rb +0 -232
- 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/flush_inactive_o_auth2_tokens_request.rb +0 -220
- data/lib/ory-client/models/flush_login_consent_request.rb +0 -220
- data/lib/ory-client/models/get_check_response.rb +0 -226
- data/lib/ory-client/models/get_relation_tuples_response.rb +0 -231
- 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 -255
- data/lib/ory-client/models/json_web_key_set_generator_request.rb +0 -255
- data/lib/ory-client/models/login_request.rb +0 -335
- data/lib/ory-client/models/logout_request.rb +0 -269
- data/lib/ory-client/models/o_auth2_token_introspection.rb +0 -360
- data/lib/ory-client/models/oauth2_token_response.rb +0 -265
- data/lib/ory-client/models/oauth_token_response.rb +0 -271
- data/lib/ory-client/models/open_id_connect_context.rb +0 -266
- data/lib/ory-client/models/patch_delta.rb +0 -262
- data/lib/ory-client/models/patch_document.rb +0 -261
- data/lib/ory-client/models/previous_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/recovery_address.rb +0 -272
- data/lib/ory-client/models/refresh_token_hook_request.rb +0 -254
- data/lib/ory-client/models/refresh_token_hook_response.rb +0 -219
- data/lib/ory-client/models/reject_request.rb +0 -260
- data/lib/ory-client/models/relation_tuple.rb +0 -274
- data/lib/ory-client/models/request_was_handled_response.rb +0 -225
- 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 -253
- data/lib/ory-client/models/self_service_login_flow.rb +0 -357
- data/lib/ory-client/models/self_service_logout_url.rb +0 -240
- data/lib/ory-client/models/self_service_recovery_flow.rb +0 -333
- 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 -317
- data/lib/ory-client/models/self_service_settings_flow.rb +0 -347
- data/lib/ory-client/models/self_service_settings_flow_state.rb +0 -37
- data/lib/ory-client/models/self_service_verification_flow.rb +0 -318
- 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 -53
- 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_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/trust_jwt_grant_issuer_body.rb +0 -291
- data/lib/ory-client/models/trusted_json_web_key.rb +0 -230
- data/lib/ory-client/models/trusted_jwt_grant_issuer.rb +0 -290
- data/lib/ory-client/models/update_custom_hostname_body.rb +0 -252
- data/lib/ory-client/models/update_project.rb +0 -239
- data/lib/ory-client/models/update_subscription_payload.rb +0 -233
- data/lib/ory-client/models/userinfo_response.rb +0 -401
- data/lib/ory-client/models/well_known.rb +0 -538
- data/spec/api/admin_api_spec.rb +0 -442
- data/spec/api/public_api_spec.rb +0 -167
- data/spec/api/read_api_spec.rb +0 -124
- data/spec/api/v0alpha2_api_spec.rb +0 -695
- data/spec/api/write_api_spec.rb +0 -77
- data/spec/models/accept_consent_request_spec.rb +0 -64
- data/spec/models/accept_login_request_spec.rb +0 -70
- 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_self_service_recovery_link_body_spec.rb +0 -40
- data/spec/models/admin_identity_import_credentials_spec.rb +0 -40
- data/spec/models/admin_update_identity_body_spec.rb +0 -64
- data/spec/models/cname_settings_spec.rb +0 -82
- data/spec/models/completed_request_spec.rb +0 -34
- data/spec/models/consent_request_session_spec.rb +0 -40
- data/spec/models/consent_request_spec.rb +0 -106
- 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/flush_inactive_o_auth2_tokens_request_spec.rb +0 -34
- data/spec/models/flush_login_consent_request_spec.rb +0 -34
- data/spec/models/get_check_response_spec.rb +0 -34
- data/spec/models/get_relation_tuples_response_spec.rb +0 -40
- 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 -52
- data/spec/models/json_web_key_set_generator_request_spec.rb +0 -46
- data/spec/models/login_request_spec.rb +0 -82
- data/spec/models/logout_request_spec.rb +0 -64
- data/spec/models/o_auth2_token_introspection_spec.rb +0 -112
- data/spec/models/oauth2_token_response_spec.rb +0 -64
- data/spec/models/oauth_token_response_spec.rb +0 -64
- data/spec/models/open_id_connect_context_spec.rb +0 -58
- data/spec/models/patch_delta_spec.rb +0 -44
- data/spec/models/patch_document_spec.rb +0 -52
- data/spec/models/previous_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/recovery_address_spec.rb +0 -58
- data/spec/models/refresh_token_hook_request_spec.rb +0 -52
- data/spec/models/refresh_token_hook_response_spec.rb +0 -34
- data/spec/models/reject_request_spec.rb +0 -58
- data/spec/models/relation_tuple_spec.rb +0 -58
- data/spec/models/request_was_handled_response_spec.rb +0 -34
- 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_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_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_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/trust_jwt_grant_issuer_body_spec.rb +0 -64
- data/spec/models/trusted_json_web_key_spec.rb +0 -40
- data/spec/models/trusted_jwt_grant_issuer_spec.rb +0 -76
- data/spec/models/update_custom_hostname_body_spec.rb +0 -52
- data/spec/models/update_project_spec.rb +0 -40
- data/spec/models/update_subscription_payload_spec.rb +0 -40
- data/spec/models/userinfo_response_spec.rb +0 -142
- data/spec/models/well_known_spec.rb +0 -190
- 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/psych-4.0.5.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/extensions/x86_64-linux/2.5.0/psych-4.0.5/gem_make.out +0 -41
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.5/psych.so +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/psych-4.0.5/ext/psych/Makefile +0 -271
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/lib/psych/versions.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/lib/psych.so +0 -0
- 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/psych-4.0.5.gemspec +0 -38
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +0 -43
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +0 -63
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.1.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.1.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.1.gemspec +0 -39
@@ -0,0 +1,1926 @@
|
|
1
|
+
=begin
|
2
|
+
#Ory APIs
|
3
|
+
|
4
|
+
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1.0.0-alpha.0
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module OryClient
|
16
|
+
class OAuth2Api
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Accept OAuth 2.0 Consent Request
|
23
|
+
# 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.
|
24
|
+
# @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
|
27
|
+
# @return [OAuth2RedirectTo]
|
28
|
+
def accept_o_auth2_consent_request(consent_challenge, opts = {})
|
29
|
+
data, _status_code, _headers = accept_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Accept OAuth 2.0 Consent Request
|
34
|
+
# 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.
|
35
|
+
# @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
|
38
|
+
# @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
|
39
|
+
def accept_o_auth2_consent_request_with_http_info(consent_challenge, opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.accept_o_auth2_consent_request ...'
|
42
|
+
end
|
43
|
+
# verify the required parameter 'consent_challenge' is set
|
44
|
+
if @api_client.config.client_side_validation && consent_challenge.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'consent_challenge' when calling OAuth2Api.accept_o_auth2_consent_request"
|
46
|
+
end
|
47
|
+
# resource path
|
48
|
+
local_var_path = '/admin/oauth2/auth/requests/consent/accept'
|
49
|
+
|
50
|
+
# query parameters
|
51
|
+
query_params = opts[:query_params] || {}
|
52
|
+
query_params[:'consent_challenge'] = consent_challenge
|
53
|
+
|
54
|
+
# header parameters
|
55
|
+
header_params = opts[:header_params] || {}
|
56
|
+
# HTTP header 'Accept' (if needed)
|
57
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
58
|
+
# HTTP header 'Content-Type'
|
59
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
60
|
+
if !content_type.nil?
|
61
|
+
header_params['Content-Type'] = content_type
|
62
|
+
end
|
63
|
+
|
64
|
+
# form parameters
|
65
|
+
form_params = opts[:form_params] || {}
|
66
|
+
|
67
|
+
# http body (model)
|
68
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'accept_o_auth2_consent_request'])
|
69
|
+
|
70
|
+
# return_type
|
71
|
+
return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
|
72
|
+
|
73
|
+
# auth_names
|
74
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
75
|
+
|
76
|
+
new_options = opts.merge(
|
77
|
+
:operation => :"OAuth2Api.accept_o_auth2_consent_request",
|
78
|
+
:header_params => header_params,
|
79
|
+
:query_params => query_params,
|
80
|
+
:form_params => form_params,
|
81
|
+
:body => post_body,
|
82
|
+
:auth_names => auth_names,
|
83
|
+
:return_type => return_type
|
84
|
+
)
|
85
|
+
|
86
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
87
|
+
if @api_client.config.debugging
|
88
|
+
@api_client.config.logger.debug "API called: OAuth2Api#accept_o_auth2_consent_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
89
|
+
end
|
90
|
+
return data, status_code, headers
|
91
|
+
end
|
92
|
+
|
93
|
+
# Accept OAuth 2.0 Login Request
|
94
|
+
# 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.
|
95
|
+
# @param login_challenge [String] OAuth 2.0 Login Request Challenge
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
|
98
|
+
# @return [OAuth2RedirectTo]
|
99
|
+
def accept_o_auth2_login_request(login_challenge, opts = {})
|
100
|
+
data, _status_code, _headers = accept_o_auth2_login_request_with_http_info(login_challenge, opts)
|
101
|
+
data
|
102
|
+
end
|
103
|
+
|
104
|
+
# Accept OAuth 2.0 Login Request
|
105
|
+
# 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.
|
106
|
+
# @param login_challenge [String] OAuth 2.0 Login Request Challenge
|
107
|
+
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
|
109
|
+
# @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
|
110
|
+
def accept_o_auth2_login_request_with_http_info(login_challenge, opts = {})
|
111
|
+
if @api_client.config.debugging
|
112
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.accept_o_auth2_login_request ...'
|
113
|
+
end
|
114
|
+
# verify the required parameter 'login_challenge' is set
|
115
|
+
if @api_client.config.client_side_validation && login_challenge.nil?
|
116
|
+
fail ArgumentError, "Missing the required parameter 'login_challenge' when calling OAuth2Api.accept_o_auth2_login_request"
|
117
|
+
end
|
118
|
+
# resource path
|
119
|
+
local_var_path = '/admin/oauth2/auth/requests/login/accept'
|
120
|
+
|
121
|
+
# query parameters
|
122
|
+
query_params = opts[:query_params] || {}
|
123
|
+
query_params[:'login_challenge'] = login_challenge
|
124
|
+
|
125
|
+
# header parameters
|
126
|
+
header_params = opts[:header_params] || {}
|
127
|
+
# HTTP header 'Accept' (if needed)
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
129
|
+
# HTTP header 'Content-Type'
|
130
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
131
|
+
if !content_type.nil?
|
132
|
+
header_params['Content-Type'] = content_type
|
133
|
+
end
|
134
|
+
|
135
|
+
# form parameters
|
136
|
+
form_params = opts[:form_params] || {}
|
137
|
+
|
138
|
+
# http body (model)
|
139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'accept_o_auth2_login_request'])
|
140
|
+
|
141
|
+
# return_type
|
142
|
+
return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
|
143
|
+
|
144
|
+
# auth_names
|
145
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
146
|
+
|
147
|
+
new_options = opts.merge(
|
148
|
+
:operation => :"OAuth2Api.accept_o_auth2_login_request",
|
149
|
+
:header_params => header_params,
|
150
|
+
:query_params => query_params,
|
151
|
+
:form_params => form_params,
|
152
|
+
:body => post_body,
|
153
|
+
:auth_names => auth_names,
|
154
|
+
:return_type => return_type
|
155
|
+
)
|
156
|
+
|
157
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
158
|
+
if @api_client.config.debugging
|
159
|
+
@api_client.config.logger.debug "API called: OAuth2Api#accept_o_auth2_login_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
160
|
+
end
|
161
|
+
return data, status_code, headers
|
162
|
+
end
|
163
|
+
|
164
|
+
# Accept OAuth 2.0 Session Logout Request
|
165
|
+
# 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.
|
166
|
+
# @param logout_challenge [String] OAuth 2.0 Logout Request Challenge
|
167
|
+
# @param [Hash] opts the optional parameters
|
168
|
+
# @return [OAuth2RedirectTo]
|
169
|
+
def accept_o_auth2_logout_request(logout_challenge, opts = {})
|
170
|
+
data, _status_code, _headers = accept_o_auth2_logout_request_with_http_info(logout_challenge, opts)
|
171
|
+
data
|
172
|
+
end
|
173
|
+
|
174
|
+
# Accept OAuth 2.0 Session Logout Request
|
175
|
+
# 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.
|
176
|
+
# @param logout_challenge [String] OAuth 2.0 Logout Request Challenge
|
177
|
+
# @param [Hash] opts the optional parameters
|
178
|
+
# @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
|
179
|
+
def accept_o_auth2_logout_request_with_http_info(logout_challenge, opts = {})
|
180
|
+
if @api_client.config.debugging
|
181
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.accept_o_auth2_logout_request ...'
|
182
|
+
end
|
183
|
+
# verify the required parameter 'logout_challenge' is set
|
184
|
+
if @api_client.config.client_side_validation && logout_challenge.nil?
|
185
|
+
fail ArgumentError, "Missing the required parameter 'logout_challenge' when calling OAuth2Api.accept_o_auth2_logout_request"
|
186
|
+
end
|
187
|
+
# resource path
|
188
|
+
local_var_path = '/admin/oauth2/auth/requests/logout/accept'
|
189
|
+
|
190
|
+
# query parameters
|
191
|
+
query_params = opts[:query_params] || {}
|
192
|
+
query_params[:'logout_challenge'] = logout_challenge
|
193
|
+
|
194
|
+
# header parameters
|
195
|
+
header_params = opts[:header_params] || {}
|
196
|
+
# HTTP header 'Accept' (if needed)
|
197
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
198
|
+
|
199
|
+
# form parameters
|
200
|
+
form_params = opts[:form_params] || {}
|
201
|
+
|
202
|
+
# http body (model)
|
203
|
+
post_body = opts[:debug_body]
|
204
|
+
|
205
|
+
# return_type
|
206
|
+
return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
|
207
|
+
|
208
|
+
# auth_names
|
209
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
210
|
+
|
211
|
+
new_options = opts.merge(
|
212
|
+
:operation => :"OAuth2Api.accept_o_auth2_logout_request",
|
213
|
+
:header_params => header_params,
|
214
|
+
:query_params => query_params,
|
215
|
+
:form_params => form_params,
|
216
|
+
:body => post_body,
|
217
|
+
:auth_names => auth_names,
|
218
|
+
:return_type => return_type
|
219
|
+
)
|
220
|
+
|
221
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
222
|
+
if @api_client.config.debugging
|
223
|
+
@api_client.config.logger.debug "API called: OAuth2Api#accept_o_auth2_logout_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
224
|
+
end
|
225
|
+
return data, status_code, headers
|
226
|
+
end
|
227
|
+
|
228
|
+
# Create OAuth 2.0 Client
|
229
|
+
# 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.
|
230
|
+
# @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
|
231
|
+
# @param [Hash] opts the optional parameters
|
232
|
+
# @return [OAuth2Client]
|
233
|
+
def create_o_auth2_client(o_auth2_client, opts = {})
|
234
|
+
data, _status_code, _headers = create_o_auth2_client_with_http_info(o_auth2_client, opts)
|
235
|
+
data
|
236
|
+
end
|
237
|
+
|
238
|
+
# Create OAuth 2.0 Client
|
239
|
+
# 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.
|
240
|
+
# @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
|
241
|
+
# @param [Hash] opts the optional parameters
|
242
|
+
# @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
|
243
|
+
def create_o_auth2_client_with_http_info(o_auth2_client, opts = {})
|
244
|
+
if @api_client.config.debugging
|
245
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.create_o_auth2_client ...'
|
246
|
+
end
|
247
|
+
# verify the required parameter 'o_auth2_client' is set
|
248
|
+
if @api_client.config.client_side_validation && o_auth2_client.nil?
|
249
|
+
fail ArgumentError, "Missing the required parameter 'o_auth2_client' when calling OAuth2Api.create_o_auth2_client"
|
250
|
+
end
|
251
|
+
# resource path
|
252
|
+
local_var_path = '/admin/clients'
|
253
|
+
|
254
|
+
# query parameters
|
255
|
+
query_params = opts[:query_params] || {}
|
256
|
+
|
257
|
+
# header parameters
|
258
|
+
header_params = opts[:header_params] || {}
|
259
|
+
# HTTP header 'Accept' (if needed)
|
260
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
261
|
+
# HTTP header 'Content-Type'
|
262
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
263
|
+
if !content_type.nil?
|
264
|
+
header_params['Content-Type'] = content_type
|
265
|
+
end
|
266
|
+
|
267
|
+
# form parameters
|
268
|
+
form_params = opts[:form_params] || {}
|
269
|
+
|
270
|
+
# http body (model)
|
271
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(o_auth2_client)
|
272
|
+
|
273
|
+
# return_type
|
274
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
275
|
+
|
276
|
+
# auth_names
|
277
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
278
|
+
|
279
|
+
new_options = opts.merge(
|
280
|
+
:operation => :"OAuth2Api.create_o_auth2_client",
|
281
|
+
:header_params => header_params,
|
282
|
+
:query_params => query_params,
|
283
|
+
:form_params => form_params,
|
284
|
+
:body => post_body,
|
285
|
+
:auth_names => auth_names,
|
286
|
+
:return_type => return_type
|
287
|
+
)
|
288
|
+
|
289
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
290
|
+
if @api_client.config.debugging
|
291
|
+
@api_client.config.logger.debug "API called: OAuth2Api#create_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
292
|
+
end
|
293
|
+
return data, status_code, headers
|
294
|
+
end
|
295
|
+
|
296
|
+
# Delete OAuth 2.0 Client
|
297
|
+
# 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.
|
298
|
+
# @param id [String] The id of the OAuth 2.0 Client.
|
299
|
+
# @param [Hash] opts the optional parameters
|
300
|
+
# @return [nil]
|
301
|
+
def delete_o_auth2_client(id, opts = {})
|
302
|
+
delete_o_auth2_client_with_http_info(id, opts)
|
303
|
+
nil
|
304
|
+
end
|
305
|
+
|
306
|
+
# Delete OAuth 2.0 Client
|
307
|
+
# 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.
|
308
|
+
# @param id [String] The id of the OAuth 2.0 Client.
|
309
|
+
# @param [Hash] opts the optional parameters
|
310
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
311
|
+
def delete_o_auth2_client_with_http_info(id, opts = {})
|
312
|
+
if @api_client.config.debugging
|
313
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.delete_o_auth2_client ...'
|
314
|
+
end
|
315
|
+
# verify the required parameter 'id' is set
|
316
|
+
if @api_client.config.client_side_validation && id.nil?
|
317
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.delete_o_auth2_client"
|
318
|
+
end
|
319
|
+
# resource path
|
320
|
+
local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
321
|
+
|
322
|
+
# query parameters
|
323
|
+
query_params = opts[:query_params] || {}
|
324
|
+
|
325
|
+
# header parameters
|
326
|
+
header_params = opts[:header_params] || {}
|
327
|
+
# HTTP header 'Accept' (if needed)
|
328
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
329
|
+
|
330
|
+
# form parameters
|
331
|
+
form_params = opts[:form_params] || {}
|
332
|
+
|
333
|
+
# http body (model)
|
334
|
+
post_body = opts[:debug_body]
|
335
|
+
|
336
|
+
# return_type
|
337
|
+
return_type = opts[:debug_return_type]
|
338
|
+
|
339
|
+
# auth_names
|
340
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
341
|
+
|
342
|
+
new_options = opts.merge(
|
343
|
+
:operation => :"OAuth2Api.delete_o_auth2_client",
|
344
|
+
:header_params => header_params,
|
345
|
+
:query_params => query_params,
|
346
|
+
:form_params => form_params,
|
347
|
+
:body => post_body,
|
348
|
+
:auth_names => auth_names,
|
349
|
+
:return_type => return_type
|
350
|
+
)
|
351
|
+
|
352
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
353
|
+
if @api_client.config.debugging
|
354
|
+
@api_client.config.logger.debug "API called: OAuth2Api#delete_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
355
|
+
end
|
356
|
+
return data, status_code, headers
|
357
|
+
end
|
358
|
+
|
359
|
+
# Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
|
360
|
+
# This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
|
361
|
+
# @param client_id [String] OAuth 2.0 Client ID
|
362
|
+
# @param [Hash] opts the optional parameters
|
363
|
+
# @return [nil]
|
364
|
+
def delete_o_auth2_token(client_id, opts = {})
|
365
|
+
delete_o_auth2_token_with_http_info(client_id, opts)
|
366
|
+
nil
|
367
|
+
end
|
368
|
+
|
369
|
+
# Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
|
370
|
+
# This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
|
371
|
+
# @param client_id [String] OAuth 2.0 Client ID
|
372
|
+
# @param [Hash] opts the optional parameters
|
373
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
374
|
+
def delete_o_auth2_token_with_http_info(client_id, opts = {})
|
375
|
+
if @api_client.config.debugging
|
376
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.delete_o_auth2_token ...'
|
377
|
+
end
|
378
|
+
# verify the required parameter 'client_id' is set
|
379
|
+
if @api_client.config.client_side_validation && client_id.nil?
|
380
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling OAuth2Api.delete_o_auth2_token"
|
381
|
+
end
|
382
|
+
# resource path
|
383
|
+
local_var_path = '/admin/oauth2/tokens'
|
384
|
+
|
385
|
+
# query parameters
|
386
|
+
query_params = opts[:query_params] || {}
|
387
|
+
query_params[:'client_id'] = client_id
|
388
|
+
|
389
|
+
# header parameters
|
390
|
+
header_params = opts[:header_params] || {}
|
391
|
+
# HTTP header 'Accept' (if needed)
|
392
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
393
|
+
|
394
|
+
# form parameters
|
395
|
+
form_params = opts[:form_params] || {}
|
396
|
+
|
397
|
+
# http body (model)
|
398
|
+
post_body = opts[:debug_body]
|
399
|
+
|
400
|
+
# return_type
|
401
|
+
return_type = opts[:debug_return_type]
|
402
|
+
|
403
|
+
# auth_names
|
404
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
405
|
+
|
406
|
+
new_options = opts.merge(
|
407
|
+
:operation => :"OAuth2Api.delete_o_auth2_token",
|
408
|
+
:header_params => header_params,
|
409
|
+
:query_params => query_params,
|
410
|
+
:form_params => form_params,
|
411
|
+
:body => post_body,
|
412
|
+
:auth_names => auth_names,
|
413
|
+
:return_type => return_type
|
414
|
+
)
|
415
|
+
|
416
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
417
|
+
if @api_client.config.debugging
|
418
|
+
@api_client.config.logger.debug "API called: OAuth2Api#delete_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
419
|
+
end
|
420
|
+
return data, status_code, headers
|
421
|
+
end
|
422
|
+
|
423
|
+
# Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
|
424
|
+
# 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.
|
425
|
+
# @param id [String] The id of the desired grant
|
426
|
+
# @param [Hash] opts the optional parameters
|
427
|
+
# @return [nil]
|
428
|
+
def delete_trusted_o_auth2_jwt_grant_issuer(id, opts = {})
|
429
|
+
delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts)
|
430
|
+
nil
|
431
|
+
end
|
432
|
+
|
433
|
+
# Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
|
434
|
+
# 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.
|
435
|
+
# @param id [String] The id of the desired grant
|
436
|
+
# @param [Hash] opts the optional parameters
|
437
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
438
|
+
def delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts = {})
|
439
|
+
if @api_client.config.debugging
|
440
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.delete_trusted_o_auth2_jwt_grant_issuer ...'
|
441
|
+
end
|
442
|
+
# verify the required parameter 'id' is set
|
443
|
+
if @api_client.config.client_side_validation && id.nil?
|
444
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.delete_trusted_o_auth2_jwt_grant_issuer"
|
445
|
+
end
|
446
|
+
# resource path
|
447
|
+
local_var_path = '/admin/trust/grants/jwt-bearer/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
448
|
+
|
449
|
+
# query parameters
|
450
|
+
query_params = opts[:query_params] || {}
|
451
|
+
|
452
|
+
# header parameters
|
453
|
+
header_params = opts[:header_params] || {}
|
454
|
+
# HTTP header 'Accept' (if needed)
|
455
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
456
|
+
|
457
|
+
# form parameters
|
458
|
+
form_params = opts[:form_params] || {}
|
459
|
+
|
460
|
+
# http body (model)
|
461
|
+
post_body = opts[:debug_body]
|
462
|
+
|
463
|
+
# return_type
|
464
|
+
return_type = opts[:debug_return_type]
|
465
|
+
|
466
|
+
# auth_names
|
467
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
468
|
+
|
469
|
+
new_options = opts.merge(
|
470
|
+
:operation => :"OAuth2Api.delete_trusted_o_auth2_jwt_grant_issuer",
|
471
|
+
:header_params => header_params,
|
472
|
+
:query_params => query_params,
|
473
|
+
:form_params => form_params,
|
474
|
+
:body => post_body,
|
475
|
+
:auth_names => auth_names,
|
476
|
+
:return_type => return_type
|
477
|
+
)
|
478
|
+
|
479
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
480
|
+
if @api_client.config.debugging
|
481
|
+
@api_client.config.logger.debug "API called: OAuth2Api#delete_trusted_o_auth2_jwt_grant_issuer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
482
|
+
end
|
483
|
+
return data, status_code, headers
|
484
|
+
end
|
485
|
+
|
486
|
+
# Get an OAuth 2.0 Client
|
487
|
+
# 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.
|
488
|
+
# @param id [String] The id of the OAuth 2.0 Client.
|
489
|
+
# @param [Hash] opts the optional parameters
|
490
|
+
# @return [OAuth2Client]
|
491
|
+
def get_o_auth2_client(id, opts = {})
|
492
|
+
data, _status_code, _headers = get_o_auth2_client_with_http_info(id, opts)
|
493
|
+
data
|
494
|
+
end
|
495
|
+
|
496
|
+
# Get an OAuth 2.0 Client
|
497
|
+
# 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.
|
498
|
+
# @param id [String] The id of the OAuth 2.0 Client.
|
499
|
+
# @param [Hash] opts the optional parameters
|
500
|
+
# @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
|
501
|
+
def get_o_auth2_client_with_http_info(id, opts = {})
|
502
|
+
if @api_client.config.debugging
|
503
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_client ...'
|
504
|
+
end
|
505
|
+
# verify the required parameter 'id' is set
|
506
|
+
if @api_client.config.client_side_validation && id.nil?
|
507
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.get_o_auth2_client"
|
508
|
+
end
|
509
|
+
# resource path
|
510
|
+
local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
511
|
+
|
512
|
+
# query parameters
|
513
|
+
query_params = opts[:query_params] || {}
|
514
|
+
|
515
|
+
# header parameters
|
516
|
+
header_params = opts[:header_params] || {}
|
517
|
+
# HTTP header 'Accept' (if needed)
|
518
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
519
|
+
|
520
|
+
# form parameters
|
521
|
+
form_params = opts[:form_params] || {}
|
522
|
+
|
523
|
+
# http body (model)
|
524
|
+
post_body = opts[:debug_body]
|
525
|
+
|
526
|
+
# return_type
|
527
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
528
|
+
|
529
|
+
# auth_names
|
530
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
531
|
+
|
532
|
+
new_options = opts.merge(
|
533
|
+
:operation => :"OAuth2Api.get_o_auth2_client",
|
534
|
+
:header_params => header_params,
|
535
|
+
:query_params => query_params,
|
536
|
+
:form_params => form_params,
|
537
|
+
:body => post_body,
|
538
|
+
:auth_names => auth_names,
|
539
|
+
:return_type => return_type
|
540
|
+
)
|
541
|
+
|
542
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
543
|
+
if @api_client.config.debugging
|
544
|
+
@api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
545
|
+
end
|
546
|
+
return data, status_code, headers
|
547
|
+
end
|
548
|
+
|
549
|
+
# Get OAuth 2.0 Consent Request
|
550
|
+
# 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.
|
551
|
+
# @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
|
552
|
+
# @param [Hash] opts the optional parameters
|
553
|
+
# @return [OAuth2ConsentRequest]
|
554
|
+
def get_o_auth2_consent_request(consent_challenge, opts = {})
|
555
|
+
data, _status_code, _headers = get_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
556
|
+
data
|
557
|
+
end
|
558
|
+
|
559
|
+
# Get OAuth 2.0 Consent Request
|
560
|
+
# 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.
|
561
|
+
# @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
|
562
|
+
# @param [Hash] opts the optional parameters
|
563
|
+
# @return [Array<(OAuth2ConsentRequest, Integer, Hash)>] OAuth2ConsentRequest data, response status code and response headers
|
564
|
+
def get_o_auth2_consent_request_with_http_info(consent_challenge, opts = {})
|
565
|
+
if @api_client.config.debugging
|
566
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_consent_request ...'
|
567
|
+
end
|
568
|
+
# verify the required parameter 'consent_challenge' is set
|
569
|
+
if @api_client.config.client_side_validation && consent_challenge.nil?
|
570
|
+
fail ArgumentError, "Missing the required parameter 'consent_challenge' when calling OAuth2Api.get_o_auth2_consent_request"
|
571
|
+
end
|
572
|
+
# resource path
|
573
|
+
local_var_path = '/admin/oauth2/auth/requests/consent'
|
574
|
+
|
575
|
+
# query parameters
|
576
|
+
query_params = opts[:query_params] || {}
|
577
|
+
query_params[:'consent_challenge'] = consent_challenge
|
578
|
+
|
579
|
+
# header parameters
|
580
|
+
header_params = opts[:header_params] || {}
|
581
|
+
# HTTP header 'Accept' (if needed)
|
582
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
583
|
+
|
584
|
+
# form parameters
|
585
|
+
form_params = opts[:form_params] || {}
|
586
|
+
|
587
|
+
# http body (model)
|
588
|
+
post_body = opts[:debug_body]
|
589
|
+
|
590
|
+
# return_type
|
591
|
+
return_type = opts[:debug_return_type] || 'OAuth2ConsentRequest'
|
592
|
+
|
593
|
+
# auth_names
|
594
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
595
|
+
|
596
|
+
new_options = opts.merge(
|
597
|
+
:operation => :"OAuth2Api.get_o_auth2_consent_request",
|
598
|
+
:header_params => header_params,
|
599
|
+
:query_params => query_params,
|
600
|
+
:form_params => form_params,
|
601
|
+
:body => post_body,
|
602
|
+
:auth_names => auth_names,
|
603
|
+
:return_type => return_type
|
604
|
+
)
|
605
|
+
|
606
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
607
|
+
if @api_client.config.debugging
|
608
|
+
@api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_consent_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
609
|
+
end
|
610
|
+
return data, status_code, headers
|
611
|
+
end
|
612
|
+
|
613
|
+
# Get OAuth 2.0 Login Request
|
614
|
+
# 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.
|
615
|
+
# @param login_challenge [String] OAuth 2.0 Login Request Challenge
|
616
|
+
# @param [Hash] opts the optional parameters
|
617
|
+
# @return [OAuth2LoginRequest]
|
618
|
+
def get_o_auth2_login_request(login_challenge, opts = {})
|
619
|
+
data, _status_code, _headers = get_o_auth2_login_request_with_http_info(login_challenge, opts)
|
620
|
+
data
|
621
|
+
end
|
622
|
+
|
623
|
+
# Get OAuth 2.0 Login Request
|
624
|
+
# 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.
|
625
|
+
# @param login_challenge [String] OAuth 2.0 Login Request Challenge
|
626
|
+
# @param [Hash] opts the optional parameters
|
627
|
+
# @return [Array<(OAuth2LoginRequest, Integer, Hash)>] OAuth2LoginRequest data, response status code and response headers
|
628
|
+
def get_o_auth2_login_request_with_http_info(login_challenge, opts = {})
|
629
|
+
if @api_client.config.debugging
|
630
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_login_request ...'
|
631
|
+
end
|
632
|
+
# verify the required parameter 'login_challenge' is set
|
633
|
+
if @api_client.config.client_side_validation && login_challenge.nil?
|
634
|
+
fail ArgumentError, "Missing the required parameter 'login_challenge' when calling OAuth2Api.get_o_auth2_login_request"
|
635
|
+
end
|
636
|
+
# resource path
|
637
|
+
local_var_path = '/admin/oauth2/auth/requests/login'
|
638
|
+
|
639
|
+
# query parameters
|
640
|
+
query_params = opts[:query_params] || {}
|
641
|
+
query_params[:'login_challenge'] = login_challenge
|
642
|
+
|
643
|
+
# header parameters
|
644
|
+
header_params = opts[:header_params] || {}
|
645
|
+
# HTTP header 'Accept' (if needed)
|
646
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
647
|
+
|
648
|
+
# form parameters
|
649
|
+
form_params = opts[:form_params] || {}
|
650
|
+
|
651
|
+
# http body (model)
|
652
|
+
post_body = opts[:debug_body]
|
653
|
+
|
654
|
+
# return_type
|
655
|
+
return_type = opts[:debug_return_type] || 'OAuth2LoginRequest'
|
656
|
+
|
657
|
+
# auth_names
|
658
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
659
|
+
|
660
|
+
new_options = opts.merge(
|
661
|
+
:operation => :"OAuth2Api.get_o_auth2_login_request",
|
662
|
+
:header_params => header_params,
|
663
|
+
:query_params => query_params,
|
664
|
+
:form_params => form_params,
|
665
|
+
:body => post_body,
|
666
|
+
:auth_names => auth_names,
|
667
|
+
:return_type => return_type
|
668
|
+
)
|
669
|
+
|
670
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
671
|
+
if @api_client.config.debugging
|
672
|
+
@api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_login_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
673
|
+
end
|
674
|
+
return data, status_code, headers
|
675
|
+
end
|
676
|
+
|
677
|
+
# Get OAuth 2.0 Session Logout Request
|
678
|
+
# Use this endpoint to fetch an Ory OAuth 2.0 logout request.
|
679
|
+
# @param logout_challenge [String]
|
680
|
+
# @param [Hash] opts the optional parameters
|
681
|
+
# @return [OAuth2LogoutRequest]
|
682
|
+
def get_o_auth2_logout_request(logout_challenge, opts = {})
|
683
|
+
data, _status_code, _headers = get_o_auth2_logout_request_with_http_info(logout_challenge, opts)
|
684
|
+
data
|
685
|
+
end
|
686
|
+
|
687
|
+
# Get OAuth 2.0 Session Logout Request
|
688
|
+
# Use this endpoint to fetch an Ory OAuth 2.0 logout request.
|
689
|
+
# @param logout_challenge [String]
|
690
|
+
# @param [Hash] opts the optional parameters
|
691
|
+
# @return [Array<(OAuth2LogoutRequest, Integer, Hash)>] OAuth2LogoutRequest data, response status code and response headers
|
692
|
+
def get_o_auth2_logout_request_with_http_info(logout_challenge, opts = {})
|
693
|
+
if @api_client.config.debugging
|
694
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_logout_request ...'
|
695
|
+
end
|
696
|
+
# verify the required parameter 'logout_challenge' is set
|
697
|
+
if @api_client.config.client_side_validation && logout_challenge.nil?
|
698
|
+
fail ArgumentError, "Missing the required parameter 'logout_challenge' when calling OAuth2Api.get_o_auth2_logout_request"
|
699
|
+
end
|
700
|
+
# resource path
|
701
|
+
local_var_path = '/admin/oauth2/auth/requests/logout'
|
702
|
+
|
703
|
+
# query parameters
|
704
|
+
query_params = opts[:query_params] || {}
|
705
|
+
query_params[:'logout_challenge'] = logout_challenge
|
706
|
+
|
707
|
+
# header parameters
|
708
|
+
header_params = opts[:header_params] || {}
|
709
|
+
# HTTP header 'Accept' (if needed)
|
710
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
711
|
+
|
712
|
+
# form parameters
|
713
|
+
form_params = opts[:form_params] || {}
|
714
|
+
|
715
|
+
# http body (model)
|
716
|
+
post_body = opts[:debug_body]
|
717
|
+
|
718
|
+
# return_type
|
719
|
+
return_type = opts[:debug_return_type] || 'OAuth2LogoutRequest'
|
720
|
+
|
721
|
+
# auth_names
|
722
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
723
|
+
|
724
|
+
new_options = opts.merge(
|
725
|
+
:operation => :"OAuth2Api.get_o_auth2_logout_request",
|
726
|
+
:header_params => header_params,
|
727
|
+
:query_params => query_params,
|
728
|
+
:form_params => form_params,
|
729
|
+
:body => post_body,
|
730
|
+
:auth_names => auth_names,
|
731
|
+
:return_type => return_type
|
732
|
+
)
|
733
|
+
|
734
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
735
|
+
if @api_client.config.debugging
|
736
|
+
@api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_logout_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
737
|
+
end
|
738
|
+
return data, status_code, headers
|
739
|
+
end
|
740
|
+
|
741
|
+
# Get Trusted OAuth2 JWT Bearer Grant Type Issuer
|
742
|
+
# Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
|
743
|
+
# @param id [String] The id of the desired grant
|
744
|
+
# @param [Hash] opts the optional parameters
|
745
|
+
# @return [TrustedOAuth2JwtGrantIssuer]
|
746
|
+
def get_trusted_o_auth2_jwt_grant_issuer(id, opts = {})
|
747
|
+
data, _status_code, _headers = get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts)
|
748
|
+
data
|
749
|
+
end
|
750
|
+
|
751
|
+
# Get Trusted OAuth2 JWT Bearer Grant Type Issuer
|
752
|
+
# Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
|
753
|
+
# @param id [String] The id of the desired grant
|
754
|
+
# @param [Hash] opts the optional parameters
|
755
|
+
# @return [Array<(TrustedOAuth2JwtGrantIssuer, Integer, Hash)>] TrustedOAuth2JwtGrantIssuer data, response status code and response headers
|
756
|
+
def get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts = {})
|
757
|
+
if @api_client.config.debugging
|
758
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.get_trusted_o_auth2_jwt_grant_issuer ...'
|
759
|
+
end
|
760
|
+
# verify the required parameter 'id' is set
|
761
|
+
if @api_client.config.client_side_validation && id.nil?
|
762
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.get_trusted_o_auth2_jwt_grant_issuer"
|
763
|
+
end
|
764
|
+
# resource path
|
765
|
+
local_var_path = '/admin/trust/grants/jwt-bearer/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
766
|
+
|
767
|
+
# query parameters
|
768
|
+
query_params = opts[:query_params] || {}
|
769
|
+
|
770
|
+
# header parameters
|
771
|
+
header_params = opts[:header_params] || {}
|
772
|
+
# HTTP header 'Accept' (if needed)
|
773
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
774
|
+
|
775
|
+
# form parameters
|
776
|
+
form_params = opts[:form_params] || {}
|
777
|
+
|
778
|
+
# http body (model)
|
779
|
+
post_body = opts[:debug_body]
|
780
|
+
|
781
|
+
# return_type
|
782
|
+
return_type = opts[:debug_return_type] || 'TrustedOAuth2JwtGrantIssuer'
|
783
|
+
|
784
|
+
# auth_names
|
785
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
786
|
+
|
787
|
+
new_options = opts.merge(
|
788
|
+
:operation => :"OAuth2Api.get_trusted_o_auth2_jwt_grant_issuer",
|
789
|
+
:header_params => header_params,
|
790
|
+
:query_params => query_params,
|
791
|
+
:form_params => form_params,
|
792
|
+
:body => post_body,
|
793
|
+
:auth_names => auth_names,
|
794
|
+
:return_type => return_type
|
795
|
+
)
|
796
|
+
|
797
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
798
|
+
if @api_client.config.debugging
|
799
|
+
@api_client.config.logger.debug "API called: OAuth2Api#get_trusted_o_auth2_jwt_grant_issuer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
800
|
+
end
|
801
|
+
return data, status_code, headers
|
802
|
+
end
|
803
|
+
|
804
|
+
# Introspect OAuth2 Access and Refresh Tokens
|
805
|
+
# 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.
|
806
|
+
# @param 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.
|
807
|
+
# @param [Hash] opts the optional parameters
|
808
|
+
# @option opts [String] :scope An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false.
|
809
|
+
# @return [IntrospectedOAuth2Token]
|
810
|
+
def introspect_o_auth2_token(token, opts = {})
|
811
|
+
data, _status_code, _headers = introspect_o_auth2_token_with_http_info(token, opts)
|
812
|
+
data
|
813
|
+
end
|
814
|
+
|
815
|
+
# Introspect OAuth2 Access and Refresh Tokens
|
816
|
+
# 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.
|
817
|
+
# @param 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.
|
818
|
+
# @param [Hash] opts the optional parameters
|
819
|
+
# @option opts [String] :scope An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false.
|
820
|
+
# @return [Array<(IntrospectedOAuth2Token, Integer, Hash)>] IntrospectedOAuth2Token data, response status code and response headers
|
821
|
+
def introspect_o_auth2_token_with_http_info(token, opts = {})
|
822
|
+
if @api_client.config.debugging
|
823
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.introspect_o_auth2_token ...'
|
824
|
+
end
|
825
|
+
# verify the required parameter 'token' is set
|
826
|
+
if @api_client.config.client_side_validation && token.nil?
|
827
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling OAuth2Api.introspect_o_auth2_token"
|
828
|
+
end
|
829
|
+
# resource path
|
830
|
+
local_var_path = '/admin/oauth2/introspect'
|
831
|
+
|
832
|
+
# query parameters
|
833
|
+
query_params = opts[:query_params] || {}
|
834
|
+
|
835
|
+
# header parameters
|
836
|
+
header_params = opts[:header_params] || {}
|
837
|
+
# HTTP header 'Accept' (if needed)
|
838
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
839
|
+
# HTTP header 'Content-Type'
|
840
|
+
content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
841
|
+
if !content_type.nil?
|
842
|
+
header_params['Content-Type'] = content_type
|
843
|
+
end
|
844
|
+
|
845
|
+
# form parameters
|
846
|
+
form_params = opts[:form_params] || {}
|
847
|
+
form_params['token'] = token
|
848
|
+
form_params['scope'] = opts[:'scope'] if !opts[:'scope'].nil?
|
849
|
+
|
850
|
+
# http body (model)
|
851
|
+
post_body = opts[:debug_body]
|
852
|
+
|
853
|
+
# return_type
|
854
|
+
return_type = opts[:debug_return_type] || 'IntrospectedOAuth2Token'
|
855
|
+
|
856
|
+
# auth_names
|
857
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
858
|
+
|
859
|
+
new_options = opts.merge(
|
860
|
+
:operation => :"OAuth2Api.introspect_o_auth2_token",
|
861
|
+
:header_params => header_params,
|
862
|
+
:query_params => query_params,
|
863
|
+
:form_params => form_params,
|
864
|
+
:body => post_body,
|
865
|
+
:auth_names => auth_names,
|
866
|
+
:return_type => return_type
|
867
|
+
)
|
868
|
+
|
869
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
870
|
+
if @api_client.config.debugging
|
871
|
+
@api_client.config.logger.debug "API called: OAuth2Api#introspect_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
872
|
+
end
|
873
|
+
return data, status_code, headers
|
874
|
+
end
|
875
|
+
|
876
|
+
# List OAuth 2.0 Clients
|
877
|
+
# This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.
|
878
|
+
# @param [Hash] opts the optional parameters
|
879
|
+
# @option opts [Integer] :page_size Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to 250)
|
880
|
+
# @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to '1')
|
881
|
+
# @option opts [String] :client_name The name of the clients to filter by.
|
882
|
+
# @option opts [String] :owner The owner of the clients to filter by.
|
883
|
+
# @return [Array<OAuth2Client>]
|
884
|
+
def list_o_auth2_clients(opts = {})
|
885
|
+
data, _status_code, _headers = list_o_auth2_clients_with_http_info(opts)
|
886
|
+
data
|
887
|
+
end
|
888
|
+
|
889
|
+
# List OAuth 2.0 Clients
|
890
|
+
# This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.
|
891
|
+
# @param [Hash] opts the optional parameters
|
892
|
+
# @option opts [Integer] :page_size Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to 250)
|
893
|
+
# @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to '1')
|
894
|
+
# @option opts [String] :client_name The name of the clients to filter by.
|
895
|
+
# @option opts [String] :owner The owner of the clients to filter by.
|
896
|
+
# @return [Array<(Array<OAuth2Client>, Integer, Hash)>] Array<OAuth2Client> data, response status code and response headers
|
897
|
+
def list_o_auth2_clients_with_http_info(opts = {})
|
898
|
+
if @api_client.config.debugging
|
899
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.list_o_auth2_clients ...'
|
900
|
+
end
|
901
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 500
|
902
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_clients, must be smaller than or equal to 500.'
|
903
|
+
end
|
904
|
+
|
905
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
906
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_clients, must be greater than or equal to 1.'
|
907
|
+
end
|
908
|
+
|
909
|
+
# resource path
|
910
|
+
local_var_path = '/admin/clients'
|
911
|
+
|
912
|
+
# query parameters
|
913
|
+
query_params = opts[:query_params] || {}
|
914
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
915
|
+
query_params[:'page_token'] = opts[:'page_token'] if !opts[:'page_token'].nil?
|
916
|
+
query_params[:'client_name'] = opts[:'client_name'] if !opts[:'client_name'].nil?
|
917
|
+
query_params[:'owner'] = opts[:'owner'] if !opts[:'owner'].nil?
|
918
|
+
|
919
|
+
# header parameters
|
920
|
+
header_params = opts[:header_params] || {}
|
921
|
+
# HTTP header 'Accept' (if needed)
|
922
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
923
|
+
|
924
|
+
# form parameters
|
925
|
+
form_params = opts[:form_params] || {}
|
926
|
+
|
927
|
+
# http body (model)
|
928
|
+
post_body = opts[:debug_body]
|
929
|
+
|
930
|
+
# return_type
|
931
|
+
return_type = opts[:debug_return_type] || 'Array<OAuth2Client>'
|
932
|
+
|
933
|
+
# auth_names
|
934
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
935
|
+
|
936
|
+
new_options = opts.merge(
|
937
|
+
:operation => :"OAuth2Api.list_o_auth2_clients",
|
938
|
+
:header_params => header_params,
|
939
|
+
:query_params => query_params,
|
940
|
+
:form_params => form_params,
|
941
|
+
:body => post_body,
|
942
|
+
:auth_names => auth_names,
|
943
|
+
:return_type => return_type
|
944
|
+
)
|
945
|
+
|
946
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
947
|
+
if @api_client.config.debugging
|
948
|
+
@api_client.config.logger.debug "API called: OAuth2Api#list_o_auth2_clients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
949
|
+
end
|
950
|
+
return data, status_code, headers
|
951
|
+
end
|
952
|
+
|
953
|
+
# List OAuth 2.0 Consent Sessions of a Subject
|
954
|
+
# 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.
|
955
|
+
# @param subject [String] The subject to list the consent sessions for.
|
956
|
+
# @param [Hash] opts the optional parameters
|
957
|
+
# @option opts [Integer] :page_size Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to 250)
|
958
|
+
# @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to '1')
|
959
|
+
# @return [Array<OAuth2ConsentSession>]
|
960
|
+
def list_o_auth2_consent_sessions(subject, opts = {})
|
961
|
+
data, _status_code, _headers = list_o_auth2_consent_sessions_with_http_info(subject, opts)
|
962
|
+
data
|
963
|
+
end
|
964
|
+
|
965
|
+
# List OAuth 2.0 Consent Sessions of a Subject
|
966
|
+
# 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.
|
967
|
+
# @param subject [String] The subject to list the consent sessions for.
|
968
|
+
# @param [Hash] opts the optional parameters
|
969
|
+
# @option opts [Integer] :page_size Items per Page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to 250)
|
970
|
+
# @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). (default to '1')
|
971
|
+
# @return [Array<(Array<OAuth2ConsentSession>, Integer, Hash)>] Array<OAuth2ConsentSession> data, response status code and response headers
|
972
|
+
def list_o_auth2_consent_sessions_with_http_info(subject, opts = {})
|
973
|
+
if @api_client.config.debugging
|
974
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.list_o_auth2_consent_sessions ...'
|
975
|
+
end
|
976
|
+
# verify the required parameter 'subject' is set
|
977
|
+
if @api_client.config.client_side_validation && subject.nil?
|
978
|
+
fail ArgumentError, "Missing the required parameter 'subject' when calling OAuth2Api.list_o_auth2_consent_sessions"
|
979
|
+
end
|
980
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 500
|
981
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_consent_sessions, must be smaller than or equal to 500.'
|
982
|
+
end
|
983
|
+
|
984
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
985
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_consent_sessions, must be greater than or equal to 1.'
|
986
|
+
end
|
987
|
+
|
988
|
+
# resource path
|
989
|
+
local_var_path = '/admin/oauth2/auth/sessions/consent'
|
990
|
+
|
991
|
+
# query parameters
|
992
|
+
query_params = opts[:query_params] || {}
|
993
|
+
query_params[:'subject'] = subject
|
994
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
995
|
+
query_params[:'page_token'] = opts[:'page_token'] if !opts[:'page_token'].nil?
|
996
|
+
|
997
|
+
# header parameters
|
998
|
+
header_params = opts[:header_params] || {}
|
999
|
+
# HTTP header 'Accept' (if needed)
|
1000
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1001
|
+
|
1002
|
+
# form parameters
|
1003
|
+
form_params = opts[:form_params] || {}
|
1004
|
+
|
1005
|
+
# http body (model)
|
1006
|
+
post_body = opts[:debug_body]
|
1007
|
+
|
1008
|
+
# return_type
|
1009
|
+
return_type = opts[:debug_return_type] || 'Array<OAuth2ConsentSession>'
|
1010
|
+
|
1011
|
+
# auth_names
|
1012
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1013
|
+
|
1014
|
+
new_options = opts.merge(
|
1015
|
+
:operation => :"OAuth2Api.list_o_auth2_consent_sessions",
|
1016
|
+
:header_params => header_params,
|
1017
|
+
:query_params => query_params,
|
1018
|
+
:form_params => form_params,
|
1019
|
+
:body => post_body,
|
1020
|
+
:auth_names => auth_names,
|
1021
|
+
:return_type => return_type
|
1022
|
+
)
|
1023
|
+
|
1024
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1025
|
+
if @api_client.config.debugging
|
1026
|
+
@api_client.config.logger.debug "API called: OAuth2Api#list_o_auth2_consent_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1027
|
+
end
|
1028
|
+
return data, status_code, headers
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
# List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
1032
|
+
# Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
|
1033
|
+
# @param [Hash] opts the optional parameters
|
1034
|
+
# @option opts [Integer] :max_items
|
1035
|
+
# @option opts [Integer] :default_items
|
1036
|
+
# @option opts [String] :issuer If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
|
1037
|
+
# @return [Array<TrustedOAuth2JwtGrantIssuer>]
|
1038
|
+
def list_trusted_o_auth2_jwt_grant_issuers(opts = {})
|
1039
|
+
data, _status_code, _headers = list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts)
|
1040
|
+
data
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
# List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
1044
|
+
# Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
|
1045
|
+
# @param [Hash] opts the optional parameters
|
1046
|
+
# @option opts [Integer] :max_items
|
1047
|
+
# @option opts [Integer] :default_items
|
1048
|
+
# @option opts [String] :issuer If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
|
1049
|
+
# @return [Array<(Array<TrustedOAuth2JwtGrantIssuer>, Integer, Hash)>] Array<TrustedOAuth2JwtGrantIssuer> data, response status code and response headers
|
1050
|
+
def list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts = {})
|
1051
|
+
if @api_client.config.debugging
|
1052
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.list_trusted_o_auth2_jwt_grant_issuers ...'
|
1053
|
+
end
|
1054
|
+
# resource path
|
1055
|
+
local_var_path = '/admin/trust/grants/jwt-bearer/issuers'
|
1056
|
+
|
1057
|
+
# query parameters
|
1058
|
+
query_params = opts[:query_params] || {}
|
1059
|
+
query_params[:'MaxItems'] = opts[:'max_items'] if !opts[:'max_items'].nil?
|
1060
|
+
query_params[:'DefaultItems'] = opts[:'default_items'] if !opts[:'default_items'].nil?
|
1061
|
+
query_params[:'issuer'] = opts[:'issuer'] if !opts[:'issuer'].nil?
|
1062
|
+
|
1063
|
+
# header parameters
|
1064
|
+
header_params = opts[:header_params] || {}
|
1065
|
+
# HTTP header 'Accept' (if needed)
|
1066
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1067
|
+
|
1068
|
+
# form parameters
|
1069
|
+
form_params = opts[:form_params] || {}
|
1070
|
+
|
1071
|
+
# http body (model)
|
1072
|
+
post_body = opts[:debug_body]
|
1073
|
+
|
1074
|
+
# return_type
|
1075
|
+
return_type = opts[:debug_return_type] || 'Array<TrustedOAuth2JwtGrantIssuer>'
|
1076
|
+
|
1077
|
+
# auth_names
|
1078
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1079
|
+
|
1080
|
+
new_options = opts.merge(
|
1081
|
+
:operation => :"OAuth2Api.list_trusted_o_auth2_jwt_grant_issuers",
|
1082
|
+
:header_params => header_params,
|
1083
|
+
:query_params => query_params,
|
1084
|
+
:form_params => form_params,
|
1085
|
+
:body => post_body,
|
1086
|
+
:auth_names => auth_names,
|
1087
|
+
:return_type => return_type
|
1088
|
+
)
|
1089
|
+
|
1090
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1091
|
+
if @api_client.config.debugging
|
1092
|
+
@api_client.config.logger.debug "API called: OAuth2Api#list_trusted_o_auth2_jwt_grant_issuers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1093
|
+
end
|
1094
|
+
return data, status_code, headers
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
# OAuth 2.0 Authorize Endpoint
|
1098
|
+
# 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.
|
1099
|
+
# @param [Hash] opts the optional parameters
|
1100
|
+
# @return [ErrorOAuth2]
|
1101
|
+
def o_auth2_authorize(opts = {})
|
1102
|
+
data, _status_code, _headers = o_auth2_authorize_with_http_info(opts)
|
1103
|
+
data
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# OAuth 2.0 Authorize Endpoint
|
1107
|
+
# 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.
|
1108
|
+
# @param [Hash] opts the optional parameters
|
1109
|
+
# @return [Array<(ErrorOAuth2, Integer, Hash)>] ErrorOAuth2 data, response status code and response headers
|
1110
|
+
def o_auth2_authorize_with_http_info(opts = {})
|
1111
|
+
if @api_client.config.debugging
|
1112
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.o_auth2_authorize ...'
|
1113
|
+
end
|
1114
|
+
# resource path
|
1115
|
+
local_var_path = '/oauth2/auth'
|
1116
|
+
|
1117
|
+
# query parameters
|
1118
|
+
query_params = opts[:query_params] || {}
|
1119
|
+
|
1120
|
+
# header parameters
|
1121
|
+
header_params = opts[:header_params] || {}
|
1122
|
+
# HTTP header 'Accept' (if needed)
|
1123
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1124
|
+
|
1125
|
+
# form parameters
|
1126
|
+
form_params = opts[:form_params] || {}
|
1127
|
+
|
1128
|
+
# http body (model)
|
1129
|
+
post_body = opts[:debug_body]
|
1130
|
+
|
1131
|
+
# return_type
|
1132
|
+
return_type = opts[:debug_return_type] || 'ErrorOAuth2'
|
1133
|
+
|
1134
|
+
# auth_names
|
1135
|
+
auth_names = opts[:debug_auth_names] || []
|
1136
|
+
|
1137
|
+
new_options = opts.merge(
|
1138
|
+
:operation => :"OAuth2Api.o_auth2_authorize",
|
1139
|
+
:header_params => header_params,
|
1140
|
+
:query_params => query_params,
|
1141
|
+
:form_params => form_params,
|
1142
|
+
:body => post_body,
|
1143
|
+
:auth_names => auth_names,
|
1144
|
+
:return_type => return_type
|
1145
|
+
)
|
1146
|
+
|
1147
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1148
|
+
if @api_client.config.debugging
|
1149
|
+
@api_client.config.logger.debug "API called: OAuth2Api#o_auth2_authorize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1150
|
+
end
|
1151
|
+
return data, status_code, headers
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# The OAuth 2.0 Token Endpoint
|
1155
|
+
# 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.
|
1156
|
+
# @param grant_type [String]
|
1157
|
+
# @param [Hash] opts the optional parameters
|
1158
|
+
# @option opts [String] :client_id
|
1159
|
+
# @option opts [String] :code
|
1160
|
+
# @option opts [String] :redirect_uri
|
1161
|
+
# @option opts [String] :refresh_token
|
1162
|
+
# @return [OAuth2TokenExchange]
|
1163
|
+
def oauth2_token_exchange(grant_type, opts = {})
|
1164
|
+
data, _status_code, _headers = oauth2_token_exchange_with_http_info(grant_type, opts)
|
1165
|
+
data
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# The OAuth 2.0 Token Endpoint
|
1169
|
+
# 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.
|
1170
|
+
# @param grant_type [String]
|
1171
|
+
# @param [Hash] opts the optional parameters
|
1172
|
+
# @option opts [String] :client_id
|
1173
|
+
# @option opts [String] :code
|
1174
|
+
# @option opts [String] :redirect_uri
|
1175
|
+
# @option opts [String] :refresh_token
|
1176
|
+
# @return [Array<(OAuth2TokenExchange, Integer, Hash)>] OAuth2TokenExchange data, response status code and response headers
|
1177
|
+
def oauth2_token_exchange_with_http_info(grant_type, opts = {})
|
1178
|
+
if @api_client.config.debugging
|
1179
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.oauth2_token_exchange ...'
|
1180
|
+
end
|
1181
|
+
# verify the required parameter 'grant_type' is set
|
1182
|
+
if @api_client.config.client_side_validation && grant_type.nil?
|
1183
|
+
fail ArgumentError, "Missing the required parameter 'grant_type' when calling OAuth2Api.oauth2_token_exchange"
|
1184
|
+
end
|
1185
|
+
# resource path
|
1186
|
+
local_var_path = '/oauth2/token'
|
1187
|
+
|
1188
|
+
# query parameters
|
1189
|
+
query_params = opts[:query_params] || {}
|
1190
|
+
|
1191
|
+
# header parameters
|
1192
|
+
header_params = opts[:header_params] || {}
|
1193
|
+
# HTTP header 'Accept' (if needed)
|
1194
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1195
|
+
# HTTP header 'Content-Type'
|
1196
|
+
content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
1197
|
+
if !content_type.nil?
|
1198
|
+
header_params['Content-Type'] = content_type
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# form parameters
|
1202
|
+
form_params = opts[:form_params] || {}
|
1203
|
+
form_params['grant_type'] = grant_type
|
1204
|
+
form_params['client_id'] = opts[:'client_id'] if !opts[:'client_id'].nil?
|
1205
|
+
form_params['code'] = opts[:'code'] if !opts[:'code'].nil?
|
1206
|
+
form_params['redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
|
1207
|
+
form_params['refresh_token'] = opts[:'refresh_token'] if !opts[:'refresh_token'].nil?
|
1208
|
+
|
1209
|
+
# http body (model)
|
1210
|
+
post_body = opts[:debug_body]
|
1211
|
+
|
1212
|
+
# return_type
|
1213
|
+
return_type = opts[:debug_return_type] || 'OAuth2TokenExchange'
|
1214
|
+
|
1215
|
+
# auth_names
|
1216
|
+
auth_names = opts[:debug_auth_names] || ['basic', 'oauth2']
|
1217
|
+
|
1218
|
+
new_options = opts.merge(
|
1219
|
+
:operation => :"OAuth2Api.oauth2_token_exchange",
|
1220
|
+
:header_params => header_params,
|
1221
|
+
:query_params => query_params,
|
1222
|
+
:form_params => form_params,
|
1223
|
+
:body => post_body,
|
1224
|
+
:auth_names => auth_names,
|
1225
|
+
:return_type => return_type
|
1226
|
+
)
|
1227
|
+
|
1228
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1229
|
+
if @api_client.config.debugging
|
1230
|
+
@api_client.config.logger.debug "API called: OAuth2Api#oauth2_token_exchange\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1231
|
+
end
|
1232
|
+
return data, status_code, headers
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# Patch OAuth 2.0 Client
|
1236
|
+
# 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.
|
1237
|
+
# @param id [String] The id of the OAuth 2.0 Client.
|
1238
|
+
# @param json_patch [Array<JsonPatch>] OAuth 2.0 Client JSON Patch Body
|
1239
|
+
# @param [Hash] opts the optional parameters
|
1240
|
+
# @return [OAuth2Client]
|
1241
|
+
def patch_o_auth2_client(id, json_patch, opts = {})
|
1242
|
+
data, _status_code, _headers = patch_o_auth2_client_with_http_info(id, json_patch, opts)
|
1243
|
+
data
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# Patch OAuth 2.0 Client
|
1247
|
+
# 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.
|
1248
|
+
# @param id [String] The id of the OAuth 2.0 Client.
|
1249
|
+
# @param json_patch [Array<JsonPatch>] OAuth 2.0 Client JSON Patch Body
|
1250
|
+
# @param [Hash] opts the optional parameters
|
1251
|
+
# @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
|
1252
|
+
def patch_o_auth2_client_with_http_info(id, json_patch, opts = {})
|
1253
|
+
if @api_client.config.debugging
|
1254
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.patch_o_auth2_client ...'
|
1255
|
+
end
|
1256
|
+
# verify the required parameter 'id' is set
|
1257
|
+
if @api_client.config.client_side_validation && id.nil?
|
1258
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.patch_o_auth2_client"
|
1259
|
+
end
|
1260
|
+
# verify the required parameter 'json_patch' is set
|
1261
|
+
if @api_client.config.client_side_validation && json_patch.nil?
|
1262
|
+
fail ArgumentError, "Missing the required parameter 'json_patch' when calling OAuth2Api.patch_o_auth2_client"
|
1263
|
+
end
|
1264
|
+
# resource path
|
1265
|
+
local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1266
|
+
|
1267
|
+
# query parameters
|
1268
|
+
query_params = opts[:query_params] || {}
|
1269
|
+
|
1270
|
+
# header parameters
|
1271
|
+
header_params = opts[:header_params] || {}
|
1272
|
+
# HTTP header 'Accept' (if needed)
|
1273
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1274
|
+
# HTTP header 'Content-Type'
|
1275
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1276
|
+
if !content_type.nil?
|
1277
|
+
header_params['Content-Type'] = content_type
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# form parameters
|
1281
|
+
form_params = opts[:form_params] || {}
|
1282
|
+
|
1283
|
+
# http body (model)
|
1284
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(json_patch)
|
1285
|
+
|
1286
|
+
# return_type
|
1287
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
1288
|
+
|
1289
|
+
# auth_names
|
1290
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1291
|
+
|
1292
|
+
new_options = opts.merge(
|
1293
|
+
:operation => :"OAuth2Api.patch_o_auth2_client",
|
1294
|
+
:header_params => header_params,
|
1295
|
+
:query_params => query_params,
|
1296
|
+
:form_params => form_params,
|
1297
|
+
:body => post_body,
|
1298
|
+
:auth_names => auth_names,
|
1299
|
+
:return_type => return_type
|
1300
|
+
)
|
1301
|
+
|
1302
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1303
|
+
if @api_client.config.debugging
|
1304
|
+
@api_client.config.logger.debug "API called: OAuth2Api#patch_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1305
|
+
end
|
1306
|
+
return data, status_code, headers
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# Reject OAuth 2.0 Consent Request
|
1310
|
+
# 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.
|
1311
|
+
# @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
|
1312
|
+
# @param [Hash] opts the optional parameters
|
1313
|
+
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
1314
|
+
# @return [OAuth2RedirectTo]
|
1315
|
+
def reject_o_auth2_consent_request(consent_challenge, opts = {})
|
1316
|
+
data, _status_code, _headers = reject_o_auth2_consent_request_with_http_info(consent_challenge, opts)
|
1317
|
+
data
|
1318
|
+
end
|
1319
|
+
|
1320
|
+
# Reject OAuth 2.0 Consent Request
|
1321
|
+
# 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.
|
1322
|
+
# @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
|
1323
|
+
# @param [Hash] opts the optional parameters
|
1324
|
+
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
1325
|
+
# @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
|
1326
|
+
def reject_o_auth2_consent_request_with_http_info(consent_challenge, opts = {})
|
1327
|
+
if @api_client.config.debugging
|
1328
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.reject_o_auth2_consent_request ...'
|
1329
|
+
end
|
1330
|
+
# verify the required parameter 'consent_challenge' is set
|
1331
|
+
if @api_client.config.client_side_validation && consent_challenge.nil?
|
1332
|
+
fail ArgumentError, "Missing the required parameter 'consent_challenge' when calling OAuth2Api.reject_o_auth2_consent_request"
|
1333
|
+
end
|
1334
|
+
# resource path
|
1335
|
+
local_var_path = '/admin/oauth2/auth/requests/consent/reject'
|
1336
|
+
|
1337
|
+
# query parameters
|
1338
|
+
query_params = opts[:query_params] || {}
|
1339
|
+
query_params[:'consent_challenge'] = consent_challenge
|
1340
|
+
|
1341
|
+
# header parameters
|
1342
|
+
header_params = opts[:header_params] || {}
|
1343
|
+
# HTTP header 'Accept' (if needed)
|
1344
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1345
|
+
# HTTP header 'Content-Type'
|
1346
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1347
|
+
if !content_type.nil?
|
1348
|
+
header_params['Content-Type'] = content_type
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
# form parameters
|
1352
|
+
form_params = opts[:form_params] || {}
|
1353
|
+
|
1354
|
+
# http body (model)
|
1355
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'reject_o_auth2_request'])
|
1356
|
+
|
1357
|
+
# return_type
|
1358
|
+
return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
|
1359
|
+
|
1360
|
+
# auth_names
|
1361
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1362
|
+
|
1363
|
+
new_options = opts.merge(
|
1364
|
+
:operation => :"OAuth2Api.reject_o_auth2_consent_request",
|
1365
|
+
:header_params => header_params,
|
1366
|
+
:query_params => query_params,
|
1367
|
+
:form_params => form_params,
|
1368
|
+
:body => post_body,
|
1369
|
+
:auth_names => auth_names,
|
1370
|
+
:return_type => return_type
|
1371
|
+
)
|
1372
|
+
|
1373
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1374
|
+
if @api_client.config.debugging
|
1375
|
+
@api_client.config.logger.debug "API called: OAuth2Api#reject_o_auth2_consent_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1376
|
+
end
|
1377
|
+
return data, status_code, headers
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
# Reject OAuth 2.0 Login Request
|
1381
|
+
# 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.
|
1382
|
+
# @param login_challenge [String] OAuth 2.0 Login Request Challenge
|
1383
|
+
# @param [Hash] opts the optional parameters
|
1384
|
+
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
1385
|
+
# @return [OAuth2RedirectTo]
|
1386
|
+
def reject_o_auth2_login_request(login_challenge, opts = {})
|
1387
|
+
data, _status_code, _headers = reject_o_auth2_login_request_with_http_info(login_challenge, opts)
|
1388
|
+
data
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
# Reject OAuth 2.0 Login Request
|
1392
|
+
# 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.
|
1393
|
+
# @param login_challenge [String] OAuth 2.0 Login Request Challenge
|
1394
|
+
# @param [Hash] opts the optional parameters
|
1395
|
+
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
1396
|
+
# @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
|
1397
|
+
def reject_o_auth2_login_request_with_http_info(login_challenge, opts = {})
|
1398
|
+
if @api_client.config.debugging
|
1399
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.reject_o_auth2_login_request ...'
|
1400
|
+
end
|
1401
|
+
# verify the required parameter 'login_challenge' is set
|
1402
|
+
if @api_client.config.client_side_validation && login_challenge.nil?
|
1403
|
+
fail ArgumentError, "Missing the required parameter 'login_challenge' when calling OAuth2Api.reject_o_auth2_login_request"
|
1404
|
+
end
|
1405
|
+
# resource path
|
1406
|
+
local_var_path = '/admin/oauth2/auth/requests/login/reject'
|
1407
|
+
|
1408
|
+
# query parameters
|
1409
|
+
query_params = opts[:query_params] || {}
|
1410
|
+
query_params[:'login_challenge'] = login_challenge
|
1411
|
+
|
1412
|
+
# header parameters
|
1413
|
+
header_params = opts[:header_params] || {}
|
1414
|
+
# HTTP header 'Accept' (if needed)
|
1415
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1416
|
+
# HTTP header 'Content-Type'
|
1417
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1418
|
+
if !content_type.nil?
|
1419
|
+
header_params['Content-Type'] = content_type
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# form parameters
|
1423
|
+
form_params = opts[:form_params] || {}
|
1424
|
+
|
1425
|
+
# http body (model)
|
1426
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'reject_o_auth2_request'])
|
1427
|
+
|
1428
|
+
# return_type
|
1429
|
+
return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
|
1430
|
+
|
1431
|
+
# auth_names
|
1432
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1433
|
+
|
1434
|
+
new_options = opts.merge(
|
1435
|
+
:operation => :"OAuth2Api.reject_o_auth2_login_request",
|
1436
|
+
:header_params => header_params,
|
1437
|
+
:query_params => query_params,
|
1438
|
+
:form_params => form_params,
|
1439
|
+
:body => post_body,
|
1440
|
+
:auth_names => auth_names,
|
1441
|
+
:return_type => return_type
|
1442
|
+
)
|
1443
|
+
|
1444
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1445
|
+
if @api_client.config.debugging
|
1446
|
+
@api_client.config.logger.debug "API called: OAuth2Api#reject_o_auth2_login_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1447
|
+
end
|
1448
|
+
return data, status_code, headers
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
# Reject OAuth 2.0 Session Logout Request
|
1452
|
+
# 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.
|
1453
|
+
# @param logout_challenge [String]
|
1454
|
+
# @param [Hash] opts the optional parameters
|
1455
|
+
# @return [nil]
|
1456
|
+
def reject_o_auth2_logout_request(logout_challenge, opts = {})
|
1457
|
+
reject_o_auth2_logout_request_with_http_info(logout_challenge, opts)
|
1458
|
+
nil
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
# Reject OAuth 2.0 Session Logout Request
|
1462
|
+
# 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.
|
1463
|
+
# @param logout_challenge [String]
|
1464
|
+
# @param [Hash] opts the optional parameters
|
1465
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1466
|
+
def reject_o_auth2_logout_request_with_http_info(logout_challenge, opts = {})
|
1467
|
+
if @api_client.config.debugging
|
1468
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.reject_o_auth2_logout_request ...'
|
1469
|
+
end
|
1470
|
+
# verify the required parameter 'logout_challenge' is set
|
1471
|
+
if @api_client.config.client_side_validation && logout_challenge.nil?
|
1472
|
+
fail ArgumentError, "Missing the required parameter 'logout_challenge' when calling OAuth2Api.reject_o_auth2_logout_request"
|
1473
|
+
end
|
1474
|
+
# resource path
|
1475
|
+
local_var_path = '/admin/oauth2/auth/requests/logout/reject'
|
1476
|
+
|
1477
|
+
# query parameters
|
1478
|
+
query_params = opts[:query_params] || {}
|
1479
|
+
query_params[:'logout_challenge'] = logout_challenge
|
1480
|
+
|
1481
|
+
# header parameters
|
1482
|
+
header_params = opts[:header_params] || {}
|
1483
|
+
# HTTP header 'Accept' (if needed)
|
1484
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1485
|
+
|
1486
|
+
# form parameters
|
1487
|
+
form_params = opts[:form_params] || {}
|
1488
|
+
|
1489
|
+
# http body (model)
|
1490
|
+
post_body = opts[:debug_body]
|
1491
|
+
|
1492
|
+
# return_type
|
1493
|
+
return_type = opts[:debug_return_type]
|
1494
|
+
|
1495
|
+
# auth_names
|
1496
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1497
|
+
|
1498
|
+
new_options = opts.merge(
|
1499
|
+
:operation => :"OAuth2Api.reject_o_auth2_logout_request",
|
1500
|
+
:header_params => header_params,
|
1501
|
+
:query_params => query_params,
|
1502
|
+
:form_params => form_params,
|
1503
|
+
:body => post_body,
|
1504
|
+
:auth_names => auth_names,
|
1505
|
+
:return_type => return_type
|
1506
|
+
)
|
1507
|
+
|
1508
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1509
|
+
if @api_client.config.debugging
|
1510
|
+
@api_client.config.logger.debug "API called: OAuth2Api#reject_o_auth2_logout_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1511
|
+
end
|
1512
|
+
return data, status_code, headers
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
# Revoke OAuth 2.0 Consent Sessions of a Subject
|
1516
|
+
# 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.
|
1517
|
+
# @param subject [String] OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
1518
|
+
# @param [Hash] opts the optional parameters
|
1519
|
+
# @option opts [String] :client OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
|
1520
|
+
# @option opts [Boolean] :all Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
1521
|
+
# @return [nil]
|
1522
|
+
def revoke_o_auth2_consent_sessions(subject, opts = {})
|
1523
|
+
revoke_o_auth2_consent_sessions_with_http_info(subject, opts)
|
1524
|
+
nil
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
# Revoke OAuth 2.0 Consent Sessions of a Subject
|
1528
|
+
# 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.
|
1529
|
+
# @param subject [String] OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
|
1530
|
+
# @param [Hash] opts the optional parameters
|
1531
|
+
# @option opts [String] :client OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
|
1532
|
+
# @option opts [Boolean] :all Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
|
1533
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1534
|
+
def revoke_o_auth2_consent_sessions_with_http_info(subject, opts = {})
|
1535
|
+
if @api_client.config.debugging
|
1536
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.revoke_o_auth2_consent_sessions ...'
|
1537
|
+
end
|
1538
|
+
# verify the required parameter 'subject' is set
|
1539
|
+
if @api_client.config.client_side_validation && subject.nil?
|
1540
|
+
fail ArgumentError, "Missing the required parameter 'subject' when calling OAuth2Api.revoke_o_auth2_consent_sessions"
|
1541
|
+
end
|
1542
|
+
# resource path
|
1543
|
+
local_var_path = '/admin/oauth2/auth/sessions/consent'
|
1544
|
+
|
1545
|
+
# query parameters
|
1546
|
+
query_params = opts[:query_params] || {}
|
1547
|
+
query_params[:'subject'] = subject
|
1548
|
+
query_params[:'client'] = opts[:'client'] if !opts[:'client'].nil?
|
1549
|
+
query_params[:'all'] = opts[:'all'] if !opts[:'all'].nil?
|
1550
|
+
|
1551
|
+
# header parameters
|
1552
|
+
header_params = opts[:header_params] || {}
|
1553
|
+
# HTTP header 'Accept' (if needed)
|
1554
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1555
|
+
|
1556
|
+
# form parameters
|
1557
|
+
form_params = opts[:form_params] || {}
|
1558
|
+
|
1559
|
+
# http body (model)
|
1560
|
+
post_body = opts[:debug_body]
|
1561
|
+
|
1562
|
+
# return_type
|
1563
|
+
return_type = opts[:debug_return_type]
|
1564
|
+
|
1565
|
+
# auth_names
|
1566
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1567
|
+
|
1568
|
+
new_options = opts.merge(
|
1569
|
+
:operation => :"OAuth2Api.revoke_o_auth2_consent_sessions",
|
1570
|
+
:header_params => header_params,
|
1571
|
+
:query_params => query_params,
|
1572
|
+
:form_params => form_params,
|
1573
|
+
:body => post_body,
|
1574
|
+
:auth_names => auth_names,
|
1575
|
+
:return_type => return_type
|
1576
|
+
)
|
1577
|
+
|
1578
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
1579
|
+
if @api_client.config.debugging
|
1580
|
+
@api_client.config.logger.debug "API called: OAuth2Api#revoke_o_auth2_consent_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1581
|
+
end
|
1582
|
+
return data, status_code, headers
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
# Revokes All OAuth 2.0 Login Sessions of a Subject
|
1586
|
+
# 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.
|
1587
|
+
# @param subject [String] OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
1588
|
+
# @param [Hash] opts the optional parameters
|
1589
|
+
# @return [nil]
|
1590
|
+
def revoke_o_auth2_login_sessions(subject, opts = {})
|
1591
|
+
revoke_o_auth2_login_sessions_with_http_info(subject, opts)
|
1592
|
+
nil
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# Revokes All OAuth 2.0 Login Sessions of a Subject
|
1596
|
+
# 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.
|
1597
|
+
# @param subject [String] OAuth 2.0 Subject The subject to revoke authentication sessions for.
|
1598
|
+
# @param [Hash] opts the optional parameters
|
1599
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1600
|
+
def revoke_o_auth2_login_sessions_with_http_info(subject, opts = {})
|
1601
|
+
if @api_client.config.debugging
|
1602
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.revoke_o_auth2_login_sessions ...'
|
1603
|
+
end
|
1604
|
+
# verify the required parameter 'subject' is set
|
1605
|
+
if @api_client.config.client_side_validation && subject.nil?
|
1606
|
+
fail ArgumentError, "Missing the required parameter 'subject' when calling OAuth2Api.revoke_o_auth2_login_sessions"
|
1607
|
+
end
|
1608
|
+
# resource path
|
1609
|
+
local_var_path = '/admin/oauth2/auth/sessions/login'
|
1610
|
+
|
1611
|
+
# query parameters
|
1612
|
+
query_params = opts[:query_params] || {}
|
1613
|
+
query_params[:'subject'] = subject
|
1614
|
+
|
1615
|
+
# header parameters
|
1616
|
+
header_params = opts[:header_params] || {}
|
1617
|
+
# HTTP header 'Accept' (if needed)
|
1618
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1619
|
+
|
1620
|
+
# form parameters
|
1621
|
+
form_params = opts[:form_params] || {}
|
1622
|
+
|
1623
|
+
# http body (model)
|
1624
|
+
post_body = opts[:debug_body]
|
1625
|
+
|
1626
|
+
# return_type
|
1627
|
+
return_type = opts[:debug_return_type]
|
1628
|
+
|
1629
|
+
# auth_names
|
1630
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1631
|
+
|
1632
|
+
new_options = opts.merge(
|
1633
|
+
:operation => :"OAuth2Api.revoke_o_auth2_login_sessions",
|
1634
|
+
:header_params => header_params,
|
1635
|
+
:query_params => query_params,
|
1636
|
+
:form_params => form_params,
|
1637
|
+
:body => post_body,
|
1638
|
+
:auth_names => auth_names,
|
1639
|
+
:return_type => return_type
|
1640
|
+
)
|
1641
|
+
|
1642
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
1643
|
+
if @api_client.config.debugging
|
1644
|
+
@api_client.config.logger.debug "API called: OAuth2Api#revoke_o_auth2_login_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1645
|
+
end
|
1646
|
+
return data, status_code, headers
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
# Revoke OAuth 2.0 Access or Refresh Token
|
1650
|
+
# 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.
|
1651
|
+
# @param token [String]
|
1652
|
+
# @param [Hash] opts the optional parameters
|
1653
|
+
# @return [nil]
|
1654
|
+
def revoke_o_auth2_token(token, opts = {})
|
1655
|
+
revoke_o_auth2_token_with_http_info(token, opts)
|
1656
|
+
nil
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# Revoke OAuth 2.0 Access or Refresh Token
|
1660
|
+
# 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.
|
1661
|
+
# @param token [String]
|
1662
|
+
# @param [Hash] opts the optional parameters
|
1663
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1664
|
+
def revoke_o_auth2_token_with_http_info(token, opts = {})
|
1665
|
+
if @api_client.config.debugging
|
1666
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.revoke_o_auth2_token ...'
|
1667
|
+
end
|
1668
|
+
# verify the required parameter 'token' is set
|
1669
|
+
if @api_client.config.client_side_validation && token.nil?
|
1670
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling OAuth2Api.revoke_o_auth2_token"
|
1671
|
+
end
|
1672
|
+
# resource path
|
1673
|
+
local_var_path = '/oauth2/revoke'
|
1674
|
+
|
1675
|
+
# query parameters
|
1676
|
+
query_params = opts[:query_params] || {}
|
1677
|
+
|
1678
|
+
# header parameters
|
1679
|
+
header_params = opts[:header_params] || {}
|
1680
|
+
# HTTP header 'Accept' (if needed)
|
1681
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1682
|
+
# HTTP header 'Content-Type'
|
1683
|
+
content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
1684
|
+
if !content_type.nil?
|
1685
|
+
header_params['Content-Type'] = content_type
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
# form parameters
|
1689
|
+
form_params = opts[:form_params] || {}
|
1690
|
+
form_params['token'] = token
|
1691
|
+
|
1692
|
+
# http body (model)
|
1693
|
+
post_body = opts[:debug_body]
|
1694
|
+
|
1695
|
+
# return_type
|
1696
|
+
return_type = opts[:debug_return_type]
|
1697
|
+
|
1698
|
+
# auth_names
|
1699
|
+
auth_names = opts[:debug_auth_names] || ['basic', 'oauth2']
|
1700
|
+
|
1701
|
+
new_options = opts.merge(
|
1702
|
+
:operation => :"OAuth2Api.revoke_o_auth2_token",
|
1703
|
+
:header_params => header_params,
|
1704
|
+
:query_params => query_params,
|
1705
|
+
:form_params => form_params,
|
1706
|
+
:body => post_body,
|
1707
|
+
:auth_names => auth_names,
|
1708
|
+
:return_type => return_type
|
1709
|
+
)
|
1710
|
+
|
1711
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1712
|
+
if @api_client.config.debugging
|
1713
|
+
@api_client.config.logger.debug "API called: OAuth2Api#revoke_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1714
|
+
end
|
1715
|
+
return data, status_code, headers
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
# Set OAuth 2.0 Client
|
1719
|
+
# 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.
|
1720
|
+
# @param id [String] OAuth 2.0 Client ID
|
1721
|
+
# @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
|
1722
|
+
# @param [Hash] opts the optional parameters
|
1723
|
+
# @return [OAuth2Client]
|
1724
|
+
def set_o_auth2_client(id, o_auth2_client, opts = {})
|
1725
|
+
data, _status_code, _headers = set_o_auth2_client_with_http_info(id, o_auth2_client, opts)
|
1726
|
+
data
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
# Set OAuth 2.0 Client
|
1730
|
+
# 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.
|
1731
|
+
# @param id [String] OAuth 2.0 Client ID
|
1732
|
+
# @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
|
1733
|
+
# @param [Hash] opts the optional parameters
|
1734
|
+
# @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
|
1735
|
+
def set_o_auth2_client_with_http_info(id, o_auth2_client, opts = {})
|
1736
|
+
if @api_client.config.debugging
|
1737
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.set_o_auth2_client ...'
|
1738
|
+
end
|
1739
|
+
# verify the required parameter 'id' is set
|
1740
|
+
if @api_client.config.client_side_validation && id.nil?
|
1741
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.set_o_auth2_client"
|
1742
|
+
end
|
1743
|
+
# verify the required parameter 'o_auth2_client' is set
|
1744
|
+
if @api_client.config.client_side_validation && o_auth2_client.nil?
|
1745
|
+
fail ArgumentError, "Missing the required parameter 'o_auth2_client' when calling OAuth2Api.set_o_auth2_client"
|
1746
|
+
end
|
1747
|
+
# resource path
|
1748
|
+
local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1749
|
+
|
1750
|
+
# query parameters
|
1751
|
+
query_params = opts[:query_params] || {}
|
1752
|
+
|
1753
|
+
# header parameters
|
1754
|
+
header_params = opts[:header_params] || {}
|
1755
|
+
# HTTP header 'Accept' (if needed)
|
1756
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1757
|
+
# HTTP header 'Content-Type'
|
1758
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1759
|
+
if !content_type.nil?
|
1760
|
+
header_params['Content-Type'] = content_type
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
# form parameters
|
1764
|
+
form_params = opts[:form_params] || {}
|
1765
|
+
|
1766
|
+
# http body (model)
|
1767
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(o_auth2_client)
|
1768
|
+
|
1769
|
+
# return_type
|
1770
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
1771
|
+
|
1772
|
+
# auth_names
|
1773
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1774
|
+
|
1775
|
+
new_options = opts.merge(
|
1776
|
+
:operation => :"OAuth2Api.set_o_auth2_client",
|
1777
|
+
:header_params => header_params,
|
1778
|
+
:query_params => query_params,
|
1779
|
+
:form_params => form_params,
|
1780
|
+
:body => post_body,
|
1781
|
+
:auth_names => auth_names,
|
1782
|
+
:return_type => return_type
|
1783
|
+
)
|
1784
|
+
|
1785
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1786
|
+
if @api_client.config.debugging
|
1787
|
+
@api_client.config.logger.debug "API called: OAuth2Api#set_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1788
|
+
end
|
1789
|
+
return data, status_code, headers
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
# Set OAuth2 Client Token Lifespans
|
1793
|
+
# Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.
|
1794
|
+
# @param id [String] OAuth 2.0 Client ID
|
1795
|
+
# @param [Hash] opts the optional parameters
|
1796
|
+
# @option opts [OAuth2ClientTokenLifespans] :o_auth2_client_token_lifespans
|
1797
|
+
# @return [OAuth2Client]
|
1798
|
+
def set_o_auth2_client_lifespans(id, opts = {})
|
1799
|
+
data, _status_code, _headers = set_o_auth2_client_lifespans_with_http_info(id, opts)
|
1800
|
+
data
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
# Set OAuth2 Client Token Lifespans
|
1804
|
+
# Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.
|
1805
|
+
# @param id [String] OAuth 2.0 Client ID
|
1806
|
+
# @param [Hash] opts the optional parameters
|
1807
|
+
# @option opts [OAuth2ClientTokenLifespans] :o_auth2_client_token_lifespans
|
1808
|
+
# @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
|
1809
|
+
def set_o_auth2_client_lifespans_with_http_info(id, opts = {})
|
1810
|
+
if @api_client.config.debugging
|
1811
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.set_o_auth2_client_lifespans ...'
|
1812
|
+
end
|
1813
|
+
# verify the required parameter 'id' is set
|
1814
|
+
if @api_client.config.client_side_validation && id.nil?
|
1815
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.set_o_auth2_client_lifespans"
|
1816
|
+
end
|
1817
|
+
# resource path
|
1818
|
+
local_var_path = '/admin/clients/{id}/lifespans'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
1819
|
+
|
1820
|
+
# query parameters
|
1821
|
+
query_params = opts[:query_params] || {}
|
1822
|
+
|
1823
|
+
# header parameters
|
1824
|
+
header_params = opts[:header_params] || {}
|
1825
|
+
# HTTP header 'Accept' (if needed)
|
1826
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1827
|
+
# HTTP header 'Content-Type'
|
1828
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1829
|
+
if !content_type.nil?
|
1830
|
+
header_params['Content-Type'] = content_type
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
# form parameters
|
1834
|
+
form_params = opts[:form_params] || {}
|
1835
|
+
|
1836
|
+
# http body (model)
|
1837
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'o_auth2_client_token_lifespans'])
|
1838
|
+
|
1839
|
+
# return_type
|
1840
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
1841
|
+
|
1842
|
+
# auth_names
|
1843
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1844
|
+
|
1845
|
+
new_options = opts.merge(
|
1846
|
+
:operation => :"OAuth2Api.set_o_auth2_client_lifespans",
|
1847
|
+
:header_params => header_params,
|
1848
|
+
:query_params => query_params,
|
1849
|
+
:form_params => form_params,
|
1850
|
+
:body => post_body,
|
1851
|
+
:auth_names => auth_names,
|
1852
|
+
:return_type => return_type
|
1853
|
+
)
|
1854
|
+
|
1855
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1856
|
+
if @api_client.config.debugging
|
1857
|
+
@api_client.config.logger.debug "API called: OAuth2Api#set_o_auth2_client_lifespans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1858
|
+
end
|
1859
|
+
return data, status_code, headers
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
# Trust OAuth2 JWT Bearer Grant Type Issuer
|
1863
|
+
# 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).
|
1864
|
+
# @param [Hash] opts the optional parameters
|
1865
|
+
# @option opts [TrustOAuth2JwtGrantIssuer] :trust_o_auth2_jwt_grant_issuer
|
1866
|
+
# @return [TrustedOAuth2JwtGrantIssuer]
|
1867
|
+
def trust_o_auth2_jwt_grant_issuer(opts = {})
|
1868
|
+
data, _status_code, _headers = trust_o_auth2_jwt_grant_issuer_with_http_info(opts)
|
1869
|
+
data
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
# Trust OAuth2 JWT Bearer Grant Type Issuer
|
1873
|
+
# 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).
|
1874
|
+
# @param [Hash] opts the optional parameters
|
1875
|
+
# @option opts [TrustOAuth2JwtGrantIssuer] :trust_o_auth2_jwt_grant_issuer
|
1876
|
+
# @return [Array<(TrustedOAuth2JwtGrantIssuer, Integer, Hash)>] TrustedOAuth2JwtGrantIssuer data, response status code and response headers
|
1877
|
+
def trust_o_auth2_jwt_grant_issuer_with_http_info(opts = {})
|
1878
|
+
if @api_client.config.debugging
|
1879
|
+
@api_client.config.logger.debug 'Calling API: OAuth2Api.trust_o_auth2_jwt_grant_issuer ...'
|
1880
|
+
end
|
1881
|
+
# resource path
|
1882
|
+
local_var_path = '/admin/trust/grants/jwt-bearer/issuers'
|
1883
|
+
|
1884
|
+
# query parameters
|
1885
|
+
query_params = opts[:query_params] || {}
|
1886
|
+
|
1887
|
+
# header parameters
|
1888
|
+
header_params = opts[:header_params] || {}
|
1889
|
+
# HTTP header 'Accept' (if needed)
|
1890
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1891
|
+
# HTTP header 'Content-Type'
|
1892
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1893
|
+
if !content_type.nil?
|
1894
|
+
header_params['Content-Type'] = content_type
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# form parameters
|
1898
|
+
form_params = opts[:form_params] || {}
|
1899
|
+
|
1900
|
+
# http body (model)
|
1901
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'trust_o_auth2_jwt_grant_issuer'])
|
1902
|
+
|
1903
|
+
# return_type
|
1904
|
+
return_type = opts[:debug_return_type] || 'TrustedOAuth2JwtGrantIssuer'
|
1905
|
+
|
1906
|
+
# auth_names
|
1907
|
+
auth_names = opts[:debug_auth_names] || ['oryAccessToken']
|
1908
|
+
|
1909
|
+
new_options = opts.merge(
|
1910
|
+
:operation => :"OAuth2Api.trust_o_auth2_jwt_grant_issuer",
|
1911
|
+
:header_params => header_params,
|
1912
|
+
:query_params => query_params,
|
1913
|
+
:form_params => form_params,
|
1914
|
+
:body => post_body,
|
1915
|
+
:auth_names => auth_names,
|
1916
|
+
:return_type => return_type
|
1917
|
+
)
|
1918
|
+
|
1919
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1920
|
+
if @api_client.config.debugging
|
1921
|
+
@api_client.config.logger.debug "API called: OAuth2Api#trust_o_auth2_jwt_grant_issuer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1922
|
+
end
|
1923
|
+
return data, status_code, headers
|
1924
|
+
end
|
1925
|
+
end
|
1926
|
+
end
|