auth0/authentication/passwordless/authenticate_user.rs
1use crate::authentication::passwordless::*;
2
3#[derive(Serialize, Deserialize)]
4pub struct RequestParameters {
5 pub grant_type: String,
6 pub client_id: String,
7 pub client_secret: String,
8 pub username: String,
9 pub realm: String,
10 pub otp: String,
11 #[serde(skip_serializing_if = "Option::is_none")]
12 pub audience: Option<String>,
13 #[serde(skip_serializing_if = "Option::is_none")]
14 pub scope: Option<String>,
15}