Preparing search index...
The search index is not available
Auth0 SPA SDK
Auth0 SPA SDK
Fetcher
Class Fetcher<TOutput>
Calls your APIs with an Auth0 access token attached automatically.
Type Parameters
TOutput
extends
CustomFetchMinimalOutput
Index
Constructors
constructor
Methods
fetch
With
Auth
Constructors
constructor
new
Fetcher
<
TOutput
>
(
config
,
hooks
)
:
Fetcher
<
TOutput
>
Type Parameters
TOutput
extends
CustomFetchMinimalOutput
Parameters
config
:
FetcherConfig
<
TOutput
>
hooks
:
FetcherHooks
Returns
Fetcher
<
TOutput
>
Methods
fetch
With
Auth
fetch
With
Auth
(
info
,
init
?
,
authParams
?
)
:
Promise
<
TOutput
>
Parameters
info
:
URL
|
RequestInfo
Optional
init
:
RequestInit
Optional
authParams
:
AuthParams
Returns
Promise
<
TOutput
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
fetch
With
Auth
Auth0 SPA SDK
Loading...
Calls your APIs with an Auth0 access token attached automatically.