/*
 * doqium - service-auth REST API
 *
 * doqium - service-auth REST API
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::doqium_auth_client::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct LoginWebAuthnRequestResponse {
    #[serde(rename = "authenticatorData")]
    pub authenticator_data: String,
    #[serde(rename = "clientDataJSON")]
    pub client_data_json: String,
    #[serde(rename = "signature")]
    pub signature: String,
    #[serde(rename = "userHandle")]
    pub user_handle: String,
}

impl LoginWebAuthnRequestResponse {
    pub fn new(
        authenticator_data: String,
        client_data_json: String,
        signature: String,
        user_handle: String,
    ) -> LoginWebAuthnRequestResponse {
        LoginWebAuthnRequestResponse {
            authenticator_data,
            client_data_json,
            signature,
            user_handle,
        }
    }
}
