vertexcover-io / falcon-auth

A falcon middleware + authentication backends that adds authentication layer to you app/api service.
MIT License
103 stars 31 forks source link

fixed JWTAuthBackend.get_auth_token #1

Closed solarsail closed 7 years ago

solarsail commented 7 years ago

self.leeway and self.expiration_delta are already converted to timedelta at line 153&155 in JWTAuthBackend.__init__().

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 85.556% when pulling 1e3cd223d8a1dbc36420e158d5595472d3f7572e on solarsail:master into 6c2ea2ac1d082791e21a8ea53cc8fed0ddcdf73e on loanzen:master.

kgritesh commented 7 years ago

@solarsail Thanks for this. you are finding this useful.

solarsail commented 7 years ago

I'm trying this in a new REST service project, and it works like a charm. Thanks for the nice work.