diff options
Diffstat (limited to '')
| -rw-r--r-- | internal/auth/repo.go | 8 |
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 +} |