added todos

This commit is contained in:
franklinblanco 2022-07-07 11:50:39 -04:00
parent aaa91cc330
commit dc9b063f70

View File

@ -18,3 +18,11 @@ pub async fn delete_expired_tokens(conn: &mut MySqlConnection) -> Result<MySqlQu
AUTH_TOKEN_EXPIRATION_TIME_IN_DAYS, REFRESH_TOKEN_EXPIRATION_TIME_IN_DAYS) AUTH_TOKEN_EXPIRATION_TIME_IN_DAYS, REFRESH_TOKEN_EXPIRATION_TIME_IN_DAYS)
.execute(conn).await .execute(conn).await
} }
pub async fn _is_auth_token_expired(_conn: &mut MySqlConnection, _token_id: &i32) -> 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