Saml2AuthenticationContext.DeclarationReference Property

.NET Framework (current version)
 

Gets or sets a URI reference that identifies an authentication context declaration. [Saml2Core, 2.7.2.2]

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

public Uri DeclarationReference { get; set; }

Property Value

Type: System.Uri

A Uri that identifies an authentication context declaration.

Exception Condition
ArgumentException

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

The AuthnContextDeclRef element. By-value declarations are not supported in the base implementation. See Remarks in the Saml2AuthenticationContext class topic for more information.

.NET Framework
Available since 4.5
Return to top
Show: