diff --git a/docs/security.rst b/docs/security.rst index 7e29bfb70..0eb6a664c 100644 --- a/docs/security.rst +++ b/docs/security.rst @@ -11,7 +11,7 @@ With Connexion, the API security definition **must** include a ``x-tokenInfoFunc`` must contain a reference to a function used to obtain the token info. This reference should be a string using the same syntax that is used to connect an ``operationId`` to a Python -function when routing. For example, an ``x-tokenInfoFunc`` of +function when routing. For example, an ``x-tokenInfoFunc`` with a value of ``auth.verifyToken`` would pass the user's token string to the function ``verifyToken`` in the module ``auth.py``. The referenced function accepts a token string as argument and should return a dict containing a ``scope``