diff --git a/keystoneclient/auth/identity/base.py b/keystoneclient/auth/identity/base.py index 02c4fe6a1..b8ac1c43e 100644 --- a/keystoneclient/auth/identity/base.py +++ b/keystoneclient/auth/identity/base.py @@ -164,13 +164,13 @@ class BaseIdentityPlugin(base.BaseAuthPlugin): This method is overridden by the various token version plugins. - This function should not be called independently and is expected to be - invoked via the do_authenticate function. + This method should not be called independently and is expected to be + invoked via the do_authenticate() method. - This function will be invoked if the AcessInfo object cached by the + This method will be invoked if the AccessInfo object cached by the plugin is not valid. Thus plugins should always fetch a new AccessInfo - when invoked. If you are looking to just retrieve the current auth - data then you should use get_access. + when invoked. If you are looking to just retrieve the current auth data + then you should use get_access(). :param session: A session object that can be used for communication. :type session: keystoneclient.session.Session diff --git a/keystoneclient/session.py b/keystoneclient/session.py index 7a962807d..d156fdedb 100644 --- a/keystoneclient/session.py +++ b/keystoneclient/session.py @@ -668,7 +668,7 @@ class Session(object): We restrict the values that may be returned from this function to prevent an auth plugin overriding values unrelated to connection - parmeters. The values that are currently accepted are: + parameters. The values that are currently accepted are: - `cert`: a path to a client certificate, or tuple of client certificate and key pair that are used with this request.