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
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CreateApiKeyResponse {
    pub api_key_id: String,
    pub api_key_token: String,
}

impl CreateApiKeyResponse {
    pub fn new(api_key_id: String, api_key_token: String) -> Self {
        CreateApiKeyResponse {
            api_key_id,
            api_key_token,
        }
    }
}