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
device_code- Device code of the sign-in, fromsign_in_start.
§Errors
Returns an error if the request fails, or the token can’t be stored in the keyring.