Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKey ¶
func GetKey(token *jwt.Token) (interface{}, error)
GetKey is the KeyFunc for the JWT middleware to supply the key for verification.
func JWTAuthMW ¶
func JWTAuthMW() echo.MiddlewareFunc
JWTAuth initializes and returns the JWT middleware.
func ParseRealmRoles ¶
func ParseRealmRoles(claims jwt.MapClaims) []string
func SessionCheckerMW ¶
func SessionCheckerMW(next echo.HandlerFunc) echo.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.