Saml2AuthenticationContext Constructor (Uri, Uri)

.NET Framework (current version)
 

Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference and declaration reference.

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

public Saml2AuthenticationContext(
	Uri classReference,
	Uri declarationReference
)

Parameters

classReference
Type: System.Uri

The class reference of the authentication context.

declarationReference
Type: System.Uri

The declaration reference of the authentication context

Exception Condition
ArgumentException

classReference is not null and is not an absolute URI.

-or-

declarationReference is not null and is not an absolute URI.

.NET Framework
Available since 4.5
Return to top
Show: