Bashing away at federation

This commit is contained in:
tsmethurst 2021-04-24 18:15:08 +02:00
commit 8b1d96ec52
27 changed files with 472 additions and 185 deletions

View file

@ -30,7 +30,8 @@ type clientStore struct {
db db.DB
}
func newClientStore(db db.DB) oauth2.ClientStore {
// NewClientStore returns an implementation of the oauth2 ClientStore interface, using the given db as a storage backend.
func NewClientStore(db db.DB) oauth2.ClientStore {
pts := &clientStore{
db: db,
}