pub struct Authenticator { // TODO } impl Authenticator { pub fn new(/* database credentials ? */) -> Self { Self {} } pub fn create_user_token(username: &str, password: &str) -> String { todo!() } }