(email, user_id, timestamp)
return serializer.dumps(
        [email, user_id, timestamp],
        salt=app.config['SECURITY_PASSWORD_SALT']
    )
Given a user email address, create a unique token.
Given a user email address, create a unique token.
Given a user email address create a unique token .
def generate_confirmation_token(email, user_id, timestamp):
    '''
    Given a user email address, create a unique token.
    '''
    serializer = URLSafeTimedSerializer(app.config['SECRET_KEY'])
    return serializer.dumps(
        [email, user_id, timestamp],
        salt=app.config['SECURITY_PASSWORD_SALT']
    )
def generate_confirmation_token ( email , user_id , timestamp ) : serializer = URLSafeTimedSerializer ( app . config [ 'SECRET_KEY' ] ) return serializer . dumps ( [ email , user_id , timestamp ] , salt = app . config [ 'SECURITY_PASSWORD_SALT' ] )