Multiple Verify_password Callbacks On Flask-httpauth
Working on a Flask application which will have separate classes of routes to be authenticated against: user routes and host routes(think Airbnb'esque where users and hosts differ s
Solution 1:
The way I intended that to be handled is by creating two HTTPAuth objects. Each gets its own verify_password
callback, and then you can decorate each route with the decorator that is appropriate.
Post a Comment for "Multiple Verify_password Callbacks On Flask-httpauth"