我看到通过Google身份验证返回了多个网址
LightOpenID Object
(
[returnUrl] => http://ikeyless/account/login/
[required] => Array
(
)
[optional] => Array
(
)
[verify_perr] =>
[capath] =>
[identity:LightOpenID:private] =>
[claimed_id:LightOpenID:private] => https://www.google.com/accounts/o8/id?id=[RANDOM_STRING]
[server:protected] => https://www.google.com/accounts/o8/ud
[version:protected] => 2
[trustRoot:protected] => http://ikeyless
[aliases:protected] =>
[identifier_select:protected] =>
[ax:protected] => 1
[sreg:protected] =>
[data:protected] => Array
(
[openid_identifier] => https://www.google.com/accounts/o8/id
[cmd] => account
[act] => login
[openid_ns] => http://specs.openid.net/auth/2.0
[openid_mode] => id_res
[openid_op_endpoint] => https://www.google.com/accounts/o8/ud
[openid_response_nonce] => 2010-11-16T16:49:30ZREDpfCsz7bwPsg
[openid_return_to] => http://ikeyless/account/login/
[openid_assoc_handle] => [RANDOM_STRING]
[openid_signed] => op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle
[openid_sig] => [RANDOM_STRING]
[openid_identity] => https://www.google.com/accounts/o8/id?id=[RANDOM_STRING]
[openid_claimed_id] => https://www.google.com/accounts/o8/id?id=[RANDOM_STRING]
)
我应该在本地存储哪些内容并与验证OpenID用户时进行比较?
答案 0 :(得分:2)
这一个:https://www.google.com/accounts/o8/id?id = [RANDOM_STRING]