pub enum AuthenticationCodeType {
TelegramMessage(AuthenticationCodeTypeTelegramMessage),
Sms(AuthenticationCodeTypeSms),
Call(AuthenticationCodeTypeCall),
FlashCall(AuthenticationCodeTypeFlashCall),
MissedCall(AuthenticationCodeTypeMissedCall),
Fragment(AuthenticationCodeTypeFragment),
FirebaseAndroid(AuthenticationCodeTypeFirebaseAndroid),
FirebaseIos(AuthenticationCodeTypeFirebaseIos),
}
Variants§
TelegramMessage(AuthenticationCodeTypeTelegramMessage)
An authentication code is delivered via a private Telegram message, which can be viewed from another active session
Sms(AuthenticationCodeTypeSms)
An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code
Call(AuthenticationCodeTypeCall)
An authentication code is delivered via a phone call to the specified phone number
FlashCall(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
MissedCall(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
Fragment(AuthenticationCodeTypeFragment)
An authentication code is delivered to https:fragment.com. The user must be logged in there via a wallet owning the phone number’s NFT
FirebaseAndroid(AuthenticationCodeTypeFirebaseAndroid)
An authentication code is delivered via Firebase Authentication to the official Android application
FirebaseIos(AuthenticationCodeTypeFirebaseIos)
An authentication code is delivered via Firebase Authentication to the official iOS application
Trait Implementations§
Source§impl Clone for AuthenticationCodeType
impl Clone for AuthenticationCodeType
Source§fn clone(&self) -> AuthenticationCodeType
fn clone(&self) -> AuthenticationCodeType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more