Documentation
¶
Overview ¶
Package oauth provides an HTTP handler to handle OAuth2 redirect and callback requests for the bebop web app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger *log.Logger
UserStore store.UserStore
JWTService jwt.Service
MountURL string
CookiePath string
}
Config is a configuration of an OAuth handler.
type Handler ¶
type Handler struct {
*Config
// contains filtered or unexported fields
}
Handler handles oauth2 authentication requests.
func (*Handler) AddProvider ¶
AddProvider adds a new provider to oauth handler.
Click to show internal directories.
Click to hide internal directories.