cross login

This commit is contained in:
glovetleong
2021-10-13 14:10:32 +08:00
parent 3d7090758d
commit 05cb3dd35e
8 changed files with 303 additions and 13 deletions
@@ -18,16 +18,16 @@ class CrossAuthenticateUserLogic extends AbstractControllerLogic
}
/** @var CrossAuthenticationProcessor */
private $cressAuthenticationProcessor;
private $crossAuthenticationProcessor;
/**
* CrossAuthenticateUserLogic constructor.
* @param CrossAuthenticationProcessor $authenticationProcessor
*/
public function __construct(CrossAuthenticationProcessor $cressAuthenticationProcessor)
public function __construct(CrossAuthenticationProcessor $crossAuthenticationProcessor)
{
$this->cressAuthenticationProcessor = $cressAuthenticationProcessor;
$this->crossAuthenticationProcessor = $crossAuthenticationProcessor;
}
/**
@@ -38,7 +38,7 @@ class CrossAuthenticateUserLogic extends AbstractControllerLogic
* @throws \App\Classes\Exceptions\RequestValidationException
*/
protected function logic(Request $request): JsonResponse {
return $this->response($this->cressAuthenticationProcessor->execute($request));
return $this->response($this->crossAuthenticationProcessor->execute($request));
}
}