pub struct ChallengeRequest {
pub rule_id: String,
pub requirement: Requirement,
pub callback_url: String,
pub challenge_id: String,
}Expand description
The “begin verification” input. Produced by the engine, consumed by
a provider’s IdentityProvider::begin implementation.
Fields§
§rule_id: String§requirement: Requirement§callback_url: StringThe URL the provider should redirect back to once the user
completes the flow. Always http://127.0.0.1:<port>/callback
where <port> is the OS-assigned port the callback server is
listening on.
challenge_id: StringOpaque, unguessable challenge id (also the cache key for the in-flight challenge state held by the callback server).
Trait Implementations§
Source§impl Clone for ChallengeRequest
impl Clone for ChallengeRequest
Source§fn clone(&self) -> ChallengeRequest
fn clone(&self) -> ChallengeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChallengeRequest
impl RefUnwindSafe for ChallengeRequest
impl Send for ChallengeRequest
impl Sync for ChallengeRequest
impl Unpin for ChallengeRequest
impl UnsafeUnpin for ChallengeRequest
impl UnwindSafe for ChallengeRequest
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