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 |