Expand description
Device flow authentication view for GitHub OAuth.
Displays the user code and verification URL, then polls GitHub in a background thread until the user authorizes (or the code expires).
On success, sends Event::Github with GithubEvent::DeviceAuthComplete.
On expiry, sends Event::Github with GithubEvent::DeviceAuthExpired.
On error, sends Event::Github with GithubEvent::DeviceAuthError.
On cancel, the polling thread is stopped via a shared cancel flag.
Structsยง
- Device
Auth View - Displays the GitHub device auth flow user code and polls for authorization.