From a3e2d8eb658fbd7677bacfe40189956d47b94ef2 Mon Sep 17 00:00:00 2001 From: sseering Date: Fri, 10 Dec 2021 10:22:37 +0100 Subject: [PATCH] documentation fix: show correct scope for decode_complete() (#661) Co-authored-by: Stefan Seering --- docs/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index f1720b93..2f81b1f7 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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),