public function clearToken($service)
    {
        $service = $this->normalizeServiceName($service);

        $tokens = $this->sessionScope->get(self::SESSION_TOKEN);
        if (array_key_exists($service, $tokens)) {
            unset($tokens, $service);
        }
        $this->sessionScope->set(self::SESSION_TOKEN, $tokens);

        return $this;
    }
public function clearToken($service)
    {
        $service = $this->normalizeServiceName($service);

        $tokens = $this->sessionScope->get(self::SESSION_TOKEN);
        if (array_key_exists($service, $tokens)) {
            unset($tokens, $service);
        }
        $this->sessionScope->set(self::SESSION_TOKEN, $tokens);

        return $this;
    }
public function clearToken ( $ service ) { $ service = $ this -> normalizeServiceName ( $ service ) ; $ tokens = $ this -> sessionScope -> get ( self :: SESSION_TOKEN ) ; if ( array_key_exists ( $ service , $ tokens ) ) { unset ( $ tokens , $ service ) ; } $ this -> sessionScope -> set ( self :: SESSION_TOKEN , $ tokens ) ; return $ this ; }
Delete the users token. Aka, log out.

@param string $service

@return TokenStorageInterface
Delete the users token . Aka log out .