static void ConfigureAuthentication(HttpTransportBindingElement http, HttpTransportSecurity transportSecurity) { transportSecurity.clientCredentialType = HttpClientCredentialTypeHelper.MapToClientCredentialType(http.AuthenticationScheme); transportSecurity.realm = http.Realm; transportSecurity.extendedProtectionPolicy = http.ExtendedProtectionPolicy; }
void ConfigureAuthentication(HttpTransportBindingElement http) { http.AuthenticationScheme = HttpClientCredentialTypeHelper.MapToAuthenticationScheme(clientCredentialType); http.Realm = Realm; http.ExtendedProtectionPolicy = extendedProtectionPolicy; }