Expose missing settings in LocalClientSecuritySettings
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 576
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
**Describe the bug**
.Net Standard version of LocalClientSecuritySettings is missing few properties like e.g.: SessionKeyRenewalInterval, SessionKeyRolloverInterval, IdentityVerifier etc
**To Reproduce**
Create a client targeting (System.ServiceModel.Security v4.8, .NetStandard 2.0). Configure TCP secure binding and modify TransportSecurityBindingElement e.g.:
```C#
var customBinding = new CustomBinding(binding);
var transportSecurityBindingElement = customBinding.Elements.Find();
if (transportSecurityBindingElement != null)
{
transportSecurityBindingElement.LocalClientSettings.SessionKeyRenewalInterval = TimeSpan.FromHours(1)
}
```
Notice that SessionKeyRenewalInterval is not accessible at build time.
**Expected behavior**
Missing setting should be exposed as in WCF for legacy .NET
Contributor guide
Assessment
This issue has not been assessed yet.