class
Hamilton::Types::EncryptedCredentials
- Hamilton::Types::EncryptedCredentials
- Reference
- Object
Overview
Describes data required for decrypting and authenticating EncryptedPassportElement.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/encrypted_credentials.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#data : String
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for
EncryptedPassportElementdecryption and authentication. -
#data=(data : String)
Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for
EncryptedPassportElementdecryption and authentication. -
#hash : String
Base64-encoded data hash for data authentication.
-
#hash=(hash : String)
Base64-encoded data hash for data authentication.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#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.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
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.