#NEWLINE# def authenticateCred( self , credStr , argList , requestHash = None ) : #NEWLINE# #INDENT# cred = Credential ( string = credStr ) #NEWLINE# self . validateCred ( credStr ) #NEWLINE# if requestHash : #NEWLINE# #INDENT# self . verifyCredRequestHash ( cred , requestHash , argList ) #NEWLINE# #UNINDENT# return cred