github-device-oauth 0.2.1

A client for Github's OAuth Device Flow
Documentation
1
2
3
4
5
6
7
8
# Github Device Flow

This crate implements a client for Github's OAuth Device Flow, which is useful
to authorize native applications such as CLIs.

[More info](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app#using-the-device-flow-to-generate-a-user-access-token)

Also see [the example](./examples/simple.rs)