pub struct PkcePair { /* private fields */ }Expand description
Represents a PKCE verifier/challenge pair ready to attach to OAuth flows.
Implementations§
Source§impl PkcePair
impl PkcePair
Sourcepub fn code_verifier(&self) -> &str
pub fn code_verifier(&self) -> &str
Returns the plain-text code verifier value that must be sent during token exchange.
Sourcepub fn code_challenge(&self) -> &str
pub fn code_challenge(&self) -> &str
Returns the base64url-encoded code challenge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PkcePair
impl RefUnwindSafe for PkcePair
impl Send for PkcePair
impl Sync for PkcePair
impl Unpin for PkcePair
impl UnwindSafe for PkcePair
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