web_sys/features/
gen_AuthenticatorAssertionResponse.rs

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