diff options
author | 2021-09-01 11:45:01 +0200 | |
---|---|---|
committer | 2021-09-01 11:45:01 +0200 | |
commit | 684bd56528c5ffa37af8340b8b141fe390dd05a4 (patch) | |
tree | 4a78d70c2ca7f15e47f8a2e6bc51d62c99b0f52d /internal/gtsmodel/client.go | |
parent | Merge branch 'struct_validation' of github.com:superseriousbusiness/gotosocia... (diff) | |
download | gotosocial-684bd56528c5ffa37af8340b8b141fe390dd05a4.tar.xz |
move oauth models into gtsmodel
Diffstat (limited to 'internal/gtsmodel/client.go')
-rw-r--r-- | internal/gtsmodel/client.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/gtsmodel/client.go b/internal/gtsmodel/client.go new file mode 100644 index 000000000..24028fd69 --- /dev/null +++ b/internal/gtsmodel/client.go @@ -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 +} |