diff options
| author | 2021-03-14 17:56:16 +0100 | |
|---|---|---|
| committer | 2021-03-14 17:56:16 +0100 | |
| commit | 772f6e59490b090edf7f2ab502ccaa480985c1ca (patch) | |
| tree | 630241ee27f6d54a860dc1d26c581058ab220fd2 /internal/db/db.go | |
| parent | more work on types (diff) | |
| download | gotosocial-772f6e59490b090edf7f2ab502ccaa480985c1ca.tar.xz | |
start working on oauth2 implementation
Diffstat (limited to 'internal/db/db.go')
| -rw-r--r-- | internal/db/db.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/db/db.go b/internal/db/db.go index 4ea4e1af6..9ed196b2f 100644 --- a/internal/db/db.go +++ b/internal/db/db.go @@ -24,6 +24,7 @@ import ( "strings" "github.com/go-fed/activity/pub" + "github.com/go-oauth2/oauth2/v4" "github.com/gotosocial/gotosocial/internal/config" "github.com/sirupsen/logrus" ) @@ -40,6 +41,11 @@ type DB interface { pub.Database /* + OAUTH2 DATABASE FUNCTIONS + */ + TokenStore() oauth2.TokenStore + + /* ANY ADDITIONAL DESIRED FUNCTIONS */ |
