pub struct OAuthCodeExchange<'a> {
pub code: &'a str,
pub redirect_uri: &'a str,
pub code_verifier: Option<&'a str>,
pub device_id: Option<&'a str>,
}Expand description
Authorization-code exchange values passed to a custom token handler.
Fields§
§code: &'a strAuthorization code returned by the provider.
redirect_uri: &'a strCallback URI sent to the provider.
code_verifier: Option<&'a str>PKCE verifier persisted with the authorization request.
device_id: Option<&'a str>Provider-specific device identifier from the callback.
Auto Trait Implementations§
impl<'a> Freeze for OAuthCodeExchange<'a>
impl<'a> RefUnwindSafe for OAuthCodeExchange<'a>
impl<'a> Send for OAuthCodeExchange<'a>
impl<'a> Sync for OAuthCodeExchange<'a>
impl<'a> Unpin for OAuthCodeExchange<'a>
impl<'a> UnsafeUnpin for OAuthCodeExchange<'a>
impl<'a> UnwindSafe for OAuthCodeExchange<'a>
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