File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ Passport Attributes
339339
340340Besides badges, passports can define attributes, which allows the ``authenticate() ``
341341method to store arbitrary information in the passport to access it from other
342- authenticator methods (e.g. ``createAuthenticatedToken () ``)::
342+ authenticator methods (e.g. ``createToken () ``)::
343343
344344 // ...
345345 use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
@@ -360,7 +360,7 @@ authenticator methods (e.g. ``createAuthenticatedToken()``)::
360360 return $passport;
361361 }
362362
363- public function createAuthenticatedToken (PassportInterface $passport, string $firewallName): TokenInterface
363+ public function createToken (PassportInterface $passport, string $firewallName): TokenInterface
364364 {
365365 // read the attribute value
366366 return new CustomOauthToken($passport->getUser(), $passport->getAttribute('scope'));
You can’t perform that action at this time.
0 commit comments