开发者

openid authentication tables and what do they mean

I installed the ruby on rails pl开发者_StackOverflow中文版ugin "open_id_authentication". After running the migration it created two tables "open_id_authentication_associations" and "open_id_authentication_nonces" does anyone know what those tables do and how they are used?

Thanks


iHeartDucks,

Here is a site that has much more discussion on what exactly is happening with the open_id_authentication plugin, and why it needs these tables. You will find:

These tables, "open_id_authentication_associations" and "open_id_authentication_nonces", store information about the messages received from OpenID identity providers, including authentication keys.

Thanks!


The open_id_authentication_nonces table stores the openid.response_nonce value, which is basically a string starting with a timestamp and ending with a unique value.

The open_id_authentication_associations table stores information like the OpenID server url, username, secret, etc - the information needed for the user to authenticate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜