php-saml-metadata-parser
所属分类:CA认证
开发工具:PHP
文件大小:17KB
下载次数:0
上传日期:2013-11-18 12:58:32
上 传 者:
sh-1993
说明: PHP SAML元数据分析器
(PHP SAML Metadata Parser)
文件列表:
CHANGES.md (127, 2013-11-18)
COPYING (11358, 2013-11-18)
composer.json (280, 2013-11-18)
composer.lock (1838, 2013-11-18)
src (0, 2013-11-18)
src\fkooman (0, 2013-11-18)
src\fkooman\saml (0, 2013-11-18)
src\fkooman\saml\metadata (0, 2013-11-18)
src\fkooman\saml\metadata\Parser.php (3590, 2013-11-18)
src\fkooman\saml\metadata\ParserException.php (704, 2013-11-18)
tests (0, 2013-11-18)
tests\data (0, 2013-11-18)
tests\data\surfconext-idp.xml (6227, 2013-11-18)
tests\data\surfconext-sp.xml (8987, 2013-11-18)
tests\fkooman (0, 2013-11-18)
tests\fkooman\saml (0, 2013-11-18)
tests\fkooman\saml\metadata (0, 2013-11-18)
tests\fkooman\saml\metadata\ParserTest.php (3233, 2013-11-18)
# Introduction
This library allows you to parse SAML metadata *fast* and extract some
important data from it:
* ACS location, binding, index for SPs;
* SSO location, binding for IdPs;
* X.509 certificates used for signing and encryption by the IdP.
# API
To use this library, a simple API is available:
$parser = new Parser("/path/to/metadata.xml");
$data = $parser->getIdp("http://idp.example.org/");
var_dump($data);
You will have access to the `keys`, `SingleSignOnService` keys in case of and
IdP. In case of an SP (`getSp("http://sp.example.org/")`) you will have access
to the `AssertionConsumerService` key.
# License
Licensed under the Apache License, Version 2.0;
http://www.apache.org/licenses/LICENSE-2.0
近期下载者:
相关文件:
收藏者: