Package list golang-github-go-kit-kit / 37eab0a
auth/jwt: MapClaims: add doc comment for ClaimsFactory type Jaco Esterhuizen 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6565 }
6666 }
6767
68 // ClaimsFactory is a factory for jwt.Claims.
69 // Useful in NewParser middleware.
6870 type ClaimsFactory func() jwt.Claims
6971
7072 // MapClaimsFactory is a ClaimsFactory that returns