pub async fn authorize(
    client_id: &str,
    client_secret: &str,
    client: &Client
) -> Result<(String, Duration), Error>
Expand description

Get an OAuth2 token from the authentication server.