lib/authorizer/hawk.js
function (params) {
        return Hawk.header(url.parse(params.url), params.method, params);
    }
function (params) {
        return Hawk.header(url.parse(params.url), params.method, params);
    }
function ( params ) { return Hawk . header ( url . parse ( params . url ) , params . method , params ) ; }
Computes signature and Auth header for a request.

@param {Object} params
@param {Object} params.credentials Contains hawk auth credentials, "id", "key" and "algorithm"
@param {String} params.nonce
@param {String} params.ext Extra data that may be associated with the request.
@param {String} params.app Application ID used in Oz authorization protocol
@param {String} params.dlg Delegation information (used in the Oz protocol)
@param {String} params.user User id
@param {String} params.url Complete request URL
@param {String} params.method Request method

@returns {*}
Computes signature and Auth header for a request .