注销 restful 服务只是在本地破坏令牌?

logging out of a restful service is just destroying the token locally?

在 restful API 上。如果我想注销,假设我正在使用连接到 restful 服务的单页应用程序。我所要做的(假设令牌没有过期)就是在本地销毁令牌。正确吗?

一般情况下,jwt不会保存在服务器上。在本地销毁令牌意味着销毁登录信息。