pub struct CodeChallenge(/* private fields */);Expand description
A code_challenge: the public half of the exchange.
Not a secret — it travels in the authorization request, and an attacker
holding one cannot derive the verifier from it. Debug is therefore
derived, unlike CodeVerifier’s.
Implementations§
Trait Implementations§
Source§impl Clone for CodeChallenge
impl Clone for CodeChallenge
Source§impl Debug for CodeChallenge
impl Debug for CodeChallenge
Source§impl Display for CodeChallenge
impl Display for CodeChallenge
impl Eq for CodeChallenge
Source§impl PartialEq for CodeChallenge
impl PartialEq for CodeChallenge
impl StructuralPartialEq for CodeChallenge
Auto Trait Implementations§
impl Freeze for CodeChallenge
impl RefUnwindSafe for CodeChallenge
impl Send for CodeChallenge
impl Sync for CodeChallenge
impl Unpin for CodeChallenge
impl UnsafeUnpin for CodeChallenge
impl UnwindSafe for CodeChallenge
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