Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOAuthConfig ¶
func RegisterRoutes ¶
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(oauthConf *oauth2.Config) *AuthHandler
func (*AuthHandler) GitHubCallback ¶
func (h *AuthHandler) GitHubCallback(ginContext *gin.Context)
func (*AuthHandler) GitHubLogin ¶
func (h *AuthHandler) GitHubLogin(ginContext *gin.Context)
Click to show internal directories.
Click to hide internal directories.