What is the purpose of `WithPageAuthRequired`?

What is the purpose if WithPageAuthRequired if I am using the middleware to protect my pages in a next.js app (using @auth0/nextjs-auth0 @ 3.1.0)?

For example, I protect all of my app pages at /incidents/* and /settings/* using:

import { getSession, withMiddlewareAuthRequired } from "@auth0/nextjs-auth0/edge";

export const config = {
  matcher: [
    "/incidents/:path*",
    "/settings/:path*"
  ],
};

export default withMiddlewareAuthRequired();

Do I still need to use withPageAuthRequired on those pages?