2017-01-28 22:35:42 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace BusinessLogic\Exceptions;
|
|
|
|
|
2017-01-30 22:10:14 -05:00
|
|
|
class MissingAuthenticationTokenException extends ApiFriendlyException {
|
2017-01-28 22:35:42 -05:00
|
|
|
function __construct() {
|
2017-12-04 12:56:09 -05:00
|
|
|
parent::__construct("An 'X-Auth-Token' is required for this request",
|
2017-01-30 22:10:14 -05:00
|
|
|
'Security Exception',
|
2017-12-04 12:56:09 -05:00
|
|
|
401);
|
2017-01-28 22:35:42 -05:00
|
|
|
}
|
|
|
|
}
|