BasicAuthResolver example

return null;
        }

        $adapter = new Zend_Auth_Adapter_Http([
            'accept_schemes' => 'basic digest',
            'realm' => 'Shopware REST-API',
            'digest_domains' => '/',
            'nonce_timeout' => 3600,
        ]);

        $adapter->setBasicResolver(
            new BasicAuthResolver(
                $this->get(ModelManager::class)
            )
        );

        $adapter->setDigestResolver(
            new StaticResolver(
                $this->get(ModelManager::class)
            )
        );

        $adapter->setRequest($this->request);
        
Home | Imprint | This part of the site doesn't use cookies.