AppserverIo\Appserver\ServletEngine\Security\RealmInterface::authenticateByUsernameAndCallbackHandler PHP Метод

authenticateByUsernameAndCallbackHandler() публичный Метод

Tries to authenticate the user with the passed username and callback handler.
public authenticateByUsernameAndCallbackHandler ( string $username, AppserverIo\Psr\Security\Auth\Callback\CallbackHandlerInterface $callbackHandler ) : AppserverIo\Security\PrincipalInterface | null
$username string The name of the user to authenticate
$callbackHandler AppserverIo\Psr\Security\Auth\Callback\CallbackHandlerInterface The callback handler used to load the credentials
Результат AppserverIo\Security\PrincipalInterface | null The authenticated user principal
    public function authenticateByUsernameAndCallbackHandler(string $username, CallbackHandlerInterface $callbackHandler);