curl --request POST \
--url https://api.dfns.io/auth/registration/init \
--header 'Content-Type: application/json' \
--data '
{
"orgId": "<string>",
"username": "<string>",
"registrationCode": "<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>",
"rp": {
"id": "<string>",
"name": "<string>"
}
}Starts a user registration session. It returns a challenge that will need to be signed by a passkey and used to perform the step Complete User Registration
curl --request POST \
--url https://api.dfns.io/auth/registration/init \
--header 'Content-Type: application/json' \
--data '
{
"orgId": "<string>",
"username": "<string>",
"registrationCode": "<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>",
"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
Was this page helpful?