You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ä»æ´ææ¼ãã¾ããæ°ã«ããªã:-) ã¡ãã£ã¨Googleã«ã¬ã³ãã¼ã«ã¢ã¯ã»ã¹ãããããã¢ããªãæ¸ãã¦ããã§ãããããããã¨è¦å´ããã®ã§ã¾ã¨ãã¦ã¿ã¾ãã åç½®ã PHPããGoogleã®API群ã«ã¢ã¯ã»ã¹ããè¨äºã¯ããããããã¾ãããã¦ã¼ã¶ã¼ããã©ã¦ã¶ãä»ãã¦ã¢ã¯ã»ã¹ããã¢ã(Web Server Applicationsã¨å¼ã°ãã)ãã»ã¨ãã©ã§ããä¸æ¹ã§ããããã¢ããªãªã©ãã©ã¦ã¶ãä»ããã«Googleã®APIã«ã¢ã¯ã»ã¹(Service Accountsã¨å¼ã°ãã)ããã¢ãã¯ãã¾ãè¦ã¤ããã¾ããã Web Server Applications Service Accounts ä¸ã®ãªã³ã¯ã«ããå³ãè¦æ¯ã¹ã¦ããããã°åããã¾ãããããã2ã¤ã®å¤§ããªéãã¯"User Login & Consent"ã®é¨åãã¤ã¾ãããã°ã¤ã³ã¨ã¢ããªã®ã¢ã¯ã»ã¹è¨±å¯ããããã©ããï¼ãªãã§ããããããã¢ããªã®å ´åã¯ãã
æºå Google Consoleã«ãã°ã¤ã³ ã¢ããªã±ã¼ã·ã§ã³ãç»é²ï¼Webã¢ããªã±ã¼ã·ã§ã³ï¼ â»ãã ããRedirect URIsã¯ç©ºã«ãã¦ç»é²ãããã¨ï¼ å¾ã§ä½¿ãã®ã¯ Client ID for web applicationsã®æ¬ã®Client ID Simple API Accessã®æ¬ã®API key èªè¨¼å¦ç èªè¨¼ç¨ã®ãã¿ã³ãç¨æ var clientId = 'æºåããClientID'; var apiKey = 'æºåããAPI key'; // ã¨ãããããæãã®ã§ãã«ã¬ã³ãã¼ãèªãã ãã®è¨å® // https://www.googleapis.com/auth/plus.meã¯ä¸è¦ãããã var scopes = ['https://www.googleapis.com/auth/plus.me', 'https://www.googleapis.com/auth/
â» oAuth対å¿çã®ææ°ã©ã¤ãã©ãªã«å¯¾å¿ãã¾ãããâ è¨äºãã¼ã¸ã¸ #ã¯ããã« å¥ãµã¼ãã¹ã®ã¤ãã³ããã¼ã¿ãJavaã§ä½ããããã¼ã«ã§Google Calendarã¨åæãã¦ãããã§ãããå°ãåããGoogle Calendar API v3ã«å¯¾å¿ãã¦ãªãå¤ããã¼ã«ã§ã¯ã¢ã¯ã»ã¹åºæ¥ãªããªã£ã¦ãã¾ãã¾ãã... ...ã¨ãããã¨ã§ãGoogle Calendar API v3ã«å¯¾å¿ããåæãã¼ã«ãphpã§ä½ãã¾ããã 注ï¼phpã§ããã°ã©ã ãæ¸ãã®ã¯ã»ã¼åãã¦ã§ãã®ã§è¨è¿°ãããããã¨ãããããããã¾ããã;) ç§ã¯åæããããã¼ã¿ãè½ã¨ãã¦ãã¦perlã§data.csvã®å½¢ã«æ´å½¢ãããã®å¾cal.phpãå®è¡ããããã«cronã§è¨å®ãã¦ã¾ãã #Google Developer Consoleã§ã®ã¢ããªã±ã¼ã·ã§ã³è¨å® ã¾ããGoogle Developer Consoleã«ãã£ã¦ã¢ããªã±ã¼
ã¤ãã¬ã³ã®æ稿ç¨APIãªã©ã®ä¸é¨ã®APIãå©ç¨ããå ´åãOAuth 2.0ããã¼ã¹ã¨ããèªè¨¼ãå¿ è¦ã«ãªãã¾ãã OAuth 2.0ã®ä»æ§ã«é¢ãã¦ã¯ãå種ããã¥ã¡ã³ããåç §ãã¦ãã ããã ï¼ï¼ã¢ããªã±ã¼ã·ã§ã³ã®ç»é² ï¼ï¼ã¢ããªã±ã¼ã·ã§ã³ä¸ã®èªè¨¼å¦ç â»ç¾å¨ã¯å人ã§ä½¿ãç®çã®ã¢ããªã±ã¼ã·ã§ã³ããããã«ã½ã³ã»å¦æ ¡çã®èª²é¡ãç 究ãªã©ã®ç®çã®ã¢ããªã±ã¼ã·ã§ã³ã¯åãä»ãã¦ããã¾ãããã¾ãããã¼ã¿ã®æ¸ãåºãã»åéã»åæããããªã©ãå©ç¨è¦ç´ã®éåè¡çºãçµå¶ä¸ã®å¤æã§è¨±å¯ã§ããªãå ´åãããã¾ãã®ã§ãäºæ¿ãã ããã OAuthèªè¨¼ãå¿ è¦ãªAPIãå©ç¨ããå ´åã以ä¸ã®ãã¼ã¸ãããä½æããã¢ããªã±ã¼ã·ã§ã³ããã³ãªãã¤ã¬ã¯ãå URLãç»é²ãã¦ãã ããã https://www.yamareco.com/modules/liaise/?form_id=18 ãªãã¤ã¬ã¯ãå URLã¯ãWebãµã¤ãã®å ´åã¯OAuthèªè¨¼ã®
OAuth Provider Demoã¯Rails3ã§å®è£ ããããOAuthãããã¤ãã®ãã¢ããã°ã©ã ã [/s2If] OAuth Provider Demoã¯Ruby on Rails3製ã®ããªã¼ã¦ã§ã¢ï¼ã½ã¼ã¹ã³ã¼ãã¯å ¬éããã¦ããï¼ãWebãµã¼ãã¹ã§Web APIãå ¬éãããã¨ã¯æ±ºãã¦çãããã¨ã§ã¯ãªããªã£ã¦ãããããã¦æãå¤ãã®ã¯æ軽ã«å©ç¨ã§ããRESTfulã®ãã®ãå¤ãã ã¦ã¼ã¶æ å ±ã®JSON ãããªWeb APIãæä¾ããå ´åãèªè¨¼ã«ã¤ãã¦ã¯OpenIDã使ãã®ãã»ãã¥ãªãã£çã«ãå®å¿ã§ãããããã¦åæ©è½ã«ã¤ãã¦ã¯OAuthã使ãã®ãè¯ããããããã°ã¢ããªã±ã¼ã·ã§ã³ã«ãã¹ã¯ã¼ããä¿åããªãã¦æ¸ãããã®æã®åèã«ãªãã®ãOAuth Provider Demoã ã å人çã«ããã¯ããªã欲ããã£ãã½ããã¦ã§ã¢ã ãOAuthãå©ç¨ããå´ã®ã©ã¤ãã©ãªã¯æ°å¤ãããæä¾ããå´ã®ããæ¹ã«ã¤ãã¦
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}