verify_user_token
This commit is contained in:
parent
6e70220222
commit
6a1be899f7
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,11 @@ impl Authenticator {
|
||||||
Self {}
|
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!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue