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
index
Module index
Index
Classes
default
Variables
Super
Tokens
Wrapper
Functions
change
Language
init
load
Translation
redirect
To
Auth
use
Translation
use
User
Context
Variables
Const
Super
Tokens
Wrapper
Super
Tokens
Wrapper
:
React.FC
<
PropsWithChildren
<
{
userContext
?:
UserContext
}
>
>
= ...
Functions
change
Language
change
Language
(
language
:
string
)
:
Promise
<
void
>
Parameters
language:
string
Returns
Promise
<
void
>
init
init
(
config
:
SuperTokensConfig
)
:
void
Parameters
config:
SuperTokensConfig
Returns
void
load
Translation
load
Translation
(
store
:
TranslationStore
)
:
void
Parameters
store:
TranslationStore
Returns
void
redirect
To
Auth
redirect
To
Auth
(
options
?:
{
navigate
?:
Navigate
;
queryParams
?:
any
;
redirectBack
?:
boolean
;
show
?:
"signin"
|
"signup"
;
userContext
?:
UserContext
}
)
:
Promise
<
void
>
Parameters
Optional
options:
{
navigate
?:
Navigate
;
queryParams
?:
any
;
redirectBack
?:
boolean
;
show
?:
"signin"
|
"signup"
;
userContext
?:
UserContext
}
Optional
navigate
?:
Navigate
Optional
query
Params
?:
any
Optional
redirect
Back
?:
boolean
Optional
show
?:
"signin"
|
"signup"
Optional
user
Context
?:
UserContext
Returns
Promise
<
void
>
use
Translation
use
Translation
(
)
:
TranslationFunc
Returns
TranslationFunc
use
User
Context
use
User
Context
(
)
:
UserContext
Returns
UserContext
Modules
date
Provider
index
recipe/auth
Recipe
recipe/emailpassword
recipe/emailverification
recipe/multifactorauth
recipe/multitenancy
recipe/oauth2provider
recipe/passwordless
recipe/recipe
Module
recipe/session
recipe/thirdparty
recipe/totp
recipe/userroles
default
Super
Tokens
Wrapper
change
Language
init
load
Translation
redirect
To
Auth
use
Translation
use
User
Context
Generated using
TypeDoc