Skip to content

Commit 5fc79af

Browse files
authored
Merge pull request #5 from eadwinCode/description_fix
Description fix
2 parents e9c72f2 + 1769f12 commit 5fc79af

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<a href="#" target="blank"><img src="https://eadwincode.github.io/ellar/img/EllarLogoB.png" width="200" alt="Ellar Logo" /></a>
33
</p>
44

5-
<p align="center">A rate limiting module for Ellar</p>
6-
75
![Test](https://github.com/eadwinCode/ellar-jwt/actions/workflows/test_full.yml/badge.svg)
86
![Coverage](https://img.shields.io/codecov/c/github/eadwinCode/ellar-jwt)
97
[![PyPI version](https://badge.fury.io/py/ellar-jwt.svg)](https://badge.fury.io/py/ellar-jwt)

ellar_jwt/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
"""Event Emitter module for Ellar python framework"""
1+
"""JWT Module for Ellar"""
22

3-
__version__ = "0.1.0"
3+
__version__ = "0.1.2"
44
from .module import JWTModule
55
from .schemas import JWTConfiguration
66
from .services import JWTService

ellar_jwt/token.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def __init__(self, jwt_config: JWTConfiguration) -> None:
1616
self.payload: t.Dict = {}
1717

1818
def build(self, payload: t.Dict) -> t.Dict:
19-
2019
# Set "exp" and "iat" claims with default value
2120
self.set_exp()
2221
self.set_iat()

tests/test_jwt_service.py

-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ def test_decode_with_expiry(self, title, backend):
242242
],
243243
)
244244
def test_decode_with_invalid_sig(self, title, backend):
245-
246245
payload = self.payload.copy()
247246
payload["exp"] = aware_utcnow() + timedelta(days=1)
248247
token_1 = jwt.encode(

0 commit comments

Comments
 (0)