

def checkResponse(auth_map, password, method='GET', encrypt=None, **kwargs):
    "'checkResponse' compares the auth_map with the password and optionally\n    other arguments that each implementation might need.\n    \n    If the response is of type 'Basic' then the function has the following\n    signature::\n    \n        checkBasicResponse (auth_map, password) -> bool\n    \n    If the response is of type 'Digest' then the function has the following\n    signature::\n    \n        checkDigestResponse (auth_map, password, method = 'GET', A1 = None) -> bool\n    \n    The 'A1' argument is only used in MD5_SESS algorithm based responses.\n    Check md5SessionKey() for more info.\n    "
    checker = AUTH_RESPONSES[auth_map['auth_scheme']]
    return checker(auth_map, password, method=method, encrypt=encrypt, **kwargs)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/httpauth.py checkResponse/original