Flask Demo - 03
HTTP Basic Authentication
HTTP Basic Authentication
python3 api_demo/flask_03_basic_auth_app.py
http://127.0.0.1:5003/itemsOther @auth decorators
Other @auth decorators@auth.verify_password def verify_password(username, password): # Check username and password, return username if authentication succeeds
Usage
Last updated