Skip to content

tiewei/otoken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OToken

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 implemented tokenstore.Store interface, and save new token to such store after created.

About

cli and module to perform oauth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages