pub struct StepUpVerification {
pub subject: String,
pub action: String,
pub resource_hash: String,
pub authenticated_at: u64,
pub expires_at: u64,
pub proof_id: String,
}Expand description
已验证 proof 的服务端信息。
Fields§
§subject: String绑定的认证主体。
action: String绑定的全限定 Action 引用。
resource_hash: String资源标识的 SHA-256 指纹;原始资源不会写入 Token。
authenticated_at: u64完成重认证的 Unix 时间戳。
expires_at: u64proof 过期 Unix 时间戳。
proof_id: Stringproof 的唯一 ID,供审计关联。
Trait Implementations§
Source§impl Clone for StepUpVerification
impl Clone for StepUpVerification
Source§impl Debug for StepUpVerification
impl Debug for StepUpVerification
impl Eq for StepUpVerification
Source§impl PartialEq for StepUpVerification
impl PartialEq for StepUpVerification
impl StructuralPartialEq for StepUpVerification
Auto Trait Implementations§
impl Forget for StepUpVerification
impl Freeze for StepUpVerification
impl Move for StepUpVerification
impl RefUnwindSafe for StepUpVerification
impl Send for StepUpVerification
impl Sync for StepUpVerification
impl Unpin for StepUpVerification
impl UnsafeUnpin for StepUpVerification
impl UnwindSafe for StepUpVerification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more