We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e498c11 commit 6d9b7d0Copy full SHA for 6d9b7d0
src/Authentication.php
@@ -138,7 +138,7 @@ public function authorize(
138
$user = $authorizer->verifyCredentials($credentials);
139
140
if ($user->requiresSecondFactor()) {
141
- $intent = $this->intent_repository->createSecondFactorIntent(
+ $intent = $this->intent_repository->createIntent(
142
$user,
143
);
144
src/Intent/RepositoryInterface.php
@@ -14,7 +14,8 @@
14
15
interface RepositoryInterface
16
{
17
- public function createSecondFactorIntent(
+ public function createIntent(
18
AuthenticatedUserInterface $user,
19
+ array $arguments = null,
20
): IntentInterface;
21
}
0 commit comments