diff --git a/README.md b/README.md index a80448a..ef8e01f 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ token = keycloak_openid.token("user", "password") rpt = keycloak_openid.entitlement(token['access_token'], "resource_id") # Instropect RPT -token_rpt_info = keycloak_openid.instropect(keycloak_openid.instropect(token['access_token'], rpt=rpt['rpt'], +token_rpt_info = keycloak_openid.introspect(keycloak_openid.introspect(token['access_token'], rpt=rpt['rpt'], token_type_hint="requesting_party_token")) # Introspect Token diff --git a/docs/source/conf.py b/docs/source/conf.py index b5eba8c..1e7cf48 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -60,9 +60,9 @@ author = 'Marcos Pereira' # built documents. # # The short X.Y version. -version = '0.10.2' +version = '0.11.0' # The full version, including alpha/beta/rc tags. -release = '0.10.2' +release = '0.11.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/source/index.rst b/docs/source/index.rst index f68dcbb..9ce5594 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -43,7 +43,6 @@ python-keycloak depends on: * Python 3 * `requests `_ * `python-jose `_ -* `simplejson `_ Tests Dependencies ------------------ @@ -67,6 +66,7 @@ Contributors * `Agriness Team `_ * `Martin Devlin `_ +* `Shon T. Urbas `_ Usage ===== @@ -102,7 +102,7 @@ Main methods:: rpt = keycloak_openid.entitlement(token['access_token'], "resource_id") # Instropect RPT - token_rpt_info = keycloak_openid.instropect(keycloak_openid.instropect(token['access_token'], rpt=rpt['rpt'], + token_rpt_info = keycloak_openid.introspect(keycloak_openid.introspect(token['access_token'], rpt=rpt['rpt'], token_type_hint="requesting_party_token")) # Introspect Token @@ -127,7 +127,7 @@ Main methods:: username='example-admin', password='secret', realm_name="example_realm", - verify=True) + verify=True) # Add user new_user = keycloak_admin.create_user({"email": "example@example.com", diff --git a/setup.py b/setup.py index ed1df7f..7746d82 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='python-keycloak', - version='0.10.2', + version='0.11.0', url='https://bitbucket.org/agriness/python-keycloak', license='GNU General Public License - V3', author='Marcos Pereira', @@ -12,7 +12,7 @@ setup( keywords='keycloak openid', description=u'python-keycloak is a Python package providing access to the Keycloak API.', packages=['keycloak', 'keycloak.authorization', 'keycloak.tests'], - install_requires=['requests==2.18.3', 'httmock==1.2.5', 'python-jose==1.3.2', 'simplejson'], + install_requires=['requests==2.18.4', 'httmock==1.2.5', 'python-jose==1.3.2', 'simplejson'], classifiers=[ 'Programming Language :: Python :: 3', 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',