diff --git a/como_api/src/controllers/auth.rs b/como_api/src/controllers/auth.rs index ebe65be..5ac1744 100644 --- a/como_api/src/controllers/auth.rs +++ b/como_api/src/controllers/auth.rs @@ -21,6 +21,7 @@ use serde_json::json; #[derive(Debug, Deserialize)] pub struct ZitadelAuthParams { + #[allow(dead_code)] return_url: Option, } diff --git a/como_auth/src/auth.rs b/como_auth/src/auth.rs index d524b46..70bbca7 100644 --- a/como_auth/src/auth.rs +++ b/como_auth/src/auth.rs @@ -118,7 +118,7 @@ impl Auth for NoopAuthService { todo!() } - async fn login_token(&self, user: &str, password: &str) -> anyhow::Result { + async fn login_token(&self, _user: &str, _password: &str) -> anyhow::Result { todo!() } diff --git a/como_auth/src/introspection.rs b/como_auth/src/introspection.rs index 43ec02b..05b1635 100644 --- a/como_auth/src/introspection.rs +++ b/como_auth/src/introspection.rs @@ -125,6 +125,7 @@ impl IntrospectionStateBuilder { self } + #[allow(dead_code)] pub fn with_jwt_profile(&mut self, application: Application) -> &mut IntrospectionStateBuilder { self.authentication = Some(AuthorityAuthentication::JWTProfile { application }); diff --git a/como_bin/src/error.rs b/como_bin/src/error.rs index bc8201a..f5f37e6 100644 --- a/como_bin/src/error.rs +++ b/como_bin/src/error.rs @@ -1,6 +1,7 @@ use axum::{http::StatusCode, response::IntoResponse, Json}; use serde_json::json; +#[allow(dead_code)] #[derive(Debug)] pub enum AppError { WrongCredentials,