Skip to content

Commit 8b6d4f0

Browse files
author
Brendan Abbott
committed
Minor documentation update for SignatureInvalidException
1 parent ec3a4a8 commit 8b6d4f0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Authentication/JWT.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ class JWT
3030
* @param bool $verify Don't skip verification process
3131
*
3232
* @return object The JWT's payload as a PHP object
33-
* @throws DomainException Algorithm was not provided
34-
* @throws UnexpectedValueException Provided JWT was invalid
35-
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
36-
* @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat'
37-
* @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim
33+
*
34+
* @throws DomainException Algorithm was not provided
35+
* @throws UnexpectedValueException Provided JWT was invalid
36+
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
37+
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
38+
* @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat'
39+
* @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim
3840
*
3941
* @uses jsonDecode
4042
* @uses urlsafeB64Decode

0 commit comments

Comments
 (0)