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
New JWT/JOSE crate
Still WIP, needs to handle time related claims
This commit is contained in:
@ -159,6 +159,7 @@ impl TryInto<BrowserSession<PostgresqlBackend>> for SessionLookup {
|
||||
}
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip_all, fields(session.id = id))]
|
||||
pub async fn lookup_active_session(
|
||||
executor: impl PgExecutor<'_>,
|
||||
id: i64,
|
||||
@ -191,6 +192,7 @@ pub async fn lookup_active_session(
|
||||
Ok(res)
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip_all, fields(user.id = user.data))]
|
||||
pub async fn start_session(
|
||||
executor: impl PgExecutor<'_>,
|
||||
user: User<PostgresqlBackend>,
|
||||
|
Reference in New Issue
Block a user