Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/webauthn/nsIWebAuthnResult.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWebAuthnRegisterResult",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute ACString clientDataJSON; */
Method {
name: "GetClientDataJSON",
params: &[Param { name: "aClientDataJSON", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> attestationObject; */
Method {
name: "GetAttestationObject",
params: &[Param { name: "aAttestationObject", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> credentialId; */
Method {
name: "GetCredentialId",
params: &[Param { name: "aCredentialId", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<AString> transports; */
Method {
name: "GetTransports",
params: &[Param { name: "aTransports", ty: "*mut thin_vec::ThinVec<::nsstring::nsString>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean hmacCreateSecret; */
Method {
name: "GetHmacCreateSecret",
params: &[Param { name: "aHmacCreateSecret", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] attribute boolean credPropsRk; */
Method {
name: "GetCredPropsRk",
params: &[Param { name: "aCredPropsRk", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetCredPropsRk",
params: &[Param { name: "aCredPropsRk", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString authenticatorAttachment; */
Method {
name: "GetAuthenticatorAttachment",
params: &[Param { name: "aAuthenticatorAttachment", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* boolean hasIdentifyingAttestation (); */
Method {
name: "HasIdentifyingAttestation",
params: &[Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void anonymize (); */
Method {
name: "Anonymize",
params: &[],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIWebAuthnSignResult",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute ACString clientDataJSON; */
Method {
name: "GetClientDataJSON",
params: &[Param { name: "aClientDataJSON", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> credentialId; */
Method {
name: "GetCredentialId",
params: &[Param { name: "aCredentialId", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> authenticatorData; */
Method {
name: "GetAuthenticatorData",
params: &[Param { name: "aAuthenticatorData", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> signature; */
Method {
name: "GetSignature",
params: &[Param { name: "aSignature", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute Array<octet> userHandle; */
Method {
name: "GetUserHandle",
params: &[Param { name: "aUserHandle", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute ACString userName; */
Method {
name: "GetUserName",
params: &[Param { name: "aUserName", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* [must_use] attribute boolean usedAppId; */
Method {
name: "GetUsedAppId",
params: &[Param { name: "aUsedAppId", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetUsedAppId",
params: &[Param { name: "aUsedAppId", ty: "bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString authenticatorAttachment; */
Method {
name: "GetAuthenticatorAttachment",
params: &[Param { name: "aAuthenticatorAttachment", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}