You are here

public function JwtAuthValidateEvent::isValid in JSON Web Token Authentication (JWT) 8.0

Same name and namespace in other branches
  1. 8 src/Authentication/Event/JwtAuthValidateEvent.php \Drupal\jwt\Authentication\Event\JwtAuthValidateEvent::isValid()

Returns whether a token was considered valid.

Return value

bool Returns if the token is valid.

File

src/Authentication/Event/JwtAuthValidateEvent.php, line 48

Class

JwtAuthValidateEvent
Class JwtAuthValidateEvent.

Namespace

Drupal\jwt\Authentication\Event

Code

public function isValid() {
  return $this->valid;
}