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
0
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
b1d0840b
Unverified
Commit
b1d0840b
authored
7 years ago
by
Tim van Dijen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update IdP.php
parent
11ca7d17
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/IdP.php
+2
-9
2 additions, 9 deletions
lib/SimpleSAML/IdP.php
with
2 additions
and
9 deletions
lib/SimpleSAML/IdP.php
+
2
−
9
View file @
b1d0840b
<?php
/**
* IdP class.
*
...
...
@@ -10,7 +9,6 @@
*/
class
SimpleSAML_IdP
{
/**
* A cache for resolving IdP id's.
*
...
...
@@ -18,7 +16,6 @@ class SimpleSAML_IdP
*/
private
static
$idpCache
=
array
();
/**
* The identifier for this IdP.
*
...
...
@@ -26,7 +23,6 @@ class SimpleSAML_IdP
*/
private
$id
;
/**
* The "association group" for this IdP.
*
...
...
@@ -37,7 +33,6 @@ class SimpleSAML_IdP
*/
private
$associationGroup
;
/**
* The configuration for this IdP.
*
...
...
@@ -45,7 +40,6 @@ class SimpleSAML_IdP
*/
private
$config
;
/**
* Our authsource.
*
...
...
@@ -53,7 +47,6 @@ class SimpleSAML_IdP
*/
private
$authSource
;
/**
* Initialize an IdP.
*
...
...
@@ -341,12 +334,12 @@ class SimpleSAML_IdP
*
* @param array &$state The authentication request state.
*
* @throws SimpleSAML
_
Error
_
NoPassive If we were asked to do passive authentication.
* @throws
\
SimpleSAML
\Module\saml\
Error
\
NoPassive If we were asked to do passive authentication.
*/
private
function
authenticate
(
array
&
$state
)
{
if
(
isset
(
$state
[
'isPassive'
])
&&
(
bool
)
$state
[
'isPassive'
])
{
throw
new
SimpleSAML
_
Error
_
NoPassive
(
'Passive authentication not supported.'
);
throw
new
\
SimpleSAML
\Module\saml\
Error
\
NoPassive
(
'Passive authentication not supported.'
);
}
$this
->
authSource
->
login
(
$state
);
...
...
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