auth0/authentication/get_token/
token_exchange_for_native_social.rs

1use crate::authentication::get_token::*;
2
3#[derive(Serialize, Deserialize)]
4pub struct RequestParameters {
5    pub grant_type: String,
6    pub subject_token: String,
7    pub subject_token_type: String,
8    pub client_id: String,
9    #[serde(skip_serializing_if = "Option::is_none")]
10    pub audience: Option<String>,
11    #[serde(skip_serializing_if = "Option::is_none")]
12    pub scope: Option<String>,
13    // #[serde(skip_serializing_if = "Option::is_none")]
14    #[serde(skip_serializing)]
15    pub auth0_forwarded_for: Option<String>,
16}