tsk-41: Adding auth #43

Merged
phoenix merged 17 commits from tsk-41 into main 2025-08-14 23:11:42 +00:00
Showing only changes of commit 0695df3f72 - Show all commits

View File

@@ -93,14 +93,18 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
mod auth {
// TODO: Implement function
pub async fn get_token() -> icarus_models::login_result::LoginResult {
icarus_models::login_result::LoginResult::default()
}
// TODO: Implement function. Might want to put the functionality within icarus_models
// at some point
pub async fn did_token_expire(login_result: &icarus_models::login_result::LoginResult) -> bool {
true
}
// TODO: Implement function
pub async fn get_refresh_token(login_result: &icarus_models::login_result::LoginResult) -> icarus_models::login_result::LoginResult {
icarus_models::login_result::LoginResult::default()
}