Module Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad Call NameLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad NameLoad Str AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Return Call NameLoad NameLoad Str AttributeLoad NameLoad attr orelse Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Return Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Return BinOpAdd Str Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Index Str Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str SubscriptLoad NameLoad Index Str Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Dict Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A unittest hashlib md5 basic_md5 flask Flask flask_httpauth HTTPDigestAuth werkzeug.http parse_dict_header md5 N/A N/A str N/A N/A N/A N/A N/A N/A type str __name__ str N/A N/A str N/A N/A str encode utf-8 N/A N/A basic_md5 str N/A get_ha1 N/A N/A user pw realm N/A N/A N/A a1 N/A N/A N/A N/A user : realm : pw N/A N/A N/A N/A md5 a1 hexdigest N/A HTTPAuthTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A app N/A Flask __name__ N/A N/A N/A app config N/A SECRET_KEY my secret N/A digest_auth_ha1_pw N/A HTTPDigestAuth use_ha1_pw True get_digest_password N/A N/A username N/A N/A N/A N/A username susan N/A N/A N/A get_ha1 username hello N/A digest_auth_ha1_pw realm N/A N/A N/A username john N/A N/A N/A get_ha1 username bye N/A digest_auth_ha1_pw realm N/A N/A None N/A N/A digest_auth_ha1_pw get_password index N/A N/A N/A N/A N/A index N/A N/A N/A app route / digest_auth_ha1_pw_route N/A N/A N/A N/A N/A N/A digest_auth_ha1_pw: N/A N/A digest_auth_ha1_pw username N/A N/A N/A app route /digest_ha1_pw N/A digest_auth_ha1_pw login_required N/A N/A self app app N/A N/A self client N/A N/A app test_client N/A test_digest_ha1_pw_auth_login_valid N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /digest_ha1_pw N/A N/A N/A self assertTrue N/A N/A response status_code 401 N/A header N/A N/A N/A response headers get WWW-Authenticate N/A N/A auth_type auth_info N/A N/A header split None 1 N/A d N/A parse_dict_header auth_info N/A a1 N/A N/A john: N/A d N/A realm :bye N/A ha1 N/A N/A N/A md5 a1 hexdigest N/A a2 GET:/digest_ha1_pw N/A ha2 N/A N/A N/A md5 a2 hexdigest N/A a3 N/A N/A N/A N/A ha1 : N/A d N/A nonce : ha2 N/A auth_response N/A N/A N/A md5 a3 hexdigest N/A response N/A N/A N/A self client get /digest_ha1_pw headers N/A Authorization N/A N/A Digest username="john",realm="{0}",nonce="{1}",uri="/digest_ha1_pw",response="{2}",opaque="{3}" format N/A d N/A realm N/A d N/A nonce auth_response N/A d N/A opaque N/A N/A N/A self assertEqual N/A response data digest_auth_ha1_pw:john N/A N/A