pub struct SendAccessTokenRequest(/* private fields */);
Available on crate feature
oauth2
only.Expand description
The authorization code grant type is used to obtain both access tokens and refresh tokens and is optimized for confidential clients. Since this is a redirection-based flow, the client must be capable of interacting with the resource owner’s user-agent (typically a web browser) and capable of receiving incoming requests (via redirection) from the authorization server.
Refs: https://datatracker.ietf.org/doc/html/rfc6749#section-4.1
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SendAccessTokenRequest
impl !RefUnwindSafe for SendAccessTokenRequest
impl Send for SendAccessTokenRequest
impl Sync for SendAccessTokenRequest
impl Unpin for SendAccessTokenRequest
impl !UnwindSafe for SendAccessTokenRequest
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