public function getIdpList($keys = array(), $forSpEntityId = null)
    {
        sort($keys);
        $keysString = implode(',', $keys);
        if (isset($this->identityProvidersMetadata[$keysString][$forSpEntityId])) {
            return $this->identityProvidersMetadata[$keysString][$forSpEntityId];
        }

        if (!isset($this->identityProvidersMetadata[$keysString])) {
            $this->identityProvidersMetadata[$keysString] = array();
        }

        $this->identityProvidersMetadata[$keysString][$forSpEntityId] = $this->client->getIdpList();

        return $this->identityProvidersMetadata;
    }
public function getIdpList($keys = array(), $forSpEntityId = null)
    {
        sort($keys);
        $keysString = implode(',', $keys);
        if (isset($this->identityProvidersMetadata[$keysString][$forSpEntityId])) {
            return $this->identityProvidersMetadata[$keysString][$forSpEntityId];
        }

        if (!isset($this->identityProvidersMetadata[$keysString])) {
            $this->identityProvidersMetadata[$keysString] = array();
        }

        $this->identityProvidersMetadata[$keysString][$forSpEntityId] = $this->client->getIdpList();

        return $this->identityProvidersMetadata;
    }
public function getIdpList ( $ keys = array ( ) , $ forSpEntityId = null ) { sort ( $ keys ) ; $ keysString = implode ( ',' , $ keys ) ; if ( isset ( $ this -> identityProvidersMetadata [ $ keysString ] [ $ forSpEntityId ] ) ) { return $ this -> identityProvidersMetadata [ $ keysString ] [ $ forSpEntityId ] ; } if ( ! isset ( $ this -> identityProvidersMetadata [ $ keysString ] ) ) { $ this -> identityProvidersMetadata [ $ keysString ] = array ( ) ; } $ this -> identityProvidersMetadata [ $ keysString ] [ $ forSpEntityId ] = $ this -> client -> getIdpList ( ) ; return $ this -> identityProvidersMetadata ; }
Retrieve a list of metadata values of all available
IDP entities.
@param array $keys An array of keys to retrieve. Retrieves
all available keys if omited or empty
@param String $forSpEntityId An optional identifier of an SP
If present, idplist will return a list of only the
idps that this sp is allowed to authenticate against.
@return array An associative array of values, indexed by IDP
identifier. Each value is another associative
array with key/value pairs containing the metadata.
Retrieve a list of metadata values of all available IDP entities .