Show / Hide Table of Contents

Class SamlMappingRule

A SAML mapping rules performs a transform on the SAML identity information.

Mapping rules are useful for moving partner provider specific differences in SAML identity information from the application into the SAML configuration..

Inheritance
System.Object
Entity
SamlMappingRule
Inherited Members
Entity.Id
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.Saml2.Configuration.MappingRules
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SamlMappingRule : Entity

Properties

Name

Gets or sets the name of the SAML attribute to which the rule applies.

If null, the rule applies to the SAML name identifier.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The SAML attribute name or null if none.

Rule

Gets or sets the rule name.

Declaration
public string Rule { get; set; }
Property Value
Type Description
System.String

The rule name.

Value

Gets or sets the value associated with the mapping rule.

Declaration
public string Value { get; set; }
Property Value
Type Description
System.String

The mapping rule value.

Methods

Apply(ref String, ref IList<SamlAttribute>)

Applies the mapping rule to the SAML identity information.

Declaration
public void Apply(ref string userID, ref IList<SamlAttribute> attributes)
Parameters
Type Name Description
System.String userID

The SAML user name identifier.

System.Collections.Generic.IList<SamlAttribute> attributes

The SAML attributes.

In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.