Docstring spelling and function-vs-method fixes

These are all object methods, not independent functions.

Change-Id: I3c232d922e61a94c7dc2c2b9a8d3768fd42be1a7
This commit is contained in:
Dolph Mathews
2015-10-21 15:37:18 +00:00
parent 6588ad5fb5
commit b588609a06
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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.