bitwarden_core/auth/login/response/two_factor/
authenticator.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, JsonSchema)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
pub struct Authenticator {}

impl From<crate::auth::api::response::two_factor_provider_data::authenticator::Authenticator>
    for Authenticator
{
    fn from(
        _: crate::auth::api::response::two_factor_provider_data::authenticator::Authenticator,
    ) -> Self {
        Self {}
    }
}