Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultAuth = Auth{}
View Source
var RedirectParam string = "return_url"
Functions ¶
func ProxyGatewayMW ¶
func ProxyGatewayMW(next echo.HandlerFunc) echo.HandlerFunc
Types ¶
type Auth ¶
func LoginAuth ¶
func LoginAuth(loginURL string, redirectType RedirectType) *Auth
func (Auth) Func ¶
func (a Auth) Func() echo.MiddlewareFunc
type RedirectType ¶
type RedirectType string
const ( RedirectTypeHttp RedirectType = "http_redirect" RedirectTypeJson RedirectType = "json_redirect" )
Click to show internal directories.
Click to hide internal directories.