@@ -193,7 +193,7 @@ public void ConfigureServices(IServiceCollection services)
193
193
194
194
public void Configure ( IHost host )
195
195
{
196
- CoreWCF . UnixDomainSocketBinding serverBinding = new CoreWCF . UnixDomainSocketBinding ( CoreWCF . SecurityMode . None ) ;
196
+ CoreWCF . UnixDomainSocketBinding serverBinding = new CoreWCF . UnixDomainSocketBinding ( CoreWCF . UnixDomainSocketSecurityMode . None ) ;
197
197
host . UseServiceModel ( builder =>
198
198
{
199
199
builder . AddService < EchoService > ( ) ;
@@ -218,7 +218,7 @@ public void Configure(IHost host)
218
218
{
219
219
Security = new CoreWCF . UnixDomainSocketSecurity
220
220
{
221
- Mode = CoreWCF . SecurityMode . Transport ,
221
+ Mode = CoreWCF . UnixDomainSocketSecurityMode . Transport ,
222
222
Transport = new CoreWCF . UnixDomainSocketTransportSecurity
223
223
{
224
224
ClientCredentialType = CoreWCF . UnixDomainSocketClientCredentialType . Windows ,
@@ -247,7 +247,7 @@ public void Configure(IHost host)
247
247
{
248
248
Security = new CoreWCF . UnixDomainSocketSecurity
249
249
{
250
- Mode = CoreWCF . SecurityMode . Transport ,
250
+ Mode = CoreWCF . UnixDomainSocketSecurityMode . Transport ,
251
251
Transport = new CoreWCF . UnixDomainSocketTransportSecurity
252
252
{
253
253
ClientCredentialType = CoreWCF . UnixDomainSocketClientCredentialType . Certificate ,
@@ -286,10 +286,10 @@ public void Configure(IHost host)
286
286
{
287
287
Security = new CoreWCF . UnixDomainSocketSecurity
288
288
{
289
- Mode = CoreWCF . SecurityMode . Transport ,
289
+ Mode = CoreWCF . UnixDomainSocketSecurityMode . TransportCredentialOnly ,
290
290
Transport = new CoreWCF . UnixDomainSocketTransportSecurity
291
291
{
292
- ClientCredentialType = CoreWCF . UnixDomainSocketClientCredentialType . IdentityOnly ,
292
+ ClientCredentialType = CoreWCF . UnixDomainSocketClientCredentialType . PosixIdentity ,
293
293
} ,
294
294
} ,
295
295
} ;
0 commit comments