Module: Privy::Models::LinkedAccountType

Extended by:
Internal::Type::Union
Defined in:
lib/privy/models/linked_account_type.rb

Overview

The possible types of linked accounts.

collapse

EMAIL =
:email
PHONE =
:phone
WALLET =
:wallet
SMART_WALLET =
:smart_wallet
GOOGLE_OAUTH =
:google_oauth
TWITTER_OAUTH =
:twitter_oauth
DISCORD_OAUTH =
:discord_oauth
GITHUB_OAUTH =
:github_oauth
SPOTIFY_OAUTH =
:spotify_oauth
INSTAGRAM_OAUTH =
:instagram_oauth
TIKTOK_OAUTH =
:tiktok_oauth
LINE_OAUTH =
:line_oauth
TWITCH_OAUTH =
:twitch_oauth
LINKEDIN_OAUTH =
:linkedin_oauth
APPLE_OAUTH =
:apple_oauth
CUSTOM_AUTH =
:custom_auth
FARCASTER =
:farcaster
PASSKEY =
:passkey
TELEGRAM =
:telegram
CROSS_APP =
:cross_app
AUTHORIZATION_KEY =
:authorization_key

Class 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

Class Method Details

.variantsArray(Symbol, String)

Returns:

  • (Array(Symbol, String))


57
58
59
# File 'lib/privy/models/linked_account_type.rb', line 57

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(Privy::LinkedAccountType::TaggedSymbol, String) }
end