propelauth 0.23.5

A Rust crate for managing authentication and authorization with support for multi-tenant / B2B products, powered by PropelAuth
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct VerifyTotpChallengeResponse {
    #[serde(rename = "step_up_grant")]
    pub step_up_grant: String,
}

impl VerifyTotpChallengeResponse {
    pub fn new(step_up_grant: String) -> Self {
        Self { step_up_grant }
    }
}