| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.CheckAuthenticationPasskey
Documentation
data CheckAuthenticationPasskey Source #
Checks a passkey to log in to the corresponding account. Call getAuthenticationPasskeyParameters to get parameters for the passkey. Works only when the current authorization state is authorizationStateWaitPhoneNumber or authorizationStateWaitOtherDeviceConfirmation, or if there is no pending authentication query and the current authorization state is authorizationStateWaitPremiumPurchase, authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword. Returns Ok
Constructors
| CheckAuthenticationPasskey | |
Fields
| |
Instances
| ToJSON CheckAuthenticationPasskey Source # | |
Defined in TD.Query.CheckAuthenticationPasskey Methods toJSON :: CheckAuthenticationPasskey -> Value # toEncoding :: CheckAuthenticationPasskey -> Encoding # toJSONList :: [CheckAuthenticationPasskey] -> Value # toEncodingList :: [CheckAuthenticationPasskey] -> Encoding # | |
| Show CheckAuthenticationPasskey Source # | |
Defined in TD.Query.CheckAuthenticationPasskey Methods showsPrec :: Int -> CheckAuthenticationPasskey -> ShowS # show :: CheckAuthenticationPasskey -> String # showList :: [CheckAuthenticationPasskey] -> ShowS # | |
| Eq CheckAuthenticationPasskey Source # | |
Defined in TD.Query.CheckAuthenticationPasskey Methods (==) :: CheckAuthenticationPasskey -> CheckAuthenticationPasskey -> Bool # (/=) :: CheckAuthenticationPasskey -> CheckAuthenticationPasskey -> Bool # | |
| ShortShow CheckAuthenticationPasskey Source # | |
Defined in TD.Query.CheckAuthenticationPasskey Methods | |