mozilla/PyVEP — Issue #6: generic vep.verify()
Author: tarekziade
Created: 2012-02-16 14:59:27+00:00
State: open

Instead of having one function per verifier:

vep.verify_local
vep.verify_xxx
etc

why not having the verifier as an option for the verify() function (in a form of a string that points to the class) ?

that way, if I write my custom verifier we can do :

vep.verify(..., verifier='tokenserver.verifier.Verifier')

(or even a cls= since I can instanciate it on my side)