Preparing search index...
The search index is not available
@auth0/nextjs-auth0
@auth0/nextjs-auth0
client/use-user
UserContext
Type alias UserContext
User
Context
:
{
checkSession
:
(
(
)
=>
Promise
<
void
>
)
;
error
?:
Error
;
isLoading
:
boolean
;
user
?:
UserProfile
;
}
The user context returned from the
useUser
hook.
Type declaration
check
Session
:
(
(
)
=>
Promise
<
void
>
)
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Optional
error
?:
Error
is
Loading
:
boolean
Optional
user
?:
UserProfile
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@auth0/nextjs-
auth0
client
client/use-
user
Request
Error
User
Profile
User
Context
User
Provider
User
Provider
Props
default
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
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
The user context returned from the useUser hook.