curl --request POST \
--url https://api.dfns.io/auth/recover/user/init \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"verificationCode": "<string>",
"orgId": "<string>",
"credentialId": "<string>"
}
'{
"user": {
"id": "<string>",
"displayName": "<string>",
"name": "<string>"
},
"temporaryAuthenticationToken": "<string>",
"challenge": "<string>",
"supportedCredentialKinds": {
"firstFactor": [
"Fido2"
],
"secondFactor": [
"Fido2"
]
},
"authenticatorSelection": {
"residentKey": "required",
"requireResidentKey": true,
"userVerification": "required",
"authenticatorAttachment": "platform"
},
"attestation": "none",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": 123
}
],
"excludeCredentials": [
{
"type": "public-key",
"id": "cr-6uunn-bm6ja-f6rmod5kqrk5rbel"
}
],
"otpUrl": "<string>",
"allowedRecoveryCredentials": [
{
"id": "<string>",
"encryptedRecoveryKey": "<string>"
}
],
"rp": {
"id": "<string>",
"name": "<string>"
}
}Starts a user recovery session, returning a challenge that will be used to verify the user’s identity.
curl --request POST \
--url https://api.dfns.io/auth/recover/user/init \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"verificationCode": "<string>",
"orgId": "<string>",
"credentialId": "<string>"
}
'{
"user": {
"id": "<string>",
"displayName": "<string>",
"name": "<string>"
},
"temporaryAuthenticationToken": "<string>",
"challenge": "<string>",
"supportedCredentialKinds": {
"firstFactor": [
"Fido2"
],
"secondFactor": [
"Fido2"
]
},
"authenticatorSelection": {
"residentKey": "required",
"requireResidentKey": true,
"userVerification": "required",
"authenticatorAttachment": "platform"
},
"attestation": "none",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": 123
}
],
"excludeCredentials": [
{
"type": "public-key",
"id": "cr-6uunn-bm6ja-f6rmod5kqrk5rbel"
}
],
"otpUrl": "<string>",
"allowedRecoveryCredentials": [
{
"id": "<string>",
"encryptedRecoveryKey": "<string>"
}
],
"rp": {
"id": "<string>",
"name": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.dfns.co/llms.txt
Use this file to discover all available pages before exploring further.
Success
Show child attributes
Show child attributes
Show child attributes
Identifies the information needed to verify the user's signing certificate; can be one of the following:
none, indirect, direct, enterprise Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?