The gnocchiclient.auth
Module¶
-
class
gnocchiclient.auth.
GnocchiBasicLoader
¶ Bases:
keystoneauth1.loading.base.BaseLoader
-
get_options
()¶
-
plugin_class
¶ alias of
GnocchiBasicPlugin
-
-
class
gnocchiclient.auth.
GnocchiBasicPlugin
(user, endpoint)¶ Bases:
keystoneauth1.plugin.BaseAuthPlugin
Basic authentication plugin for Gnocchi.
-
get_auth_ref
(session, **kwargs)¶
-
get_endpoint
(session, **kwargs)¶
-
get_headers
(session, **kwargs)¶
-
-
class
gnocchiclient.auth.
GnocchiNoAuthLoader
¶ Bases:
keystoneauth1.loading.base.BaseLoader
-
get_options
()¶
-
plugin_class
¶ alias of
GnocchiNoAuthPlugin
-
-
class
gnocchiclient.auth.
GnocchiNoAuthPlugin
(user_id, project_id, roles, endpoint)¶ Bases:
keystoneauth1.plugin.BaseAuthPlugin
No authentication plugin for Gnocchi.
This is a keystoneauth plugin that instead of doing authentication, it just fill the ‘x-user-id’ and ‘x-project-id’ headers with the user provided one.
-
get_auth_ref
(session, **kwargs)¶
-
get_endpoint
(session, **kwargs)¶
-
get_headers
(session, **kwargs)¶
-
get_project_id
(session, **kwargs)¶
-
get_user_id
(session, **kwargs)¶
-