lib/oauth/common.js
function (req, res) {
    var redirectTo = req.cookies.oauthRedirectUri || false;

    if (redirectTo) {
      res.clearCookie('oauthRedirectUri');
    }

    return redirectTo;
  }
function (req, res) {
    var redirectTo = req.cookies.oauthRedirectUri || false;

    if (redirectTo) {
      res.clearCookie('oauthRedirectUri');
    }

    return redirectTo;
  }
function ( req , res ) { var redirectTo = req . cookies . oauthRedirectUri || false ; if ( redirectTo ) { res . clearCookie ( 'oauthRedirectUri' ) ; } return redirectTo ; }
Consume a redirect uri cookie.

@method
@private

@param {Object} req - The http request.
@param {Object} res - The http response.
@return {mixed} The redirect uri (string) or false if didn't exist.
Consume a redirect uri cookie .