æå®ãããURLã¯åå¨ãã¾ããã URLãæ£ããå ¥åããã¦ããªããããã®ãã¼ã¸ãåé¤ãããå¯è½æ§ãããã¾ãã
Zendã§ãã§ããããã¿ã«æ¸ãã¦ã¿ãã <?php $url = 'http://example.org/'; $consumer_key = '1235694568147893b0123b15'; $consumer_secret = '663333123263456c8d789f58'; $version = '1.0'; $signature_method = 'HMAC-SHA1'; $timestamp = time(); $nonce = (string)rand(); $realm = 'realm'; $request_body = array('hello' => 'world'); $body_hash = urlencode(base64_encode(hash('SHA1', $request_body, true))); $auth_header = sprint
This specification was obsoleted by RFC 6749: The OAuth 2.0 Authorization Framework. Implementers should use RFC 6749 instead of this specification. June 24, 2009 OAuth Core 1.0 Revision A License This specification was derived from the OAuth Core 1.0 specification which was made available under the OAuth Non-Assertion Covenant and Author's Contribution License For OAuth Specification 1.0 availabl
å½ããã°ã§ããã¾ã§ä½åº¦ãOpenSocialã«çµ¡ãã OAuthã«ã¤ãã¦åãä¸ãã¦ãã¾ããããMySpaceãåèã«ãã¦ãããããç½²åæ¹å¼ã¨ãã¦HMAC-SHA1ã®ã¿ã対象ã«ãã¦ãã¾ããããããShindigãæãä¸ããä¸ã§RSA-SHA1ãé¿ãã¦éããã¨ã¯ã§ãããããããã¡ãã«ã¤ãã¦ãååãªç¥èãå¾ã¦ããªãã¨ãªããªãå ã«é²ããªããã¨ãåããã¾ããã®ã§ããã®æ©ä¼ã«ã¾ã¨ãã¦ã¿ã¾ãã(OpenSocialãããç¨åº¦åæã«ãã¦ãã¾ãããç½²åã®è©±ã¯OpenSocialã«éããªããã®ã§ãã) ç½²åã¨ã¯ä½ã ITã®ä¸çã§ç½²åã¨ã¯ãåãåããå ããã®äººã§ãããã¨ã証æããããã®æ段ãã¨è¨ãã¾ããOAuthã ã¨ãã³ã³ã·ã¥ã¼ãããµã¼ãã¹ãããã¤ãã«å¯¾ãã¦ãåä¹ã£ã¦ããéãã®è ã§ãããã¨ã証æãããã¨ãæå³ãã¾ããããã¯ããèªåããããã¯ãç¸æã¨èªåãã«ããåãããªããã®ããªã¯ã¨ã¹ãã«ä»ãå ãã¦éããã¨ã§å®ç¾ã
OpenSocialã§ã¯ãã³ã³ãããå¤é¨ãµã¼ãã¼ã¨ã®éä¿¡ãè¡ãéãã¾ãã¯å¤é¨ãµã¼ãã¼ãã³ã³ããã¨éä¿¡ãè¡ãéãOAuthã使ç¨ãã¦èªå¯ãè¡ãã¾ããä»åã¯OpenSocialã«ãããOAuthã«ã¤ãã¦ãç¾æ®µéã§ã®ã¾ã¨ããæ¸ãã¦ã¿ã¾ãã â»è¿½è¨(2008/10/20)ï¼2008/10/4ã«æ¸ããã³ãã©ã®è¨äºãå¿ èªã§ãã OAuthã£ã¦ä½ã ã£ãã£ãï¼ OAuthã¯ã¦ã¼ã¶ã¼ãã³ã³ã·ã¥ã¼ãããµã¼ãã¹ãããã¤ãã®3è éã§ãã¼ã¿ã®ããåããè¡ãã¨ããå ´åãã¦ã¼ã¶ã¼ãã³ã³ã·ã¥ã¼ãã«ã¯ã¬ãã³ã·ã£ã«(IDããã¹ã¯ã¼ã)ã渡ããã¨ãªããã¦ã¼ã¶ã¼ãææãããµã¼ãã¹ãããã¤ãä¸ã®ãªã½ã¼ã¹ã«ã³ã³ã·ã¥ã¼ããã¢ã¯ã»ã¹ãããããã®ãã®ã§ãã ä¾ãã°ã¦ã¼ã¶ã¼ãGoogle(ãµã¼ãã¹ãããã¤ã)ã®ã¢ãã¬ã¹å¸³(ãªã½ã¼ã¹)ãMySpace(ã³ã³ã·ã¥ã¼ã)ä¸ã§å©ç¨ããã·ã¼ã³ãæãæµ®ãã¹ã¦ãã ãããOAuthããªããã°ãMySpace
ç¸å¤ããããé¡åã«ã»ã³ã¹ãããã¾ãããããã°ãã¯ã ãã¦ããããããã¼ã³ãããã¢ãã²ã¼ãªã¼ãã³ãã©ãããã©ã¼ã ã§ãããä»çµã¿çã«ã¯mixiããã®ã¢ãã¤ã«çã¨ã»ã¼åãã¢ã¼ããã¯ãã£ã§ Gadget Server ããããã·ã¼çãªå½¹å²ãããæãã«ãªã£ã¦ã¾ãã 大人ã®äºæ ãããªãåæ ãããä»çµã¿ãªã®ã§ããããã®ä»çµã¿ã§é常ã«éè¦ãªã®ãGadget Serverããã®ãªã¯ã¨ã¹ããSAPãããã«ä¿¡é ¼ãããã¨ããé¨åã§ãããããã 2-legged OAuthã§Authorizationãããã«å«ã¾ããOAuth Signatureã®æ¤è¨¼ããé¨åããã®é¨åã®ã³ã¼ãã¹ããããããç´¹ä»ã(mixi ç¨ã®ã¯å ¬éãã¦ãããã©ããããããªãã®ã§ã¢ãã²ã¼åãã ã) use OAuth::Lite::ServerUtil; use OAuth::Lite::Util qw/parse_auth_header/; u
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}