Documentation
¶
Index ¶
Constants ¶
View Source
const ( CallbackHandler = "/auth/callback" GetUserHandler = "/user" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { CallbackHandler(w http.ResponseWriter, r *http.Request) GetUserHandler(w http.ResponseWriter, r *http.Request) }
func NewAuthService ¶
func NewAuthService( router *mux.Router, cfg config.Config, userRepo repository.UserRepository, dashboardRepo repository.DashboardRepository, projectRepo repository.ProjectRepository, mw token.AuthMiddleware, ) AuthService
type GetUserResponse ¶
type GoogleUserInfo ¶
Click to show internal directories.
Click to hide internal directories.