Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequireAuthMiddleware ¶
func GetRequireAuthMiddleware(jwtSignatory *jwt.JwtSignatory) func(http.HandlerFunc) http.HandlerFunc
GetRequireAuthMiddleware returns the middleware function for Authenticate. The reason why we have split this out is because there is an external dependency (jwt.JwtSignatory) that we don't want to have to pass in every time we use this middleware.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.