Show / Hide Table of Contents

Class SAMLAssertionSerializer

Permits the serialization and deserialization of SAML assertions.

Inheritance
System.Object
SAMLAssertionSerializer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComponentSpace.SAML2.Assertions
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class SAMLAssertionSerializer

Methods

Deserialize(Stream)

Deserialize the SAML assertion from the stream.

Declaration
public static SAMLAssertion Deserialize(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

The stream.

Returns
Type Description
SAMLAssertion

The SAML assertion.

Exceptions
Type Condition
SAMLSerializationException

Thrown when the XML deserialization fails.

Serialize(SAMLAssertion, Stream)

Serialize the SAML assertion to the stream.

Declaration
public static void Serialize(SAMLAssertion samlAssertion, Stream stream)
Parameters
Type Name Description
SAMLAssertion samlAssertion

The SAML assertion.

System.IO.Stream stream

The stream.

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