We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e31416a + 08bc901 commit 64aaa8aCopy full SHA for 64aaa8a
1 file changed
jose/jws.py
@@ -20,7 +20,7 @@ def sign(payload, key, headers=None, algorithm=ALGORITHMS.HS256):
20
"""Signs a claims set and returns a JWS string.
21
22
Args:
23
- payload (str): A string to sign
+ payload (str or dict): A string to sign
24
key (str or dict): The key to use for signing the claim set. Can be
25
individual JWK or JWK set.
26
headers (dict, optional): A set of headers that will be added to
0 commit comments