| 1 | <?php |
||
| 23 | class ServiceValidateController extends ValidateController { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Valid ticket types. |
||
| 27 | * |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected $validTicketTypes = array( |
||
| 31 | CAS\Ticket::TYPE_ST, |
||
| 32 | ); |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Handles ticket validation requests. |
||
| 36 | * |
||
| 37 | * This method attempts to set a `Content-Type: text/xml` HTTP response header. |
||
| 38 | * |
||
| 39 | * @param array $request Request arguments. |
||
| 40 | * @return string Response XML string. |
||
| 41 | * |
||
| 42 | * @todo Accept proxy callback URL (pgtUrl) parameter. |
||
| 43 | * @todo Accept renew parameter. |
||
| 44 | */ |
||
| 45 | public function handleRequest( $request ) { |
||
| 63 | } |
||
| 64 |