File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 16
16
/**
17
17
* TokenInterface is the interface for the user authentication information.
18
18
*
19
- * @method string getUserIdentifier() returns the user identifier used during authentication (e.g. a user's email address or username)
20
- *
21
19
* @author Fabien Potencier <fabien@symfony.com>
22
20
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
23
21
*/
@@ -30,6 +28,11 @@ interface TokenInterface
30
28
*/
31
29
public function __toString (): string ;
32
30
31
+ /**
32
+ * Returns the user identifier used during authentication (e.g. a user's email address or username).
33
+ */
34
+ public function getUserIdentifier (): string ;
35
+
33
36
/**
34
37
* Returns the user roles.
35
38
*
Original file line number Diff line number Diff line change 27
27
* configuration, web service). This is totally independent of how the authentication
28
28
* information is submitted or what the UserInterface object looks like.
29
29
*
30
- * @see UserInterface
31
- *
32
- * @method UserInterface loadUserByIdentifier(string $identifier)
33
- *
34
30
* @author Fabien Potencier <fabien@symfony.com>
35
31
*/
36
32
interface UserProviderInterface
You can’t perform that action at this time.
0 commit comments