Module: OryKratosClient

Defined in:
lib/ory-kratos-client/version.rb,
lib/ory-kratos-client.rb,
lib/ory-kratos-client/api_error.rb,
lib/ory-kratos-client/api_client.rb,
lib/ory-kratos-client/configuration.rb,
lib/ory-kratos-client/models/message.rb,
lib/ory-kratos-client/models/session.rb,
lib/ory-kratos-client/models/ui_node.rb,
lib/ory-kratos-client/models/ui_text.rb,
lib/ory-kratos-client/models/version.rb,
lib/ory-kratos-client/api/courier_api.rb,
lib/ory-kratos-client/models/identity.rb,
lib/ory-kratos-client/api/frontend_api.rb,
lib/ory-kratos-client/api/identity_api.rb,
lib/ory-kratos-client/api/metadata_api.rb,
lib/ory-kratos-client/models/flow_error.rb,
lib/ory-kratos-client/models/json_patch.rb,
lib/ory-kratos-client/models/login_flow.rb,
lib/ory-kratos-client/models/logout_flow.rb,
lib/ory-kratos-client/models/ui_container.rb,
lib/ory-kratos-client/models/ui_node_meta.rb,
lib/ory-kratos-client/models/continue_with.rb,
lib/ory-kratos-client/models/error_generic.rb,
lib/ory-kratos-client/models/generic_error.rb,
lib/ory-kratos-client/models/health_status.rb,
lib/ory-kratos-client/models/recovery_flow.rb,
lib/ory-kratos-client/models/settings_flow.rb,
lib/ory-kratos-client/models/identity_patch.rb,
lib/ory-kratos-client/models/o_auth2_client.rb,
lib/ory-kratos-client/models/session_device.rb,
lib/ory-kratos-client/models/login_flow_state.rb,
lib/ory-kratos-client/models/message_dispatch.rb,
lib/ory-kratos-client/models/token_pagination.rb,
lib/ory-kratos-client/models/registration_flow.rb,
lib/ory-kratos-client/models/verification_flow.rb,
lib/ory-kratos-client/models/ui_node_attributes.rb,
lib/ory-kratos-client/models/error_flow_replaced.rb,
lib/ory-kratos-client/models/recovery_flow_state.rb,
lib/ory-kratos-client/models/settings_flow_state.rb,
lib/ory-kratos-client/models/courier_message_type.rb,
lib/ory-kratos-client/models/create_identity_body.rb,
lib/ory-kratos-client/models/identity_credentials.rb,
lib/ory-kratos-client/models/is_alive200_response.rb,
lib/ory-kratos-client/models/is_ready503_response.rb,
lib/ory-kratos-client/models/update_identity_body.rb,
lib/ory-kratos-client/models/o_auth2_login_request.rb,
lib/ory-kratos-client/models/patch_identities_body.rb,
lib/ory-kratos-client/models/courier_message_status.rb,
lib/ory-kratos-client/models/update_login_flow_body.rb,
lib/ory-kratos-client/models/get_version200_response.rb,
lib/ory-kratos-client/models/health_not_ready_status.rb,
lib/ory-kratos-client/models/identity_patch_response.rb,
lib/ory-kratos-client/models/registration_flow_state.rb,
lib/ory-kratos-client/models/successful_native_login.rb,
lib/ory-kratos-client/models/ui_node_text_attributes.rb,
lib/ory-kratos-client/models/verification_flow_state.rb,
lib/ory-kratos-client/models/delete_my_sessions_count.rb,
lib/ory-kratos-client/models/token_pagination_headers.rb,
lib/ory-kratos-client/models/ui_node_image_attributes.rb,
lib/ory-kratos-client/models/ui_node_input_attributes.rb,
lib/ory-kratos-client/models/continue_with_recovery_ui.rb,
lib/ory-kratos-client/models/continue_with_settings_ui.rb,
lib/ory-kratos-client/models/identity_credentials_code.rb,
lib/ory-kratos-client/models/identity_credentials_oidc.rb,
lib/ory-kratos-client/models/identity_schema_container.rb,
lib/ory-kratos-client/models/identity_with_credentials.rb,
lib/ory-kratos-client/models/recovery_identity_address.rb,
lib/ory-kratos-client/models/ui_node_anchor_attributes.rb,
lib/ory-kratos-client/models/ui_node_script_attributes.rb,
lib/ory-kratos-client/models/update_recovery_flow_body.rb,
lib/ory-kratos-client/models/update_settings_flow_body.rb,
lib/ory-kratos-client/models/perform_native_logout_body.rb,
lib/ory-kratos-client/models/recovery_code_for_identity.rb,
lib/ory-kratos-client/models/recovery_link_for_identity.rb,
lib/ory-kratos-client/models/verifiable_identity_address.rb,
lib/ory-kratos-client/models/authenticator_assurance_level.rb,
lib/ory-kratos-client/models/continue_with_verification_ui.rb,
lib/ory-kratos-client/models/identity_credentials_password.rb,
lib/ory-kratos-client/models/session_authentication_method.rb,
lib/ory-kratos-client/models/update_registration_flow_body.rb,
lib/ory-kratos-client/models/update_verification_flow_body.rb,
lib/ory-kratos-client/models/consistency_request_parameters.rb,
lib/ory-kratos-client/models/continue_with_recovery_ui_flow.rb,
lib/ory-kratos-client/models/continue_with_settings_ui_flow.rb,
lib/ory-kratos-client/models/identity_with_credentials_oidc.rb,
lib/ory-kratos-client/models/needs_privileged_session_error.rb,
lib/ory-kratos-client/models/successful_native_registration.rb,
lib/ory-kratos-client/models/batch_patch_identities_response.rb,
lib/ory-kratos-client/models/self_service_flow_expired_error.rb,
lib/ory-kratos-client/models/successful_code_exchange_response.rb,
lib/ory-kratos-client/models/continue_with_verification_ui_flow.rb,
lib/ory-kratos-client/models/identity_credentials_oidc_provider.rb,
lib/ory-kratos-client/models/identity_with_credentials_password.rb,
lib/ory-kratos-client/models/update_login_flow_with_code_method.rb,
lib/ory-kratos-client/models/update_login_flow_with_oidc_method.rb,
lib/ory-kratos-client/models/update_login_flow_with_totp_method.rb,
lib/ory-kratos-client/models/continue_with_set_ory_session_token.rb,
lib/ory-kratos-client/models/identity_with_credentials_oidc_config.rb,
lib/ory-kratos-client/models/update_login_flow_with_passkey_method.rb,
lib/ory-kratos-client/models/update_recovery_flow_with_code_method.rb,
lib/ory-kratos-client/models/update_recovery_flow_with_link_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_oidc_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_totp_method.rb,
lib/ory-kratos-client/models/create_recovery_code_for_identity_body.rb,
lib/ory-kratos-client/models/create_recovery_link_for_identity_body.rb,
lib/ory-kratos-client/models/error_browser_location_change_required.rb,
lib/ory-kratos-client/models/update_login_flow_with_password_method.rb,
lib/ory-kratos-client/models/update_login_flow_with_web_authn_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_lookup_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_passkey_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_profile_method.rb,
lib/ory-kratos-client/models/identity_with_credentials_password_config.rb,
lib/ory-kratos-client/models/update_registration_flow_with_code_method.rb,
lib/ory-kratos-client/models/update_registration_flow_with_oidc_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_password_method.rb,
lib/ory-kratos-client/models/update_verification_flow_with_code_method.rb,
lib/ory-kratos-client/models/update_verification_flow_with_link_method.rb,
lib/ory-kratos-client/models/update_settings_flow_with_web_authn_method.rb,
lib/ory-kratos-client/models/update_login_flow_with_lookup_secret_method.rb,
lib/ory-kratos-client/models/update_registration_flow_with_passkey_method.rb,
lib/ory-kratos-client/models/update_registration_flow_with_profile_method.rb,
lib/ory-kratos-client/models/update_registration_flow_with_password_method.rb,
lib/ory-kratos-client/models/identity_with_credentials_oidc_config_provider.rb,
lib/ory-kratos-client/models/update_registration_flow_with_web_authn_method.rb,
lib/ory-kratos-client/models/o_auth2_consent_request_open_id_connect_context.rb,
lib/ory-kratos-client/models/error_authenticator_assurance_level_not_satisfied.rb

Overview

#Ory Identities API

#This is the API specification for Ory Identities with features such as registration, login, recovery, account verification, profile settings, password reset, identity management, session management, email and sms delivery, and more.

The version of the OpenAPI document: v1.2.1 Contact: [email protected] Generated by: openapi-generator.tech Generator version: 7.7.0

Defined Under Namespace

Modules: ContinueWith, UiNodeAttributes, UpdateLoginFlowBody, UpdateRecoveryFlowBody, UpdateRegistrationFlowBody, UpdateSettingsFlowBody, UpdateVerificationFlowBody Classes: ApiClient, ApiError, AuthenticatorAssuranceLevel, BatchPatchIdentitiesResponse, Configuration, ConsistencyRequestParameters, ContinueWithRecoveryUi, ContinueWithRecoveryUiFlow, ContinueWithSetOrySessionToken, ContinueWithSettingsUi, ContinueWithSettingsUiFlow, ContinueWithVerificationUi, ContinueWithVerificationUiFlow, CourierApi, CourierMessageStatus, CourierMessageType, CreateIdentityBody, CreateRecoveryCodeForIdentityBody, CreateRecoveryLinkForIdentityBody, DeleteMySessionsCount, ErrorAuthenticatorAssuranceLevelNotSatisfied, ErrorBrowserLocationChangeRequired, ErrorFlowReplaced, ErrorGeneric, FlowError, FrontendApi, GenericError, GetVersion200Response, HealthNotReadyStatus, HealthStatus, Identity, IdentityApi, IdentityCredentials, IdentityCredentialsCode, IdentityCredentialsOidc, IdentityCredentialsOidcProvider, IdentityCredentialsPassword, IdentityPatch, IdentityPatchResponse, IdentitySchemaContainer, IdentityWithCredentials, IdentityWithCredentialsOidc, IdentityWithCredentialsOidcConfig, IdentityWithCredentialsOidcConfigProvider, IdentityWithCredentialsPassword, IdentityWithCredentialsPasswordConfig, IsAlive200Response, IsReady503Response, JsonPatch, LoginFlow, LoginFlowState, LogoutFlow, Message, MessageDispatch, MetadataApi, NeedsPrivilegedSessionError, OAuth2Client, OAuth2ConsentRequestOpenIDConnectContext, OAuth2LoginRequest, PatchIdentitiesBody, PerformNativeLogoutBody, RecoveryCodeForIdentity, RecoveryFlow, RecoveryFlowState, RecoveryIdentityAddress, RecoveryLinkForIdentity, RegistrationFlow, RegistrationFlowState, SelfServiceFlowExpiredError, Session, SessionAuthenticationMethod, SessionDevice, SettingsFlow, SettingsFlowState, SuccessfulCodeExchangeResponse, SuccessfulNativeLogin, SuccessfulNativeRegistration, TokenPagination, TokenPaginationHeaders, UiContainer, UiNode, UiNodeAnchorAttributes, UiNodeImageAttributes, UiNodeInputAttributes, UiNodeMeta, UiNodeScriptAttributes, UiNodeTextAttributes, UiText, UpdateIdentityBody, UpdateLoginFlowWithCodeMethod, UpdateLoginFlowWithLookupSecretMethod, UpdateLoginFlowWithOidcMethod, UpdateLoginFlowWithPasskeyMethod, UpdateLoginFlowWithPasswordMethod, UpdateLoginFlowWithTotpMethod, UpdateLoginFlowWithWebAuthnMethod, UpdateRecoveryFlowWithCodeMethod, UpdateRecoveryFlowWithLinkMethod, UpdateRegistrationFlowWithCodeMethod, UpdateRegistrationFlowWithOidcMethod, UpdateRegistrationFlowWithPasskeyMethod, UpdateRegistrationFlowWithPasswordMethod, UpdateRegistrationFlowWithProfileMethod, UpdateRegistrationFlowWithWebAuthnMethod, UpdateSettingsFlowWithLookupMethod, UpdateSettingsFlowWithOidcMethod, UpdateSettingsFlowWithPasskeyMethod, UpdateSettingsFlowWithPasswordMethod, UpdateSettingsFlowWithProfileMethod, UpdateSettingsFlowWithTotpMethod, UpdateSettingsFlowWithWebAuthnMethod, UpdateVerificationFlowWithCodeMethod, UpdateVerificationFlowWithLinkMethod, VerifiableIdentityAddress, VerificationFlow, VerificationFlowState, Version

Constant Summary collapse

VERSION =
'1.2.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

OryKratosClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



152
153
154
155
156
157
158
# File 'lib/ory-kratos-client.rb', line 152

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end