Skip to content
Snippets Groups Projects
Commit 6de7dd36 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fixes for modules/discopower

parent 3c38a5b7
Branches
Tags
No related merge requests found
......@@ -267,7 +267,7 @@ class IdPDisco
*
* This function finds out which IdP the user has manually chosen, if any.
*
* @return string The entity id of the IdP the user has chosen, or null if the user has made no choice.
* @return string|null The entity id of the IdP the user has chosen, or null if the user has made no choice.
*/
protected function getSelectedIdP()
{
......
......@@ -11,7 +11,6 @@ namespace SimpleSAML\Module\discopower;
* @author Andreas Åkre Solberg <andreas@uninett.no>, UNINETT AS.
* @package SimpleSAMLphp
*/
class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco
{
/**
......@@ -69,6 +68,7 @@ class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco
* This is an helper function for logging messages. It will prefix the messages with our discovery service type.
*
* @param string $message The message which should be logged.
* @return void
*/
protected function log($message)
{
......@@ -236,6 +236,7 @@ class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco
* Handles a request to this discovery service.
*
* The IdP disco parameters should be set before calling this function.
* @return void
*/
public function handleRequest()
{
......@@ -303,6 +304,13 @@ class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco
$t->show();
}
/**
* @param \SimpleSAML\XHTML\Template $t
* @param array $metadata
* @param string $favourite
* @return array
*/
private function processMetadata($t, $metadata, $favourite)
{
$basequerystring = '?'.
......@@ -394,6 +402,7 @@ class PowerIdPDisco extends \SimpleSAML\XHTML\IdPDisco
* This function overrides the corresponding function in the parent class, to add support for common domain cookie.
*
* @param string $idp The entityID of the IdP.
* @return void
*/
protected function setPreviousIdP($idp)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment