successful auth

This commit is contained in:
Alex Janka 2024-05-25 14:22:03 +10:00
parent 4a3d65b868
commit 77502e06ee

View file

@ -22,6 +22,14 @@ impl AuthInfo {
} }
} }
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct SuccessfulAuth {
locale: String,
code: String,
state: String,
issuer: String,
}
#[derive(Error, Debug)] #[derive(Error, Debug)]
pub enum SaveError { pub enum SaveError {
#[error("stdio error")] #[error("stdio error")]