Skip to content

Commit

Permalink
Add element registry
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Sep 12, 2024
1 parent 6a434ee commit 8a9b080
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "simplesamlphp/xml-cas",
"description": "CAS PHP library from SimpleSAMLphp",
"type": "simplesamlphp-xmlprovider",
"license": "LGPL-2.1-or-later",
"authors": [
{
Expand Down Expand Up @@ -37,7 +38,8 @@
"allow-plugins": {
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
"phpstan/extension-installer": true,
"simplesamlphp/composer-xmlprovider-installer": true
}
}
}
22 changes: 22 additions & 0 deletions src/XML/element.registry.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

declare(strict_types=1);

return [
'http://www.yale.edu/tp/cas' => [
'Attributes' => '\SimpleSAML\CAS\XML\cas\Attributes',
'AuthenticationDate' => '\SimpleSAML\CAS\XML\cas\AuthenticationDate',
'AuthenticationFailure' => '\SimpleSAML\CAS\XML\cas\AuthenticationFailure',
'AuthenticationSuccess' => '\SimpleSAML\CAS\XML\cas\AuthenticationSuccess',
'IsFromNewLogin' => '\SimpleSAML\CAS\XML\cas\IsFromNewLogin',
'LongTermAuthenticationRequestTokenUsed' => '\SimpleSAML\CAS\XML\cas\LongTermAuthenticationRequestTokenUsed',
'Proxies' => '\SimpleSAML\CAS\XML\cas\Proxies',
'Proxy' => '\SimpleSAML\CAS\XML\cas\Proxy',
'ProxyFailure' => '\SimpleSAML\CAS\XML\cas\ProxyFailure',
'ProxyGrantingTicket' => '\SimpleSAML\CAS\XML\cas\ProxyGrantingTicket',
'ProxySuccess' => '\SimpleSAML\CAS\XML\cas\ProxySuccess',
'ProxyTicket' => '\SimpleSAML\CAS\XML\cas\ProxyTicket',
'ServiceResponse' => '\SimpleSAML\CAS\XML\cas\ServiceResponse',
'User' => '\SimpleSAML\CAS\XML\cas\User',
],
];

0 comments on commit 8a9b080

Please sign in to comment.