pub fn delete_token() -> Result<(), String>Expand description
Deletes the saved GitHub OAuth token from disk.
Called when a token is found to be invalid or revoked, so the next authentication attempt starts fresh via device flow.
Returns Ok(()) if the file was deleted or did not exist.
ยงErrors
Returns an error string if the file exists but cannot be removed.