diff --git a/README.rst b/README.rst index 424394c2..2eaa4896 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ necessary, other RSA backends are supported. Options include crytography, pycryp In order to use a custom backend, install python-jose with the appropriate extra. -It is reccomended that a custom backend is used in production, as the pure-python rsa module is slow. +It is recommended that a custom backend is used in production, as the pure-python rsa module is slow. The crytography option is a good default. diff --git a/jose/jwt.py b/jose/jwt.py index b8aa03ed..87b880cc 100644 --- a/jose/jwt.py +++ b/jose/jwt.py @@ -78,8 +78,7 @@ def decode(token, key, algorithms=None, options=None, audience=None, subject (str): The subject of the token. If the "sub" claim is included in the claim set, then the subject must be included and must equal the provided claim. - access_token (str): An access token returned alongside the id_token during - the authorization grant flow. If the "at_hash" claim is included in the + access_token (str): An access token string. If the "at_hash" claim is included in the claim set, then the access_token must be included, and it must match the "at_hash" claim. options (dict): A dictionary of options for skipping validation steps.