Skip to content

Commit 86fb964

Browse files
author
Peter Slump
committed
Flake8
1 parent 0b39cd5 commit 86fb964

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/keycloak/openid_connect.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ def decode_token(self, token, key, algorithms=None, **kwargs):
9292
:raises jose.exceptions.JWTClaimsError: If any claim is invalid in any
9393
way.
9494
"""
95-
return jwt.decode(token, key,
96-
audience=kwargs.pop('audience', None) or self._client_id,
97-
algorithms=algorithms or ['RS256'], **kwargs)
95+
return jwt.decode(
96+
token, key,
97+
audience=kwargs.pop('audience', None) or self._client_id,
98+
algorithms=algorithms or ['RS256'], **kwargs
99+
)
98100

99101
def logout(self, refresh_token):
100102
"""

0 commit comments

Comments
 (0)