Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/protocol/http/nsIHttpAuthenticator.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIHttpAuthenticator",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [must_use] void challengeReceived (in nsIHttpAuthenticableChannel aChannel, in ACString aChallenge, in boolean aProxyAuth, inout nsISupports aSessionState, inout nsISupports aContinuationState, out boolean aInvalidatesIdentity); */
Method {
name: "ChallengeReceived",
params: &[Param { name: "aChannel", ty: "*const nsIHttpAuthenticableChannel" }, Param { name: "aChallenge", ty: "*const ::nsstring::nsACString" }, Param { name: "aProxyAuth", ty: "bool" }, Param { name: "aSessionState", ty: "*mut *const nsISupports" }, Param { name: "aContinuationState", ty: "*mut *const nsISupports" }, Param { name: "aInvalidatesIdentity", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [must_use] void generateCredentialsAsync (in nsIHttpAuthenticableChannel aChannel, in nsIHttpAuthenticatorCallback aCallback, in ACString aChallenge, in boolean aProxyAuth, in AString aDomain, in AString aUser, in AString aPassword, in nsISupports aSessionState, in nsISupports aContinuationState, out nsICancelable aCancel); */
Method {
name: "GenerateCredentialsAsync",
params: &[Param { name: "aChannel", ty: "*const nsIHttpAuthenticableChannel" }, Param { name: "aCallback", ty: "*const nsIHttpAuthenticatorCallback" }, Param { name: "aChallenge", ty: "*const ::nsstring::nsACString" }, Param { name: "aProxyAuth", ty: "bool" }, Param { name: "aDomain", ty: "*const ::nsstring::nsAString" }, Param { name: "aUser", ty: "*const ::nsstring::nsAString" }, Param { name: "aPassword", ty: "*const ::nsstring::nsAString" }, Param { name: "aSessionState", ty: "*const nsISupports" }, Param { name: "aContinuationState", ty: "*const nsISupports" }, Param { name: "aCancel", ty: "*mut*const nsICancelable" }],
ret: "::nserror::nsresult",
},
/* [must_use] ACString generateCredentials (in nsIHttpAuthenticableChannel aChannel, in ACString aChallenge, in boolean aProxyAuth, in AString aDomain, in AString aUser, in AString aPassword, inout nsISupports aSessionState, inout nsISupports aContinuationState, out unsigned long aFlags); */
Method {
name: "GenerateCredentials",
params: &[Param { name: "aChannel", ty: "*const nsIHttpAuthenticableChannel" }, Param { name: "aChallenge", ty: "*const ::nsstring::nsACString" }, Param { name: "aProxyAuth", ty: "bool" }, Param { name: "aDomain", ty: "*const ::nsstring::nsAString" }, Param { name: "aUser", ty: "*const ::nsstring::nsAString" }, Param { name: "aPassword", ty: "*const ::nsstring::nsAString" }, Param { name: "aSessionState", ty: "*mut *const nsISupports" }, Param { name: "aContinuationState", ty: "*mut *const nsISupports" }, Param { name: "aFlags", ty: "*mut u32" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* [must_use] readonly attribute unsigned long authFlags; */
Method {
name: "GetAuthFlags",
params: &[Param { name: "aAuthFlags", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}