Saml2AuthenticationContext.ClassReference Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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,]

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

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