|
|
преди 2 години | |
|---|---|---|
| Properties | преди 2 години | |
| data | преди 2 години | |
| requests | преди 2 години | |
| wwwroot | преди 2 години | |
| .gitignore | преди 2 години | |
| Folder.DotSettings | преди 2 години | |
| NameTransform.cs | преди 2 години | |
| Passwordless.csproj | преди 2 години | |
| Passwordless.http | преди 2 години | |
| Program.cs | преди 2 години | |
| README.md | преди 2 години | |
| appsettings.Development.json | преди 2 години | |
| appsettings.json | преди 2 години |
This is a very basic demo of passwordless authentication in the web, also known as "WebAuthn".
CredentialCreateOptions generated by the program looks like this:
The algorithm identifiers are defined in the IANA registry
{
"rp": {
"id": "localhost",
"name": "FIDO2 Test"
},
"user": {
"name": "test osteron",
"id": "VGVzdCBPc3Rlcm9u",
"displayName": "Test Osteron"
},
"challenge": "UkTN1q5kjoWcHOFTB6AZWQ",
"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": "discouraged"
},
"excludeCredentials": [],
"extensions": {
"exts": true,
"uvm": false
},
"status": "ok",
"errorMessage": ""
}