

def _checkDigestResponse(auth_map, password, method='GET', A1=None, **kwargs):
    "This function is used to verify the response given by the client when\n    he tries to authenticate.\n    Optional arguments:\n     entity_body - when 'qop' is set to 'auth-int' you MUST provide the\n                   raw data you are going to send to the client (usually the\n                   HTML page.\n     request_uri - the uri from the request line compared with the 'uri'\n                   directive of the authorization map. They must represent\n                   the same resource (unused at this time).\n    "
    if (auth_map['realm'] != password.get('realm', None)):
        return False
    response = _computeDigestResponse(auth_map, password, method, A1, **kwargs)
    return (response == auth_map['response'])

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/httpauth.py _checkDigestResponse/VarMisuse@32/226 `kwargs`->`password`