pub struct Flow<C>where
C: Client,{
pub client_with_token: C,
}
Fields§
§client_with_token: C
Implementations§
Source§impl<C> Flow<C>
impl<C> Flow<C>
pub async fn handle_callback_by_query<SCOPE>( &self, provider: &(dyn ProviderExtAuthorizationCodeGrant<Scope = SCOPE> + Send + Sync), query: impl AsRef<str>, config: impl Into<Option<FlowHandleCallbackByQueryConfiguration>>, ) -> Result<AT_RES_SuccessfulBody<SCOPE>, FlowHandleCallbackError>
pub async fn handle_callback<SCOPE>( &self, provider: &(dyn ProviderExtAuthorizationCodeGrant<Scope = SCOPE> + Send + Sync), code: Code, config: impl Into<Option<FlowHandleCallbackConfiguration>>, ) -> Result<AT_RES_SuccessfulBody<SCOPE>, FlowHandleCallbackError>
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for Flow<C>where
C: Freeze,
impl<C> RefUnwindSafe for Flow<C>where
C: RefUnwindSafe,
impl<C> Send for Flow<C>where
C: Send,
impl<C> Sync for Flow<C>where
C: Sync,
impl<C> Unpin for Flow<C>where
C: Unpin,
impl<C> UnwindSafe for Flow<C>where
C: UnwindSafe,
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