function saml_sp_libraries_info in SAML Service Provider 7.3
Same name and namespace in other branches
- 7.8 saml_sp.module \saml_sp_libraries_info()
- 7.2 saml_sp.module \saml_sp_libraries_info()
Implements hook_libraries_info().
File
- ./
saml_sp.module, line 302 - SAML Service Provider
Code
function saml_sp_libraries_info() {
$libraries['php-saml'] = array(
'name' => 'Simple SAML toolkit for PHP',
'vendor url' => 'https://github.com/onelogin/php-saml',
'download url' => 'https://github.com/onelogin/php-saml/archive/3.4.1.zip',
'version arguments' => array(
'file' => 'CHANGELOG',
'pattern' => '/v\\.?([0-9a-zA-Z\\.-]+)/',
),
'files' => array(
'php' => array(
'src/Saml2/Auth.php',
'src/Saml2/AuthnRequest.php',
'src/Saml2/Constants.php',
'src/Saml2/Error.php',
'src/Saml2/IdPMetadataParser.php',
'src/Saml2/LogoutRequest.php',
'src/Saml2/LogoutResponse.php',
'src/Saml2/Metadata.php',
'src/Saml2/Response.php',
'src/Saml2/Settings.php',
'src/Saml2/Utils.php',
'src/Saml2/ValidationError.php',
),
),
'dependencies' => array(
'xmlseclibs',
),
);
$libraries['xmlseclibs'] = array(
'name' => 'XML Security Library (xmlseclibs)',
'vendor url' => 'https://github.com/robrichards/xmlseclibs',
'download url' => 'https://github.com/robrichards/xmlseclibs/archive/master.zip',
'version arguments' => array(
'file' => 'xmlseclibs.php',
'pattern' => '/@version\\s*(.*)/',
'lines' => 100,
),
'files' => array(
'php' => array(
'xmlseclibs.php',
),
),
);
return $libraries;
}