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