Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Google ¶
type Google struct {
// contains filtered or unexported fields
}
func (*Google) GoogleCallback ¶
GoogleCallback godoc @Summary GoogleCallback logs in a user with Google @Description GoogleCallback logs in a user with Google @Tags google, 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 /google/callback [get]
func (*Google) GoogleLogin ¶
GoogleLogin godoc @Summary GoogleLogin logs in a user with Google @Description GoogleLogin logs in a user with Google @Tags google, 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 Google" @Failure 401 {string} string @Failure 500 {string} string @Router /google/login [get]