interface TokenStorageInterface
The TokenStorageInterface.
TokenInterface|null | getToken() Returns the current security token. | |
setToken(TokenInterface $token = null) Sets the authentication token. |
Returns the current security token.
TokenInterface|null | A TokenInterface instance or null if no authentication information is available |
Sets the authentication token.
TokenInterface | $token | A TokenInterface token, or null if no further authentication information should be stored |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/Authentication/Token/Storage/TokenStorageInterface.html