Preparing search index...
The search index is not available
@auth0/nextjs-auth0
@auth0/nextjs-auth0
helpers/with-page-auth-required
PageRoute
Type alias PageRoute<P, Q>
Page
Route
<
P
,
Q
>
:
(
(
ctx
)
=>
Promise
<
GetServerSidePropsResultWithSession
<
P
>
>
)
Type Parameters
P
Q
extends
ParsedUrlQuery
=
ParsedUrlQuery
Type declaration
(
ctx
)
:
Promise
<
GetServerSidePropsResultWithSession
<
P
>
>
A page route that has been augmented with
WithPageAuthRequired
.
Parameters
ctx
:
GetServerSidePropsContext
<
Q
>
Returns
Promise
<
GetServerSidePropsResultWithSession
<
P
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@auth0/nextjs-
auth0
client
client/use-
user
client/with-
page-
auth-
required
config
edge
handlers
handlers/auth
handlers/callback
handlers/login
handlers/logout
handlers/profile
handlers/router-
helpers
helpers
helpers/testing
helpers/with-
api-
auth-
required
helpers/with-
middleware-
auth-
required
helpers/with-
page-
auth-
required
App
Router
Page
Route
App
Router
Page
Route
Opts
Get
Server
Side
Props
Result
With
Session
Page
Route
With
Page
Auth
Required
With
Page
Auth
Required
App
Router
With
Page
Auth
Required
App
Router
Options
With
Page
Auth
Required
Page
Router
With
Page
Auth
Required
Page
Router
Options
http
http/auth0-
next-
api-
request
http/auth0-
next-
api-
response
http/auth0-
next-
request
http/auth0-
next-
request-
cookies
http/auth0-
next-
response
http/auth0-
next-
response-
cookies
index
init
session
session/get-
access-
token
session/get-
session
session/session
session/touch-
session
session/update-
session
shared
utils/errors
version
A page route that has been augmented with WithPageAuthRequired.