Comparing version 7.0.1 to 7.0.2
@@ -139,4 +139,6 @@ 'use strict'; | ||
exports.authenticate = function (res, credentials, artifacts, options = {}) { | ||
exports.authenticate = function (res, credentials, artifacts, options) { | ||
options = options || {}; | ||
artifacts = Hoek.clone(artifacts); | ||
@@ -319,4 +321,6 @@ | ||
exports.message = function (host, port, message, options = {}) { | ||
exports.message = function (host, port, message, options) { | ||
options = options || {}; | ||
// Validate inputs | ||
@@ -323,0 +327,0 @@ |
@@ -86,4 +86,6 @@ 'use strict'; | ||
exports.authenticate = async function (req, credentialsFunc, options = {}) { | ||
exports.authenticate = async function (req, credentialsFunc, options) { | ||
options = options || {}; | ||
// Default options | ||
@@ -253,4 +255,6 @@ | ||
exports.header = function (credentials, artifacts, options = {}) { | ||
exports.header = function (credentials, artifacts, options) { | ||
options = options || {}; | ||
// Prepare inputs | ||
@@ -319,4 +323,6 @@ | ||
exports.authenticateBewit = async function (req, credentialsFunc, options = {}) { | ||
exports.authenticateBewit = async function (req, credentialsFunc, options) { | ||
options = options || {}; | ||
// Application time | ||
@@ -456,4 +462,6 @@ | ||
exports.authenticateMessage = async function (host, port, message, authorization, credentialsFunc, options = {}) { | ||
exports.authenticateMessage = async function (host, port, message, authorization, credentialsFunc, options) { | ||
options = options || {}; | ||
// Default options | ||
@@ -460,0 +468,0 @@ |
{ | ||
"name": "hawk", | ||
"description": "HTTP Hawk Authentication Scheme", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/hawk", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111464
1412