Class: Cerca::Models::OAuthExchangeConfig::ClientCredentialsOAuthExchange

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cerca/models/oauth_exchange_config.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

This class inherits a constructor from Cerca::Internal::Type::BaseModel

Instance Attribute Details

#audienceString?

Returns:

  • (String, nil)


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

optional :audience, String

#client_idString

Returns:

  • (String)


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

required :client_id, String, api_name: :clientId

#client_secret_connection_idString

Returns:

  • (String)


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

required :client_secret_connection_id, String, api_name: :clientSecretConnectionId

#extra_paramsHash{Symbol=>String}?

Returns:

  • (Hash{Symbol=>String}, nil)


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

optional :extra_params, Cerca::Internal::Type::HashOf[String], api_name: :extraParams

#grant_typeSymbol, :client_credentials

Returns:

  • (Symbol, :client_credentials)


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

required :grant_type, const: :client_credentials, api_name: :grantType

#scopesArray<String>?

Returns:

  • (Array<String>, nil)


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

optional :scopes, Cerca::Internal::Type::ArrayOf[String]

#token_urlString

Returns:

  • (String)


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

required :token_url, String, api_name: :tokenUrl