Credential: thuộc tính id

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2019.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Thuộc tính chỉ đọc id của giao diện Credential trả về một chuỗi chứa định danh của thông tin xác thực. Đây có thể là GUID, tên người dùng, địa chỉ email hoặc một giá trị khác, tùy thuộc vào loại thông tin xác thực.

Giá trị

Một chuỗi chứa định danh của thông tin xác thực.

Thông số kỹ thuật

Specification
Credential Management Level 1
# dom-credential-id

Khả năng tương thích của trình duyệt