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 c140e073d2
commit 55e574495b
1 changed files with 2 additions and 0 deletions

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.