OrcaStorm provides a simple module that can be used from a Tornado server to authenticate users with SaasPass (www.saaspass.com) two-factor authentication.
This is a pre-release, it can only be used with tornado version 4.3. That version is still beta, but that is the only version that supports async def statements with tornado's ioloop. The PyPi package contains the module for the API only. The repository contains an example web server that can be used to understand how SaasPass reverse ajax callback works for login pages. PyPi: https://pypi.python.org/pypi/orcastorm Documentation: http://pythonhosted.org/orcastorm/ Repository: https://bitbucket.org/nagylzs/orcastorm Orcastorm supports authentication by: * reading a barcode * entering an OTP code * instant login (single sign on) But it does not support remote logouts. In contrast, Clef does have support for remote logouts, but it cannot authenticate with OTP codes, you cannot be logged in with different accounts at the same time by default, and the only method for logging in (AFAIK) is with oauth2. Cheers, Laszlo
-- https://mail.python.org/mailman/listinfo/python-list