what is the authType in CredentialCache.Add Method ?
http://msdn.microsoft.com/en-us/library/czdw7s9e.aspx
I do not understand what should I pass to it based on the uRi that I am passing to this Add method. and my uRi is actually an asmx page address
what is the authType in CredentialCache.Add Method ? http://msdn.microsoft.com/en-us/library/czdw7s9e.aspx I do not understand what
Share
There are two main HTTP authentication schemes:
The authType parameters is the HTTP authentication scheme for which the credentials are added to the cache. When making a request, the server will first respond with a 403 and specify an authentication schem supported, along with the realm and the nonce (if required). The request will then use the credentials cache to respond to the chalenge, if the requested authentication type is in the cache (basic or digest). Subsequent calls after the first call may pre-send the authentication info, if PreAuthenticate is set.