public Saml2PSecurityTokenHandler(SPOptions spOptions) { if (spOptions == null) { throw new ArgumentNullException(nameof(spOptions)); } Configuration = new SecurityTokenHandlerConfiguration { IssuerNameRegistry = new ReturnRequestedIssuerNameRegistry(), AudienceRestriction = GetAudienceRestriction(spOptions), SaveBootstrapContext = spOptions.SystemIdentityModelIdentityConfiguration.SaveBootstrapContext }; Serializer = new Saml2PSerializer() { IgnoreAuthenticationContext = spOptions.Compatibility.IgnoreAuthenticationContextInResponse }; }
public Saml2PSecurityTokenHandler() { Serializer = new Saml2PSerializer(); }
public Saml2PSecurityTokenHandler(SPOptions spOptions) { Serializer = new Saml2PSerializer(spOptions); }