def __init__(self, user_func, secret, timeout=10):
    self.user_func = user_func
    self.secret = secret
    self.timeout = timeout
:param user_func: Function which returns an key string for the current user.
dataset/ETHPy150Open gregorynicholas/flask-xsrf/flask_xsrf.py/XSRFTokenHandler.__init__