#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct KCClient {
pub clientId: String,
pub enabled: bool,
pub publicClient: bool,
pub clientAuthenticatorType: Option<String>, pub secret: Option<String>, pub protocol: Option<String>, pub redirectUris: Vec<String>, pub webOrigins: Vec<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct KCCredential {
pub r#type: String,
pub value: String,
pub temporary: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct KCUser {
pub username: String,
pub enabled: bool,
pub emailVerified: bool,
pub firstName: String,
pub lastName: String,
pub email: String,
pub credentials: Vec<KCCredential>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Realm {
pub realm: String,
pub enabled: bool,
pub displayName: String,
pub clients: Vec<KCClient>,
pub users: Vec<KCUser>,
}