Saml2AuthenticationContext.ClassReference Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the URI reference that identifies an authentication context class that describes the authentication context declaration that follows. [Saml2Core, 2.7.2.2]

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Uri ClassReference { get; set; }

Property Value

Type: System.Uri

A Uri that identifies the context class.

Exception Condition
ArgumentException

An attempt to set a value that is not null and is not an absolute URI occurs.

The ClassReference element. This can be one of URI constants defined in the T:System.IdentityModel.Tokens.Saml2Constants.AuthenticationContextClasses class.

.NET Framework
Available since 4.5
Return to top
Show: