pub struct OAuthBeginResponse {
pub authorization_url: String,
pub state: String,
pub code_verifier: String,
}Expand description
Returned from begin(). The caller should store state and code_verifier
(e.g., in a server-side session or signed cookie) to verify the callback.
Fields§
§state: String§code_verifier: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for OAuthBeginResponse
impl RefUnwindSafe for OAuthBeginResponse
impl Send for OAuthBeginResponse
impl Sync for OAuthBeginResponse
impl Unpin for OAuthBeginResponse
impl UnsafeUnpin for OAuthBeginResponse
impl UnwindSafe for OAuthBeginResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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