Resident credential: unawain ang lumang pangalan ng setting sa WebAuthn
Luma at hindi na inirerekomendang pangalan ng discoverable credential ang resident credential/key. Inilalarawan ng residentKey ang requirement ng RP.
Resident credential: unawain ang lumang pangalan ng setting sa WebAuthn
Sa kasalukuyang WebAuthn, lumang termino na ang resident credential at resident key para sa discoverable credential. Nananatili sa API ang residentKey at requireResidentKey para sa backward compatibility; hindi magkahiwalay na teknolohiya ang mga ito. Inilalarawan ng residentKey ang kagustuhan ng RP: mas pinipili ng discouraged ang server-side credential pero tinatanggap ang discoverable; mas mariing pinipili ng preferred ang discoverable pero tinatanggap ang server-side; inaatas ng required ang discoverable at magbabalik ng error ang client kung hindi ito magawa. Hindi garantiya ang preferred. Lumang Boolean ang requireResidentKey at SHOULD maging true lamang kapag required ang residentKey. Hiwalay ang discoverability sa sync, platform/roaming attachment at user verification. Sa lumang code, suriin ang value, bersyon ng library at resulta ng registration; huwag maghinuha mula sa 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/)