OAuth-server,存储用户令牌 [英] OAuth-server, storing user tokens

查看:57
本文介绍了OAuth-server,存储用户令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实现我的OAyuth-2服务器有问题.我可以在服务器上存储用户的访问令牌吗?如果没有,我怎样才能让每个用户只有一个有效的访问令牌?我希望我的问题很清楚,提前致谢.

There is a problem to realize my OAyuth-2 server. Can I store the Access-tokens of users on the server? If not, how can I make it so that each user would have had only one working Access-token? I hope my question is clear, thanks in advance.

推荐答案

你的问题听起来很奇怪.OAuth 服务器的角色是生成和管理访问令牌.我可以存储访问令牌吗?".好吧,相反,您必须存储访问令牌."

Your question sounds strange. It is the role of an OAuth server to generate and manage access tokens. "Can I store access tokens?". Well, instead, "You must store access tokens."

这篇关于OAuth-server,存储用户令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆