mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Remove extra column from users table (HSTORE field)
Migrated key/value pairs to specific columns.
This commit is contained in:
parent
ae74f94655
commit
83f3ccab0e
19 changed files with 256 additions and 141 deletions
|
@ -3,11 +3,18 @@
|
|||
// license that can be found in the LICENSE file.
|
||||
|
||||
package oauth2 // import "miniflux.app/oauth2"
|
||||
import "context"
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"miniflux.app/model"
|
||||
)
|
||||
|
||||
// Provider is an interface for OAuth2 providers.
|
||||
type Provider interface {
|
||||
GetUserExtraKey() string
|
||||
GetRedirectURL(state string) string
|
||||
GetProfile(ctx context.Context, code string) (*Profile, error)
|
||||
PopulateUserWithProfileID(user *model.User, profile *Profile)
|
||||
UnsetUserProfileID(user *model.User)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue