eZ\Publish\Core\REST\Server\Security\RestAuthenticator::attemptAuthentication PHP Method

attemptAuthentication() private method

private attemptAuthentication ( Request $request ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\Security\Core\Authentication\Token\TokenInterface
    private function attemptAuthentication(Request $request)
    {
        return $this->authenticationManager->authenticate(new UsernamePasswordToken($request->attributes->get('username'), $request->attributes->get('password'), $this->providerKey));
    }