Skip to content

Commit

Permalink
Document the type of unverified JWS claims
Browse files Browse the repository at this point in the history
So far the docstring for `jws.get_unverified_claims()` stated that the
method returned a dict, while in fact it returns a string.

This commit adjusts the documentation to reflect the actual behaviour.
  • Loading branch information
0x64746b committed Apr 27, 2016
1 parent 7193e5b commit 126f07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jose/jws.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_unverified_claims(token):
token (str): A signed JWS to decode the headers from.
Returns:
dict: The dict representation of the token claims.
str: The str representation of the token claims.
Raises:
JWSError: If there is an exception decoding the token.
Expand Down

0 comments on commit 126f07b

Please sign in to comment.