Claim fix #27

Merged
phoenix merged 4 commits from claim_fix into main 2026-06-13 19:00:22 -04:00
Showing only changes of commit e7d62a8f11 - Show all commits
+2 -1
View File
@@ -42,7 +42,7 @@ pub struct LoginResult {
pub issued_at: i64, pub issued_at: i64,
} }
// Alias for LoginResult /// Alias for LoginResult
pub type Login = LoginResult; pub type Login = LoginResult;
pub fn get_issued() -> time::Result<time::OffsetDateTime> { pub fn get_issued() -> time::Result<time::OffsetDateTime> {
@@ -66,6 +66,7 @@ pub struct TokenResource {
pub user_id: uuid::Uuid, pub user_id: uuid::Uuid,
} }
/// Token type
pub const TOKEN_TYPE: &str = "JWT"; pub const TOKEN_TYPE: &str = "JWT";
pub fn create_token( pub fn create_token(