src/index.js
/**
   * Performs a lookup of the param field within the request, this method handles searhing the body, query, and header.
   * Additionally this method is RFC 2616 compliant and allows for case insensitive headers. This method additionally will
   * delegate outwards to the OAuth2Token parser to validate whether a OAuth2 bearer token has been provided.
   *
   * @param {Object} req http request object
   * @param {String} field
   * @returns {String} value for field within body, query, or headers
   */
Performs a lookup of the param field within the request, this method handles searhing the body, query, and header.
Additionally this method is RFC 2616 compliant and allows for case insensitive headers. This method additionally will
delegate outwards to the OAuth2Token parser to validate whether a OAuth2 bearer token has been provided.

@param {Object} req http request object
@param {String} field
@returns {String} value for field within body, query, or headers
Performs a lookup of the param field within the request this method handles searhing the body query and header . Additionally this method is RFC 2616 compliant and allows for case insensitive headers . This method additionally will delegate outwards to the OAuth2Token parser to validate whether a OAuth2 bearer token has been provided . @param { Object } req http request object @param { String } field @returns { String } value for field within body query or headers
lookup(req, field) {
    return (
      req.body && req.body[field] ||
      req.query && req.query[field] ||
      req.headers && (req.headers[field] || req.headers[field.toLowerCase()]) ||
      this.parseOAuth2Token(req)
    );
  }
lookup ( req , field ) { return ( req . body && req . body [ field ] || req . query && req . query [ field ] || req . headers && ( req . headers [ field ] || req . headers [ field . toLowerCase ( ) ] ) || this . parseOAuth2Token ( req ) ) ; }
Performs a lookup of the param field within the request, this method handles searhing the body, query, and header.
Performs a lookup of the param field within the request this method handles searhing the body query and header .