2017-01-28 22:35:42 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BusinessLogic\Exceptions;
|
|
|
|
|
|
|
|
|
2017-01-30 22:10:14 -05:00
|
|
|
class InvalidAuthenticationTokenException extends ApiFriendlyException {
|
2017-01-28 22:35:42 -05:00
|
|
|
public function __construct() {
|
2017-01-30 22:10:14 -05:00
|
|
|
parent::__construct('The X-Auth-Token is invalid. The token must be for an active helpdesk user.',
|
|
|
|
'Security Exception',
|
|
|
|
401);
|
2017-01-28 22:35:42 -05:00
|
|
|
}
|
|
|
|
}
|