Struct oauth2_client::client_credentials_grant::flow::Flow [−][src]
pub struct Flow<C> where
C: Client, {
pub client_with_token: C,
}Fields
client_with_token: CImplementations
pub async fn execute<SCOPE>(
&self,
provider: &(dyn ProviderExtClientCredentialsGrant<Scope = SCOPE> + Send + Sync),
scopes: impl Into<Option<Vec<SCOPE>>>
) -> Result<AT_RES_SuccessfulBody<SCOPE>, FlowExecuteError> where
SCOPE: Scope + Serialize + DeserializeOwned + Send + Sync,
Trait Implementations
Auto Trait Implementations
impl<C> RefUnwindSafe for Flow<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for Flow<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more