Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to secure an endpoint for selected users with Flask-JWT-Extended

@app.route('/users/<userid:int>/edit')
@userid_must_match
def users_edit():
    # ... handle view for matching user
 
PREVIOUS NEXT
Tagged: #How #secure #endpoint #selected #users
ADD COMMENT
Topic
Name
6+3 =