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
2cac32f5
Unverified
Commit
2cac32f5
authored
6 years ago
by
Tim van Dijen
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
phpdoc
parent
6c723600
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Session.php
+3
-24
3 additions, 24 deletions
lib/SimpleSAML/Session.php
with
3 additions
and
24 deletions
lib/SimpleSAML/Session.php
+
3
−
24
View file @
2cac32f5
...
...
@@ -48,7 +48,6 @@ class Session implements \Serializable
*/
private
static
$instance
=
null
;
/**
* The session ID of this session.
*
...
...
@@ -56,7 +55,6 @@ class Session implements \Serializable
*/
private
$sessionId
;
/**
* Transient session flag.
*
...
...
@@ -64,7 +62,6 @@ class Session implements \Serializable
*/
private
$transient
=
false
;
/**
* The track id is a new random unique identifier that is generated for each session.
* This is used in the debug logs and error messages to easily track more information
...
...
@@ -74,10 +71,11 @@ class Session implements \Serializable
*/
private
$trackid
=
null
;
/**
* @var integer|null
*/
private
$rememberMeExpire
=
null
;
/**
* Marks a session as modified, and therefore needs to be saved before destroying
* this object.
...
...
@@ -86,7 +84,6 @@ class Session implements \Serializable
*/
private
$dirty
=
false
;
/**
* Tells the session object that the save callback has been registered and there's no need to register it again.
*
...
...
@@ -94,7 +91,6 @@ class Session implements \Serializable
*/
private
$callback_registered
=
false
;
/**
* This is an array of objects which will expire automatically after a set time. It is used
* where one needs to store some information - for example a logout request, but doesn't
...
...
@@ -107,7 +103,6 @@ class Session implements \Serializable
*/
private
$dataStore
=
array
();
/**
* The list of IdP-SP associations.
*
...
...
@@ -118,7 +113,6 @@ class Session implements \Serializable
*/
private
$associations
=
array
();
/**
* The authentication token.
*
...
...
@@ -128,7 +122,6 @@ class Session implements \Serializable
*/
private
$authToken
;
/**
* Authentication data.
*
...
...
@@ -138,7 +131,6 @@ class Session implements \Serializable
*/
private
$authData
=
array
();
/**
* Private constructor that restricts instantiation to either getSessionFromRequest() for the current session or
* getSession() for a specific one.
...
...
@@ -191,7 +183,6 @@ class Session implements \Serializable
}
}
/**
* Serialize this session object.
*
...
...
@@ -205,7 +196,6 @@ class Session implements \Serializable
return
$serialized
;
}
/**
* Unserialize a session object and load it..
*
...
...
@@ -239,7 +229,6 @@ class Session implements \Serializable
}
}
/**
* Retrieves the current session. Creates a new session if there's not one.
*
...
...
@@ -381,7 +370,6 @@ class Session implements \Serializable
return
$session
;
}
/**
* Load a given session as the current one.
*
...
...
@@ -457,7 +445,6 @@ class Session implements \Serializable
}
}
/**
* Save the current session and clean any left overs that could interfere with the normal application behaviour.
*
...
...
@@ -473,7 +460,6 @@ class Session implements \Serializable
}
}
/**
* Mark this session as dirty.
*
...
...
@@ -494,7 +480,6 @@ class Session implements \Serializable
$this
->
callback_registered
=
header_register_callback
(
array
(
$this
,
'save'
));
}
/**
* Destroy the session.
*
...
...
@@ -1013,7 +998,6 @@ class Session implements \Serializable
return
$this
->
authData
[
$authority
];
}
/**
* Check whether the session cookie is set.
*
...
...
@@ -1027,7 +1011,6 @@ class Session implements \Serializable
return
$sh
->
hasSessionCookie
();
}
/**
* Add an SP association for an IdP.
*
...
...
@@ -1055,7 +1038,6 @@ class Session implements \Serializable
$this
->
markDirty
();
}
/**
* Retrieve the associations for an IdP.
*
...
...
@@ -1091,7 +1073,6 @@ class Session implements \Serializable
return
$this
->
associations
[
$idp
];
}
/**
* Remove an SP association for an IdP.
*
...
...
@@ -1118,7 +1099,6 @@ class Session implements \Serializable
$this
->
markDirty
();
}
/**
* Retrieve authentication data.
*
...
...
@@ -1138,7 +1118,6 @@ class Session implements \Serializable
return
$this
->
authData
[
$authority
][
$name
];
}
/**
* Retrieve a list of authorities (authentication sources) that are currently valid within
* this session.
...
...
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