8000 Fix incompatibilities with upcoming security 6.0 by wouterj · Pull Request #42595 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Fix incompatibilities with upcoming security 6.0 #42595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 17, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[SecurityGuard] Fix incompatibility with 6.0
  • Loading branch information
wouterj committed Aug 17, 2021
commit fb45f6bcfa6d42579f52fca0a0bd2d0e49037385
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ public function createAuthenticatedToken(PassportInterface $passport, string $fi
return $this->guard->createAuthenticatedToken($passport->getUser(), $firewallName);
}

public function createToken(Passport $passport, string $firewallName): TokenInterface
{
return $this->guard->createAuthenticatedToken($passport->getUser(), $firewallName);
}

public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
{
return $this->guard->onAuthenticationSuccess($request, $token, $firewallName);
Expand Down
0