func (m *Middleware) HandlerNext(w http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
	token, err := m.parseToken(r)
	if err != nil {
		m.options.errorHandler(w, r, err)
		return
	}
	next(w, setTokenToContext(r, m.options.userProperty, token))
}
// HandlerNext implementation for `negroni` middleware
HandlerNext implementation for `negroni` middleware
// HandlerNext implementation for ` negroni ` middleware
func (m *Middleware) HandlerNext(w http.ResponseWriter, r *http.Request, next http.HandlerFunc) {
	token, err := m.parseToken(r)
	if err != nil {
		m.options.errorHandler(w, r, err)
		return
	}
	next(w, setTokenToContext(r, m.options.userProperty, token))
}
func ( m * Middleware ) HandlerNext ( w http . ResponseWriter , r * http . Request , next http . HandlerFunc ) { token , err := m . parseToken ( r ) if err != nil { m . options . errorHandler ( w , r , err ) return } next ( w , setTokenToContext ( r , m . options . userProperty , token ) ) }
HandlerNext implementation for `negroni` middleware
HandlerNext implementation for ` negroni ` middleware