Authorization: Bearer ********************curl --location --request GET 'https://venuehelper.api.voc2018.com/authentication/passkeys/createOptions' \
--header 'Authorization: Bearer <token>'{
"statusCode": 200,
"message": "操作成功",
"data": {
"passkeyCreateOptions": {
"rp": {
"id": "venuehelper.voc2018.com",
"name": "Venue Helper"
},
"user": {
"name": "周思南",
"id": "AQAAAAAAAAA",
"displayName": "周思南"
},
"challenge": "nsC4_oVAZpURaQV3HdRyEw",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": -7
},
{
"type": "public-key",
"alg": -257
},
{
"type": "public-key",
"alg": -37
},
{
"type": "public-key",
"alg": -35
},
{
"type": "public-key",
"alg": -258
},
{
"type": "public-key",
"alg": -38
},
{
"type": "public-key",
"alg": -36
},
{
"type": "public-key",
"alg": -259
},
{
"type": "public-key",
"alg": -39
},
{
"type": "public-key",
"alg": -8
}
],
"timeout": "60000",
"attestation": "none",
"authenticatorSelection": {
"requireResidentKey": false,
"userVerification": "preferred"
},
"excludeCredentials": [],
"status": "ok",
"errorMessage": ""
},
"passkeyCreateId": "4e91f0dfaaa14077adce7c7730362975"
}
}