aboutsummaryrefslogtreecommitdiff
path: root/crates/secd/store/sqlite/sql/read_session.sql
blob: 4daa3525b2664c30ab0fb33e097b07ab978dbb0a (plain)
1
2
3
4
5
6
7
8
select
        i.identity_public_id
        , s.created_at
        , s.expires_at
        , s.revoked_at
from session  s
join identity i using (identity_id)
where secret_hash = ?1;