Struct rive_models::mfa::MFATicket
source · pub struct MFATicket {
pub id: String,
pub account_id: String,
pub token: String,
pub validated: bool,
pub authorised: bool,
pub last_totp_code: Option<String>,
}Expand description
Multi-factor auth ticket
Fields§
§id: StringUnique Id
account_id: StringAccount Id
token: StringUnique Token
validated: boolWhether this ticket has been validated (can be used for account actions)
Whether this ticket is authorised (can be used to log a user in)
last_totp_code: Option<String>TOTP code at time of ticket creation
Trait Implementations§
source§impl<'de> Deserialize<'de> for MFATicket
impl<'de> Deserialize<'de> for MFATicket
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more