pub struct AccessTokenRequestParams<'a> {
pub code: Cow<'a, str>,
pub redirect_uri: Option<Cow<'a, str>>,
pub client_id: Cow<'a, str>,
pub pkce_code_verifier: Option<Cow<'a, PkceCodeVerifier>>,
}
Available on crate feature
oauth2
only.Fields§
§code: Cow<'a, str>
§redirect_uri: Option<Cow<'a, str>>
§client_id: Cow<'a, str>
§pkce_code_verifier: Option<Cow<'a, PkceCodeVerifier>>
Available on crate feature
pkce
only.Implementations§
Source§impl<'a> AccessTokenRequestParams<'a>
impl<'a> AccessTokenRequestParams<'a>
pub fn to_form_url_encoded_serializer(&self) -> Serializer<'a, String>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AccessTokenRequestParams<'a>
impl<'a> RefUnwindSafe for AccessTokenRequestParams<'a>
impl<'a> Send for AccessTokenRequestParams<'a>
impl<'a> Sync for AccessTokenRequestParams<'a>
impl<'a> Unpin for AccessTokenRequestParams<'a>
impl<'a> UnwindSafe for AccessTokenRequestParams<'a>
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