Class AuthenticationRequired
Exception thrown when user authentication is required.
Event hooks may rescue the exception and provide a login form instead.
- Exception implements Throwable
- ┗ ICanBoogie\HTTP\ClientError implements ICanBoogie\HTTP\Exception
- ┗ ICanBoogie\HTTP\AuthenticationRequired implements ICanBoogie\HTTP\SecurityError
Methods summary
public
__construct( $message
= self::DEFAULT_MESSAGE, $code
= Status::UNAUTHORIZED, ICanBoogie\HTTP\Exception
$previous
= null )
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Constants summary
Properties summary
Properties inherited from Exception
$code
,
$file
,
$line
,
$message