Skip to content

Commit

Permalink
documentation fix: show correct scope for decode_complete() (#661)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Seering <sseering@todo.find.proper.mail.domain>
  • Loading branch information
sseering and Stefan Seering committed Dec 10, 2021
1 parent f3b95a0 commit a3e2d8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.rst
Expand Up @@ -68,6 +68,8 @@ API Reference
:rtype: dict
:returns: the JWT claims

.. module:: jwt.api_jwt

.. function:: decode_complete(jwt, key="", algorithms=None, options=None, audience=None, issuer=None, leeway=0)

Identical to ``jwt.decode`` except for return value which is a dictionary containing the token header (JOSE Header),
Expand Down

0 comments on commit a3e2d8e

Please sign in to comment.