supertokens-node
Preparing search index...
recipe/webauthn
signUp
Variable signUp
signUp
:
(
input
:
{
credential
:
RegistrationPayload
;
session
:
undefined
|
SessionContainer
;
shouldTryLinkingWithSessionUser
:
undefined
|
boolean
;
tenantId
:
string
;
userContext
?:
Record
<
string
,
any
>
;
webauthnGeneratedOptionsId
:
string
;
}
,
)
=>
Promise
<
|
SignUpErrorResponse
|
{
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
,
>
= Wrapper.signUp
Type declaration
(
input
:
{
credential
:
RegistrationPayload
;
session
:
undefined
|
SessionContainer
;
shouldTryLinkingWithSessionUser
:
undefined
|
boolean
;
tenantId
:
string
;
userContext
?:
Record
<
string
,
any
>
;
webauthnGeneratedOptionsId
:
string
;
}
,
)
:
Promise
<
|
SignUpErrorResponse
|
{
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
,
>
Parameters
input
:
{
credential
:
RegistrationPayload
;
session
:
undefined
|
SessionContainer
;
shouldTryLinkingWithSessionUser
:
undefined
|
boolean
;
tenantId
:
string
;
userContext
?:
Record
<
string
,
any
>
;
webauthnGeneratedOptionsId
:
string
;
}
Returns
Promise
<
|
SignUpErrorResponse
|
{
recipeUserId
:
RecipeUserId
;
status
:
"OK"
;
user
:
User
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
supertokens-node
Loading...