oauth2-server-php每次都会创建新令牌

时间:2018-06-13 10:04:39

标签: php

我使用这个检查电子邮件和密码,如果他们更正,它将返回访问令牌:

curl -u u:p http://localhost/api/token -d 'grant_type=password&username=example@example.com&password=123456'

但每次我请求时,都会创建新令牌。

可以oauth2-server-php检查,如果令牌存在,只返回?

非常感谢你阅读,对不起我的英语不好。

0 个答案:

没有答案