Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The id
read-only property of the PublicKeyCredential
interface is a string, inherited from Credential
, which represents the identifier of the current PublicKeyCredential
instance.
This property is a base64url encoded version of PublicKeyCredential.rawId
.
Note: This property may only be used in top-level contexts and will not be available in an <iframe>
for example.