Skip to content

Commit

Permalink
Merge pull request #4 from dlundgren/dl/add-cas-error-constants
Browse files Browse the repository at this point in the history
Added CAS error constants
  • Loading branch information
tvdijen authored Jul 10, 2024
2 parents f52b1e6 + df7af09 commit 4061289
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,24 @@ class Constants extends \SimpleSAML\XML\Constants
* The format to express a timestamp in CAS
*/
final public const DATETIME_FORMAT = 'Y-m-d\\TH:i:sp';

/**
* The INTERNAL_ERROR CAS error
*/
final public const ERR_INTERNAL_ERROR = 'INTERNAL_ERROR';

/**
* The INVALID_REQUEST CAS error
*/
final public const ERR_INVALID_REQUEST = 'INVALID_REQUEST';

/**
* The INVALID_SERVICE CAS error
*/
final public const ERR_INVALID_SERVICE = 'INVALID_SERVICE';

/**
* The INVALID_TICKET CAS error
*/
final public const ERR_INVALID_TICKET = 'INVALID_TICKET';
}

0 comments on commit 4061289

Please sign in to comment.