summaryrefslogtreecommitdiff
path: root/internal/db/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/db.go')
-rw-r--r--internal/db/db.go6
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
*/