public function JwtAuthBaseEvent::getToken in JSON Web Token Authentication (JWT) 8
Same name and namespace in other branches
- 8.0 src/Authentication/Event/JwtAuthBaseEvent.php \Drupal\jwt\Authentication\Event\JwtAuthBaseEvent::getToken()
Returns the JWT.
Return value
\Drupal\jwt\JsonWebToken\JsonWebTokenInterface Returns the token.
File
- src/
Authentication/ Event/ JwtAuthBaseEvent.php, line 37
Class
- JwtAuthBaseEvent
- Class JwtAuthBaseEvent.
Namespace
Drupal\jwt\Authentication\EventCode
public function getToken() {
return $this->jwt;
}