public function getTokenTtl()
    {
        $rememberMe = $this->tokenRememberMe;
        $ttl = 86400; // 1 day
        if ($rememberMe) {
            $ttl = is_numeric($rememberMe) ? intval($rememberMe) : 2592000; // 30 days
        }

        return $ttl;
    }