Auth0 Universal Components
GitHub
Auth0
Preparing search index...
core/src
BasicAuth0ContextInterface
Interface BasicAuth0ContextInterface<TUser>
interface
BasicAuth0ContextInterface
<
TUser
=
User
>
{
getAccessTokenSilently
:
{
(
options
:
GetTokenSilentlyOptions
&
{
detailedResponse
:
true
}
,
)
:
Promise
<
GetTokenSilentlyVerboseResponse
>
;
(
options
?:
GetTokenSilentlyOptions
)
:
Promise
<
string
>
;
(
options
:
GetTokenSilentlyOptions
,
)
:
Promise
<
string
|
GetTokenSilentlyVerboseResponse
>
;
}
;
getAccessTokenWithPopup
:
(
options
?:
unknown
)
=>
Promise
<
string
|
undefined
>
;
isAuthenticated
:
boolean
;
loginWithRedirect
:
(
options
?:
unknown
)
=>
Promise
<
void
>
;
user
?:
TUser
;
}
Type Parameters
TUser
=
User
Index
Properties
get
Access
Token
Silently
get
Access
Token
With
Popup
is
Authenticated
login
With
Redirect
user?
Properties
get
Access
Token
Silently
getAccessTokenSilently
:
{
(
options
:
GetTokenSilentlyOptions
&
{
detailedResponse
:
true
}
,
)
:
Promise
<
GetTokenSilentlyVerboseResponse
>
;
(
options
?:
GetTokenSilentlyOptions
)
:
Promise
<
string
>
;
(
options
:
GetTokenSilentlyOptions
,
)
:
Promise
<
string
|
GetTokenSilentlyVerboseResponse
>
;
}
get
Access
Token
With
Popup
getAccessTokenWithPopup
:
(
options
?:
unknown
)
=>
Promise
<
string
|
undefined
>
is
Authenticated
isAuthenticated
:
boolean
login
With
Redirect
loginWithRedirect
:
(
options
?:
unknown
)
=>
Promise
<
void
>
Optional
user
user
?:
TUser
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
get
Access
Token
Silently
get
Access
Token
With
Popup
is
Authenticated
login
With
Redirect
user
GitHub
Auth0
Auth0 Universal Components
Loading...