Saml2SecurityTokenHandler.ReadAuthenticationContext(XmlReader) 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 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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.