TokenStorageInterface
in
The TokenStorageInterface.
Tags
Table of Contents
- getToken() : TokenInterface|null
- Returns the current security token.
- setToken() : mixed
- Sets the authentication token.
Methods
getToken()
Returns the current security token.
public
getToken() : TokenInterface|null
Return values
TokenInterface|null —A TokenInterface instance or null if no authentication information is available
setToken()
Sets the authentication token.
public
setToken([TokenInterface|null $token = null ]) : mixed
Parameters
- $token : TokenInterface|null = null
-
A TokenInterface token, or null if no further authentication information should be stored