/** * {@inheritdoc} */ public function getScopePolicy(ClientInterface $client = null, ServerRequestInterface $request = null) { return $client instanceof ScopeExtensionInterface && null !== $client->getScopePolicy($request) ? $client->getScopePolicy($request) : $this->getPolicy(); }