Skip to content

Commit

Permalink
Merge pull request #89 from crgk/doc-changes
Browse files Browse the repository at this point in the history
Fix typo, rephrase access_token doc
  • Loading branch information
mpdavis committed May 4, 2018
2 parents fcfa3a8 + 209145a commit 55b6556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 1 addition & 2 deletions jose/jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 55b6556

Please sign in to comment.