Show / Hide Table of Contents

Class NameIDMappingRequest

Represents a name ID mapping request.

Inheritance
System.Object
RequestAbstractType
NameIDMappingRequest
Inherited Members
RequestAbstractType.GetIssuer(XmlElement)
RequestAbstractType.GetIssuerName(XmlElement)
RequestAbstractType.ID
RequestAbstractType.Version
RequestAbstractType.IssueInstant
RequestAbstractType.Destination
RequestAbstractType.Consent
RequestAbstractType.Issuer
RequestAbstractType.Extensions
RequestAbstractType.ToXml()
RequestAbstractType.ToXml(XmlElement)
RequestAbstractType.ToString()
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)
Namespace: ComponentSpace.Saml2.Protocols
Assembly: ComponentSpace.Saml2.dll
Syntax
public class NameIDMappingRequest : RequestAbstractType
Remarks

Refer to the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.

Constructors

NameIDMappingRequest()

Initializes a new instance of the NameIDMappingRequest class.

Declaration
public NameIDMappingRequest()

NameIDMappingRequest(XmlElement)

Initializes a new instance of the NameIDMappingRequest class from XML.

Declaration
public NameIDMappingRequest(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The name ID mapping request XML.

Exceptions
Type Condition
SamlSerializationException

Thrown when the XML deserialization fails.

Properties

BaseID

Gets or sets the base ID.

Declaration
public BaseID BaseID { get; set; }
Property Value
Type Description
BaseID

The base ID.

EncryptedID

Gets or sets the encrypted ID.

Declaration
public EncryptedID EncryptedID { get; set; }
Property Value
Type Description
EncryptedID

The encrypted ID.

NameID

Gets or sets the name ID.

Declaration
public NameID NameID { get; set; }
Property Value
Type Description
NameID

The name ID.

NameIDPolicy

Gets or sets the name ID policy.

Declaration
public NameIDPolicy NameIDPolicy { get; set; }
Property Value
Type Description
NameIDPolicy

The name ID policy.

Methods

IsValid(XmlElement)

Indicates whether the XML is an artifact resolve request.

Declaration
public static bool IsValid(XmlElement xmlElement)
Parameters
Type Name Description
System.Xml.XmlElement xmlElement

The XML to test.

Returns
Type Description
System.Boolean

true if the XML is an artifact resolve request; otherwise false.

ToXml(XmlDocument)

Serializes the name ID mapping request to XML.

Declaration
public override XmlElement ToXml(XmlDocument xmlDocument)
Parameters
Type Name Description
System.Xml.XmlDocument xmlDocument

The owning XML document.

Returns
Type Description
System.Xml.XmlElement

The name ID mapping request as XML.

Overrides
RequestAbstractType.ToXml(XmlDocument)
Exceptions
Type Condition
SamlSerializationException

Thrown when the XML serialization fails.

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