Documentation ¶
Index ¶
- type Handler
- func (h *Handler) GetCallback(c echo.Context) error
- func (h *Handler) GetCookie(c echo.Context) error
- func (h *Handler) GetMe(c echo.Context) error
- func (h *Handler) GetRedirect(c echo.Context) error
- func (h *Handler) ListAvailableProviders(c echo.Context) error
- func (h *Handler) PostLogin(c echo.Context) error
- func (h *Handler) PostLogout(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler user session auth handler. Uses Google OAuth.
func NewHandler ¶
func NewHandler( googleAuth *auth.GoogleOAuthManager, users *user.Service, enabledProviders []auth.ProviderType, logger *zerolog.Logger, ) *Handler
func (*Handler) GetCallback ¶
func (*Handler) GetRedirect ¶
func (*Handler) ListAvailableProviders ¶
func (*Handler) PostLogout ¶
Click to show internal directories.
Click to hide internal directories.