You are here

public function JwtAuthValidateEvent::invalidReason 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::invalidReason()

Returns a string describing why a JWT was considered invalid.

Return value

string The reason the token is invalid.

File

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

Class

JwtAuthValidateEvent
Class JwtAuthValidateEvent.

Namespace

Drupal\jwt\Authentication\Event

Code

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