Catalyst :: Ç÷¯±×ÀÎ :: ÀÎÁõ :: »óÁ¡

Catalyst :: PlugIn :: Authentication :: Store :: DBIX :: Class´Â DBIX :: Class¸¦ »ç¿ëÇÏ¿© Ã˸ŠÀÎÁõÀ»À§ÇÑ ½ºÅ丮Áö Ŭ·¡½ºÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Catalyst :: Ç÷¯±×ÀÎ :: ÀÎÁõ :: »óÁ¡ ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Jason Kuri
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~jayk/Catalyst-Plugin-Authentication-Store-DBIx-Class-0.10/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class.pm

Catalyst :: Ç÷¯±×ÀÎ :: ÀÎÁõ :: »óÁ¡ ű×


Catalyst :: Ç÷¯±×ÀÎ :: ÀÎÁõ :: »óÁ¡ ¼³¸í

catalyst :: plugin :: authentication :: store :: dbix :: class´Â dbix :: class¸¦ »ç¿ëÇÏ¿© Ã˸ŠÀÎÁõÀ»À§ÇÑ ½ºÅ丮Áö Ŭ·¡½ºÀÔ´Ï´Ù. catalyst :: plugin :: authentication :: store :: dbix :: class´Â dbix :: class.synopsis¸¦ »ç¿ëÇÏ¿© Ã˸ŠÀÎÁõÀ»À§ÇÑ ½ºÅ丮Áö Ŭ·¡½ºÀÔ´Ï´Ù. Ã˸ŠQW / ÀÎÁõ ±ÇÇÑ ºÎ¿© :: ¿ªÇÒ /; __package __-> config -> {ÀÎÁõ} = {default_realm => '¸â¹ö', realms => {¸â¹ö => {credential => {class => 'password', password_field => 'password', password_type => 'clear' }, store => {class => 'dbix :: class', user_class => 'myApp :: users', id_field => 'user_id', role_relation => 'rolet', role_field => 'rolename',}}} }; # »ç¿ëÀÚ ·Î±×ÀÎ : ÇÏÀ§ ·Î±×ÀÎ : Àü¿ª {My ($ self, $ c) = @_; $ c-> ÀÎÁõ ({username => $ c-> req-> params -> username, password => $ c-> req-> params-> password, status => }))) # ¿ªÇÒÀ» È®ÀÎ ($ C-> CHECK_USER_ROLES ('ÆíÁý±â ')) {# DO EDITER STUFF} ¿ä±¸ »çÇ× : ¡¤ Perl.


Catalyst :: Ç÷¯±×ÀÎ :: ÀÎÁõ :: »óÁ¡ °ü·Ã ¼ÒÇÁÆ®¿þ¾î