mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2025-12-29 23:53:35 +01:00
4486bd595fc4a3e6fecafbc5323fc0d6398a9ff9
Breaking: This changes the existing API ... maybe Borrow can be used to hide the type of client.
yup-oauth2 is a utility library which will implement oauthv2 device authentication suitable for yup to work.
It is implemented such that it makes no assumptions about the front-end, allowing more uses than just in yup.
Architecturally, it may never be implementing more than device authentication, yet is set up not to constrain itself.
Usage
Please have a look at the API landing page for all the examples you will ever need.
A simple commandline program which authenticates any scope and prints token information can be found in the examples directory.
The video below shows the auth example in action. It's meant to be used as utility to record all server communication and improve protocol compliance.
Description
Languages
Rust
99.2%
Shell
0.8%
