Module: OryHydraClient

Defined in:
lib/ory-hydra-client/version.rb,
lib/ory-hydra-client.rb,
lib/ory-hydra-client/api_error.rb,
lib/ory-hydra-client/api_client.rb,
lib/ory-hydra-client/api/jwk_api.rb,
lib/ory-hydra-client/api/oidc_api.rb,
lib/ory-hydra-client/configuration.rb,
lib/ory-hydra-client/models/version.rb,
lib/ory-hydra-client/api/o_auth2_api.rb,
lib/ory-hydra-client/api/metadata_api.rb,
lib/ory-hydra-client/api/wellknown_api.rb,
lib/ory-hydra-client/models/json_patch.rb,
lib/ory-hydra-client/models/pagination.rb,
lib/ory-hydra-client/models/json_web_key.rb,
lib/ory-hydra-client/models/error_o_auth2.rb,
lib/ory-hydra-client/models/generic_error.rb,
lib/ory-hydra-client/models/health_status.rb,
lib/ory-hydra-client/models/o_auth2_client.rb,
lib/ory-hydra-client/models/oidc_user_info.rb,
lib/ory-hydra-client/models/json_web_key_set.rb,
lib/ory-hydra-client/models/token_pagination.rb,
lib/ory-hydra-client/models/oidc_configuration.rb,
lib/ory-hydra-client/models/pagination_headers.rb,
lib/ory-hydra-client/models/o_auth2_redirect_to.rb,
lib/ory-hydra-client/models/is_ready200_response.rb,
lib/ory-hydra-client/models/is_ready503_response.rb,
lib/ory-hydra-client/models/o_auth2_login_request.rb,
lib/ory-hydra-client/models/o_auth2_logout_request.rb,
lib/ory-hydra-client/models/o_auth2_token_exchange.rb,
lib/ory-hydra-client/models/reject_o_auth2_request.rb,
lib/ory-hydra-client/models/create_json_web_key_set.rb,
lib/ory-hydra-client/models/get_version200_response.rb,
lib/ory-hydra-client/models/health_not_ready_status.rb,
lib/ory-hydra-client/models/o_auth2_consent_request.rb,
lib/ory-hydra-client/models/o_auth2_consent_session.rb,
lib/ory-hydra-client/models/token_pagination_headers.rb,
lib/ory-hydra-client/models/introspected_o_auth2_token.rb,
lib/ory-hydra-client/models/accept_o_auth2_login_request.rb,
lib/ory-hydra-client/models/accept_o_auth2_consent_request.rb,
lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb,
lib/ory-hydra-client/models/trust_o_auth2_jwt_grant_issuer.rb,
lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_issuer.rb,
lib/ory-hydra-client/models/token_pagination_response_headers.rb,
lib/ory-hydra-client/models/o_auth2_consent_session_expires_at.rb,
lib/ory-hydra-client/models/token_pagination_request_parameters.rb,
lib/ory-hydra-client/models/accept_o_auth2_consent_request_session.rb,
lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb,
lib/ory-hydra-client/models/o_auth2_consent_request_open_id_connect_context.rb

Overview

#Ory Hydra API

#Documentation for all of Ory Hydra’s APIs.

The version of the OpenAPI document: v2.1.1 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 6.0.1

Defined Under Namespace

Classes: AcceptOAuth2ConsentRequest, AcceptOAuth2ConsentRequestSession, AcceptOAuth2LoginRequest, ApiClient, ApiError, Configuration, CreateJsonWebKeySet, ErrorOAuth2, GenericError, GetVersion200Response, HealthNotReadyStatus, HealthStatus, IntrospectedOAuth2Token, IsReady200Response, IsReady503Response, JsonPatch, JsonWebKey, JsonWebKeySet, JwkApi, MetadataApi, OAuth2Api, OAuth2Client, OAuth2ClientTokenLifespans, OAuth2ConsentRequest, OAuth2ConsentRequestOpenIDConnectContext, OAuth2ConsentSession, OAuth2ConsentSessionExpiresAt, OAuth2LoginRequest, OAuth2LogoutRequest, OAuth2RedirectTo, OAuth2TokenExchange, OidcApi, OidcConfiguration, OidcUserInfo, Pagination, PaginationHeaders, RejectOAuth2Request, TokenPagination, TokenPaginationHeaders, TokenPaginationRequestParameters, TokenPaginationResponseHeaders, TrustOAuth2JwtGrantIssuer, TrustedOAuth2JwtGrantIssuer, TrustedOAuth2JwtGrantJsonWebKey, Version, WellknownApi

Constant Summary collapse

VERSION =
'2.1.1'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



74
75
76
77
78
79
80
# File 'lib/ory-hydra-client.rb', line 74

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