OToken gets OAuth client process into native app.
It contains a few packages implemented oauth2.TokenSource,
- The
appauth.TokenSourceimplemented OAuth2 native app authorization described in RFC8252 - The
devauth.TokenSourceimplemented OAuth2 device authorization grant process described in RFC8628 - The
refresher.TokenSourceimplemented refresh grant flow described in RFC6749 - The
tokenstore.CachedTokenSourceis a TokenSource that allows you read token from a struct implementedtokenstore.Storeinterface, and save new token to such store after created.