You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassMyWikiClient:WikiClient{// ... any class constructors hereprotectedoverrideHttpRequestMessageCreateHttpRequestMessage(stringendPointUrl,WikiRequestMessagemessage){varhttpRequest=base.CreateHttpRequestMessage(endPointUrl,message);// Unconditionally adds a header to all the HTTP requests sent to the MediaWiki API endpoint.httpRequest.Headers.Add("Header","Value");returnhttpRequest;}}
Sorry about my lack of SAML authentication knowledge to properly address the situation in the code. While I'm looking for some introductory material for this, perhaps you might get some rough idea from the example above 🌚
Plus,
I need to add some documentation on this virtual method. 205a237
I'm trying to access a wiki that uses SAML authentication. Is there a method to include/add headers to a the WikiSite request?
The text was updated successfully, but these errors were encountered: