Prompts the user for authorization using HTTP Basic Auth.
(user='user', passwd='passwd')
| 467 | |
| 468 | @app.route('/hidden-basic-auth/<user>/<passwd>') |
| 469 | def hidden_basic_auth(user='user', passwd='passwd'): |
| 470 | """Prompts the user for authorization using HTTP Basic Auth.""" |
| 471 | |
| 472 | if not check_basic_auth(user, passwd): |
| 473 | return status_code(404) |
| 474 | return jsonify(authenticated=True, user=user) |
| 475 | |
| 476 | |
| 477 | @app.route('/bearer') |
nothing calls this directly
no test coverage detected
searching dependent graphs…