internal IssuedTokenServiceCredential() { this.audienceUriMode = System.IdentityModel.Selectors.AudienceUriMode.Always; this.certificateValidationMode = X509CertificateValidationMode.ChainTrust; this.revocationMode = X509RevocationMode.Online; this.trustedStoreLocation = StoreLocation.LocalMachine; this.allowedAudienceUris = new List <string>(); this.knownCertificates = new List <X509Certificate2>(); }
internal IssuedTokenServiceCredential(IssuedTokenServiceCredential other) { this.audienceUriMode = System.IdentityModel.Selectors.AudienceUriMode.Always; this.certificateValidationMode = X509CertificateValidationMode.ChainTrust; this.revocationMode = X509RevocationMode.Online; this.trustedStoreLocation = StoreLocation.LocalMachine; this.audienceUriMode = other.audienceUriMode; this.allowedAudienceUris = new List <string>(other.allowedAudienceUris); this.samlSerializer = other.samlSerializer; this.knownCertificates = new List <X509Certificate2>(other.knownCertificates); this.certificateValidationMode = other.certificateValidationMode; this.customCertificateValidator = other.customCertificateValidator; this.trustedStoreLocation = other.trustedStoreLocation; this.revocationMode = other.revocationMode; this.allowUntrustedRsaIssuers = other.allowUntrustedRsaIssuers; this.isReadOnly = other.isReadOnly; }