src/Surfnet/StepupGateway/SecondFactorOnlyBundle/Saml/ResponseFactory.php 1 location
|
@@ 89-99 (lines=11) @@
|
86 |
|
* @param string $destination The ACS location |
87 |
|
* @return Response |
88 |
|
*/ |
89 |
|
private function createNewAuthnResponse(Assertion $newAssertion, $destination) |
90 |
|
{ |
91 |
|
$response = new Response(); |
92 |
|
$response->setAssertions([$newAssertion]); |
93 |
|
$response->setIssuer($this->hostedIdentityProvider->getEntityId()); |
94 |
|
$response->setIssueInstant($this->getTimestamp()); |
95 |
|
$response->setDestination($destination); |
96 |
|
$response->setInResponseTo($this->proxyStateHandler->getRequestId()); |
97 |
|
|
98 |
|
return $response; |
99 |
|
} |
100 |
|
|
101 |
|
/** |
102 |
|
* @param string $nameId |
src/Surfnet/StepupGateway/SamlStepupProviderBundle/Saml/ProxyResponseFactory.php 1 location
|
@@ 139-149 (lines=11) @@
|
136 |
|
* @param string $destination |
137 |
|
* @return SAMLResponse |
138 |
|
*/ |
139 |
|
private function createNewAuthnResponse(Assertion $newAssertion, $destination) |
140 |
|
{ |
141 |
|
$response = new SAMLResponse(); |
142 |
|
$response->setAssertions([$newAssertion]); |
143 |
|
$response->setIssuer($this->hostedIdentityProvider->getEntityId()); |
144 |
|
$response->setIssueInstant($this->getTimestamp()); |
145 |
|
$response->setDestination($destination); |
146 |
|
$response->setInResponseTo($this->stateHandler->getRequestId()); |
147 |
|
|
148 |
|
return $response; |
149 |
|
} |
150 |
|
|
151 |
|
/** |
152 |
|
* @param string $interval a DateInterval compatible interval to skew the time with |
src/Surfnet/StepupGateway/GatewayBundle/Service/ProxyResponseService.php 1 location
|
@@ 180-190 (lines=11) @@
|
177 |
|
* @param string $destination ACS URL |
178 |
|
* @return Response |
179 |
|
*/ |
180 |
|
private function createNewAuthnResponse(Assertion $newAssertion, $destination) |
181 |
|
{ |
182 |
|
$response = new Response(); |
183 |
|
$response->setAssertions([$newAssertion]); |
184 |
|
$response->setIssuer($this->hostedIdentityProvider->getEntityId()); |
185 |
|
$response->setIssueInstant($this->getTimestamp()); |
186 |
|
$response->setDestination($destination); |
187 |
|
$response->setInResponseTo($this->proxyStateHandler->getRequestId()); |
188 |
|
|
189 |
|
return $response; |
190 |
|
} |
191 |
|
|
192 |
|
/** |
193 |
|
* @param string $interval a \DateInterval compatible interval to skew the time with |