pub struct CapturedCode {
pub code: String,
pub verifier: String,
pub port: u16,
}Expand description
Result of a captured redirect.
Fields§
§code: StringAuthorization code from the provider.
verifier: StringPKCE verifier matching the challenge sent in the auth URL.
port: u16The ephemeral loopback port (needed to reconstruct redirect_uri).
Trait Implementations§
Source§impl Clone for CapturedCode
impl Clone for CapturedCode
Source§fn clone(&self) -> CapturedCode
fn clone(&self) -> CapturedCode
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 CapturedCode
impl RefUnwindSafe for CapturedCode
impl Send for CapturedCode
impl Sync for CapturedCode
impl Unpin for CapturedCode
impl UnsafeUnpin for CapturedCode
impl UnwindSafe for CapturedCode
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