From dc9b063f705d0f2b0a5687f01299dc02d488904f Mon Sep 17 00:00:00 2001 From: franklinblanco Date: Thu, 7 Jul 2022 11:50:39 -0400 Subject: [PATCH] added todos --- src/dao/token_dao.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/dao/token_dao.rs b/src/dao/token_dao.rs index d9edf2a..1cf4cdc 100644 --- a/src/dao/token_dao.rs +++ b/src/dao/token_dao.rs @@ -18,3 +18,11 @@ pub async fn delete_expired_tokens(conn: &mut MySqlConnection) -> Result Result<(), sqlx::Error>{ + Ok(()) +} +pub async fn _is_refresh_token_expired(_conn: &mut MySqlConnection, _token_id: &i32) -> Result<(), sqlx::Error>{ + Ok(()) +} +//TODO: is auth token expired +//TODO: is refresh token expired