Struct tozny_auth::question::Question
[-] [+]
[src]
pub struct Question {
pub signed_data: String,
pub signature: String,
}Type representing a signed message. The data in a Question is signed
using HMAC-SHA256.
Fields
signed_data | |
signature |
Methods
impl Question
fn new(key_id: &KeyId, secret: &Secret, method: &Method, params: &Object) -> Result<Question, EncoderError>
Constructs a message to send to the Tozny API. The format value for
params will vary depending on the choice of method.