You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace App\Http\Controllers\Web\Customer;
-
- use App\Http\Controllers\Web\WebController;
- use App\Logic\EmailChangeManager;
- use App\Transmissions\HTICWeb\Sender;
- use Illuminate\Http\JsonResponse;
- use Illuminate\Http\Request;
-
- class ChangeEmailVerifyController extends WebController
- {
-
- public function name(): string
- {
- return "Email変更認証";
- }
-
- public function description(): string
- {
- return "Emailの変更手続きを認証する";
- }
-
- use Sender;
-
- public function __construct(protected ChangeEmailVerifyParams $param, private EmailChangeManager $manager)
- {
- parent::__construct();
- }
-
- protected function run(Request $request): JsonResponse
- {
- $param = $this->param;
-
- $customer = $this->manager
- ->verify($param->token);
-
- return $this->successResponse();
- }
- }
|