Support CAS authentication

This commit is contained in:
Kevin Yue committed 2024-04-03 06:40:40 -04:00
1 parent 7c6ae315e1
commit e9f2dbf9ea
7 files changed
+155 -184

No files matched your search

+8
View File
@@ -9,3 +9,11 @@ pub enum PortalError {
#[error("Network error: {0}")]
NetworkError(String),
}
#[derive(Error, Debug)]
pub enum AuthDataParseError {
#[error("No auth data found")]
NotFound,
#[error("Invalid auth data")]
Invalid,
}