Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Github ¶
type Github struct {
// contains filtered or unexported fields
}
func (*Github) GithubCallback ¶
GithubCallback godoc @Summary GithubCallback logs in a user with Github @Description GithubCallback logs in a user with Github @Tags github, callback @Accept json @Produce json @Success 307 @Header 307 {string} Location "Redirects to Next URL" @Failure 401 {string} string @Failure 403 {string} string @Failure 404 {string} string @Failure 500 {string} string @Router /github/callback [get]
func (*Github) GithubLogin ¶
GithubLogin godoc @Summary GithubLogin logs in a user with Github @Description GithubLogin logs in a user with Github @Tags github, login @Accept json @Produce json @Param next query string false "Next Redirect URL" @Param organization query string false "Organization" @Param identifier query string false "Device Flow Identifier" @Success 307 @Header 307 {string} Location "Redirects to Github" @Failure 401 {string} string @Failure 500 {string} string @Router /github/login [get]