Add default body for non-abstract empty methods

Some non-abstract methods only have docstring with no content,
this just add a default content to those function.

Change-Id: Idcf5b9f6ed766d3bc1541e158bdd8e58b06223e2
This commit is contained in:
lin-hua-cheng
2015-02-13 21:53:39 -08:00
committed by Lin Hua Cheng
parent 96c038004f
commit 67a0c2e31a

View File

@@ -78,6 +78,7 @@ class BaseAuthPlugin(object):
:return: A token to use.
:rtype: string
"""
return None
def get_headers(self, session, **kwargs):
"""Fetch authentication headers for message.
@@ -137,6 +138,7 @@ class BaseAuthPlugin(object):
service or None if not available.
:rtype: string
"""
return None
def invalidate(self):
"""Invalidate the current authentication data.