2$this->includeAtTemplateBase(
'includes/header.php');
5assert(
'is_string($dataId)');
8assert(
'is_string($url)');
11assert(
'is_string($nameIdFormat)');
14assert(
'is_string($nameIdValue)');
17assert(
'is_string($nameIdQualifier)');
20assert(
'is_string($nameIdSPQualifier)');
24assert(
'is_null($attributes) || is_array($attributes)');
29<h2>Attribute query test</h2>
31<p>This is a test page
for sending an AttributeQuery message.</p>
35<form action=
"?" method=
"post">
36<input name=
"dataId" type=
"hidden" value=
"<?php echo htmlspecialchars($dataId); ?>" />
38<label
for=
"url">URL of attribute query endpoint:</label><br />
39<input name=
"url" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($url); ?>" />
42<label
for=
"nameIdFormat">NameID format:</label><br />
43<input name=
"nameIdFormat" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdFormat); ?>" />
47<label
for=
"nameIdValue">NameID value:</label><br />
48<input name=
"nameIdValue" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdValue); ?>" />
52<label
for=
"nameIdQualifier">NameID NameQualifier (optional):</label><br />
53<input name=
"nameIdQualifier" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdQualifier); ?>" />
57<label
for=
"nameIdSPQualifier">NameID SPNameQualifier (optional):</label><br />
58<input name=
"nameIdSPQualifier" type=
"text" size=
"80" value=
"<?php echo htmlspecialchars($nameIdSPQualifier); ?>" />
62<button type=
"submit" name=
"send" class=
"btn">Send query</button>
69 echo(
'<h3>Attributes received</h3><dl>');
71 echo(
'<dt>' . htmlspecialchars(
$name) .
'</dt><dd><ul>');
72 foreach ($values as $value) {
73 echo(
'<li>' . htmlspecialchars($value) .
'</li>');
81<?
php $this->includeAtTemplateBase(
'includes/footer.php');
for( $i=1;$i< 200;$i++)
Holds the type of the event to listen for.
An exception for terminatinating execution or to throw for unit testing.