Authorization: Bearer ********************
curl --location --request PUT '/user/authn'
0
- Success.{
"code": 0,
"data": {
"publicKey": {
"rp": {
"name": "Cloudreve",
"id": "localhost"
},
"user": {
"name": "luke@skywalker.com",
"displayName": "Luke Skywalker",
"id": "Ym5Vbg"
},
"challenge": "TSMn9HYi5vCJasIbJYRwEgf4nHVzHU_ldZUzeySb5Uk",
"pubKeyCredParams": [
{
"type": "public-key",
"alg": -7
},
{
"type": "public-key",
"alg": -35
},
{
"type": "public-key",
"alg": -36
},
{
"type": "public-key",
"alg": -257
},
{
"type": "public-key",
"alg": -258
},
{
"type": "public-key",
"alg": -259
},
{
"type": "public-key",
"alg": -37
},
{
"type": "public-key",
"alg": -38
},
{
"type": "public-key",
"alg": -39
},
{
"type": "public-key",
"alg": -8
}
],
"timeout": 300000,
"excludeCredentials": [
{
"type": "public-key",
"id": "-l161nXQn7juNPvQ8dlkbQ"
}
],
"authenticatorSelection": {
"requireResidentKey": true,
"userVerification": "preferred"
}
}
},
"msg": ""
}