Profile

Generate new params to create a passkey

Generate new passkey ID for user

get/profile/passkeys/gen

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/profile/passkeys/gen
  • Auth: none declared

Response

Success response

Example response

{
  "response": {
    "challenge": "abcdef1231bfbf",
    "rp": {
      "id": "api.yani.tv",
      "name": "YummyAnime Auth"
    },
    "user": {
      "id": "id12345",
      "name": "nickname",
      "displayName": "User nickname"
    },
    "pubKeyCredParams": [
      {
        "type": "public-key",
        "alg": -7
      }
    ],
    "excludeCredentials": [
      {
        "id": "base64url",
        "type": "public-key"
      }
    ],
    "timeout": 1234,
    "extensions": {
      "credProps": true
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.