verify_user_token

This commit is contained in:
deneb 2024-02-10 11:11:46 +01:00
parent 6e70220222
commit 6a1be899f7

View file

@ -15,7 +15,11 @@ impl Authenticator {
Self {}
}
pub fn create_user_token(username: &str, password: &str) -> UserToken {
pub fn create_user_token(&mut self, username: &str, password: &str) -> UserToken {
todo!()
}
pub fn verify_user_token(&self, token: &UserToken) -> bool {
todo!()
}
}