You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
storage: do less joins on authorization grants and refresh tokens
This commit is contained in:
@@ -33,7 +33,7 @@ pub struct RefreshToken {
|
||||
pub id: Ulid,
|
||||
pub refresh_token: String,
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub access_token: Option<AccessToken>,
|
||||
pub access_token_id: Option<Ulid>,
|
||||
}
|
||||
|
||||
/// Type of token to generate or validate
|
||||
|
||||
Reference in New Issue
Block a user