pub struct PkceState {
pub code_verifier: String,
pub code_challenge: String,
pub authorization_url: String,
pub state: String,
}Expand description
PKCE state produced when starting an authorization flow.
Fields§
§code_verifier: StringPKCE code verifier.
code_challenge: StringPKCE code challenge (S256).
Full authorization URL to redirect the user to.
state: StringOpaque state parameter for CSRF protection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PkceState
impl RefUnwindSafe for PkceState
impl Send for PkceState
impl Sync for PkceState
impl Unpin for PkceState
impl UnsafeUnpin for PkceState
impl UnwindSafe for PkceState
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