summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel/client.go')
-rw-r--r--internal/gtsmodel/client.go9
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
+}