private LocalCertificateKey() { _bind = new StringVectorBind(4, 4) .Add(() => StoreLocation.ToString(), x => StoreLocation = x.Parse <StoreLocation>(ignoreCase: true)) .Add(() => StoreName.ToString(), x => StoreName = x.Parse <StoreName>(ignoreCase: true)) .Add(() => Thumbprint, x => Thumbprint = x) .Add(() => RequirePrivateKey.ToString(), x => RequirePrivateKey = bool.Parse(x)); }
private TokenKey() { _bind = new StringVectorBind(2, 2) .Add(() => AuthorizationIssuer, x => AuthorizationIssuer = x) .Add(() => RequestingSubject, x => RequestingSubject = x); }