2011-05-08 4 views
1

사용자가 Gmail 계정을 연결하기를 원하는 웹 사이트가 있습니다. 나중에 OAuth를 통해 사용자 Gmail 계정에 액세스하려고합니다. 나는 이것을 위해 Google's OpenID+OAuth (하이브리드 프로토콜)을 사용합니다. Google OpenID 및 OAuth - 토큰 액세스 방법

openid.assoc_handle AOQobUfg8E9PvTYX1huZPleVGoSvky57TxLHMzI-Lxd87cDNwLyrutSm 
openid.claimed_id https://www.google.com/accounts/o8/id?id=AItOawlus8fqLMQGgfCCM6pDZGpuNjwQqqYMs4o 
openid.ext1.mode fetch_response 
openid.ext1.type.email http://axschema.org/contact/email 
openid.ext1.value.email [email protected] 
**openid.ext2.request_token 4/C-VqYG9lRtJBKM9G15I-tFk58rOS** 
openid.ext2.scope https://mail.google.com/ 
openid.identity https://www.google.com/accounts/o8/id?id=AItOawlus8fqLMQGgfCCM6pDZGpuNjwQqqYMs4o 
openid.mode id_res 
openid.ns http://specs.openid.net/auth/2.0 
openid.ns.ext1 http://openid.net/srv/ax/1.0 
openid.ns.ext2 http://specs.openid.net/extensions/oauth/1.0 
openid.op_endpoint https://www.google.com/accounts/o8/ud 
openid.response_nonce 2011-05-07T18:38:37ZOEVDbKdW6d2g9A 
openid.return_to https://mysite.com/gmail_redir/ 
openid.sig niD5l9V7cG+LOE2zYjJ6rS0Cdwc= 
openid.signed op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle,ns.ext1,ns.ext2,ext1.mode,ext1.type.email,ext1.value.email,ext2.scope,ext2.request_token 

내가 나를 사용자의 Gmail ACC를 크롤링 할 수 있도록 예상되는 openid.ext2.request_token를 얻을 - 내가 위에서 언급 한 문서를 따르

, 나는 다음과 같은 얻을. OAuth를 통해. 어떻게 작동합니까? 액세스 토큰 (예 : oauth_access_secret 및 oauth_access_token)이 필요하지 않습니까?

더 이상 요청해야합니까? 누구든지이 후 진행하는 방법을 알고 ??

답변