We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 735f7e8 + c258046 commit f2e21dbCopy full SHA for f2e21db
components/security/authorization.rst
@@ -19,7 +19,7 @@ by an instance of :class:`Symfony\\Component\\Security\\Core\\Authorization\\Acc
19
An authorization decision will always be based on a few things:
20
21
* The current token
22
- For instance, the token's :method:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface::getRoleNames`
+ For instance, the token's :method:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface::getRoles`
23
method may be used to retrieve the roles of the current user (e.g.
24
``ROLE_SUPER_ADMIN``), or a decision may be based on the class of the token.
25
* A set of attributes
0 commit comments