Muokkaa

Jaa


Saml2SecurityTokenHandler.ReadAuthenticationContext(XmlReader) Method

Definition

Reads the <saml:AuthnContext> element.

protected:
 virtual System::IdentityModel::Tokens::Saml2AuthenticationContext ^ ReadAuthenticationContext(System::Xml::XmlReader ^ reader);
protected virtual System.IdentityModel.Tokens.Saml2AuthenticationContext ReadAuthenticationContext (System.Xml.XmlReader reader);
abstract member ReadAuthenticationContext : System.Xml.XmlReader -> System.IdentityModel.Tokens.Saml2AuthenticationContext
override this.ReadAuthenticationContext : System.Xml.XmlReader -> System.IdentityModel.Tokens.Saml2AuthenticationContext
Protected Overridable Function ReadAuthenticationContext (reader As XmlReader) As Saml2AuthenticationContext

Parameters

reader
XmlReader

An XmlReader positioned at the element to read.

Returns

A Saml2AuthenticationContext that represents the AuthnContext element that is read.

Exceptions

reader is null.

Remarks

The default implementation does not handle the optional <saml:AuthnContextDecl> element. To handle by-value authentication context declarations, override this method.

Applies to