Function dropbox_sdk::oauth2::oauth2_token_from_authorization_code [−][src]
pub fn oauth2_token_from_authorization_code(
client: impl NoauthClient,
client_id: &str,
client_secret: &str,
authorization_code: &str,
redirect_uri: Option<&str>
) -> Result<String>
Given an authorization code, request an OAuth2 token from Dropbox API. Requires the App ID and secret, as well as the redirect URI used in the prior authorize request, if there was one.