Django-Webid-auth.

WebID ÀÎÁõÀ» È°¼ºÈ­ÇÏ´Â Django ¾Û
Áö±Ý ´Ù¿î·Îµå

Django-Webid-auth. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Ben Carrillo
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/bennomadic/

Django-Webid-auth. ű×


Django-Webid-auth. ¼³¸í

Django-WebID-Auth´Â Django Project.setup1¿¡¼­ WebID ±â¹Ý ÀÎÁõÀ» È°¼ºÈ­ÇÏ´Â µ¥ ÇÊ¿äÇÑ ¹Ìµé¿þ¾î ¹× ÀÎÁõ ¹é¿£µå¸¦ Á¦°øÇÏ´Â Django ¾ÛÀÔ´Ï´Ù. django_webid.auth ¹× django_webid.provider ¾ÛÀ» ÇÁ·ÎÁ§Æ® addel_apps.2¿¡ Ãß°¡ÇϽʽÿÀ. Authentication_Backends Æ©Çÿ¡ WebIdAuthBackend¸¦ ¼³Á¤ÇϽʽÿÀ. »ç¿ëÀÚ À̸§ / ¾ÏÈ£¸¦ »ç¿ëÇÒ ¼ö ÀÖÀ¸·Á¸é ModelBackendendendendendendendendendendendendent¸¦ Authentication_Backends = ( 'django.contrib.auth.backends.modelbackend', 'django_webid.auth.backends.webidauthbackend',) 3. WebIDAuthMiddleware¸¦ middleware_classes¿¡ Ãß°¡ÇϽʽÿÀ. AuthenticationMiddleware : middleware_classes = ( 'django.middleware.common.commonmiddleware', 'django.contrib.sessions.middleware.sessionmiddleware', 'django_webid.auth.middleware.webidauthmiddleware',) 4. ¸ðµ¨À» ä¿ì±â À§ÇØ ./manage syncdb¸¦ ½ÇÇàÇϽʽÿÀ .5. ¼±ÅÃÇÑ À§Ä¡¿¡¼­ Ŭ¶óÀ̾ðÆ®¸¦ Ŭ¶óÀ̾ðÆ®¸¦ ¿äûÇϵµ·Ï À¥ ¼­¹ö¸¦ ±¸¼ºÇϽʽÿÀ (Apache ±¸¼º ¼½¼Ç ÂüÁ¶). À¯È¿ÇÑ WebID ÀÎÁõ¼­´Â ÇØÇÇ »ç¿ëÀÚ°¡ »çÀÌÆ®¿¡ ·Î±×ÀÎ ÇÒ ¼öÀÖ°Ô ÇØÁֽʽÿÀ. Àüü ¼³Á¤ List.ProductÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ ¹®¼­ ¼½¼Ç¿¡ ´ëÇÑ ¹®¼­ ¼½¼Ç¿¡.


Django-Webid-auth. °ü·Ã ¼ÒÇÁÆ®¿þ¾î