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 = "The requested URL requires authentication.", $code = Status::UNAUTHORIZED, ICanBoogie\HTTP\Exception $previous = null )
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Properties summary
Properties inherited from Exception
$code,
$file,
$line,
$message