now-ims / hapi-now-auth

Hapi token auth for bearer and jwt
MIT License
43 stars 5 forks source link

add possibility too give token type in code and not in header #5

Closed artentica closed 6 years ago

artentica commented 6 years ago

In that way it's easier to pass the value in the header

artentica commented 6 years ago

the tests failed in local for me (event before my modifications), same for you?

jeremylorino commented 6 years ago

@artentica pulling now to test. will keep you updated

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 13


Totals Coverage Status
Change from base Build 8: 0.0%
Covered Lines: 159
Relevant Lines: 159

💛 - Coveralls
artentica commented 6 years ago

@jeremylorino the last test fail because 'Strings must use doublequote.' but in your code you use simple quote

jeremylorino commented 6 years ago

Sorry about that. Changed the rules. Checks passed.