public virtual authorizationResponse nextAuthorizationResponse()
{
if (authorizationResponseReader.ReadState != ReadState.Closed)
{
string response = authorizationResponseReader.ReadOuterXml();
XmlSerializer serializer = new XmlSerializer(typeof(authorizationResponse));
StringReader reader = new StringReader(response);
authorizationResponse i = (authorizationResponse)serializer.Deserialize(reader);
if (!authorizationResponseReader.ReadToFollowing("authorizationResponse"))
{
authorizationResponseReader.Close();
}
return i;
}
return null;
}