propelauth 0.23.3

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
12
13
14
15
16
17

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BadCreateAccessTokenError {
    #[serde(rename = "active_org_id", skip_serializing_if = "Option::is_none")]
    pub active_org_id: Option<Vec<String>>,
    #[serde(rename = "user_id", skip_serializing_if = "Option::is_none")]
    pub user_id: Option<Vec<String>>,
}

impl BadCreateAccessTokenError {
    pub fn new() -> BadCreateAccessTokenError {
        BadCreateAccessTokenError {
            active_org_id: None,
            user_id: None,
        }
    }
}