AuthenticatorAssertionResponse:authenticatorData 属性
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2021年9月.
AuthenticatorAssertionResponse
接口的 authenticatorData
属性返回一个 ArrayBuffer
,其中包含来自认证器的信息,例如依赖方 ID 哈希 (rpIdHash)、签名计数器、用户存在测试、用户验证标志以及由认证器处理的任何扩展。
值
ArrayBuffer
。其 ArrayBuffer.byteLength
至少为 37 字节,且其中包含认证器数据中解释的数据结构。
示例
参见检索公钥凭据以获取详细示例。
规范
Specification |
---|
Web Authentication: An API for accessing Public Key Credentials - Level 3> # dom-authenticatorassertionresponse-authenticatordata> |
浏览器兼容性
Loading…