diff --git a/src/AbstractServer.php b/src/AbstractServer.php index d3ddcbb4..329d380f 100644 --- a/src/AbstractServer.php +++ b/src/AbstractServer.php @@ -51,7 +51,7 @@ abstract class AbstractServer */ public function __construct() { - $this->eventEmitter = $this->setEventEmitter(); + $this->setEventEmitter(); } /** @@ -72,6 +72,11 @@ abstract class AbstractServer $this->eventEmitter->addListener($eventName, $listener); } + public function getEventEmitter() + { + return $this->eventEmitter; + } + /** * Sets the Request Object * @param \Symfony\Component\HttpFoundation\Request The Request Object @@ -118,7 +123,7 @@ abstract class AbstractServer * @param TokenTypeInterface $tokenType The token type * @return void */ - public function setTokenType(TokenTypeInterface $tokenType) + public function setIdType(TokenTypeInterface $tokenType) { $this->tokenType = $tokenType; } @@ -127,7 +132,7 @@ abstract class AbstractServer * Get the access token type * @return TokenTypeInterface */ - public function getTokenType() + public function getIdType() { return $this->tokenType; }