pub struct RefreshSession {
pub subject: Subject,
pub session_id: SessionId,
pub current_refresh_jti: RefreshJti,
pub previous_refresh_jti: Option<RefreshJti>,
pub last_seen_at: i64,
pub refresh_expires_at: i64,
pub revoked: bool,
pub client: ClientContext,
}Expand description
Authoritative product session snapshot, read under the transaction used for the decision.
Fields§
§subject: SubjectAccount owning this session.
session_id: SessionIdStable session identity used to identify replays older than the previous JTI.
current_refresh_jti: RefreshJtiCurrently usable refresh identity.
previous_refresh_jti: Option<RefreshJti>Immediately preceding identity, if this session has rotated.
last_seen_at: i64Last committed successful rotation time.
refresh_expires_at: i64Exclusive server-side session expiry.
revoked: boolWhether this session has been revoked.
client: ClientContextStored client evidence from the last successful request.
Trait Implementations§
Source§impl Clone for RefreshSession
impl Clone for RefreshSession
Source§fn clone(&self) -> RefreshSession
fn clone(&self) -> RefreshSession
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefreshSession
impl Debug for RefreshSession
Source§impl PartialEq for RefreshSession
impl PartialEq for RefreshSession
impl Eq for RefreshSession
impl StructuralPartialEq for RefreshSession
Auto Trait Implementations§
impl Freeze for RefreshSession
impl RefUnwindSafe for RefreshSession
impl Send for RefreshSession
impl Sync for RefreshSession
impl Unpin for RefreshSession
impl UnsafeUnpin for RefreshSession
impl UnwindSafe for RefreshSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more