Resident credential: WebAuthn-এর পুরোনো সেটিং নাম বুঝুন
resident credential/key হলো discoverable credential-এর পুরোনো নাম। residentKey-এর মান RP-এর প্রয়োজন প্রকাশ করে।
Resident credential: WebAuthn-এর পুরোনো সেটিং নাম বুঝুন
বর্তমান WebAuthn-এ resident credential ও resident key হলো discoverable credential-এর পুরোনো নাম, যা আর সুপারিশ করা হয় না। পেছনের সামঞ্জস্যের জন্য API-তে residentKey ও requireResidentKey রয়ে গেছে; এগুলো আলাদা প্রযুক্তি নয়। residentKey RP-এর পছন্দ বোঝায়: discouraged সার্ভার-সাইড ক্রেডেনশিয়াল পছন্দ করে, তবে discoverable গ্রহণ করে; preferred discoverable-কে জোরালোভাবে পছন্দ করে, তবে সার্ভার-সাইড গ্রহণ করে; required discoverable বাধ্যতামূলক করে, তৈরি না হলে client error দেয়। preferred ফল নিশ্চিত করে না। requireResidentKey পুরোনো Boolean এবং residentKey required হলেই true হওয়া SHOULD। Discoverable হওয়া সিঙ্ক, platform/roaming সংযোগ ও ব্যবহারকারী যাচাই থেকে আলাদা। পুরোনো কোডে resident শব্দ দেখে অনুমান না করে মান, লাইব্রেরির সংস্করণ ও নিবন্ধনের ফল পরীক্ষা করুন।
Sources
[W3C Web Authentication: An API for accessing Public Key Credentials, Level 3, §§4 and 5.4.4–5.4.6](https://www.w3.org/TR/webauthn-3/)