original_string: public static function getIdpsForSp(
          $spEntityId,
          $metadataPath
      ) {
          $idpEntries = Metadata::getIdpMetadataEntries($metadataPath);
  
          return self::getReducedIdpList(
              $idpEntries,
              $metadataPath,
              $spEntityId);
      }
code: public static function getIdpsForSp(
          $spEntityId,
          $metadataPath
      ) {
          $idpEntries = Metadata::getIdpMetadataEntries($metadataPath);
  
          return self::getReducedIdpList(
              $idpEntries,
              $metadataPath,
              $spEntityId);
      }
code_tokens: public static function getIdpsForSp ( $ spEntityId , $ metadataPath ) { $ idpEntries = Metadata :: getIdpMetadataEntries ( $ metadataPath ) ; return self :: getReducedIdpList ( $ idpEntries , $ metadataPath , $ spEntityId ) ; }
docstring: Takes the original idp entries and reduces them down to the ones
  the current SP is meant to see.
  
  @param string $spEntityId
  @param string $metadataPath, the path to the simplesamlphp/metadata folder
  
  @returns array of strings of entity id's of IDP's that this SP
  is allowed to use for authentication.
docstring_tokens: Takes the original idp entries and reduces them down to the ones the current SP is meant to see .