Versions in this module Expand all Collapse all v2 v2.2.0 Nov 28, 2020 v2.1.1 Oct 17, 2019 Changes in this version + const ContestRoles + const ContextUserID + func ExtractClaims(c *gin.Context) jwt.MapClaims + func ImpersonateFromHeader() gin.HandlerFunc + type GinAuth0Middleware struct + Audience string + Authorizator func(userID string, c *gin.Context) bool + IdentityHandler func(jwt.MapClaims) string + Issuer string + Key interface{} + MaxRefresh time.Duration + PayloadFunc func(userID string) map[string]interface{} + Realm string + SigningAlgorithm string + TimeFunc func() time.Time + Timeout time.Duration + TokenHeadName string + TokenLookup string + Unauthorized func(*gin.Context, int, string) + func (mw *GinAuth0Middleware) ExpectScope(scope string) gin.HandlerFunc + func (mw *GinAuth0Middleware) MiddlewareFunc() gin.HandlerFunc + func (mw *GinAuth0Middleware) MiddlewareInit() error + func (mw *GinAuth0Middleware) TokenGenerator(userID string) string Other modules containing this package bitbucket.org/corporesano/gomh