Saml2Serializer.WriteAuthorizationDecisionStatement 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.
Writes the <saml:AuthzDecisionStatement> element.
protected virtual void WriteAuthorizationDecisionStatement (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthorizationDecisionStatement statement);
abstract member WriteAuthorizationDecisionStatement : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthorizationDecisionStatement -> unit
override this.WriteAuthorizationDecisionStatement : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthorizationDecisionStatement -> unit
Protected Overridable Sub WriteAuthorizationDecisionStatement (writer As XmlWriter, statement As Saml2AuthorizationDecisionStatement)
Parameters
- writer
- XmlWriter
A XmlWriter to serialize the Saml2AuthorizationDecisionStatement.
- statement
- Saml2AuthorizationDecisionStatement
The Saml2AuthorizationDecisionStatement to serialize.
Exceptions
if statement
is null.
if Resource is null or empty.