#NEWLINE# def authenticated_userid( self , request ) : #NEWLINE# #INDENT# credentials = self . _get_credentials ( request ) #NEWLINE# if ( credentials is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# userid = credentials [ 'login' ] #NEWLINE# if ( self . check ( credentials , request ) is not None ) : #NEWLINE# #INDENT# return self