pub struct SessionChallenge {
pub nonce: String,
pub verifier_key: String,
pub issued_at: DateTime<Utc>,
pub nonce_lifetime_seconds: u32,
}Expand description
What the enforcer handed out for one session request.
Fields§
§nonce: StringNonce the enforcer generated, base64.
verifier_key: StringEnforcer’s ephemeral public key, base64.
issued_at: DateTime<Utc>When the nonce was issued.
nonce_lifetime_seconds: u32How long a nonce stays usable.
Trait Implementations§
Source§impl Clone for SessionChallenge
impl Clone for SessionChallenge
Source§impl Debug for SessionChallenge
impl Debug for SessionChallenge
impl Eq for SessionChallenge
Source§impl PartialEq for SessionChallenge
impl PartialEq for SessionChallenge
impl StructuralPartialEq for SessionChallenge
Auto Trait Implementations§
impl Forget for SessionChallenge
impl Freeze for SessionChallenge
impl Move for SessionChallenge
impl RefUnwindSafe for SessionChallenge
impl Send for SessionChallenge
impl Sync for SessionChallenge
impl Unpin for SessionChallenge
impl UnsafeUnpin for SessionChallenge
impl UnwindSafe for SessionChallenge
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