public function JwtAuthValidateEvent::invalidReason in JSON Web Token Authentication (JWT) 8
Same name and namespace in other branches
- 8.0 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\EventCode
public function invalidReason() {
return $this->invalidReason;
}