def checkpassword_dict(user_password_dict):
    def checkpassword(realm, user, password):
        p = user_password_dict.get(user)
        return p and p == password or False

    return checkpassword
Return sphere point perpendicular to axis.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/auth_basic.py/checkpassword_dict--crossover with--dataset/ETHPy150Open omangin/multimodal/multimodal/lib/transformations.py/arcball_constrain_to_axis