code: func (om *Oauth2oauth_2_0Middleware) Handler(next http.Handler) http.Handler {
  	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
  		accessToken := om.GetAccessToken(r)
  		if accessToken == "" {
  			w.WriteHeader(401)
  			return
  		}
  
  		// TODO: WRITE codes to check user's scopes on this company
  		scopes := []string{}
  		log.Debug("Available scopes: ", scopes)
  
  		// check scopes
  		if !om.CheckScopes(scopes) {
  			w.WriteHeader(403)
  			return
  		}
  
  		next.ServeHTTP(w, r)
  	})
  }
docs: // Handler return HTTP handler representation of this middleware