AuthenticatorAssertionResponse: thuộc tính authenticatorData
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2021.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Thuộc tính authenticatorData của giao diện AuthenticatorAssertionResponse trả về một ArrayBuffer chứa thông tin từ authenticator, chẳng hạn như mã băm Relying Party ID (rpIdHash), bộ đếm chữ ký, kết quả kiểm tra sự hiện diện của người dùng, các cờ xác minh người dùng, và mọi tiện ích mở rộng mà authenticator đã xử lý.
Giá trị
Một ArrayBuffer có byteLength ít nhất 37 byte, chứa cấu trúc dữ liệu được giải thích trong Dữ liệu authenticator.
Ví dụ
Xem Truy xuất thông tin xác thực khóa công khai để có ví dụ chi tiết.
Thông số kỹ thuật
| Specification |
|---|
| Web Authentication: An API for accessing Public Key Credentials - Level 3> # dom-authenticatorassertionresponse-authenticatordata> |