Skip to content

Commit 209145a

Browse files
committed
docs: fix typo, rephrase access_token doc
1 parent fcfa3a8 commit 209145a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ necessary, other RSA backends are supported. Options include crytography, pycryp
3232

3333
In order to use a custom backend, install python-jose with the appropriate extra.
3434

35-
It is reccomended that a custom backend is used in production, as the pure-python rsa module is slow.
35+
It is recommended that a custom backend is used in production, as the pure-python rsa module is slow.
3636

3737
The crytography option is a good default.
3838

jose/jwt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ def decode(token, key, algorithms=None, options=None, audience=None,
7878
subject (str): The subject of the token. If the "sub" claim is
7979
included in the claim set, then the subject must be included and must equal
8080
the provided claim.
81-
access_token (str): An access token returned alongside the id_token during
82-
the authorization grant flow. If the "at_hash" claim is included in the
81+
access_token (str): An access token string. If the "at_hash" claim is included in the
8382
claim set, then the access_token must be included, and it must match
8483
the "at_hash" claim.
8584
options (dict): A dictionary of options for skipping validation steps.

0 commit comments

Comments
 (0)