diff --git a/src/JwtVerifier.php b/src/JwtVerifier.php index f6509ad..ce04ea7 100644 --- a/src/JwtVerifier.php +++ b/src/JwtVerifier.php @@ -103,7 +103,7 @@ public function verify($jwt) $decoded = $this->adaptor->decode($jwt, $keys); - $this->validateClaims($decoded->getClaims()); + $this->validateClaims($decoded->getClaims(), "access"); // This is hard coded to access token since this was the original functionality. return $decoded; }