Merge "Enable warning-is-error in doc build"
This commit is contained in:
commit
6cb80802d4
7
doc/source/class_reference.rst
Normal file
7
doc/source/class_reference.rst
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Python Mistral bindings class refrence
|
||||||
|
======================================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
api/autoindex
|
@ -14,24 +14,25 @@ Using mistralclient
|
|||||||
cli_usage_with_openstack
|
cli_usage_with_openstack
|
||||||
cli_usage_with_keycloak
|
cli_usage_with_keycloak
|
||||||
cli_usage_without_auth
|
cli_usage_without_auth
|
||||||
|
class_reference
|
||||||
|
|
||||||
For information about using the mistral command-line client, see
|
For information about using the mistral command-line client, see
|
||||||
`Workflow service command-line client`_.
|
`Workflow service command-line client`_.
|
||||||
|
|
||||||
.. _Workflow service command-line client: http://docs.openstack.org/cli-reference/mistral.html
|
.. _Workflow service command-line client: https://docs.openstack.org/cli-reference/mistral.html
|
||||||
|
|
||||||
Python API Reference
|
Python API Reference
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
* `REST API Specification`_
|
* `REST API Specification`_
|
||||||
|
|
||||||
.. _REST API Specification: http://docs.openstack.org/developer/mistral/developer/webapi/v2.html
|
.. _REST API Specification: https://docs.openstack.org/mistral/latest/api/v2.html
|
||||||
|
|
||||||
Contributing
|
Contributing
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Code is hosted `on GitHub`_. Submit bugs to the python-mistralclient project on
|
Code is hosted `on GitHub`_. Submit bugs to the python-mistralclient project on
|
||||||
`Launchpad`_. Submit code to the openstack/python-heatclient project
|
`Launchpad`_. Submit code to the openstack/python-mistralclient project
|
||||||
using `Gerrit`_.
|
using `Gerrit`_.
|
||||||
|
|
||||||
.. _on GitHub: https://github.com/openstack/python-mistralclient
|
.. _on GitHub: https://github.com/openstack/python-mistralclient
|
||||||
|
@ -30,25 +30,26 @@ class KeycloakAuthHandler(auth.AuthHandler):
|
|||||||
:param req: Request dict containing list of parameters required
|
:param req: Request dict containing list of parameters required
|
||||||
for Keycloak authentication.
|
for Keycloak authentication.
|
||||||
|
|
||||||
auth_url: Base authentication url of KeyCloak server (e.g.
|
* auth_url: Base authentication url of KeyCloak server (e.g.
|
||||||
"https://my.keycloak:8443/auth"
|
"https://my.keycloak:8443/auth"
|
||||||
client_id: Client ID (according to OpenID Connect protocol).
|
* client_id: Client ID (according to OpenID Connect protocol).
|
||||||
client_secret: Client secret (according to OpenID Connect
|
* client_secret: Client secret (according to OpenID Connect
|
||||||
protocol).
|
protocol).
|
||||||
realm_name: KeyCloak realm name.
|
* realm_name: KeyCloak realm name.
|
||||||
username: User name (Optional, if None then access_token must be
|
* username: User name (Optional, if None then access_token must be
|
||||||
provided).
|
provided).
|
||||||
password: Password (Optional).
|
* password: Password (Optional).
|
||||||
access_token: Access token. If passed, username and password are
|
* access_token: Access token. If passed, username and password are
|
||||||
not used and this method just validates the token and refreshes
|
not used and this method just validates the token and refreshes
|
||||||
it if needed (Optional, if None then username must be
|
it if needed (Optional, if None then username must be
|
||||||
provided).
|
provided).
|
||||||
cacert: SSL certificate file (Optional).
|
* cacert: SSL certificate file (Optional).
|
||||||
insecure: If True, SSL certificate is not verified (Optional).
|
* insecure: If True, SSL certificate is not verified (Optional).
|
||||||
|
|
||||||
:param session: Keystone session object. Not used by this plugin.
|
:param session: Keystone session object. Not used by this plugin.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not isinstance(req, dict):
|
if not isinstance(req, dict):
|
||||||
raise TypeError('The input "req" is not typeof dict.')
|
raise TypeError('The input "req" is not typeof dict.')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user