Discussion:
How can i specify Credential for all the schemes
(too old to reply)
v***@gmail.com
2007-04-13 08:53:41 UTC
Permalink
1)In WinHTTP APIs how can i specify select any Auth scheme. or say
Aelect all except WINHTTP_AUTH_SCHEME_BASIC.

2)Can i specify WinHttpSetCredentials with multiple Auth Schemes at a
time.

3)By saying WinHttpSetOption(hRequest,
WINHTTP_OPTION_PROXY_USERNAME,user,len);
Which authentication scheme is done. When SetCredentials are not
called.

Thanks.
Michelle
2007-06-11 20:28:03 UTC
Permalink
1) If you call WinHttpSetOption(hRequest, WINHTTP_OPTION_USERNAME,user,len);
WinHttp will authenticate with the auth scheme at the first authenticate
response header. WinHttp does not support auth scheme exception.

2) No, you can only specify one of the auth schemes in WinHttpSetCredentials
call.

3) See answer in the section 1) above.

thanks,
Michelle Lai
Post by v***@gmail.com
1)In WinHTTP APIs how can i specify select any Auth scheme. or say
Aelect all except WINHTTP_AUTH_SCHEME_BASIC.
2)Can i specify WinHttpSetCredentials with multiple Auth Schemes at a
time.
3)By saying WinHttpSetOption(hRequest,
WINHTTP_OPTION_PROXY_USERNAME,user,len);
Which authentication scheme is done. When SetCredentials are not
called.
Thanks.
Kenji
2007-06-28 06:03:12 UTC
Permalink
,,,
--
--
Kenji
MSN:***@msn.com
"Michelle" <***@discussions.microsoft.com> 写入消息 news:1998A0E9-768A-45EA-BFE9-***@microsoft.com...
1) If you call WinHttpSetOption(hRequest, WINHTTP_OPTION_USERNAME,user,len);
WinHttp will authenticate with the auth scheme at the first authenticate
response header. WinHttp does not support auth scheme exception.

2) No, you can only specify one of the auth schemes in WinHttpSetCredentials
call.

3) See answer in the section 1) above.

thanks,
Michelle Lai
Post by v***@gmail.com
1)In WinHTTP APIs how can i specify select any Auth scheme. or say
Aelect all except WINHTTP_AUTH_SCHEME_BASIC.
2)Can i specify WinHttpSetCredentials with multiple Auth Schemes at a
time.
3)By saying WinHttpSetOption(hRequest,
WINHTTP_OPTION_PROXY_USERNAME,user,len);
Which authentication scheme is done. When SetCredentials are not
called.
Thanks.
Loading...