Complete End User Registration with Wallets
POST /auth/registration/enduser
Completes the end user registration process and creates the user's initial credentials along with delegated wallets for the new end user.
The type of credentials being registered is determined by the credentialKind
field in the nested objects (firstFactorCredential
, secondFactorCredential
and RecoveryCredential
). Supported credential kinds are:
Fido2
: User action is signed by a user's signing device usingWebAuthn
.Key
: User action is signed by a user's, or token's, private key.PasswordProtectedKey
: User action is signed by a user's, or token's, private key. The encrypted version of the private key is stored by Dfns and returns during the signing flow for the user to decrypt it.
The number of delegated wallets created and the wallet types are determined by the wallets
specifications. The end user is automatically assigned DfnsDefaultEndUserAccess
managed permission that grants the end user full access to the wallets.
Request headers required. See Request Headers for more information.
Temporary authentication token required. See Registration Headers for more information.
Required Permissions
Since this endpoint is not authentication, the permissions apply to the application only.
Request body
Fido2 Credential
Key Credential
Password Protected Key Credential
Recovery Credential
Wallets
Example
Responses
See Common Errors for common errors.
See User Registration Errors for user registration specific errors.
Success - an object describing the end user and the delegated wallets
Last updated