WsFederationOptions
The WsFederationOptions
class is required to configure component usage. Settings here are applied to all relying parties, unless overriden by a RelyingParty
record. All properties require a value for component usage.
Licensee
The licensee value received upon purchase
LicenseKey
The license key value received upon purchase
WsFederationEndpoint
The path that will handle WS-Federation requests (both authentication and metadata). Defaults to wsfed
DefaultTokenType
The token type to be returned from the identity provider for this relying party. Defaults to urn:oasis:names:tc:SAML:2.0:assertion
DefaultSignatureAlgorithm
The signature algorithm with which to sign SAML tokens returned to this relying party. Defaults to http://www.w3.org/2001/04/xmldsig-more#rsa-sha256
DefaultDigestAlgorithm
The digest algorithm used in SAML tokens returned to this relying party. Defaults to http://www.w3.org/2001/04/xmlenc#sha256
DefaultSamlNameIdentifierFormat
NameID format to be used in the SAML tokens returned to this relying party. Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
DefaultClaimMapping
Maps OpenID format claim types to SAML suitable claim types. Claim types not defined in the mapping will not be included in generated SAML tokens. Defaults to:
new Dictionary<string, string>
{
{ JwtClaimTypes.Name, ClaimTypes.Name },
{ JwtClaimTypes.Subject, ClaimTypes.NameIdentifier },
{ JwtClaimTypes.Email, ClaimTypes.Email },
{ JwtClaimTypes.GivenName, ClaimTypes.GivenName },
{ JwtClaimTypes.FamilyName, ClaimTypes.Surname },
{ JwtClaimTypes.BirthDate, ClaimTypes.DateOfBirth },
{ JwtClaimTypes.WebSite, ClaimTypes.Webpage },
{ JwtClaimTypes.Gender, ClaimTypes.Gender },
{ JwtClaimTypes.Role, ClaimTypes.Role }
};
CspOptions
The Content Security Policy options
WsFederationCspOptions
Level
The minimum CSP level. Defaults to WsFederationCspLevel.Two
AddDeprecatedHeader
Indicates if the deprecated X-Content-Security-Policy header should be added. Defaults to true