Still missing a UI and we do not have session management just yet, but the workflow of calling the Google API's and creating/finding users is working with the current structure.
11 lines
235 B
Go
11 lines
235 B
Go
package domain
|
|
|
|
import (
|
|
domain "github.com/haydenhargreaves/Potion/internal/domain/user"
|
|
)
|
|
|
|
type AuthService interface {
|
|
GetGoogleAuthUrl() string
|
|
GoogleAuthSuccess(state, code string) (domain.User, domain.GoogleUserInfo, error)
|
|
}
|