src/Factory/Authentication/AdapterFactory.php
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var $options AuthenticationOptionsInterface */
        $options = $serviceLocator->get(ModuleOptions::class);

        return new DefaultAdapter(
            $serviceLocator->get('MapperManager')->get($options->getUserEntityClass()),
            $options
        );
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var $options AuthenticationOptionsInterface */
        $options = $serviceLocator->get(ModuleOptions::class);

        return new DefaultAdapter(
            $serviceLocator->get('MapperManager')->get($options->getUserEntityClass()),
            $options
        );
    }
{@inheritDoc}

@return DefaultAdapter