diff options
Diffstat (limited to 'src/auth.rs')
-rw-r--r-- | src/auth.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auth.rs b/src/auth.rs index e39305c..7b72b21 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -4,12 +4,14 @@ use actix_web::{HttpRequest, HttpResponse, Result}; pub struct Auth; +/// HTTP Basic authentication errors pub enum BasicAuthError { Base64DecodeError, InvalidUsernameFormat, } #[derive(Clone, Debug)] +/// HTTP Basic authentication parameters pub struct BasicAuthParams { pub username: String, pub password: String, |