Skip to content

Commit

Permalink
Merge pull request #5 from eadwinCode/description_fix
Browse files Browse the repository at this point in the history
Description fix
  • Loading branch information
eadwinCode authored Aug 8, 2023
2 parents e9c72f2 + 1769f12 commit 5fc79af
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<a href="#" target="blank"><img src="https://eadwincode.github.io/ellar/img/EllarLogoB.png" width="200" alt="Ellar Logo" /></a>
</p>

<p align="center">A rate limiting module for Ellar</p>

![Test](https://github.com/eadwinCode/ellar-jwt/actions/workflows/test_full.yml/badge.svg)
![Coverage](https://img.shields.io/codecov/c/github/eadwinCode/ellar-jwt)
[![PyPI version](https://badge.fury.io/py/ellar-jwt.svg)](https://badge.fury.io/py/ellar-jwt)
Expand Down
4 changes: 2 additions & 2 deletions ellar_jwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Event Emitter module for Ellar python framework"""
"""JWT Module for Ellar"""

__version__ = "0.1.0"
__version__ = "0.1.2"
from .module import JWTModule
from .schemas import JWTConfiguration
from .services import JWTService
Expand Down
1 change: 0 additions & 1 deletion ellar_jwt/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def __init__(self, jwt_config: JWTConfiguration) -> None:
self.payload: t.Dict = {}

def build(self, payload: t.Dict) -> t.Dict:

# Set "exp" and "iat" claims with default value
self.set_exp()
self.set_iat()
Expand Down
1 change: 0 additions & 1 deletion tests/test_jwt_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ def test_decode_with_expiry(self, title, backend):
],
)
def test_decode_with_invalid_sig(self, title, backend):

payload = self.payload.copy()
payload["exp"] = aware_utcnow() + timedelta(days=1)
token_1 = jwt.encode(
Expand Down

0 comments on commit 5fc79af

Please sign in to comment.