def _oauth_tokengetter(token=None):
 token = session.get('oauth')
 log.debug('Token Get: {0}'.format(token))
 return token

def _oauth_tokengetter ( token = None ) : token = session . get ( 'oauth' ) log . debug ( 'Token Get: {0}' . format ( token ) ) return token
default function to return the current user oauth token from session cookie .