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
9179f3c2
Commit
9179f3c2
authored
10 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Remove getAuthnRequest() from SimpleSAML_Session.
parent
c52b4b96
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Session.php
+0
-34
0 additions, 34 deletions
lib/SimpleSAML/Session.php
with
0 additions
and
34 deletions
lib/SimpleSAML/Session.php
+
0
−
34
View file @
9179f3c2
...
...
@@ -309,40 +309,6 @@ class SimpleSAML_Session {
}
/**
* This method retrieves from session a cache of a specific Authentication Request
* The complete request is not stored, instead the values that will be needed later
* are stored in an assoc array.
*
* @param string $protocol saml2 or shib13
* @param string $requestid The request id used as a key to lookup the cache.
* @throws Exception If the method can't find a cached version of the request.
* @return array Returns an assoc array of cached variables associated with the
* authentication request.
* @deprecated
*/
public
function
getAuthnRequest
(
$protocol
,
$requestid
)
{
SimpleSAML_Logger
::
debug
(
'Library - Session: Get authnrequest from cache '
.
$protocol
.
' time:'
.
time
()
.
' id: '
.
$requestid
);
$type
=
'AuthnRequest-'
.
$protocol
;
$authnRequest
=
$this
->
getData
(
$type
,
$requestid
);
if
(
$authnRequest
===
NULL
)
{
/*
* Could not find requested ID. Throw an error. Could be that it is never set, or that it is deleted
* due to age.
*/
throw
new
Exception
(
'Could not find cached version of authentication request with ID '
.
$requestid
.
' ('
.
$protocol
.
')'
);
}
return
$authnRequest
;
}
/**
* Set remember me expire time.
*
...
...
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