Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/webauthn/nsIWebAuthnArgs.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWebAuthnRegisterArgs",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString origin; */
Method {
name: "GetOrigin",
params: &[Param { name: "aOrigin", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> challenge; */
Method {
name: "GetChallenge",
params: &[Param { name: "aChallenge", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString clientDataJSON; */
Method {
name: "GetClientDataJSON",
params: &[Param { name: "aClientDataJSON", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> clientDataHash; */
Method {
name: "GetClientDataHash",
params: &[Param { name: "aClientDataHash", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString rpId; */
Method {
name: "GetRpId",
params: &[Param { name: "aRpId", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString rpName; */
Method {
name: "GetRpName",
params: &[Param { name: "aRpName", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute Array<octet> userId; */
Method {
name: "GetUserId",
params: &[Param { name: "aUserId", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString userName; */
Method {
name: "GetUserName",
params: &[Param { name: "aUserName", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString userDisplayName; */
Method {
name: "GetUserDisplayName",
params: &[Param { name: "aUserDisplayName", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute Array<COSEAlgorithmIdentifier> coseAlgs; */
Method {
name: "GetCoseAlgs",
params: &[Param { name: "aCoseAlgs", ty: "*mut thin_vec::ThinVec<COSEAlgorithmIdentifier>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<Array<octet>> excludeList; */
Method {
name: "GetExcludeList",
params: &[Param { name: "aExcludeList", ty: "*mut thin_vec::ThinVec<thin_vec::ThinVec<u8>>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> excludeListTransports; */
Method {
name: "GetExcludeListTransports",
params: &[Param { name: "aExcludeListTransports", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute boolean credProps; */
Method {
name: "GetCredProps",
params: &[Param { name: "aCredProps", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute boolean hmacCreateSecret; */
Method {
name: "GetHmacCreateSecret",
params: &[Param { name: "aHmacCreateSecret", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute boolean minPinLength; */
Method {
name: "GetMinPinLength",
params: &[Param { name: "aMinPinLength", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString residentKey; */
Method {
name: "GetResidentKey",
params: &[Param { name: "aResidentKey", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString userVerification; */
Method {
name: "GetUserVerification",
params: &[Param { name: "aUserVerification", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString authenticatorAttachment; */
Method {
name: "GetAuthenticatorAttachment",
params: &[Param { name: "aAuthenticatorAttachment", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint32_t timeoutMS; */
Method {
name: "GetTimeoutMS",
params: &[Param { name: "aTimeoutMS", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString attestationConveyancePreference; */
Method {
name: "GetAttestationConveyancePreference",
params: &[Param { name: "aAttestationConveyancePreference", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIWebAuthnSignArgs",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute AString origin; */
Method {
name: "GetOrigin",
params: &[Param { name: "aOrigin", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AString rpId; */
Method {
name: "GetRpId",
params: &[Param { name: "aRpId", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> challenge; */
Method {
name: "GetChallenge",
params: &[Param { name: "aChallenge", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString clientDataJSON; */
Method {
name: "GetClientDataJSON",
params: &[Param { name: "aClientDataJSON", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> clientDataHash; */
Method {
name: "GetClientDataHash",
params: &[Param { name: "aClientDataHash", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<Array<octet>> allowList; */
Method {
name: "GetAllowList",
params: &[Param { name: "aAllowList", ty: "*mut thin_vec::ThinVec<thin_vec::ThinVec<u8>>" }],
ret: "::nserror::nsresult",
},
/* readonly attribute Array<octet> allowListTransports; */
Method {
name: "GetAllowListTransports",
params: &[Param { name: "aAllowListTransports", ty: "*mut thin_vec::ThinVec<u8>" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute boolean hmacCreateSecret; */
Method {
name: "GetHmacCreateSecret",
params: &[Param { name: "aHmacCreateSecret", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString appId; */
Method {
name: "GetAppId",
params: &[Param { name: "aAppId", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute AString userVerification; */
Method {
name: "GetUserVerification",
params: &[Param { name: "aUserVerification", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long timeoutMS; */
Method {
name: "GetTimeoutMS",
params: &[Param { name: "aTimeoutMS", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean conditionallyMediated; */
Method {
name: "GetConditionallyMediated",
params: &[Param { name: "aConditionallyMediated", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}