Skip to main content

sign_in_poll

Function sign_in_poll 

Source
pub fn sign_in_poll(device_code: &str) -> Result<GitHubSignInState>
Expand description

Check a GitHub sign-in. Once approved, keeps the token in the OS keyring and the account’s login in the settings.

§Arguments

§Errors

Returns an error if the request fails, or the token can’t be stored in the keyring.