You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Lookup and save upstream links
This commit is contained in:
@ -46,3 +46,10 @@ pub struct UpstreamOAuthAuthorizationSession {
|
||||
pub created_at: DateTime<Utc>,
|
||||
pub completed_at: Option<DateTime<Utc>>,
|
||||
}
|
||||
|
||||
impl UpstreamOAuthAuthorizationSession {
|
||||
#[must_use]
|
||||
pub const fn completed(&self) -> bool {
|
||||
self.completed_at.is_some()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user