OpenID: Wich bir ben endeksi bir kullanıcı kullanmalıdır "openid_identity"

2 Cevap php

Bir ben dizine bir OpenID auth proccess bir kullanıcıyı kullanmalısınız alınabilmiştir. "Openid_identity" ya da "openid_claimed_id?" Iade Dope OpenId sınıfını ve veriler kullanılarak im:

[openid_ns] => http://specs.openid.net/auth/2.0
[openid_mode] => id_res
[openid_return_to] => http://localhost/login/authenticate
[openid_claimed_id] => https://me.yahoo.com/a/wK7..MjM-#607
[openid_identity] => https://me.yahoo.com/a/wK7...MjM-
[openid_realm] => http://localhost/
[openid_assoc_handle] =>odm...j24yhwlT...2TOXQ9.sifIz3eLZoU.....jOoGM...9VPcMVavQkVgEQ--
[openid_response_nonce] => 2009-09-19T12:35:08Z95e...WtOYlQ--
[openid_signed] => assoc_handle,claimed_id,identity,mode,ns,op_endpoint,response_nonce,return_to,signed,ns.pape,pape.auth_level.ns.nist,pape.auth_level.nist,pape.auth_policies
[openid_op_endpoint] => https://open.login.yahooapis.com/openid/op/auth
[openid_ns_pape] => http://specs.openid.net/extensions/pape/1.0
[openid_pape_auth_level_ns_nist] => http://csrc.nist.gov/publications/nistpubs/800-63/SP800-63V1_0_2.pdf
[openid_pape_auth_level_nist] => 0
[openid_pape_auth_policies] => http://schemas.openid.net/pape/policies/2007/06/none
[openid_sig] => kO7......EitU=

Teşekkürler

2 Cevap

Use the openid.claimed_id parameter as the logical primary key for users. Treat it as case sensitive, and use the entire value. Do not trim off the fragment or the scheme (protocol). Treat "http://" and "https://" protocols as entirely different, even if the rest of the URL is the same. In short, treat the openid.claimed_id as an opaque value that must entirely be stored for new users and entirely be matched for returning users.

OpenID 2.0 specification daha açıklar, ancak kısa cevap üzerindedir.

Her zaman kullanıcı nedeniyle OpenID heyetinin giriş olarak sağlanan OpenID kanonik formu saklamak gerekir.

Iddia kimlik OpenID sürecine ilgisiz sonunda bir betimleyici var gibi durumda görünüyor.