pub struct AuthorizationCodeFlow;Trait Implementations§
Source§impl TokenFlow for AuthorizationCodeFlow
impl TokenFlow for AuthorizationCodeFlow
type Request = TokenRequest
type VerifiedRequest = VerifiedTokenRequest
type Response = TokenResponse
fn verify_token_request<'life0, 'life1, 'async_trait>(
&'life0 self,
authenticated_client: Option<Client>,
request: Self::Request,
provider: &'life1 (impl 'async_trait + Provider),
) -> Pin<Box<dyn Future<Output = Result<Self::VerifiedRequest, OAuthError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn perform_token_exchange<'life0, 'async_trait>(
&'life0 self,
request: Self::VerifiedRequest,
) -> Pin<Box<dyn Future<Output = Result<Self::Response, OAuthError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for AuthorizationCodeFlow
impl RefUnwindSafe for AuthorizationCodeFlow
impl Send for AuthorizationCodeFlow
impl Sync for AuthorizationCodeFlow
impl Unpin for AuthorizationCodeFlow
impl UnwindSafe for AuthorizationCodeFlow
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