Çöó½ºÅ© ºê¶ó¿ìµå

BROWSERID ÀÎÁõÀ»À§ÇÑ Çöó½ºÅ© Áö¿ø
Áö±Ý ´Ù¿î·Îµå

Çöó½ºÅ© ºê¶ó¿ìµå ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Max Thayer
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/garbados/

Çöó½ºÅ© ºê¶ó¿ìµå ű×


Çöó½ºÅ© ºê¶ó¿ìµå ¼³¸í

Flask-BrowserID´Â MozillaÀÇ () ÀÎÁõ ½Ã½ºÅÛ ¹× Çöó½ºÅ© ·Î±×ÀΰúÀÇ ÅëÇÕÀ» Á¦°øÇÏ´Â Çöó½ºÅ© È®ÀåÀÔ´Ï´Ù. ·Î±×ÀÎ ¹× ·Î±× ¾Æ¿ô ¹× ·Î±×ÀÎ ¹× ·Î±× ¾Æ¿ôÀ» ½Å¼ÓÇÏ°Ô ÀÛ¼ºÇÒ ¼öÀÖ´Â JavaScript ÀÎÁõ ¹øµéÀÇ µÎ °æ·Î ¹× JavaScript ÀÎÁõ ¹øµéÀ» Á¦°øÇÕ´Ï´Ù. ** PIP·Î ** : PIP ¼³Ä¡ git + https : //github.com/garbados/flask- browserid.gitquickstartflask-browserid´Â flask.ext.login from my_stuff import get_user_by_id #¿¡¼­ flask.ext.login import browserid¿¡¼­ flask.ext.login import browserid¿¡¼­ flask.ext.login °¡Á® ¿À±â ·Î±×Àο¡¼­ flask.ext.login °¡Á® ¿À±â # »ç¿ëÀÚ°¡ interform_stuff import get_user # = flask (__ name__) login_manager = loginmanager (get_user_by_id) login_manager.init_app (app) browser_id = browserid () browser_id.user_loader (get_user) browser_id.init_app (app) ÀÌÁ¦`/ api / login` ¹×`/ api / logout`°¡ ¾Û¿¡ µî·ÏµÇ¾ú½À´Ï´Ù. `AUTH_SCRIPT`´Â ¶ÇÇÑ ¿äû ÄÁÅؽºÆ®ÀÇ ÃÖ»óÀ§ ¼öÁØ¿¡ Ãß°¡µÇ¾î ÅÛÇø´¿¡¼­ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù :

°ü·Ã ¼ÒÇÁÆ®¿þ¾î