lots of restructuring

This commit is contained in:
tsmethurst 2021-03-22 22:23:42 +01:00
commit 6d81df50ce
21 changed files with 674 additions and 464 deletions

View file

@ -0,0 +1,5 @@
# oauth
This package provides uses the [GoToSocial oauth2](https://github.com/gotosocial/oauth2) module (forked from [go-oauth2](https://github.com/go-oauth2/oauth2)) to provide [oauth2](https://www.oauth.com/) functionality to the GoToSocial client API.
It also provides a handler/middleware for attaching to the Gin engine for validating authenticated users.