Skip to content

✨ New feature github device flow#15

Merged
IamPekka058 merged 3 commits intomainfrom
feature/deviceflow-login
Apr 16, 2025
Merged

✨ New feature github device flow#15
IamPekka058 merged 3 commits intomainfrom
feature/deviceflow-login

Conversation

@IamPekka058
Copy link
Copy Markdown
Member

This pull request introduces a new DeviceFlow class to handle OAuth device flow authentication in the github_flutter library. The changes include adding a new file and updating the exports to include this new utility.

New functionality:

  • lib/src/common/util/device_flow.dart: Added a new DeviceFlow class to handle OAuth device flow authentication, including methods to fetch a user code, create an authorization URL, and exchange the device code for a token. It also includes a DeviceFlowExchangeResponse class to represent the response from exchanging a code for a token.

Export update:

@IamPekka058 IamPekka058 requested review from a team and Ruby11235 and removed request for a team April 16, 2025 16:49
@IamPekka058 IamPekka058 merged commit 4e0889e into main Apr 16, 2025
1 check passed
@IamPekka058 IamPekka058 deleted the feature/deviceflow-login branch April 16, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants