Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Duende.​IdentityServer.​Saml.​ISamlClaimsMapper

Assembly: Duende.IdentityServer

Service for customizing how claims are mapped to SAML attributes. If registered, this service completely replaces the default mapping logic.

Methods

MapClaimsAsync​(SamlClaimsMappingContext claimsMappingContext)
Maps claims to SAML attributes. This method is called when a custom mapper is registered and completely replaces the default mapping behavior (global + service provider mappings).
Returns The mapped SAML attributes
claimsMappingContext Context with information about the authentication request for which claims need to be mapped