function failedAuthMessage(info){
  return "Signature authentication with a known public key is required over "+
    "at least (" + JSON.stringify(info.required_headers) + ").\n" +
    "See: https://tools.ietf.org/html/draft-cavage-http-signatures-10"
}
// Generate a message explaining why authentication failed
Generate a message explaining why authentication failed
Generate a message explaining why authentication failed
function failedAuthMessage(info){
  return "Signature authentication with a known public key is required over "+
    "at least (" + JSON.stringify(info.required_headers) + ").\n" +
    "See: https://tools.ietf.org/html/draft-cavage-http-signatures-10"
}
function failedAuthMessage ( info ) { return "Signature authentication with a known public key is required over " + "at least (" + JSON . stringify ( info . required_headers ) + ").\n" + "See: https://tools.ietf.org/html/draft-cavage-http-signatures-10" }
Generate a message explaining why authentication failed
Generate a message explaining why authentication failed