Skip to main content

web_sys/features/
gen_AuthenticatorResponse.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "::js_sys::Object",
9        js_name = "AuthenticatorResponse",
10        typescript_type = "AuthenticatorResponse"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `AuthenticatorResponse` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `AuthenticatorResponse`*"]
18    pub type AuthenticatorResponse;
19    #[wasm_bindgen(
20        method,
21        getter,
22        js_class = "AuthenticatorResponse",
23        js_name = "clientDataJSON"
24    )]
25    #[doc = "Getter for the `clientDataJSON` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorResponse/clientDataJSON)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `AuthenticatorResponse`*"]
30    pub fn client_data_json(this: &AuthenticatorResponse) -> ::js_sys::ArrayBuffer;
31}