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\Builder\Profile\WebBrowserSso\Sp;
use LightSaml\Build\Container\BuildContainerInterface;
class SsoSpSendAuthnRequestProfileBuilderFactory
{
/** @var BuildContainerInterface */
private $buildContainer;
/**
* @param BuildContainerInterface $buildContainer
public function __construct(BuildContainerInterface $buildContainer)
$this->buildContainer = $buildContainer;
}
* @param string $idpEntityId
* @return SsoSpSendAuthnRequestProfileBuilder
public function get($idpEntityId)
return new SsoSpSendAuthnRequestProfileBuilder($this->buildContainer, $idpEntityId);