class Tourmaline::EncryptedCredentials
- Tourmaline::EncryptedCredentials
- Reference
- Object
Overview
Describes data required for decrypting and authenticating EncryptedPassportElement. See the Telegram Passport Documentation for a complete description of the data decryption and authentication processes.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#data : String
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
-
#data=(data : String)
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
-
#hash : String
Base64-encoded data hash for data authentication
-
#hash=(hash : String)
Base64-encoded data hash for data authentication
-
#secret : String
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
-
#secret=(secret : String)
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
Constructor Detail
Instance Method Detail
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption