Browse Source

Updated docs.

hotfix/merge
Marcos Pereira 7 years ago
parent
commit
3958946e2e
  1. 4
      docs/source/conf.py
  2. 7
      docs/source/index.rst
  3. 2
      setup.py

4
docs/source/conf.py

@ -60,9 +60,9 @@ author = 'Marcos Pereira'
# built documents.
#
# The short X.Y version.
version = '0.4.1'
version = '0.5.0'
# The full version, including alpha/beta/rc tags.
release = '0.4.1'
release = '0.5.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

7
docs/source/index.rst

@ -45,7 +45,7 @@ python-keycloak depends on:
* Python 3
* `requests <http://docs.python-requests.org/en/master/>`_
* `PyJWT <https://github.com/jpadilla/pyjwt>`_
* `python-jose <http://python-jose.readthedocs.io/en/latest/>`_
Tests Dependencies
------------------
@ -108,3 +108,8 @@ Main methods::
# Instropect Token
token_info = keycloak.instropect(token['access_token']))
# Decode Token
KEYCLOAK_PUBLIC_KEY = "secret"
options = {"verify_signature": True, "verify_aud": True, "exp": True}
token_info = keycloak.decode_token(token['access_token'], key=KEYCLOAK_PUBLIC_KEY, options=options)

2
setup.py

@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='python-keycloak',
version='0.4.1',
version='0.5.0',
url='https://github.com/marcospereirampj/python-keycloak',
license='GNU General Public License - V3',
author='Marcos Pereira',

Loading…
Cancel
Save