A utility function that protects a page that is only for site administrators. If they're not an admin, it pretends the page doesn't exist.
The initial authentication state of the page
An object that is able to extend the GetServerSidePropsResult to include a redirect if necessary
A utility function that protects a page that is only for site administrators. If they're not an admin, it pretends the page doesn't exist.