Search
Preparing search index...
The search index is not available
supertokens-auth-react
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
supertokens-auth-react
recipe/session
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
Session
Auth
use
Session
Context
Methods
add
Axios
Interceptors
attempt
Refreshing
Session
does
Session
Exist
getJWTPayload
Securely
get
User
Id
init
sign
Out
Constructors
constructor
new default
(
)
:
default
Returns
default
Properties
Static
Session
Auth
Session
Auth
:
FC
<
Props
>
= SessionAuthWrapper
Static
use
Session
Context
use
Session
Context
:
(
)
=>
SessionContextType
= useSessionContextFunc
Type declaration
(
)
:
SessionContextType
Returns
SessionContextType
Methods
Static
add
Axios
Interceptors
add
Axios
Interceptors
(
axiosInstance
:
any
)
:
void
Parameters
axiosInstance:
any
Returns
void
Static
attempt
Refreshing
Session
attempt
Refreshing
Session
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Static
does
Session
Exist
does
Session
Exist
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Static
getJWTPayload
Securely
getJWTPayload
Securely
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
Static
get
User
Id
get
User
Id
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Static
init
init
(
config
?:
InputType
)
:
CreateRecipeFunction
<
unknown
,
unknown
,
unknown
,
any
>
Parameters
Optional
config:
InputType
Returns
CreateRecipeFunction
<
unknown
,
unknown
,
unknown
,
any
>
Static
sign
Out
sign
Out
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Modules
index
recipe/auth
Recipe
Module
recipe/emailpassword
recipe/recipe
Module
recipe/session
recipe/thirdparty
recipe/thirdpartyemailpassword
default
constructor
Session
Auth
use
Session
Context
add
Axios
Interceptors
attempt
Refreshing
Session
does
Session
Exist
getJWTPayload
Securely
get
User
Id
init
sign
Out
Generated using
TypeDoc