【问题标题】:logging out of a restful service is just destroying the token locally?退出restful服务只是在本地销毁令牌?
【发布时间】:2018-10-08 21:06:31
【问题描述】:

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

【问题讨论】:

    标签: rest api jwt access-token


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2015-03-06
      • 2015-01-15
      • 1970-01-01
      • 2018-06-25
      • 2016-10-23
      • 2016-07-16
      • 2022-06-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多