aboutsummaryrefslogtreecommitdiff
path: root/internal/auth/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/auth/repo.go')
-rw-r--r--internal/auth/repo.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/auth/repo.go b/internal/auth/repo.go
new file mode 100644
index 0000000..f404c94
--- /dev/null
+++ b/internal/auth/repo.go
@@ -0,0 +1,8 @@
+package auth
+
+// Repo storage interface
+type Repo interface {
+ IsAuthorized(gp *GoogleAuthProfile) (bool, error)
+ LookUpAuthProfileID(gp *GoogleAuthProfile) (string, error)
+ SaveAuthProfile(ap *Profile) error
+}