Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidAuthHeader = fmt.Errorf("invalid auth header") ErrCannotParseToken = fmt.Errorf("cannot parse token") )
Functions ¶
Types ¶
type AuthMiddleware ¶
type AuthMiddleware struct {
// contains filtered or unexported fields
}
func (*AuthMiddleware) UserIdentity ¶
func (h *AuthMiddleware) UserIdentity(next echo.HandlerFunc) echo.HandlerFunc
Click to show internal directories.
Click to hide internal directories.