Saml2Serializer.ReadAuthenticationContext(XmlDictionaryReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.