for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the LightSAML-Core package.
*
* (c) Milos Tomic <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace LightSaml\Model\Assertion;
use LightSaml\Model\Context\DeserializationContext;
use LightSaml\Model\Context\SerializationContext;
use LightSaml\SamlConstants;
class OneTimeUse extends AbstractCondition
{
/**
* @param \DOMNode $parent
* @param SerializationContext $context
* @return void
public function serialize(\DOMNode $parent, SerializationContext $context)
$this->createElement('OneTimeUse', SamlConstants::NS_ASSERTION, $parent, $context);
}
* @param \DOMNode $node
* @param DeserializationContext $context
public function deserialize(\DOMNode $node, DeserializationContext $context)
$this->checkXmlNodeName($node, 'OneTimeUse', SamlConstants::NS_ASSERTION);