interface TokenStorageInterface

The TokenStorageInterface.

Methods

getToken()

Returns the current security token.

setToken(TokenInterface $token = null)

Sets the authentication token.

Details

at line line 28
TokenInterface|null getToken()

Returns the current security token.

Return Value

TokenInterface|null A TokenInterface instance or null if no authentication information is available

at line line 35
setToken(TokenInterface $token = null)

Sets the authentication token.

Parameters

TokenInterface $token A TokenInterface token, or null if no further authentication information should be stored