Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
cdeefba39a
commit
491ec81298
@ -21,6 +21,7 @@ use serde_json::json;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct ZitadelAuthParams {
|
||||
#[allow(dead_code)]
|
||||
return_url: Option<String>,
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ impl Auth for NoopAuthService {
|
||||
todo!()
|
||||
}
|
||||
|
||||
async fn login_token(&self, user: &str, password: &str) -> anyhow::Result<String> {
|
||||
async fn login_token(&self, _user: &str, _password: &str) -> anyhow::Result<String> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
|
@ -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 });
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
use axum::{http::StatusCode, response::IntoResponse, Json};
|
||||
use serde_json::json;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug)]
|
||||
pub enum AppError {
|
||||
WrongCredentials,
|
||||
|
Loading…
Reference in New Issue
Block a user