Function sota::oauth2::authenticate [] [src]

pub fn authenticate(server: Url, client: &Client) -> Result<AccessToken, Error>

Authenticate with the specified OAuth2 server to retrieve a new AccessToken.