hydra-newmedia / passport-headerapikey

Api key authentication strategy for Passport, which only handles headers (not body fields).
28 stars 6 forks source link

Make verification errors optional #3

Closed fluggo closed 6 years ago

fluggo commented 6 years ago

This patches the types to a stricter standard, making the error optional in the verify callback, and also passing undefined instead of null for the optional request parameter.

guischdi commented 6 years ago

Thanks @fluggo for your PR. I published it few minutes ago as 1.1.0