summaryrefslogtreecommitdiffstats
path: root/Exceptions/ExpiredException.php
diff options
context:
space:
mode:
authorBrendan Abbott <brendan@vuid.com>2014-11-13 12:46:11 +1000
committerBrendan Abbott <brendan@vuid.com>2014-11-13 12:46:11 +1000
commitea4db8dbf2d74ed75ff1e5c89ac42e55a9ff1d6f (patch)
tree2e77e77faec11516aedf6914cd92f816350064fa /Exceptions/ExpiredException.php
parent0b01cd0b1727c4652b4529289ddddb599ef6ca6a (diff)
downloadphp-jwt-ea4db8dbf2d74ed75ff1e5c89ac42e55a9ff1d6f.zip
php-jwt-ea4db8dbf2d74ed75ff1e5c89ac42e55a9ff1d6f.tar.gz
php-jwt-ea4db8dbf2d74ed75ff1e5c89ac42e55a9ff1d6f.tar.bz2
Add specific exceptions for checking claims. Fix bad tests for exp and nbf. RE: firebase/php-jwt#20
Diffstat (limited to 'Exceptions/ExpiredException.php')
-rw-r--r--Exceptions/ExpiredException.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Exceptions/ExpiredException.php b/Exceptions/ExpiredException.php
new file mode 100644
index 0000000..74b0d57
--- /dev/null
+++ b/Exceptions/ExpiredException.php
@@ -0,0 +1,6 @@
+<?php
+
+class ExpiredException extends UnexpectedValueException
+{
+
+} \ No newline at end of file