8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a687046 commit c258046Copy full SHA for c258046
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