Share via


Saml2Serializer.ReadAuthenticationContext(XmlDictionaryReader) Method

Definition

Reads the <saml:AuthnContext> element.

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

Parameters

reader
XmlDictionaryReader

A XmlReader positioned at a Saml2AuthenticationContext element.

Returns

A Saml2AuthenticationContext instance.

Remarks

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

Applies to