Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Slump committed Nov 27, 2018
1 parent 0b39cd5 commit 86fb964
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/keycloak/openid_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ def decode_token(self, token, key, algorithms=None, **kwargs):
:raises jose.exceptions.JWTClaimsError: If any claim is invalid in any
way.
"""
return jwt.decode(token, key,
audience=kwargs.pop('audience', None) or self._client_id,
algorithms=algorithms or ['RS256'], **kwargs)
return jwt.decode(
token, key,
audience=kwargs.pop('audience', None) or self._client_id,
algorithms=algorithms or ['RS256'], **kwargs
)

def logout(self, refresh_token):
"""
Expand Down

0 comments on commit 86fb964

Please sign in to comment.