ory-client 0.2.0.alpha28 → 0.2.0.alpha31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +90 -95
- data/docs/{AcceptOAuth2ConsentRequest.md → AcceptConsentRequest.md} +3 -3
- data/docs/{AcceptOAuth2LoginRequest.md → AcceptLoginRequest.md} +2 -2
- data/docs/AdminApi.md +2093 -15
- data/docs/{SuccessfulOAuth2RequestResponse.md → CompletedRequest.md} +2 -2
- data/docs/{OAuth2ConsentRequest.md → ConsentRequest.md} +3 -3
- data/docs/{AcceptOAuth2ConsentRequestSession.md → ConsentRequestSession.md} +2 -2
- data/docs/CreateProjectApiKeyRequest.md +18 -0
- data/docs/FlushInactiveOAuth2TokensRequest.md +18 -0
- data/docs/FlushLoginConsentRequest.md +18 -0
- data/docs/GenericError.md +1 -1
- data/docs/{JsonWebKey.md → JSONWebKey.md} +2 -2
- data/docs/JSONWebKeySet.md +18 -0
- data/docs/JsonError.md +7 -1
- data/docs/{AdminCreateJsonWebKeySetBody.md → JsonWebKeySetGeneratorRequest.md} +2 -2
- data/docs/{OAuth2LoginRequest.md → LoginRequest.md} +3 -3
- data/docs/{OAuth2LogoutRequest.md → LogoutRequest.md} +2 -2
- data/docs/ManagedIdentitySchema.md +1 -1
- data/docs/NormalizedProject.md +1 -1
- data/docs/NormalizedProjectRevision.md +25 -25
- data/docs/NormalizedProjectRevisionHook.md +4 -2
- data/docs/NormalizedProjectRevisionIdentitySchema.md +2 -2
- data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
- data/docs/OAuth2Client.md +2 -26
- data/docs/{IntrospectedOAuth2Token.md → OAuth2TokenIntrospection.md} +2 -2
- data/docs/Oauth2TokenResponse.md +28 -0
- data/docs/{OAuth2TokenResponse.md → OauthTokenResponse.md} +2 -2
- data/docs/{OAuth2ConsentRequestOpenIDConnectContext.md → OpenIDConnectContext.md} +2 -2
- data/docs/Pagination.md +0 -4
- data/docs/PatchDocument.md +24 -0
- data/docs/{PreviousOAuth2ConsentSession.md → PreviousConsentSession.md} +4 -4
- data/docs/Project.md +2 -2
- data/docs/{ApiToken.md → ProjectApiKey.md} +5 -5
- data/docs/ProjectHost.md +2 -2
- data/docs/ProjectInvite.md +3 -3
- data/docs/ProjectMetadata.md +1 -1
- data/docs/PublicApi.md +738 -0
- data/docs/RefreshTokenHookRequest.md +0 -4
- data/docs/RefreshTokenHookResponse.md +1 -1
- data/docs/{RejectOAuth2Request.md → RejectRequest.md} +2 -2
- data/docs/{HandledOAuth2LoginRequest.md → RequestWasHandledResponse.md} +2 -2
- data/docs/Subscription.md +1 -1
- data/docs/{AdminTrustOAuth2JwtGrantIssuerBody.md → TrustJwtGrantIssuerBody.md} +3 -3
- data/docs/{TrustedOAuth2JwtGrantJsonWebKey.md → TrustedJsonWebKey.md} +2 -2
- data/docs/{TrustedOAuth2JwtGrantIssuer.md → TrustedJwtGrantIssuer.md} +3 -3
- data/docs/{OidcUserInfo.md → UserinfoResponse.md} +2 -2
- data/docs/V0alpha2Api.md +384 -3154
- data/docs/{OidcConfiguration.md → WellKnown.md} +2 -6
- data/lib/ory-client/api/admin_api.rb +2108 -14
- data/lib/ory-client/api/metadata_api.rb +1 -1
- data/lib/ory-client/api/public_api.rb +723 -0
- data/lib/ory-client/api/read_api.rb +1 -1
- data/lib/ory-client/api/v0alpha2_api.rb +349 -2964
- data/lib/ory-client/api/write_api.rb +1 -1
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -8
- data/lib/ory-client/models/{accept_o_auth2_consent_request.rb → accept_consent_request.rb} +5 -5
- data/lib/ory-client/models/{accept_o_auth2_login_request.rb → accept_login_request.rb} +4 -4
- data/lib/ory-client/models/active_project.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
- data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/cname_settings.rb +1 -1
- data/lib/ory-client/models/{successful_o_auth2_request_response.rb → completed_request.rb} +4 -4
- data/lib/ory-client/models/{o_auth2_consent_request.rb → consent_request.rb} +5 -5
- data/lib/ory-client/models/{accept_o_auth2_consent_request_session.rb → consent_request_session.rb} +4 -4
- data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/{headers.rb → create_project_api_key_request.rb} +17 -14
- data/lib/ory-client/models/create_project_body.rb +1 -1
- data/lib/ory-client/models/create_subscription_payload.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/expand_tree.rb +1 -1
- data/lib/ory-client/models/{handled_o_auth2_logout_request.rb → flush_inactive_o_auth2_tokens_request.rb} +12 -17
- data/lib/ory-client/models/{handled_o_auth2_consent_request.rb → flush_login_consent_request.rb} +12 -17
- data/lib/ory-client/models/generic_error.rb +4 -5
- data/lib/ory-client/models/generic_error_content.rb +1 -1
- data/lib/ory-client/models/get_check_response.rb +1 -1
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
- data/lib/ory-client/models/get_relation_tuples_response.rb +1 -1
- data/lib/ory-client/models/get_version200_response.rb +1 -1
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/identity_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +1 -1
- data/lib/ory-client/models/identity_schema_container.rb +1 -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/invite_payload.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
- data/lib/ory-client/models/is_ready200_response.rb +1 -1
- data/lib/ory-client/models/is_ready503_response.rb +1 -1
- data/lib/ory-client/models/json_error.rb +35 -5
- data/lib/ory-client/models/json_patch.rb +1 -1
- data/lib/ory-client/models/json_web_key.rb +5 -4
- data/lib/ory-client/models/json_web_key_set.rb +6 -6
- data/lib/ory-client/models/{admin_create_json_web_key_set_body.rb → json_web_key_set_generator_request.rb} +4 -4
- data/lib/ory-client/models/keto_namespace.rb +1 -1
- data/lib/ory-client/models/{o_auth2_login_request.rb → login_request.rb} +5 -5
- data/lib/ory-client/models/{o_auth2_logout_request.rb → logout_request.rb} +4 -4
- data/lib/ory-client/models/managed_identity_schema.rb +2 -1
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +2 -1
- data/lib/ory-client/models/normalized_project_revision.rb +35 -21
- data/lib/ory-client/models/normalized_project_revision_hook.rb +14 -2
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -1
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +2 -1
- data/lib/ory-client/models/null_plan.rb +1 -1
- data/lib/ory-client/models/o_auth2_client.rb +13 -320
- data/lib/ory-client/models/{introspected_o_auth2_token.rb → o_auth2_token_introspection.rb} +5 -5
- data/lib/ory-client/models/{o_auth2_consent_session_expires_at.rb → oauth2_token_response.rb} +35 -25
- data/lib/ory-client/models/{o_auth2_token_response.rb → oauth_token_response.rb} +5 -5
- data/lib/ory-client/models/{o_auth2_consent_request_open_id_connect_context.rb → open_id_connect_context.rb} +4 -4
- data/lib/ory-client/models/pagination.rb +2 -56
- data/lib/ory-client/models/patch_delta.rb +1 -1
- data/lib/ory-client/models/{pagination_headers.rb → patch_document.rb} +50 -19
- data/lib/ory-client/models/{previous_o_auth2_consent_session.rb → previous_consent_session.rb} +6 -6
- data/lib/ory-client/models/project.rb +3 -1
- data/lib/ory-client/models/{api_token.rb → project_api_key.rb} +7 -4
- data/lib/ory-client/models/project_host.rb +3 -1
- data/lib/ory-client/models/project_invite.rb +4 -1
- data/lib/ory-client/models/project_metadata.rb +2 -1
- 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/provision_mock_subscription_payload.rb +1 -1
- data/lib/ory-client/models/quota_custom_domains.rb +1 -1
- data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/refresh_token_hook_request.rb +2 -20
- data/lib/ory-client/models/refresh_token_hook_response.rb +2 -2
- data/lib/ory-client/models/{reject_o_auth2_request.rb → reject_request.rb} +4 -4
- data/lib/ory-client/models/relation_query.rb +1 -1
- data/lib/ory-client/models/relation_tuple.rb +1 -1
- data/lib/ory-client/models/{handled_o_auth2_login_request.rb → request_was_handled_response.rb} +4 -4
- data/lib/ory-client/models/revoked_sessions.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
- data/lib/ory-client/models/self_service_error.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/self_service_login_flow.rb +1 -1
- data/lib/ory-client/models/self_service_logout_url.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
- data/lib/ory-client/models/stripe_customer_response.rb +1 -1
- data/lib/ory-client/models/subject_set.rb +1 -1
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/subscription.rb +2 -1
- data/lib/ory-client/models/successful_project_update.rb +1 -1
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
- data/lib/ory-client/models/token_pagination.rb +1 -1
- data/lib/ory-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-client/models/{admin_trust_o_auth2_jwt_grant_issuer_body.rb → trust_jwt_grant_issuer_body.rb} +5 -5
- data/lib/ory-client/models/{trusted_o_auth2_jwt_grant_json_web_key.rb → trusted_json_web_key.rb} +4 -4
- data/lib/ory-client/models/{trusted_o_auth2_jwt_grant_issuer.rb → trusted_jwt_grant_issuer.rb} +5 -5
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +1 -1
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.rb +13 -1
- data/lib/ory-client/models/ui_node_meta.rb +1 -1
- data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
- data/lib/ory-client/models/ui_text.rb +1 -1
- data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/update_project.rb +1 -1
- data/lib/ory-client/models/update_subscription_payload.rb +1 -1
- data/lib/ory-client/models/{oidc_user_info.rb → userinfo_response.rb} +4 -4
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.rb +1 -1
- data/lib/ory-client/models/{oidc_configuration.rb → well_known.rb} +6 -40
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +29 -33
- data/ory-client.gemspec +1 -1
- data/spec/api/admin_api_spec.rb +400 -5
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/public_api_spec.rb +167 -0
- data/spec/api/read_api_spec.rb +1 -1
- data/spec/api/v0alpha2_api_spec.rb +38 -529
- data/spec/api/write_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/{accept_o_auth2_consent_request_spec.rb → accept_consent_request_spec.rb} +7 -7
- data/spec/models/{accept_o_auth2_login_request_spec.rb → accept_login_request_spec.rb} +7 -7
- data/spec/models/active_project_spec.rb +1 -1
- data/spec/models/admin_create_identity_body_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
- data/spec/models/admin_update_identity_body_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/cname_settings_spec.rb +1 -1
- data/spec/models/{handled_o_auth2_logout_request_spec.rb → completed_request_spec.rb} +7 -7
- data/spec/models/{accept_o_auth2_consent_request_session_spec.rb → consent_request_session_spec.rb} +7 -7
- data/spec/models/{o_auth2_consent_request_spec.rb → consent_request_spec.rb} +7 -7
- data/spec/models/create_custom_hostname_body_spec.rb +1 -1
- data/spec/models/{handled_o_auth2_consent_request_spec.rb → create_project_api_key_request_spec.rb} +8 -8
- data/spec/models/create_project_body_spec.rb +1 -1
- data/spec/models/create_subscription_payload_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/expand_tree_spec.rb +1 -1
- data/spec/models/flush_inactive_o_auth2_tokens_request_spec.rb +34 -0
- data/spec/models/{headers_spec.rb → flush_login_consent_request_spec.rb} +8 -8
- data/spec/models/generic_error_content_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/get_check_response_spec.rb +1 -1
- data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
- data/spec/models/get_relation_tuples_response_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/invite_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/is_ready200_response_spec.rb +1 -1
- data/spec/models/is_ready503_response_spec.rb +1 -1
- data/spec/models/json_error_spec.rb +19 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/{admin_create_json_web_key_set_body_spec.rb → json_web_key_set_generator_request_spec.rb} +7 -7
- 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/{o_auth2_login_request_spec.rb → login_request_spec.rb} +7 -7
- data/spec/models/{o_auth2_logout_request_spec.rb → logout_request_spec.rb} +7 -7
- 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/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/normalized_project_revision_hook_spec.rb +7 -1
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
- data/spec/models/normalized_project_revision_spec.rb +1 -1
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
- data/spec/models/normalized_project_spec.rb +1 -1
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +1 -73
- data/spec/models/{introspected_o_auth2_token_spec.rb → o_auth2_token_introspection_spec.rb} +7 -7
- data/spec/models/{o_auth2_token_response_spec.rb → oauth2_token_response_spec.rb} +7 -7
- data/spec/models/{o_auth2_consent_session_expires_at_spec.rb → oauth_token_response_spec.rb} +16 -10
- data/spec/models/{o_auth2_consent_request_open_id_connect_context_spec.rb → open_id_connect_context_spec.rb} +7 -7
- data/spec/models/pagination_spec.rb +1 -13
- data/spec/models/patch_delta_spec.rb +1 -1
- data/spec/models/{o_auth2_api_error_spec.rb → patch_document_spec.rb} +11 -11
- data/spec/models/{previous_o_auth2_consent_session_spec.rb → previous_consent_session_spec.rb} +7 -7
- data/spec/models/{api_token_spec.rb → project_api_key_spec.rb} +7 -7
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_invite_spec.rb +1 -1
- data/spec/models/project_metadata_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +1 -1
- data/spec/models/project_service_o_auth2_spec.rb +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/provision_mock_subscription_payload_spec.rb +1 -1
- data/spec/models/quota_custom_domains_spec.rb +1 -1
- data/spec/models/quota_project_member_seats_spec.rb +1 -1
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/refresh_token_hook_request_spec.rb +1 -13
- data/spec/models/refresh_token_hook_response_spec.rb +1 -1
- data/spec/models/{reject_o_auth2_request_spec.rb → reject_request_spec.rb} +7 -7
- data/spec/models/relation_query_spec.rb +1 -1
- data/spec/models/relation_tuple_spec.rb +1 -1
- data/spec/models/{handled_o_auth2_login_request_spec.rb → request_was_handled_response_spec.rb} +7 -7
- data/spec/models/revoked_sessions_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/self_service_login_flow_spec.rb +1 -1
- data/spec/models/self_service_logout_url_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
- data/spec/models/self_service_recovery_link_spec.rb +1 -1
- data/spec/models/self_service_registration_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/settings_profile_form_config_spec.rb +1 -1
- data/spec/models/stripe_customer_response_spec.rb +1 -1
- data/spec/models/subject_set_spec.rb +1 -1
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/successful_project_update_spec.rb +1 -1
- data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/{admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb → trust_jwt_grant_issuer_body_spec.rb} +7 -7
- data/spec/models/{trusted_o_auth2_jwt_grant_json_web_key_spec.rb → trusted_json_web_key_spec.rb} +7 -7
- data/spec/models/{trusted_o_auth2_jwt_grant_issuer_spec.rb → trusted_jwt_grant_issuer_spec.rb} +7 -7
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +5 -1
- data/spec/models/ui_node_meta_spec.rb +1 -1
- data/spec/models/ui_node_script_attributes_spec.rb +1 -1
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +1 -1
- data/spec/models/ui_text_spec.rb +1 -1
- data/spec/models/update_custom_hostname_body_spec.rb +1 -1
- data/spec/models/update_project_spec.rb +1 -1
- data/spec/models/update_subscription_payload_spec.rb +1 -1
- data/spec/models/{oidc_user_info_spec.rb → userinfo_response_spec.rb} +7 -7
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/models/{oidc_configuration_spec.rb → well_known_spec.rb} +7 -19
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.4 → psych-4.0.5}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.4 → psych-4.0.5}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.4 → psych-4.0.5}/mkmf.log +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.4 → psych-4.0.5}/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/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/{psych-4.0.4 → psych-4.0.5}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/Mavenfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/bin/console +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/bin/setup +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/depend +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4/lib → psych-4.0.5/ext/psych}/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_emitter.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_parser.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_to_ruby.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_to_ruby.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_yaml_tree.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_yaml_tree.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/config.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/dumper.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/loader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/reader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/scanner.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/writer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/yaml.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/ext/psych/yaml/yaml_private.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/class_loader.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/coder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/core_ext.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/exception.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/handlers/document_stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/handlers/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/json/ruby_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/json/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/json/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/json/yaml_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/alias.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/document.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/mapping.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/scalar.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/sequence.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/nodes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/omap.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/scalar_scanner.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/streaming.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/tree_builder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/versions.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors/depth_first.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors/emitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors/json_tree.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors/to_ruby.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors/visitor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors/yaml_tree.rb +8 -8
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/visitors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych/y.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/lib/psych.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4/ext/psych → psych-4.0.5/lib}/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.5}/psych.gemspec +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/{psych-4.0.4.gemspec → psych-4.0.5.gemspec} +3 -3
- metadata +203 -219
- data/docs/HandledOAuth2ConsentRequest.md +0 -18
- data/docs/HandledOAuth2LogoutRequest.md +0 -18
- data/docs/Headers.md +0 -18
- data/docs/IDTokenClaims.md +0 -44
- data/docs/JsonWebKeySet.md +0 -18
- data/docs/OAuth2AccessRequest.md +0 -24
- data/docs/OAuth2ApiError.md +0 -24
- data/docs/OAuth2ConsentSession.md +0 -38
- data/docs/OAuth2ConsentSessionExpiresAt.md +0 -26
- data/docs/PaginationHeaders.md +0 -20
- data/docs/UpdateOAuth2ClientLifespans.md +0 -40
- data/lib/ory-client/models/id_token_claims.rb +0 -343
- data/lib/ory-client/models/o_auth2_access_request.rb +0 -256
- data/lib/ory-client/models/o_auth2_api_error.rb +0 -251
- data/lib/ory-client/models/o_auth2_consent_session.rb +0 -313
- data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +0 -535
- data/spec/models/id_token_claims_spec.rb +0 -112
- data/spec/models/o_auth2_access_request_spec.rb +0 -52
- data/spec/models/o_auth2_consent_session_spec.rb +0 -94
- data/spec/models/pagination_headers_spec.rb +0 -40
- data/spec/models/successful_o_auth2_request_response_spec.rb +0 -34
- data/spec/models/update_o_auth2_client_lifespans_spec.rb +0 -100
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.4.gem +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.2.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.31
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.1
|
@@ -32,44 +32,6 @@ describe 'V0alpha2Api' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for admin_accept_o_auth2_consent_request
|
36
|
-
# Accept an OAuth 2.0 Consent Request
|
37
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests. The response contains a redirect URL which the consent provider should redirect the user-agent to.
|
38
|
-
# @param consent_challenge
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
|
41
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
42
|
-
describe 'admin_accept_o_auth2_consent_request test' do
|
43
|
-
it 'should work' do
|
44
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# unit tests for admin_accept_o_auth2_login_request
|
49
|
-
# Accept an OAuth 2.0 Login Request
|
50
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell Ory Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has successfully authenticated and includes additional information such as the subject's ID and if ORY Hydra should remember the subject's subject agent for future authentication attempts by setting a cookie. The response contains a redirect URL which the login provider should redirect the user-agent to.
|
51
|
-
# @param login_challenge
|
52
|
-
# @param [Hash] opts the optional parameters
|
53
|
-
# @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
|
54
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
55
|
-
describe 'admin_accept_o_auth2_login_request test' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
# unit tests for admin_accept_o_auth2_logout_request
|
62
|
-
# Accept an OAuth 2.0 Logout Request
|
63
|
-
# When a user or an application requests ORY Hydra to log out a user, this endpoint is used to confirm that logout request. The response contains a redirect URL which the consent provider should redirect the user-agent to.
|
64
|
-
# @param logout_challenge
|
65
|
-
# @param [Hash] opts the optional parameters
|
66
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
67
|
-
describe 'admin_accept_o_auth2_logout_request test' do
|
68
|
-
it 'should work' do
|
69
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
35
|
# unit tests for admin_create_identity
|
74
36
|
# Create an Identity
|
75
37
|
# This endpoint creates an identity. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
@@ -82,31 +44,6 @@ describe 'V0alpha2Api' do
|
|
82
44
|
end
|
83
45
|
end
|
84
46
|
|
85
|
-
# unit tests for admin_create_json_web_key_set
|
86
|
-
# Generate a New JSON Web Key
|
87
|
-
# This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
88
|
-
# @param set The JSON Web Key Set
|
89
|
-
# @param admin_create_json_web_key_set_body
|
90
|
-
# @param [Hash] opts the optional parameters
|
91
|
-
# @return [JsonWebKeySet]
|
92
|
-
describe 'admin_create_json_web_key_set test' do
|
93
|
-
it 'should work' do
|
94
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
# unit tests for admin_create_o_auth2_client
|
99
|
-
# Create an OAuth 2.0 Client
|
100
|
-
# Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
101
|
-
# @param o_auth2_client
|
102
|
-
# @param [Hash] opts the optional parameters
|
103
|
-
# @return [OAuth2Client]
|
104
|
-
describe 'admin_create_o_auth2_client test' do
|
105
|
-
it 'should work' do
|
106
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
47
|
# unit tests for admin_create_self_service_recovery_link
|
111
48
|
# Create a Recovery Link
|
112
49
|
# This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
|
@@ -143,67 +80,6 @@ describe 'V0alpha2Api' do
|
|
143
80
|
end
|
144
81
|
end
|
145
82
|
|
146
|
-
# unit tests for admin_delete_json_web_key
|
147
|
-
# Delete a JSON Web Key
|
148
|
-
# Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
149
|
-
# @param set The JSON Web Key Set
|
150
|
-
# @param kid The JSON Web Key ID (kid)
|
151
|
-
# @param [Hash] opts the optional parameters
|
152
|
-
# @return [nil]
|
153
|
-
describe 'admin_delete_json_web_key test' do
|
154
|
-
it 'should work' do
|
155
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
# unit tests for admin_delete_json_web_key_set
|
160
|
-
# Delete a JSON Web Key Set
|
161
|
-
# Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
162
|
-
# @param set The JSON Web Key Set
|
163
|
-
# @param [Hash] opts the optional parameters
|
164
|
-
# @return [nil]
|
165
|
-
describe 'admin_delete_json_web_key_set test' do
|
166
|
-
it 'should work' do
|
167
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
# unit tests for admin_delete_o_auth2_client
|
172
|
-
# Deletes an OAuth 2.0 Client
|
173
|
-
# 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.
|
174
|
-
# @param id The id of the OAuth 2.0 Client.
|
175
|
-
# @param [Hash] opts the optional parameters
|
176
|
-
# @return [nil]
|
177
|
-
describe 'admin_delete_o_auth2_client test' do
|
178
|
-
it 'should work' do
|
179
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
# unit tests for admin_delete_o_auth2_token
|
184
|
-
# Delete OAuth2 Access Tokens from a Client
|
185
|
-
# This endpoint deletes OAuth2 access tokens issued for a client from the database
|
186
|
-
# @param client_id
|
187
|
-
# @param [Hash] opts the optional parameters
|
188
|
-
# @return [nil]
|
189
|
-
describe 'admin_delete_o_auth2_token test' do
|
190
|
-
it 'should work' do
|
191
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
192
|
-
end
|
193
|
-
end
|
194
|
-
|
195
|
-
# unit tests for admin_delete_trusted_o_auth2_jwt_grant_issuer
|
196
|
-
# Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer
|
197
|
-
# 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.
|
198
|
-
# @param id The id of the desired grant
|
199
|
-
# @param [Hash] opts the optional parameters
|
200
|
-
# @return [nil]
|
201
|
-
describe 'admin_delete_trusted_o_auth2_jwt_grant_issuer test' do
|
202
|
-
it 'should work' do
|
203
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
83
|
# unit tests for admin_extend_session
|
208
84
|
# Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
|
209
85
|
# Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
|
@@ -229,104 +105,6 @@ describe 'V0alpha2Api' do
|
|
229
105
|
end
|
230
106
|
end
|
231
107
|
|
232
|
-
# unit tests for admin_get_json_web_key
|
233
|
-
# Fetch a JSON Web Key
|
234
|
-
# This endpoint returns a singular JSON Web Key. It is identified by the set and the specific key ID (kid).
|
235
|
-
# @param set The JSON Web Key Set
|
236
|
-
# @param kid The JSON Web Key ID (kid)
|
237
|
-
# @param [Hash] opts the optional parameters
|
238
|
-
# @return [JsonWebKeySet]
|
239
|
-
describe 'admin_get_json_web_key test' do
|
240
|
-
it 'should work' do
|
241
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
242
|
-
end
|
243
|
-
end
|
244
|
-
|
245
|
-
# unit tests for admin_get_json_web_key_set
|
246
|
-
# Retrieve a JSON Web Key Set
|
247
|
-
# This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
248
|
-
# @param set The JSON Web Key Set
|
249
|
-
# @param [Hash] opts the optional parameters
|
250
|
-
# @return [JsonWebKeySet]
|
251
|
-
describe 'admin_get_json_web_key_set test' do
|
252
|
-
it 'should work' do
|
253
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
# unit tests for admin_get_o_auth2_client
|
258
|
-
# Get an OAuth 2.0 Client
|
259
|
-
# 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.
|
260
|
-
# @param id The id of the OAuth 2.0 Client.
|
261
|
-
# @param [Hash] opts the optional parameters
|
262
|
-
# @return [OAuth2Client]
|
263
|
-
describe 'admin_get_o_auth2_client test' do
|
264
|
-
it 'should work' do
|
265
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
266
|
-
end
|
267
|
-
end
|
268
|
-
|
269
|
-
# unit tests for admin_get_o_auth2_consent_request
|
270
|
-
# Get OAuth 2.0 Consent Request Information
|
271
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request.
|
272
|
-
# @param consent_challenge
|
273
|
-
# @param [Hash] opts the optional parameters
|
274
|
-
# @return [OAuth2ConsentRequest]
|
275
|
-
describe 'admin_get_o_auth2_consent_request test' do
|
276
|
-
it 'should work' do
|
277
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
278
|
-
end
|
279
|
-
end
|
280
|
-
|
281
|
-
# unit tests for admin_get_o_auth2_login_request
|
282
|
-
# Get an OAuth 2.0 Login Request
|
283
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
|
284
|
-
# @param login_challenge
|
285
|
-
# @param [Hash] opts the optional parameters
|
286
|
-
# @return [OAuth2LoginRequest]
|
287
|
-
describe 'admin_get_o_auth2_login_request test' do
|
288
|
-
it 'should work' do
|
289
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
|
-
# unit tests for admin_get_o_auth2_logout_request
|
294
|
-
# Get an OAuth 2.0 Logout Request
|
295
|
-
# Use this endpoint to fetch a logout request.
|
296
|
-
# @param logout_challenge
|
297
|
-
# @param [Hash] opts the optional parameters
|
298
|
-
# @return [OAuth2LogoutRequest]
|
299
|
-
describe 'admin_get_o_auth2_logout_request test' do
|
300
|
-
it 'should work' do
|
301
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
302
|
-
end
|
303
|
-
end
|
304
|
-
|
305
|
-
# unit tests for admin_get_trusted_o_auth2_jwt_grant_issuer
|
306
|
-
# Get a Trusted OAuth2 JWT Bearer Grant Type Issuer
|
307
|
-
# Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
|
308
|
-
# @param id The id of the desired grant
|
309
|
-
# @param [Hash] opts the optional parameters
|
310
|
-
# @return [TrustedOAuth2JwtGrantIssuer]
|
311
|
-
describe 'admin_get_trusted_o_auth2_jwt_grant_issuer test' do
|
312
|
-
it 'should work' do
|
313
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
314
|
-
end
|
315
|
-
end
|
316
|
-
|
317
|
-
# unit tests for admin_introspect_o_auth2_token
|
318
|
-
# Introspect OAuth2 Access or Refresh Tokens
|
319
|
-
# The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting `accessTokenExtra` during the consent flow. For more information [read this blog post](https://www.oauth.com/oauth2-servers/token-introspection-endpoint/).
|
320
|
-
# @param token The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned.
|
321
|
-
# @param [Hash] opts the optional parameters
|
322
|
-
# @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.
|
323
|
-
# @return [IntrospectedOAuth2Token]
|
324
|
-
describe 'admin_introspect_o_auth2_token test' do
|
325
|
-
it 'should work' do
|
326
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
327
|
-
end
|
328
|
-
end
|
329
|
-
|
330
108
|
# unit tests for admin_list_identities
|
331
109
|
# List Identities
|
332
110
|
# Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
@@ -355,51 +133,6 @@ describe 'V0alpha2Api' do
|
|
355
133
|
end
|
356
134
|
end
|
357
135
|
|
358
|
-
# unit tests for admin_list_o_auth2_clients
|
359
|
-
# List OAuth 2.0 Clients
|
360
|
-
# This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients. The `limit` parameter can be used to retrieve more clients, but it has an upper bound at 500 objects. Pagination should be used to retrieve more than 500 objects. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://project-slug.projects.oryapis.com/admin/clients?limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
361
|
-
# @param [Hash] opts the optional parameters
|
362
|
-
# @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).
|
363
|
-
# @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).
|
364
|
-
# @option opts [String] :client_name The name of the clients to filter by.
|
365
|
-
# @option opts [String] :owner The owner of the clients to filter by.
|
366
|
-
# @return [Array<OAuth2Client>]
|
367
|
-
describe 'admin_list_o_auth2_clients test' do
|
368
|
-
it 'should work' do
|
369
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
370
|
-
end
|
371
|
-
end
|
372
|
-
|
373
|
-
# unit tests for admin_list_o_auth2_subject_consent_sessions
|
374
|
-
# List OAuth 2.0 Consent Sessions of a Subject
|
375
|
-
# This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
376
|
-
# @param subject The subject to list the consent sessions for.
|
377
|
-
# @param [Hash] opts the optional parameters
|
378
|
-
# @option opts [String] :link The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
|
379
|
-
# @option opts [String] :x_total_count The total number of clients.
|
380
|
-
# @return [Array<PreviousOAuth2ConsentSession>]
|
381
|
-
describe 'admin_list_o_auth2_subject_consent_sessions test' do
|
382
|
-
it 'should work' do
|
383
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
384
|
-
end
|
385
|
-
end
|
386
|
-
|
387
|
-
# unit tests for admin_list_trusted_o_auth2_jwt_grant_issuers
|
388
|
-
# List Trusted OAuth2 JWT Bearer Grant Type Issuers
|
389
|
-
# Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
|
390
|
-
# @param [Hash] opts the optional parameters
|
391
|
-
# @option opts [Integer] :max_items
|
392
|
-
# @option opts [Integer] :default_items
|
393
|
-
# @option opts [String] :issuer If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
|
394
|
-
# @option opts [Integer] :limit The maximum amount of policies returned, upper bound is 500 policies
|
395
|
-
# @option opts [Integer] :offset The offset from where to start looking.
|
396
|
-
# @return [Array<TrustedOAuth2JwtGrantIssuer>]
|
397
|
-
describe 'admin_list_trusted_o_auth2_jwt_grant_issuers test' do
|
398
|
-
it 'should work' do
|
399
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
400
|
-
end
|
401
|
-
end
|
402
|
-
|
403
136
|
# unit tests for admin_patch_identity
|
404
137
|
# Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
|
405
138
|
# NOTE: The fields `id`, `stateChangedAt` and `credentials` are not updateable. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
@@ -413,96 +146,6 @@ describe 'V0alpha2Api' do
|
|
413
146
|
end
|
414
147
|
end
|
415
148
|
|
416
|
-
# unit tests for admin_patch_o_auth2_client
|
417
|
-
# Patch an OAuth 2.0 Client
|
418
|
-
# Patch an existing OAuth 2.0 Client. If you pass `client_secret` the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
419
|
-
# @param id The id of the OAuth 2.0 Client.
|
420
|
-
# @param json_patch
|
421
|
-
# @param [Hash] opts the optional parameters
|
422
|
-
# @return [OAuth2Client]
|
423
|
-
describe 'admin_patch_o_auth2_client test' do
|
424
|
-
it 'should work' do
|
425
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
426
|
-
end
|
427
|
-
end
|
428
|
-
|
429
|
-
# unit tests for admin_reject_o_auth2_consent_request
|
430
|
-
# Reject an OAuth 2.0 Consent Request
|
431
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider must include a reason why the consent was not granted. The response contains a redirect URL which the consent provider should redirect the user-agent to.
|
432
|
-
# @param consent_challenge
|
433
|
-
# @param [Hash] opts the optional parameters
|
434
|
-
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
435
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
436
|
-
describe 'admin_reject_o_auth2_consent_request test' do
|
437
|
-
it 'should work' do
|
438
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
439
|
-
end
|
440
|
-
end
|
441
|
-
|
442
|
-
# unit tests for admin_reject_o_auth2_login_request
|
443
|
-
# Reject an OAuth 2.0 Login Request
|
444
|
-
# When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has not authenticated and includes a reason why the authentication was denied. The response contains a redirect URL which the login provider should redirect the user-agent to.
|
445
|
-
# @param login_challenge
|
446
|
-
# @param [Hash] opts the optional parameters
|
447
|
-
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
448
|
-
# @return [SuccessfulOAuth2RequestResponse]
|
449
|
-
describe 'admin_reject_o_auth2_login_request test' do
|
450
|
-
it 'should work' do
|
451
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
452
|
-
end
|
453
|
-
end
|
454
|
-
|
455
|
-
# unit tests for admin_reject_o_auth2_logout_request
|
456
|
-
# Reject an OAuth 2.0 Logout Request
|
457
|
-
# When a user or an application requests ORY Hydra to log out a user, this endpoint is used to deny that logout request. No body is required. The response is empty as the logout provider has to chose what action to perform next.
|
458
|
-
# @param logout_challenge
|
459
|
-
# @param [Hash] opts the optional parameters
|
460
|
-
# @option opts [RejectOAuth2Request] :reject_o_auth2_request
|
461
|
-
# @return [nil]
|
462
|
-
describe 'admin_reject_o_auth2_logout_request test' do
|
463
|
-
it 'should work' do
|
464
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
465
|
-
end
|
466
|
-
end
|
467
|
-
|
468
|
-
# unit tests for admin_revoke_o_auth2_consent_sessions
|
469
|
-
# Revokes OAuth 2.0 Consent Sessions of a Subject for a Specific OAuth 2.0 Client
|
470
|
-
# This endpoint revokes a subject's granted consent sessions for a specific OAuth 2.0 Client and invalidates all associated OAuth 2.0 Access Tokens.
|
471
|
-
# @param subject The subject (Subject) whose consent sessions should be deleted.
|
472
|
-
# @param [Hash] opts the optional parameters
|
473
|
-
# @option opts [String] :client If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID
|
474
|
-
# @option opts [Boolean] :all If set to `true` deletes all consent sessions by the Subject that have been granted.
|
475
|
-
# @return [nil]
|
476
|
-
describe 'admin_revoke_o_auth2_consent_sessions test' do
|
477
|
-
it 'should work' do
|
478
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
# unit tests for admin_revoke_o_auth2_login_sessions
|
483
|
-
# Invalidates All OAuth 2.0 Login Sessions of a Certain User
|
484
|
-
# This endpoint invalidates a subject's authentication session. After revoking the authentication session, the subject has to re-authenticate at ORY Hydra. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
|
485
|
-
# @param subject The subject to revoke authentication sessions for.
|
486
|
-
# @param [Hash] opts the optional parameters
|
487
|
-
# @return [nil]
|
488
|
-
describe 'admin_revoke_o_auth2_login_sessions test' do
|
489
|
-
it 'should work' do
|
490
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
491
|
-
end
|
492
|
-
end
|
493
|
-
|
494
|
-
# unit tests for admin_trust_o_auth2_jwt_grant_issuer
|
495
|
-
# Trust an OAuth2 JWT Bearer Grant Type Issuer
|
496
|
-
# 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).
|
497
|
-
# @param [Hash] opts the optional parameters
|
498
|
-
# @option opts [AdminTrustOAuth2JwtGrantIssuerBody] :admin_trust_o_auth2_jwt_grant_issuer_body
|
499
|
-
# @return [TrustedOAuth2JwtGrantIssuer]
|
500
|
-
describe 'admin_trust_o_auth2_jwt_grant_issuer test' do
|
501
|
-
it 'should work' do
|
502
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
503
|
-
end
|
504
|
-
end
|
505
|
-
|
506
149
|
# unit tests for admin_update_identity
|
507
150
|
# Update an Identity
|
508
151
|
# This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
|
@@ -516,53 +159,26 @@ describe 'V0alpha2Api' do
|
|
516
159
|
end
|
517
160
|
end
|
518
161
|
|
519
|
-
# unit tests for
|
520
|
-
#
|
521
|
-
#
|
522
|
-
# @param set The JSON Web Key Set
|
523
|
-
# @param kid The JSON Web Key ID (kid)
|
524
|
-
# @param [Hash] opts the optional parameters
|
525
|
-
# @option opts [JsonWebKey] :json_web_key
|
526
|
-
# @return [JsonWebKey]
|
527
|
-
describe 'admin_update_json_web_key test' do
|
528
|
-
it 'should work' do
|
529
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
530
|
-
end
|
531
|
-
end
|
532
|
-
|
533
|
-
# unit tests for admin_update_json_web_key_set
|
534
|
-
# Update a JSON Web Key Set
|
535
|
-
# Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
|
536
|
-
# @param set The JSON Web Key Set
|
537
|
-
# @param [Hash] opts the optional parameters
|
538
|
-
# @option opts [JsonWebKeySet] :json_web_key_set
|
539
|
-
# @return [JsonWebKeySet]
|
540
|
-
describe 'admin_update_json_web_key_set test' do
|
541
|
-
it 'should work' do
|
542
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
|
-
# unit tests for admin_update_o_auth2_client
|
547
|
-
# Update an OAuth 2.0 Client
|
548
|
-
# Update an existing OAuth 2.0 Client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
549
|
-
# @param id The id of the OAuth 2.0 Client.
|
550
|
-
# @param o_auth2_client
|
162
|
+
# unit tests for create_project
|
163
|
+
# # Create a Project
|
164
|
+
# Creates a new project.
|
551
165
|
# @param [Hash] opts the optional parameters
|
552
|
-
# @
|
553
|
-
|
166
|
+
# @option opts [CreateProjectBody] :create_project_body
|
167
|
+
# @return [Project]
|
168
|
+
describe 'create_project test' do
|
554
169
|
it 'should work' do
|
555
170
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
556
171
|
end
|
557
172
|
end
|
558
173
|
|
559
|
-
# unit tests for
|
560
|
-
# Create
|
561
|
-
#
|
174
|
+
# unit tests for create_project_api_key
|
175
|
+
# # Create API Token
|
176
|
+
# Create an API token for a project.
|
177
|
+
# @param project The Project ID or Project slug
|
562
178
|
# @param [Hash] opts the optional parameters
|
563
|
-
# @option opts [
|
564
|
-
# @return [
|
565
|
-
describe '
|
179
|
+
# @option opts [CreateProjectApiKeyRequest] :create_project_api_key_request
|
180
|
+
# @return [ProjectApiKey]
|
181
|
+
describe 'create_project_api_key test' do
|
566
182
|
it 'should work' do
|
567
183
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
568
184
|
end
|
@@ -580,72 +196,14 @@ describe 'V0alpha2Api' do
|
|
580
196
|
end
|
581
197
|
end
|
582
198
|
|
583
|
-
# unit tests for
|
584
|
-
#
|
585
|
-
#
|
586
|
-
# @param
|
587
|
-
# @
|
588
|
-
describe 'discover_json_web_keys test' do
|
589
|
-
it 'should work' do
|
590
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
# unit tests for discover_oidc_configuration
|
595
|
-
# OpenID Connect Discovery
|
596
|
-
# The well known endpoint an be used to retrieve information for OpenID Connect clients. We encourage you to not roll your own OpenID Connect client but to use an OpenID Connect client library instead. You can learn more on this flow at https://openid.net/specs/openid-connect-discovery-1_0.html . Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/
|
597
|
-
# @param [Hash] opts the optional parameters
|
598
|
-
# @return [OidcConfiguration]
|
599
|
-
describe 'discover_oidc_configuration test' do
|
600
|
-
it 'should work' do
|
601
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
602
|
-
end
|
603
|
-
end
|
604
|
-
|
605
|
-
# unit tests for dynamic_client_registration_create_o_auth2_client
|
606
|
-
# Register an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
607
|
-
# This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or `client_secret_post`. The `client_secret` will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe.
|
608
|
-
# @param o_auth2_client
|
609
|
-
# @param [Hash] opts the optional parameters
|
610
|
-
# @return [OAuth2Client]
|
611
|
-
describe 'dynamic_client_registration_create_o_auth2_client test' do
|
612
|
-
it 'should work' do
|
613
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
614
|
-
end
|
615
|
-
end
|
616
|
-
|
617
|
-
# unit tests for dynamic_client_registration_delete_o_auth2_client
|
618
|
-
# Deletes an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
619
|
-
# This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
620
|
-
# @param id The id of the OAuth 2.0 Client.
|
199
|
+
# unit tests for delete_project_api_key
|
200
|
+
# # Delete API Token
|
201
|
+
# Deletes an API Token and immediately removes it.
|
202
|
+
# @param project The Project ID or Project slug
|
203
|
+
# @param token_id The Token ID
|
621
204
|
# @param [Hash] opts the optional parameters
|
622
205
|
# @return [nil]
|
623
|
-
describe '
|
624
|
-
it 'should work' do
|
625
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
626
|
-
end
|
627
|
-
end
|
628
|
-
|
629
|
-
# unit tests for dynamic_client_registration_get_o_auth2_client
|
630
|
-
# Get an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
631
|
-
# This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
632
|
-
# @param id The id of the OAuth 2.0 Client.
|
633
|
-
# @param [Hash] opts the optional parameters
|
634
|
-
# @return [OAuth2Client]
|
635
|
-
describe 'dynamic_client_registration_get_o_auth2_client test' do
|
636
|
-
it 'should work' do
|
637
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
638
|
-
end
|
639
|
-
end
|
640
|
-
|
641
|
-
# unit tests for dynamic_client_registration_update_o_auth2_client
|
642
|
-
# Update an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
|
643
|
-
# This endpoint behaves like the administrative counterpart (`updateOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
|
644
|
-
# @param id The id of the OAuth 2.0 Client.
|
645
|
-
# @param o_auth2_client
|
646
|
-
# @param [Hash] opts the optional parameters
|
647
|
-
# @return [OAuth2Client]
|
648
|
-
describe 'dynamic_client_registration_update_o_auth2_client test' do
|
206
|
+
describe 'delete_project_api_key test' do
|
649
207
|
it 'should work' do
|
650
208
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
651
209
|
end
|
@@ -662,19 +220,8 @@ describe 'V0alpha2Api' do
|
|
662
220
|
end
|
663
221
|
end
|
664
222
|
|
665
|
-
# unit tests for get_oidc_user_info
|
666
|
-
# OpenID Connect Userinfo
|
667
|
-
# This endpoint returns the payload of the ID Token, including the idTokenExtra values, of the provided OAuth 2.0 Access Token. For more information please [refer to the spec](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo). In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format.
|
668
|
-
# @param [Hash] opts the optional parameters
|
669
|
-
# @return [OidcUserInfo]
|
670
|
-
describe 'get_oidc_user_info test' do
|
671
|
-
it 'should work' do
|
672
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
673
|
-
end
|
674
|
-
end
|
675
|
-
|
676
223
|
# unit tests for get_project
|
677
|
-
# Get a Project
|
224
|
+
# # Get a Project
|
678
225
|
# Get a projects you have access to by its ID.
|
679
226
|
# @param project_id Project ID The project's ID.
|
680
227
|
# @param [Hash] opts the optional parameters
|
@@ -763,7 +310,7 @@ describe 'V0alpha2Api' do
|
|
763
310
|
end
|
764
311
|
|
765
312
|
# unit tests for get_self_service_verification_flow
|
766
|
-
# Get Verification Flow
|
313
|
+
# # Get Verification Flow
|
767
314
|
# This endpoint returns a verification flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceVerificationFlow(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
|
768
315
|
# @param id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
|
769
316
|
# @param [Hash] opts the optional parameters
|
@@ -919,8 +466,20 @@ describe 'V0alpha2Api' do
|
|
919
466
|
end
|
920
467
|
end
|
921
468
|
|
469
|
+
# unit tests for list_project_api_keys
|
470
|
+
# # List a Project's API Tokens
|
471
|
+
# A list of all the project's API tokens.
|
472
|
+
# @param project The Project ID or Project slug
|
473
|
+
# @param [Hash] opts the optional parameters
|
474
|
+
# @return [Array<ProjectApiKey>]
|
475
|
+
describe 'list_project_api_keys test' do
|
476
|
+
it 'should work' do
|
477
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
922
481
|
# unit tests for list_projects
|
923
|
-
# List All Projects
|
482
|
+
# # List All Projects
|
924
483
|
# Lists all projects you have access to.
|
925
484
|
# @param [Hash] opts the optional parameters
|
926
485
|
# @return [Array<ProjectMetadata>]
|
@@ -958,46 +517,8 @@ describe 'V0alpha2Api' do
|
|
958
517
|
end
|
959
518
|
end
|
960
519
|
|
961
|
-
# unit tests for perform_o_auth2_authorization_flow
|
962
|
-
# The OAuth 2.0 Authorize Endpoint
|
963
|
-
# This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows. OAuth2 is a very popular protocol and a library for your programming language will exists. To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc6749
|
964
|
-
# @param [Hash] opts the optional parameters
|
965
|
-
# @return [OAuth2ApiError]
|
966
|
-
describe 'perform_o_auth2_authorization_flow test' do
|
967
|
-
it 'should work' do
|
968
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
969
|
-
end
|
970
|
-
end
|
971
|
-
|
972
|
-
# unit tests for perform_o_auth2_token_flow
|
973
|
-
# The OAuth 2.0 Token Endpoint
|
974
|
-
# The client makes a request to the token endpoint by sending the following parameters using the \"application/x-www-form-urlencoded\" HTTP request entity-body. > Do not implement a client for this endpoint yourself. Use a library. There are many libraries > available for any programming language. You can find a list of libraries here: https://oauth.net/code/ > > Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above
|
975
|
-
# @param grant_type
|
976
|
-
# @param [Hash] opts the optional parameters
|
977
|
-
# @option opts [String] :client_id
|
978
|
-
# @option opts [String] :code
|
979
|
-
# @option opts [String] :redirect_uri
|
980
|
-
# @option opts [String] :refresh_token
|
981
|
-
# @return [OAuth2TokenResponse]
|
982
|
-
describe 'perform_o_auth2_token_flow test' do
|
983
|
-
it 'should work' do
|
984
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
985
|
-
end
|
986
|
-
end
|
987
|
-
|
988
|
-
# unit tests for perform_oidc_front_or_back_channel_logout
|
989
|
-
# OpenID Connect Front- or Back-channel Enabled Logout
|
990
|
-
# This endpoint initiates and completes user logout at Ory Hydra and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow.
|
991
|
-
# @param [Hash] opts the optional parameters
|
992
|
-
# @return [nil]
|
993
|
-
describe 'perform_oidc_front_or_back_channel_logout test' do
|
994
|
-
it 'should work' do
|
995
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
996
|
-
end
|
997
|
-
end
|
998
|
-
|
999
520
|
# unit tests for purge_project
|
1000
|
-
# Irrecoverably Purge a Project
|
521
|
+
# # Irrecoverably Purge a Project
|
1001
522
|
# !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
|
1002
523
|
# @param project_id Project ID The project's ID.
|
1003
524
|
# @param [Hash] opts the optional parameters
|
@@ -1021,18 +542,6 @@ describe 'V0alpha2Api' do
|
|
1021
542
|
end
|
1022
543
|
end
|
1023
544
|
|
1024
|
-
# unit tests for revoke_o_auth2_token
|
1025
|
-
# Revoke an OAuth2 Access or Refresh Token
|
1026
|
-
# 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.
|
1027
|
-
# @param token
|
1028
|
-
# @param [Hash] opts the optional parameters
|
1029
|
-
# @return [nil]
|
1030
|
-
describe 'revoke_o_auth2_token test' do
|
1031
|
-
it 'should work' do
|
1032
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
|
1036
545
|
# unit tests for revoke_session
|
1037
546
|
# Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
|
1038
547
|
# This endpoint is useful for: To forcefully logout the current user from another device or session
|
@@ -1143,7 +652,7 @@ describe 'V0alpha2Api' do
|
|
1143
652
|
end
|
1144
653
|
|
1145
654
|
# unit tests for submit_self_service_verification_flow
|
1146
|
-
# Complete Verification Flow
|
655
|
+
# # Complete Verification Flow
|
1147
656
|
# Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
|
1148
657
|
# @param flow The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
|
1149
658
|
# @param submit_self_service_verification_flow_body
|
@@ -1171,7 +680,7 @@ describe 'V0alpha2Api' do
|
|
1171
680
|
end
|
1172
681
|
|
1173
682
|
# unit tests for update_project
|
1174
|
-
# Update an Ory Cloud Project Configuration
|
683
|
+
# # Update an Ory Cloud Project Configuration
|
1175
684
|
# This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
|
1176
685
|
# @param project_id Project ID The project's ID.
|
1177
686
|
# @param [Hash] opts the optional parameters
|