pub struct PendingAuthorization {
pub authorization_url: Url,
pub state: String,
pub pkce_verifier: String,
}Expand description
Values that the server must persist for a pending authorization attempt.
Treat state and pkce_verifier as secrets. Never log or send them to
the browser except for the authorization URL containing the state value.
Fields§
§state: String§pkce_verifier: StringAuto Trait Implementations§
impl Freeze for PendingAuthorization
impl RefUnwindSafe for PendingAuthorization
impl Send for PendingAuthorization
impl Sync for PendingAuthorization
impl Unpin for PendingAuthorization
impl UnsafeUnpin for PendingAuthorization
impl UnwindSafe for PendingAuthorization
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