æãèªã¿ OpenID Simple Registration Extension 1.0
OpenID Simple Registration Extension 1.0ã®æãèªã¿ã§ãã
æ¦è¦
OpenID Simple Registrationã¯é常ã«è»½éãªãããã£ã¼ã«äº¤æã®çºã®OpenID Authenticationãããã³ã«ã®æ¡å¼µã§ãã
ã¨ã³ãã¦ã¼ã¶ã¼ãããã¦ã§ããµã¼ãã¹ã®æ°ããã¢ã«ã¦ã³ããç»é²ããéã«ãï¼ã¤ã®å
±éã®è¦æ±ãããæ
å ±è¦ç´ ã渡ãããã«è¨è¨ããã¦ãã¾ãã
Request Format
ãªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã®è©³ç´°ã¯ä¸è¨ã®ããã«ãªããããã«checkid_immediateã¾ãã¯checkid_setupã¢ã¼ãã¨å
±ã«éä¿¡ãããã¹ãã§ãã
次ã«è¿°ã¹ãå
¨ã¦ã®ãªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã¯ãªãã·ã§ãã«ã§ãããopenid.sreg.requiredãopenid.sreg.optionalã®ãã¡ããããä¸ã¤ã¯ãªã¯ã¨ã¹ãã«å«ã¾ããªããã°ãªãã¾ããã
- openid.sreg.required
- ã«ã³ãåºåãã®ãã£ã¼ã«ãåã®ãªã¹ãã§ãããã¬ã¹ãã³ã¹ã«å«ã¾ããªãå ´åãã³ã³ã·ã¥ã¼ãã¼ã¯ã¨ã³ãã¦ã¼ã¶ã¼ã®åæãªãã«*1ç»é²ãå®äºãããäºã妨ããããã§ãããããã£ã¼ã«ãåã¯Response Formatã®é ã§ã"openid.sreg."ã¨ããããªãã£ã¯ã¹ãé¤ããå½¢ã§æè¨ããã
- openid.sreg.optional
- ã«ã³ãåºåãã®ãã£ã¼ã«ãåã®ãªã¹ãã§ãã³ã³ã·ã¥ã¼ãã¼ã«ãã£ã¦ä½¿ç¨ãããããããç»é²ãå®äºããã¾ã§ã¯ç©ºã§ããããã£ã¼ã«ãåã¯Response Formatã®é ã§ã"openid.sreg."ã¨ããããªãã£ã¯ã¹ãé¤ããå½¢ã§æè¨ããã
- openid.sreg.policy_url
- ã³ã³ã·ã¥ã¼ãã¼ããããã£ã¼ã«ãã¼ã¿ãã©ã®ããã«ä½¿ç¨ããããã«é¢ãã¦ã¨ã³ãã¦ã¼ã¶ã¼ã«èªã¾ããçºã«æä¾ããURLã§ããIdPã¯ãããä¸ããããå ´åãã¨ã³ãã¦ã¼ã¶ã¼ã«ãã®URLã表示ããã¹ãã§ããã
Response Format
ä¸è¨ã®ãã£ã¼ã«ãã¯openid.modeãid_resã®æã«IdPã®ã¬ã¹ãã³ã¹ã®ä¸ã«å«ã¾ããã¹ãç©ã§ããã
ã¬ã¹ãã³ã¹ã®"openid.signed"ãã£ã¼ã«ãä¸è¦§ã¯ç»é²æã®ãã£ã¼ã«ãåã(ä¾ãã°sreg.nicknameã®ããã«)openid.ã¨ãããã¬ãã£ã¯ã¹ãé¤ããå½¢ã§å«ããªããã°ãªããªãã"openid.sig"ãã£ã¼ã«ãã¯sregã®çºã«ç½²åãæä¾ããªããã°ãªããªãããã£ã¼ã«ãã¯OpenID Authentication Specificationã«å¾ã£ã¦OpenIDãã¼ã¿ãä»ãå ããã
ããã³ã³ã·ã¥ã¼ãã¼ã®ç½²å確èªã失æããããIdPããã®ç»é²ãã¼ã¿ã§ã¯ç¡ãã¨æ±ãããæ¹ãè¯ãã
ã³ã³ã·ã¥ã¼ãã¼ã¯å¿
é ã¾ãã¯ãªãã·ã§ã³ã¨ãã¦ãã¼ã¯ããããã£ã¼ã«ããä¸è¶³ãããªãã¬ã¹ãã³ã¹ããã³ãã«ããçºã«æºåãããªããã°ãªããªãã
å¿
é ã®ãã£ã¼ã«ããå«ããªãã£ãããä»ã«å¿
é ã§ãªããã£ã¼ã«ãå«ãããããå ´åã®æåã¯ã³ã³ã·ã¥ã¼ãã¼æ¬¡ç¬¬ã§ããã
ã³ã³ã·ã¥ã¼ãã¼ã¯ãã®ç¶æ³ãã¨ã³ãã¦ã¼ã¶ã¼ãæåã§ãã¼ã¿ãå
¥åããã®ã¨åãããã«ã¿ãªãã¹ãã§ããã
ã¬ã¹ãã³ã¹ã®ä¸ã§ã²ã¨ã¤ã®ãã£ã¼ã«ããç¹°ãè¿ããã¦ã¯ãªããªãã*2ããã«å«ã¾ããå ¨ã¦ã®ãã£ã¼ã«ãã¯ãã®ä½¿ç¨ã®ä¸ã§å®ç¾©ããããã£ã¼ã«ãã®ã»ããããé¸ã°ããªããã°ãªããªãã
IdPã¯ã¬ã¹ãã³ã¹ã¯ã¨ãªã¼ã®ä¸ã§ä¸è¨ã®ãã£ã¼ã«ãã®ãããªããµãã»ãããæ»ããããããªãã
- openid.sreg.nickname
- ã¨ã³ãã¦ã¼ã¶ã¼ãããã¯ãã¼ã ã¨ãã¦ä½¿ãå ¨ã¦ã®UTF-8æåå
- openid.sreg.email
- ã¨ã³ãã¦ã¼ã¶ã¼ã®ã¡ã¼ã«ã¢ãã¬ã¹
- openid.sreg.fullname
- ã¨ã³ãã¦ã¼ã¶ã¼ã®ãã«ãã¼ã ã表ç¾ããUTF-8æåå
- openid.sreg.dob
- ã¨ã³ãã¦ã¼ã¶ã¼ã®èªçæ¥(YYYY-MM-DD)
- openid.sreg.gender
- ã¨ã³ãã¦ã¼ã¶ã¼ã®æ§å¥(M or F)
- openid.sreg.postcode
- UTF-8æååãã¨ã³ãã¦ã¼ã¶ã¼ã®ä½ãã§ããå½ã®éµä¾¿ã·ã¹ãã ã«åã£ãéµä¾¿çªå·
- openid.sreg.country
- ISO3166ã§å®ç¾©ãããã¨ã³ãã¦ã¼ã¶ã¼ã®å½ã
- openid.sreg.language
- ISO639ã§å®ç¾©ãããã¨ã³ãã¦ã¼ã¶ã¼ã®è¨èªã
- openid.sreg.timezone
- TimeZoneデータベースããã®ã¢ã¹ãã¼æååã
ã¾ã¨ã
è¦ããã«ãããã£ã¼ã«äº¤æç¨ã®OpenIDã®æ¡å¼µã¿ããã§ããã
ã¡ãã£ã¨æ¤ç´¢ããããここギコさんの記事ãå½ããã¾ããã
ãã®è¨äºå½æã§ã¯ã¾ã 対å¿ãã¦ãããµã¼ãã¹ãå°ãªãç¶æ
ã ã£ãã¿ããã§ããã
情報元ãè¦ãéãã¯ç¶æ³ãå¤ãã£ã¦ãªã模æ§ããã