public SamlSecurityTokenAuthenticator(IList<SecurityTokenAuthenticator> supportingAuthenticators, TimeSpan maxClockSkew) { if (supportingAuthenticators == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("supportingAuthenticators"); } this.supportingAuthenticators = new List<SecurityTokenAuthenticator>(supportingAuthenticators.Count); for (int i = 0; i < supportingAuthenticators.Count; i++) { this.supportingAuthenticators.Add(supportingAuthenticators[i]); } this.maxClockSkew = maxClockSkew; this.audienceUriMode = System.IdentityModel.Selectors.AudienceUriMode.Always; this.allowedAudienceUris = new Collection<string>(); }
public SamlSecurityTokenAuthenticator(IList <SecurityTokenAuthenticator> supportingAuthenticators, TimeSpan maxClockSkew) { if (supportingAuthenticators == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("supportingAuthenticators"); } this.supportingAuthenticators = new List <SecurityTokenAuthenticator>(supportingAuthenticators.Count); for (int i = 0; i < supportingAuthenticators.Count; i++) { this.supportingAuthenticators.Add(supportingAuthenticators[i]); } this.maxClockSkew = maxClockSkew; this.audienceUriMode = System.IdentityModel.Selectors.AudienceUriMode.Always; this.allowedAudienceUris = new Collection <string>(); }