diff --git a/src/AuthorizationServer.php b/src/AuthorizationServer.php index 416421ec..df079b70 100644 --- a/src/AuthorizationServer.php +++ b/src/AuthorizationServer.php @@ -103,7 +103,7 @@ class AuthorizationServer implements EmitterAwareInterface if ($privateKey instanceof CryptKey === false) { $privateKey = new CryptKey($privateKey); } - + $this->privateKey = $privateKey; $this->encryptionKey = $encryptionKey; @@ -112,13 +112,13 @@ class AuthorizationServer implements EmitterAwareInterface } else { $responseTypePrototype = clone $responseTypePrototype; } - + if ($responseTypePrototype instanceof AbstractResponseType) { $responseTypePrototype->setPrivateKey($this->privateKey); } - + $responseTypePrototype->setEncryptionKey($this->encryptionKey); - + $this->responseTypePrototype = $responseTypePrototype; }