Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data AuthenticationCodeType
- = AuthenticationCodeTypeTelegramMessage { }
- | AuthenticationCodeTypeSms { }
- | AuthenticationCodeTypeSmsWord { }
- | AuthenticationCodeTypeSmsPhrase {
- first_word :: Maybe Text
- | AuthenticationCodeTypeCall { }
- | AuthenticationCodeTypeFlashCall { }
- | AuthenticationCodeTypeMissedCall { }
- | AuthenticationCodeTypeFragment { }
- | AuthenticationCodeTypeFirebaseAndroid { }
- | AuthenticationCodeTypeFirebaseIos { }
Documentation
data AuthenticationCodeType Source #
Provides information about the method by which an authentication code is delivered to the user
AuthenticationCodeTypeTelegramMessage | A digit-only authentication code is delivered via a private Telegram message, which can be viewed from another active session |
AuthenticationCodeTypeSms | A digit-only authentication code is delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code |
AuthenticationCodeTypeSmsWord | An authentication code is a word delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code |
| |
AuthenticationCodeTypeSmsPhrase | An authentication code is a phrase from multiple words delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code |
| |
AuthenticationCodeTypeCall | A digit-only authentication code is delivered via a phone call to the specified phone number |
AuthenticationCodeTypeFlashCall | An authentication code is delivered by an immediately canceled call to the specified phone number. The phone number that calls is the code that must be entered automatically |
AuthenticationCodeTypeMissedCall | An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user |
AuthenticationCodeTypeFragment | A digit-only authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT |
AuthenticationCodeTypeFirebaseAndroid | A digit-only authentication code is delivered via Firebase Authentication to the official Android application |
| |
AuthenticationCodeTypeFirebaseIos | A digit-only authentication code is delivered via Firebase Authentication to the official iOS application |
|
Instances
FromJSON AuthenticationCodeType Source # | |
Defined in TD.Data.AuthenticationCodeType | |
Show AuthenticationCodeType Source # | |
Defined in TD.Data.AuthenticationCodeType showsPrec :: Int -> AuthenticationCodeType -> ShowS # show :: AuthenticationCodeType -> String # showList :: [AuthenticationCodeType] -> ShowS # | |
Eq AuthenticationCodeType Source # | |
Defined in TD.Data.AuthenticationCodeType | |
ShortShow AuthenticationCodeType Source # | |
Defined in TD.Data.AuthenticationCodeType |