web_sys/features/
gen_AuthenticatorAssertionResponse.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "AuthenticatorResponse",
9 extends = "::js_sys::Object",
10 js_name = "AuthenticatorAssertionResponse",
11 typescript_type = "AuthenticatorAssertionResponse"
12 )]
13 #[derive(Debug, Clone, PartialEq, Eq)]
14 #[doc = "The `AuthenticatorAssertionResponse` class."]
15 #[doc = ""]
16 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse)"]
17 #[doc = ""]
18 #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
19 pub type AuthenticatorAssertionResponse;
20 #[wasm_bindgen(
21 method,
22 getter,
23 js_class = "AuthenticatorAssertionResponse",
24 js_name = "authenticatorData"
25 )]
26 #[doc = "Getter for the `authenticatorData` field of this object."]
27 #[doc = ""]
28 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)"]
29 #[doc = ""]
30 #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
31 pub fn authenticator_data(this: &AuthenticatorAssertionResponse) -> ::js_sys::ArrayBuffer;
32 #[wasm_bindgen(
33 method,
34 getter,
35 js_class = "AuthenticatorAssertionResponse",
36 js_name = "signature"
37 )]
38 #[doc = "Getter for the `signature` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/signature)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
43 pub fn signature(this: &AuthenticatorAssertionResponse) -> ::js_sys::ArrayBuffer;
44 #[wasm_bindgen(
45 method,
46 getter,
47 js_class = "AuthenticatorAssertionResponse",
48 js_name = "userHandle"
49 )]
50 #[doc = "Getter for the `userHandle` field of this object."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/userHandle)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
55 pub fn user_handle(this: &AuthenticatorAssertionResponse) -> Option<::js_sys::ArrayBuffer>;
56 #[cfg(web_sys_unstable_apis)]
57 #[wasm_bindgen(
58 method,
59 getter,
60 js_class = "AuthenticatorAssertionResponse",
61 js_name = "attestationObject"
62 )]
63 #[doc = "Getter for the `attestationObject` field of this object."]
64 #[doc = ""]
65 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AuthenticatorAssertionResponse/attestationObject)"]
66 #[doc = ""]
67 #[doc = "*This API requires the following crate features to be activated: `AuthenticatorAssertionResponse`*"]
68 #[doc = ""]
69 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
70 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
71 pub fn attestation_object(
72 this: &AuthenticatorAssertionResponse,
73 ) -> Option<::js_sys::ArrayBuffer>;
74}