src/Surfnet/StepupGateway/GatewayBundle/Saml/ResponseContext.php 1 location
|
@@ 69-81 (lines=13) @@
|
66 |
|
*/ |
67 |
|
private $targetServiceProvider; |
68 |
|
|
69 |
|
public function __construct( |
70 |
|
IdentityProvider $identityProvider, |
71 |
|
SamlEntityService $samlEntityService, |
72 |
|
ProxyStateHandler $stateHandler, |
73 |
|
LoggerInterface $logger, |
74 |
|
DateTime $now = null |
75 |
|
) { |
76 |
|
$this->hostedIdentityProvider = $identityProvider; |
77 |
|
$this->samlEntityService = $samlEntityService; |
78 |
|
$this->stateHandler = $stateHandler; |
79 |
|
$this->logger = $logger; |
80 |
|
$this->generationTime = is_null($now) ? new DateTime('now', new DateTimeZone('UTC')): $now; |
81 |
|
} |
82 |
|
|
83 |
|
/** |
84 |
|
* @return string |
src/Surfnet/StepupGateway/SamlStepupProviderBundle/Saml/ProxyResponseFactory.php 1 location
|
@@ 64-77 (lines=14) @@
|
61 |
|
*/ |
62 |
|
private $currentTime; |
63 |
|
|
64 |
|
public function __construct( |
65 |
|
LoggerInterface $logger, |
66 |
|
IdentityProvider $hostedIdentityProvider, |
67 |
|
StateHandler $stateHandler, |
68 |
|
AssertionSigningService $assertionSigningService, |
69 |
|
DateTime $now = null |
70 |
|
) { |
71 |
|
$this->logger = $logger; |
72 |
|
$this->hostedIdentityProvider = $hostedIdentityProvider; |
73 |
|
$this->stateHandler = $stateHandler; |
74 |
|
$this->assertionSigningService = $assertionSigningService; |
75 |
|
|
76 |
|
$this->currentTime = is_null($now) ? new DateTime('now', new DateTimeZone('UTC')): $now; |
77 |
|
} |
78 |
|
|
79 |
|
/** |
80 |
|
* @param Assertion $assertion |
src/Surfnet/StepupGateway/SecondFactorOnlyBundle/Saml/ResponseFactory.php 1 location
|
@@ 54-64 (lines=11) @@
|
51 |
|
*/ |
52 |
|
private $assertionSigningService; |
53 |
|
|
54 |
|
public function __construct( |
55 |
|
IdentityProvider $hostedIdentityProvider, |
56 |
|
ProxyStateHandler $proxyStateHandler, |
57 |
|
AssertionSigningService $assertionSigningService, |
58 |
|
DateTime $now = null |
59 |
|
) { |
60 |
|
$this->hostedIdentityProvider = $hostedIdentityProvider; |
61 |
|
$this->proxyStateHandler = $proxyStateHandler; |
62 |
|
$this->assertionSigningService = $assertionSigningService; |
63 |
|
$this->currentTime = is_null($now) ? new DateTime('now', new DateTimeZone('UTC')): $now; |
64 |
|
} |
65 |
|
|
66 |
|
/** |
67 |
|
* @param string $nameId |