simplesamlphp /
xml-cas
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace SimpleSAML\CAS; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Various CAS constants. |
||
| 9 | * |
||
| 10 | * @package simplesamlphp/cas |
||
| 11 | */ |
||
| 12 | class Constants extends \SimpleSAML\XML\Constants |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The namespace for the CAS protocol. |
||
| 16 | */ |
||
| 17 | final public const string NS_CAS = 'http://www.yale.edu/tp/cas'; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 18 | |||
| 19 | /** |
||
| 20 | * The format to express a timestamp in CAS |
||
| 21 | */ |
||
| 22 | final public const string DATETIME_FORMAT = 'Y-m-d\\TH:i:sp'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The INTERNAL_ERROR CAS error |
||
| 26 | */ |
||
| 27 | final public const string ERR_INTERNAL_ERROR = 'INTERNAL_ERROR'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The INVALID_REQUEST CAS error |
||
| 31 | */ |
||
| 32 | final public const string ERR_INVALID_REQUEST = 'INVALID_REQUEST'; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * The INVALID_SERVICE CAS error |
||
| 36 | */ |
||
| 37 | final public const string ERR_INVALID_SERVICE = 'INVALID_SERVICE'; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * The INVALID_TICKET CAS error |
||
| 41 | */ |
||
| 42 | final public const string ERR_INVALID_TICKET = 'INVALID_TICKET'; |
||
| 43 | } |
||
| 44 |