Credential: thuộc tính type

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 type của giao diện Credential trả về một chuỗi chứa kiểu của thông tin xác thực. Các giá trị hợp lệ là password, federated, public-key, identityotp.

Giá trị

Một chuỗi chứa kiểu của thông tin xác thực.

Thông số kỹ thuật

Thông số kỹ thuật
Credential Management Level 1
# dom-credential-type

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