package auth import ( "git.ofmax.li/iserv/internal/goog" "golang.org/x/oauth2" ) // Repo storage interface type Repo interface { IsAuthorized(gp *goog.GoogleProfile) (bool, error) LookUpAuthProfileID(gp *goog.GoogleProfile) (string, error) SaveAuthProfile(email string, ap *Profile) error CheckProfileID(id string) (bool, error) GetProfileToken(id string) (*oauth2.Token, error) }