我安装了 ruby on rails 插件“open_id_authentication”。运行迁移后,它创建了两个表“open_id_authentication_associations”和“open_id_authentication_nonces”有人知道这些表的作用以及它们的使用方式吗?
谢谢
我安装了 ruby on rails 插件“open_id_authentication”。运行迁移后,它创建了两个表“open_id_authentication_associations”和“open_id_authentication_nonces”有人知道这些表的作用以及它们的使用方式吗?
谢谢
iHeartDucks,
这是一个站点,它对 open_id_authentication插件到底发生了什么以及为什么需要这些表进行了更多讨论。你会找到:
这些表“open_id_authentication_associations”和“open_id_authentication_nonces”存储有关从 OpenID 身份提供者接收到的消息的信息,包括身份验证密钥。
该open_id_authentication_nonces
表存储该openid.response_nonce
值,该值基本上是一个以时间戳开头并以唯一值结尾的字符串。
该open_id_authentication_associations
表存储诸如 OpenID 服务器 url、用户名、密码等信息 - 用户进行身份验证所需的信息。