Class: Privy::Models::AppCustomOAuthProvider

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/app_custom_oauth_provider.rb,
sig/privy/models/app_custom_oauth_provider.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, 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

#initialize(enabled:, provider:, provider_display_name:, provider_icon_url:) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::AppCustomOAuthProvider for more details.

A custom OAuth provider configured for an app.

Parameters:

  • enabled (Boolean)
  • provider (String)

    The ID of a custom OAuth provider, set up for this app. Must start with "custom:

  • provider_display_name (String)
  • provider_icon_url (String)


# File 'lib/privy/models/app_custom_oauth_provider.rb', line 28

Instance Attribute Details

#enabledBoolean

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


9
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 9

required :enabled, Privy::Internal::Type::Boolean

#providerString

The ID of a custom OAuth provider, set up for this app. Must start with "custom:".

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 16

required :provider, String

#provider_display_nameString

Parameters:

  • value (String)

Returns:

  • (String)


21
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 21

required :provider_display_name, String

#provider_icon_urlString

Parameters:

  • value (String)

Returns:

  • (String)


26
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 26

required :provider_icon_url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


27
# File 'sig/privy/models/app_custom_oauth_provider.rbs', line 27

def to_hash: -> {