pub struct VerifyChallengeRequest {
pub challenge_request: ChallengeRequest,
pub challenge: [u8; 32],
pub signature: [u8; 64],
pub expires_at: u64,
pub additional_headers: BTreeMap<String, String>,
}Expand description
Represents the challenge solution sent from the client to the server after signing the challenge string.
Fields§
§challenge_request: ChallengeRequestThe original challenge request sent from the server to the client in the first step
challenge: [u8; 32]The challenge string sent from the server to the client to be signed by the user
signature: [u8; 64]The signed challenge string sent from the client to the server
expires_at: u64The timestamp in seconds since epoch at which the token will expire
additional_headers: BTreeMap<String, String>Additional headers to be forwarded to the upstream service
Trait Implementations§
Source§impl Clone for VerifyChallengeRequest
impl Clone for VerifyChallengeRequest
Source§fn clone(&self) -> VerifyChallengeRequest
fn clone(&self) -> VerifyChallengeRequest
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 VerifyChallengeRequest
impl Debug for VerifyChallengeRequest
Source§impl<'de> Deserialize<'de> for VerifyChallengeRequest
impl<'de> Deserialize<'de> for VerifyChallengeRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VerifyChallengeRequest
impl RefUnwindSafe for VerifyChallengeRequest
impl Send for VerifyChallengeRequest
impl Sync for VerifyChallengeRequest
impl Unpin for VerifyChallengeRequest
impl UnwindSafe for VerifyChallengeRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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