Download src/User/Application/Commands/BasicAuthCommand.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 563 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/User/Application/Commands/BasicAuthCommand.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/User/Application/Commands/BasicAuthCommand.php
-
curl -L -o BasicAuthCommand.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/User/Application/Commands/BasicAuthCommand.php
563 Bytes
| declare(strict_types=1); | |
| namespace User\Application\Commands; | |
| use Shared\Infrastructure\CommandBus\Attributes\Handler; | |
| use User\Application\CommandHandlers\BasicAuthCommandHandler; | |
| use User\Domain\ValueObjects\Email; | |
| use User\Domain\ValueObjects\Password; | |
| (BasicAuthCommandHandler::class) | |
| class BasicAuthCommand | |
| { | |
| public Email $email; | |
| public Password $password; | |
| public function __construct(string $email, string $password) | |
| { | |
| $this->email = new Email($email); | |
| $this->password = new Password($password); | |
| } | |
| } | |