Skip to content

Commit

Permalink
Merge pull request #81 from dryror/master
Browse files Browse the repository at this point in the history
changed UnexpectedValueException to CoreException
  • Loading branch information
glena committed May 9, 2016
2 parents eb494cf + 1ca75a8 commit fc08079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth0JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function decode($jwt, $valid_audiences, $client_secret, array $aut

$tks = explode('.', $jwt);
if (count($tks) != 3) {
throw new UnexpectedValueException('Wrong number of segments');
throw new CoreException('Wrong number of segments');
}
$headb64 = $tks[0];
$body64 = $tks[1];
Expand Down

0 comments on commit fc08079

Please sign in to comment.