Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
a8260318
Commit
a8260318
authored
6 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for lib/SimpleSAML/HTTP
parent
36d83058
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/SimpleSAML/HTTP/Router.php
+12
-9
12 additions, 9 deletions
lib/SimpleSAML/HTTP/Router.php
lib/SimpleSAML/HTTP/RunnableResponse.php
+1
-1
1 addition, 1 deletion
lib/SimpleSAML/HTTP/RunnableResponse.php
with
13 additions
and
10 deletions
lib/SimpleSAML/HTTP/Router.php
+
12
−
9
View file @
a8260318
...
@@ -20,11 +20,11 @@ use Symfony\Component\Routing\RequestContext;
...
@@ -20,11 +20,11 @@ use Symfony\Component\Routing\RequestContext;
*/
*/
class
Router
class
Router
{
{
/** @var ArgumentResolver */
protected
$arguments
;
protected
$arguments
;
/** @var \SimpleSAML\Configuration */
/** @var \SimpleSAML\Configuration
|null
*/
protected
$config
;
protected
$config
=
null
;
/** @var RequestContext */
/** @var RequestContext */
protected
$context
;
protected
$context
;
...
@@ -32,17 +32,17 @@ class Router
...
@@ -32,17 +32,17 @@ class Router
/** @var EventDispatcher */
/** @var EventDispatcher */
protected
$dispatcher
;
protected
$dispatcher
;
/** @var Request */
/** @var Request
|null
*/
protected
$request
;
protected
$request
=
null
;
/** @var \SimpleSAML\Module\ControllerResolver */
/** @var \SimpleSAML\Module\ControllerResolver */
protected
$resolver
;
protected
$resolver
;
/** @var \SimpleSAML\Session */
/** @var \SimpleSAML\Session
|null
*/
protected
$session
;
protected
$session
=
null
;
/** @var RequestStack */
/** @var RequestStack
|null
*/
protected
$stack
;
protected
$stack
=
null
;
/**
/**
...
@@ -94,6 +94,7 @@ class Router
...
@@ -94,6 +94,7 @@ class Router
* Send a given response to the browser.
* Send a given response to the browser.
*
*
* @param Response $response The response to send.
* @param Response $response The response to send.
* @return void
*/
*/
public
function
send
(
Response
$response
)
public
function
send
(
Response
$response
)
{
{
...
@@ -106,6 +107,7 @@ class Router
...
@@ -106,6 +107,7 @@ class Router
* Set the configuration to use by the controller.
* Set the configuration to use by the controller.
*
*
* @param \SimpleSAML\Configuration $config
* @param \SimpleSAML\Configuration $config
* @return void
*/
*/
public
function
setConfiguration
(
Configuration
$config
)
public
function
setConfiguration
(
Configuration
$config
)
{
{
...
@@ -118,6 +120,7 @@ class Router
...
@@ -118,6 +120,7 @@ class Router
* Set the session to use by the controller.
* Set the session to use by the controller.
*
*
* @param \SimpleSAML\Session $session
* @param \SimpleSAML\Session $session
* @return void
*/
*/
public
function
setSession
(
Session
$session
)
public
function
setSession
(
Session
$session
)
{
{
...
...
This diff is collapsed.
Click to expand it.
lib/SimpleSAML/HTTP/RunnableResponse.php
+
1
−
1
View file @
a8260318
...
@@ -60,7 +60,7 @@ class RunnableResponse extends Response
...
@@ -60,7 +60,7 @@ class RunnableResponse extends Response
/**
/**
* "Send" this response by actually running the callable.
* "Send" this response by actually running the callable.
*
*
* @return
mixed
* @return
self
*/
*/
public
function
send
()
public
function
send
()
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment