Çöó½ºÅ© - ±¸Çü

Çöó½ºÅ© ¾ÛÀ»À§ÇÑ ½´ÆÛ °£´ÜÇÑ OpenID ¹× Google Æä´õ·¹ÀÌ¼Ç ÀÎÁõ
Áö±Ý ´Ù¿î·Îµå

Çöó½ºÅ© - ±¸Çü ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • BSD License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Alexander Saltanov
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://github.com/sashka/

Çöó½ºÅ© - ±¸Çü ű×


Çöó½ºÅ© - ±¸Çü ¼³¸í

Flask-GoogleAuth´Â torandoÀÇ ºÎºÐ Æ÷Æ®ÀÔ´Ï´Ù. Google Federated LoginÀÇ Kenneth Reitz.UsageExample »ç¿ë¿¡ ´ëÇÑ Flask.inspired¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ³»ºÎ Apps.Greate for from from from from from from from from from from from from from from from from from from from from from from from from from from from from from from flaskfrom flask_googleAuth °¡Á® ¿À±â GoogleFederated # ¼³Á¤ flaskapp = flask (__ À̸§ __) app.secret_key = "ÀÓÀÇÀÇ ºñ¹Ð Å°"# Google Æä´õ·¹ÀÌ¼Ç Authauth = GoogleFederated (¾Û, "heroku.com") @ app.route (heroku.com ") @ app.route (heroku.com") @ app.route ("/"/"). RechineDef Secret () : # »ç¿ëÀÚ°¡ ÀÎÁõµÇ¸é ±×ÀÇ À̸§°ú À̸ÞÀÏÀº # g.user.name ¹× g.user.email·Î ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù. "SSSSSHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH - Google OpenID·Î »ç¿ëÀÚ¸¦ ÀÎÁõÇÏ·Á¸é GoogleFederated ´ë½Å GoogleAuth¸¦ °¡Á®¿Í¾ßÇÕ´Ï´Ù. auth = googleaceute ("/ ") @ auth.requireddef secret ( ) : "´ç½ÅÀº ¿©±â¿¡ÀÖÀ» ±Ç¸®°¡ ÀÖ½À´Ï´Ù. % s"% g.user.nameinstall flask-googleAuth : pip ¼³Ä¡ Çöó½ºÅ© - googleauthproductÀÇ È¨ÆäÀÌÁö


Çöó½ºÅ© - ±¸Çü °ü·Ã ¼ÒÇÁÆ®¿þ¾î