Class: Privy::Models::AppCustomOAuthProvider
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::AppCustomOAuthProvider
- Defined in:
- lib/privy/models/app_custom_oauth_provider.rb,
sig/privy/models/app_custom_oauth_provider.rbs
Instance Attribute Summary collapse
- #enabled ⇒ Boolean
-
#provider ⇒ String
The ID of a custom OAuth provider, set up for this app.
- #provider_display_name ⇒ String
- #provider_icon_url ⇒ String
Instance Method Summary collapse
-
#initialize(enabled:, provider:, provider_display_name:, provider_icon_url:) ⇒ Object
constructor
Some parameter documentations has been truncated, see AppCustomOAuthProvider for more details.
- #to_hash ⇒ {
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.
|
|
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 28
|
Instance Attribute Details
#enabled ⇒ Boolean
9 |
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 9 required :enabled, Privy::Internal::Type::Boolean |
#provider ⇒ String
The ID of a custom OAuth provider, set up for this app. Must start with "custom:".
16 |
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 16 required :provider, String |
#provider_display_name ⇒ String
21 |
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 21 required :provider_display_name, String |
#provider_icon_url ⇒ String
26 |
# File 'lib/privy/models/app_custom_oauth_provider.rb', line 26 required :provider_icon_url, String |
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/privy/models/app_custom_oauth_provider.rbs', line 27
def to_hash: -> {
|