added todos
This commit is contained in:
parent
aaa91cc330
commit
dc9b063f70
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue