osc_lib.api.auth
Moduleosc_lib.api.auth
Module¶Authentication Library
osc_lib.api.auth.
build_auth_plugins_option_parser
(parser)¶Auth plugins options builder
Builds dynamically the list of options expected by each available authentication plugin.
osc_lib.api.auth.
check_valid_authentication_options
(options, auth_plugin_name)¶Validate authentication options, and provide helpful error messages
Parameters: | required_scope – indicate whether a scoped token is required |
---|
Validate authorization options, and provide helpful error messages.
osc_lib.api.auth.
get_keystone2keystone_auth
(local_auth, service_provider, project_id=None, project_name=None, project_domain_id=None, project_domain_name=None)¶Return Keystone 2 Keystone authentication for service provider.
Parameters: |
|
---|---|
Returns: | Keystone2Keystone auth object for service provider |
osc_lib.api.auth.
get_options_list
()¶Gather plugin options so the help action has them available
osc_lib.api.auth.
get_plugin_list
()¶Gather plugin list and cache it
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.