pub async fn authenticate(client_id: &SecretString) -> Result<()>Expand description
Performs the GitHub OAuth device flow authentication.
This function:
- Requests a device code from GitHub
- Returns the verification URI and user code for display
- Polls GitHub until the user authorizes or times out
- Stores the resulting token in the system keychain
Requires APTU_GH_CLIENT_ID environment variable to be set.