User:Lth/Fido

From Stm32World Wiki
< User:Lth
Revision as of 07:50, 21 February 2022 by Lth (talk | contribs) (Created page with " navigator.credentials.create() argument: <pre> { "publicKey": { "attestation": "direct", "authenticatorSelection": { "requireResidentKey": false, "user...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

navigator.credentials.create() argument:

{
  "publicKey": {
    "attestation": "direct",
    "authenticatorSelection": {
      "requireResidentKey": false,
      "userVerification": "discouraged"
    },
    "challenge": "Tgikj5q/6zPiutEzrt8mYDqtSmtD2oi7yXSFt6bKMa0=",
    "excludeCredentials": [],
    "pubKeyCredParams": [
      {
        "alg": -7,
        "type": "public-key"
      },
      {
        "alg": -257,
        "type": "public-key"
      }
    ],
    "rp": {
      "id": "demo.yubico.com",
      "name": "YubicoDemo"
    },
    "timeout": 90000,
    "user": {
      "displayName": "Yubico demo user",
      "id": "kZ2l24b52zOppkbYwSw4SdaSpbiJAvxAXEOBsPmu9O8=",
      "name": "Yubico demo user"
    }
  }
}

navigator.credentials.create() response:

{
  "id": "FNKyPtk-eLvfjORDs7OgLdT2lsN3ylL2lHJo85B-ehWm7MRs74KtG1Rkd1kdAIsIdZ7D5tLstPOUdL_qaWmSXQO3-gIAAA",
  "response": {
    "attestationObject": "o2NmbXRmcGFja2VkZ2F0dFN0bXSjY2FsZyZjc2lnWEYwRAIgdpQYMdouo8wATW4nYpuj5+Q1C1wpfR/8NwyxB/hIYUECIE5xGY7OT9Nx9VcLTjUC52hH+YYR5T8JkXSluSZmYoCnY3g1Y4FZAu0wggLpMIICjqADAgECAgEBMAoGCCqGSM49BAMCMIGCMQswCQYDVQQGEwJVUzERMA8GA1UECAwITWFyeWxhbmQxFDASBgNVBAoMC1NPTE8gSEFDS0VSMRAwDgYDVQQLDAdSb290IENBMRUwEwYDVQQDDAxzb2xva2V5cy5jb20xITAfBgkqhkiG9w0BCQEWEmhlbGxvQHNvbG9rZXlzLmNvbTAgFw0xODEyMTEwMjIwMTJaGA8yM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