Skip to content

Commit c4a9f2e

Browse files
Bump pyjwt from 2.6.0 to 2.8.0 (#630)
* Bump pyjwt from 2.6.0 to 2.8.0 Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.6.0 to 2.8.0. - [Release notes](https://github.com/jpadilla/pyjwt/releases) - [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst) - [Commits](jpadilla/pyjwt@2.6.0...2.8.0) --- updated-dependencies: - dependency-name: pyjwt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update jwt_identity.py --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam Bull <[email protected]>
1 parent d7d2047 commit c4a9f2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aiohttp_security/jwt_identity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def identify(self, request: web.Request) -> Optional[str]:
4242
identity = jwt.decode(token,
4343
self.secret,
4444
algorithms=[self.algorithm])
45-
return identity.get(self.key)
45+
return identity.get(self.key) # type: ignore[no-any-return]
4646

4747
async def remember(self, request: web.Request, response: web.StreamResponse,
4848
identity: str, **kwargs: None) -> None:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ coverage==7.2.7
77
cryptography==41.0.3
88
hiredis==2.2.3
99
passlib==1.7.4
10-
pyjwt==2.6.0
10+
pyjwt==2.8.0
1111
pytest==7.4.0
1212
pytest-aiohttp==1.0.4
1313
pytest-cov==4.1.0

0 commit comments

Comments
 (0)