pub async fn authorize_provider(
provider: CloudProvider,
cancel: Receiver<bool>,
clock: &dyn Clock,
) -> Result<OAuthTokens, OAuthError>Expand description
Run an OAuth authorization flow for the given cloud provider.
Returns tokens on success. Only Google Drive, Dropbox, and OneDrive support OAuth; other providers return an error.