pub struct LoginRevocationChange(/* private fields */);Expand description
Proposed ledger record from a serialized commit callback or trusted storage. A durable host must persist this with its session/replay changes before returning success. This is not a credential or reusable authorization result.
Implementations§
Source§impl LoginRevocationChange
impl LoginRevocationChange
Sourcepub fn check_replacement(
&self,
previous: &Self,
now_ns: u64,
) -> Result<(), LoginRevocationError>
pub fn check_replacement( &self, previous: &Self, now_ns: u64, ) -> Result<(), LoginRevocationError>
Check replacement of a trusted retained slot. An equal generation keeps its caller, binding and denial even after expiry. A greater generation requires a reservation with a different browser key in the same slot. Unknown denials remain caller-bound until expiry. This does not authenticate storage, admit a proposed record, observe the clock, charge a budget or commit anything. Hosts retain those checks and exact pool accounting under their atomic transaction boundary.
Sourcepub fn audience(&self) -> AudienceId
pub fn audience(&self) -> AudienceId
Protected trust domain owning the record.
Sourcepub fn displaced_caller(&self) -> Option<Principal>
pub fn displaced_caller(&self) -> Option<Principal>
Previous browser binding removed in this same atomic admission transaction. This is a transaction delta, not retained checkpoint data.
Sourcepub fn state(&self) -> LoginRecordState
pub fn state(&self) -> LoginRecordState
Typed state from this checked ledger record. Storage codecs retain their existing frozen representation independently of this Rust projection.