Module: Privy::Models::LinkedAccountType

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

Overview

The possible types of linked accounts.

collapse

EMAIL =

Returns:

  • (:email)
:email
PHONE =

Returns:

  • (:phone)
:phone
WALLET =

Returns:

  • (:wallet)
:wallet
SMART_WALLET =

Returns:

  • (:smart_wallet)
:smart_wallet
GOOGLE_OAUTH =

Returns:

  • (:google_oauth)
:google_oauth
TWITTER_OAUTH =

Returns:

  • (:twitter_oauth)
:twitter_oauth
DISCORD_OAUTH =

Returns:

  • (:discord_oauth)
:discord_oauth
GITHUB_OAUTH =

Returns:

  • (:github_oauth)
:github_oauth
SPOTIFY_OAUTH =

Returns:

  • (:spotify_oauth)
:spotify_oauth
INSTAGRAM_OAUTH =

Returns:

  • (:instagram_oauth)
:instagram_oauth
TIKTOK_OAUTH =

Returns:

  • (:tiktok_oauth)
:tiktok_oauth
LINE_OAUTH =

Returns:

  • (:line_oauth)
:line_oauth
TWITCH_OAUTH =

Returns:

  • (:twitch_oauth)
:twitch_oauth
LINKEDIN_OAUTH =

Returns:

  • (:linkedin_oauth)
:linkedin_oauth
APPLE_OAUTH =

Returns:

  • (:apple_oauth)
:apple_oauth
CUSTOM_AUTH =

Returns:

  • (:custom_auth)
:custom_auth
FARCASTER =

Returns:

  • (:farcaster)
:farcaster
PASSKEY =

Returns:

  • (:passkey)
:passkey
TELEGRAM =

Returns:

  • (:telegram)
:telegram
CROSS_APP =

Returns:

  • (:cross_app)
:cross_app
AUTHORIZATION_KEY =

Returns:

  • (:authorization_key)
:authorization_key

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, 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

Instance Method Details

#self?.variants::Array[Privy::Models::linked_account_type]

Returns:

  • (::Array[Privy::Models::linked_account_type])


30
# File 'sig/privy/models/linked_account_type.rbs', line 30

def self?.variants: -> ::Array[Privy::Models::linked_account_type]