pub enum LivenessFailure {
Revoked {
cause: RevokeCause,
},
Transient {
retry_after: Option<Duration>,
cause: TransientCause,
},
}Expand description
A liveness attempt that did not confirm freshness.
Variants§
Revoked
PAS rejected the refresh_token, or the SDK cannot recover it. Mark the session revoked and drop the auth context.
Fields
§
cause: RevokeCauseTransient
PAS is temporarily unreachable or local infra blipped. Serve
the cached session. retry_after is a back-off hint.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LivenessFailure
impl RefUnwindSafe for LivenessFailure
impl Send for LivenessFailure
impl Sync for LivenessFailure
impl Unpin for LivenessFailure
impl UnsafeUnpin for LivenessFailure
impl UnwindSafe for LivenessFailure
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