Module: Cerca::Models::OAuthExchangeConfig

Extended by:
Internal::Type::Union
Defined in:
lib/cerca/models/oauth_exchange_config.rb

Overview

Source-owned OAuth exchange configuration. Public schemas use connection IDs for stored client secrets and assertions.

Defined Under Namespace

Classes: ClientCredentialsOAuthExchange, JwtBearerOAuthExchange

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(client_id:, client_secret_connection_id:, token_url:, audience: nil, extra_params: nil, scopes: nil, grant_type: :client_credentials) ⇒ Object

Parameters:

  • client_id (String)
  • client_secret_connection_id (String)
  • token_url (String)
  • audience (String) (defaults to: nil)
  • extra_params (Hash{Symbol=>String}) (defaults to: nil)
  • scopes (Array<String>) (defaults to: nil)
  • grant_type (Symbol, :client_credentials) (defaults to: :client_credentials)


# File 'lib/cerca/models/oauth_exchange_config.rb', line 52