/** * Get the auth code * * @param string $code * * @return \League\OAuth2\Server\Entity\AuthCodeEntity | null */ public function get($code) { $result = $this->storage->get($code); return $result; }