diff options
| author | Max Resnick <max@ofmax.li> | 2020-08-14 23:13:41 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2020-11-08 07:57:13 -0800 |
| commit | 689a57ec4a444f8233fe2e5ec7ceb0903218218d (patch) | |
| tree | 1bcfe6786c38b4ae11997d5d97dc3c5fba747b97 /internal/auth/repo.go | |
| parent | 77c2e6aca2dc0f851f55e30a0f49c9ee7c2c952e (diff) | |
| download | iserv-689a57ec4a444f8233fe2e5ec7ceb0903218218d.tar.gz | |
Diffstat (limited to 'internal/auth/repo.go')
| -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 +} |