Save oauth tokens to the database for use later.
This commit is contained in:
parent
8cd11b350d
commit
858bc031a0
18 changed files with 1957 additions and 10 deletions
|
|
@ -18,17 +18,20 @@ var (
|
|||
|
||||
func Where[Q psql.Filterable]() struct {
|
||||
GooseDBVersions gooseDBVersionWhere[Q]
|
||||
OauthTokens oauthTokenWhere[Q]
|
||||
Organizations organizationWhere[Q]
|
||||
Sessions sessionWhere[Q]
|
||||
Users userWhere[Q]
|
||||
} {
|
||||
return struct {
|
||||
GooseDBVersions gooseDBVersionWhere[Q]
|
||||
OauthTokens oauthTokenWhere[Q]
|
||||
Organizations organizationWhere[Q]
|
||||
Sessions sessionWhere[Q]
|
||||
Users userWhere[Q]
|
||||
}{
|
||||
GooseDBVersions: buildGooseDBVersionWhere[Q](GooseDBVersions.Columns),
|
||||
OauthTokens: buildOauthTokenWhere[Q](OauthTokens.Columns),
|
||||
Organizations: buildOrganizationWhere[Q](Organizations.Columns),
|
||||
Sessions: buildSessionWhere[Q](Sessions.Columns),
|
||||
Users: buildUserWhere[Q](Users.Columns),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue