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
client/with-page-auth-required
config
edge
handlers
handlers/auth
handlers/backchannel-logout
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
Loading...
The user context returned from the useUser hook.