diff --git a/src/Entities/AccessTokenEntity.php b/src/Entities/AccessTokenEntity.php deleted file mode 100644 index 34ae167e..00000000 --- a/src/Entities/AccessTokenEntity.php +++ /dev/null @@ -1,37 +0,0 @@ -setAudience($this->getClient()->getIdentifier()) - ->setId($this->getIdentifier(), true) - ->setIssuedAt(time()) - ->setNotBefore(time()) - ->setExpiration($this->getExpiryDateTime()->getTimestamp()) - ->setSubject($this->getUserIdentifier()) - ->set('scopes', $this->getScopes()) - ->sign(new Sha256(), new Key($privateKey->getKeyPath(), $privateKey->getPassPhrase())) - ->getToken(); - } -} diff --git a/src/Entities/AuthCodeEntity.php b/src/Entities/AuthCodeEntity.php deleted file mode 100644 index 87279d30..00000000 --- a/src/Entities/AuthCodeEntity.php +++ /dev/null @@ -1,33 +0,0 @@ -redirectUri; - } - - /** - * @param string $uri - */ - public function setRedirectUri($uri) - { - $this->redirectUri = $uri; - } -} diff --git a/src/Entities/RefreshTokenEntity.php b/src/Entities/RefreshTokenEntity.php deleted file mode 100644 index 97b0348a..00000000 --- a/src/Entities/RefreshTokenEntity.php +++ /dev/null @@ -1,15 +0,0 @@ -