Add login_required to a blueprint

secure = Blueprint('secure', 'secure')
secure.before_request(blueprint_login_required)

all views from this blueprint only be accessible with logged user