pub async fn authorize( client_id: &str, client_secret: &str, client: &Client) -> Result<(String, Duration), Error>
Get an OAuth2 token from the authentication server.