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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.