Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Login Aai
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Login Aai
Commits
a6f9110a
Commit
a6f9110a
authored
8 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update phpdoc in shibboleth class
parent
d6bfa00a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
classes/shibd_discofeed.class.php
+28
-2
28 additions, 2 deletions
classes/shibd_discofeed.class.php
with
28 additions
and
2 deletions
classes/shibd_discofeed.class.php
+
28
−
2
View file @
a6f9110a
...
@@ -7,6 +7,16 @@
...
@@ -7,6 +7,16 @@
* included functions
* included functions
* License: GNU GPL 3.0
* License: GNU GPL 3.0
* Source: https://git-repo.iml.unibe.ch/iml-open-source/login-aai
* Source: https://git-repo.iml.unibe.ch/iml-open-source/login-aai
*
* ----------------------------------------------------------------------
*
* Shibboleth discofeed
*
* Reads the Shibboleth discofeed and returns a list of idps.
* This list will be cached in a json file.
* With the list of idps, you get a subset by filtering with a
* positive list of entity ids.
*
* ======================================================================
* ======================================================================
*/
*/
class
shibd_discofeed
class
shibd_discofeed
...
@@ -48,7 +58,12 @@ class shibd_discofeed
...
@@ -48,7 +58,12 @@ class shibd_discofeed
* @var string
* @var string
*/
*/
protected
string
$SELFURL
=
''
;
protected
string
$SELFURL
=
''
;
// protected array $aConfig = [];
/**
* Configuration array for current web app
* @var array
*/
protected
array
$aConfig
=
[];
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
...
@@ -88,6 +103,7 @@ class shibd_discofeed
...
@@ -88,6 +103,7 @@ class shibd_discofeed
/**
/**
* Get List if IDPs from cache file if possible
* Get List if IDPs from cache file if possible
* or from Shibboleth Disco feed and write a cache file
* or from Shibboleth Disco feed and write a cache file
*
* @return array
* @return array
*/
*/
function
getAllIdps
():
array
function
getAllIdps
():
array
...
@@ -109,7 +125,17 @@ class shibd_discofeed
...
@@ -109,7 +125,17 @@ class shibd_discofeed
}
}
/**
/**
* Get list of active IDPs
* Get list of active IDPs.
* The entries per item from discofeed will be extended with some more
* subkeys:
* '_label' Language specific label from 'DisplayNames'
* '_description Language specific description from 'Descriptions'
* '_keywords Language specific keywords from 'Keywords'
* '_image' Image from 'Logos' item 1
* '_url' Generates static login url for this IDP
* '_idpdomain Hostname of the IDP
* '_tld' TLD of the IDP, eg '.ch', '.de'
*
* @return array
* @return array
*/
*/
public
function
getIdps
():
array
public
function
getIdps
():
array
...
...
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