pub struct TokenRequest<'a> {
pub client_id: &'a str,
pub client_secret: &'a str,
pub code: &'a str,
pub redirect_uri: &'a str,
pub code_verifier: &'a str,
}Expand description
Borrowed authorization-code exchange inputs, never retained by the client.
Fields§
§client_id: &'a strThe registered audience.
client_secret: &'a strThe registered client credential.
code: &'a strThe one-use authorization code.
redirect_uri: &'a strThe registered return address.
code_verifier: &'a strThe authorization’s PKCE verifier.
Auto Trait Implementations§
impl<'a> Freeze for TokenRequest<'a>
impl<'a> RefUnwindSafe for TokenRequest<'a>
impl<'a> Send for TokenRequest<'a>
impl<'a> Sync for TokenRequest<'a>
impl<'a> Unpin for TokenRequest<'a>
impl<'a> UnsafeUnpin for TokenRequest<'a>
impl<'a> UnwindSafe for TokenRequest<'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