interface TokenStorageInterface

The TokenStorageInterface.

Methods

TokenInterface|null
getToken()

Returns the current security token.

void
setToken(TokenInterface|null$token)

Sets the authentication token.

Details

TokenInterface|null getToken()

Returns the current security token.

Return Value

TokenInterface|null

void setToken(TokenInterface|null$token)

Sets the authentication token.

Parameters

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

Return Value

void