mistralclient.auth.keycloak.
KeycloakAuthHandler
¶Bases: mistralclient.auth.AuthHandler
authenticate
(req, session=None)¶Performs authentication using Keycloak OpenID Protocol.
req –
Request dict containing list of parameters required for Keycloak authentication.
client_id: Client ID (according to OpenID Connect protocol).
protocol).
project_name: KeyCloak realm name.
provided).
api_key: Password (Optional).
not used and this method just validates the token and refreshes it if needed (Optional, if None then username must be provided).
cacert: SSL certificate file (Optional).
insecure: If True, SSL certificate is not verified (Optional).
session – Keystone session object. Not used by this plugin.
mistralclient.auth.keycloak.
get_system_ca_file
()¶Return path to system default CA file.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.