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.