mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 01:57:29 -06:00
move oauth models into gtsmodel
This commit is contained in:
parent
464e3d1324
commit
684bd56528
39 changed files with 1060 additions and 96 deletions
9
internal/gtsmodel/client.go
Normal file
9
internal/gtsmodel/client.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package gtsmodel
|
||||
|
||||
// Client is a handy little wrapper for typical oauth client details
|
||||
type Client struct {
|
||||
ID string `bun:"type:CHAR(26),pk,notnull"`
|
||||
Secret string
|
||||
Domain string
|
||||
UserID string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue