def __init__(self, app): self.serializer = URLSafeSerializer(app.config['SECRET_KEY']) self.salt = app.config['SECRET_SALT']