From 689a57ec4a444f8233fe2e5ec7ceb0903218218d Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Fri, 14 Aug 2020 23:13:41 -0700 Subject: feat: working login gauth --- internal/auth/repo.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 internal/auth/repo.go (limited to 'internal/auth/repo.go') 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 +} -- cgit v1.2.3