Katalysator :: Plugin :: Authentication :: Winkel :: DBIC

CATALYST :: Plugin :: Authenticatie :: Winkel: DBIC maakt authenticatie en autorisatie mogelijk tegen een DBIX :: Klasse of Klasse :: DBI-model.
Download nu

Katalysator :: Plugin :: Authentication :: Winkel :: DBIC Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • David Kamholz
  • Uitgever website:
  • http://search.cpan.org/~mramberg/Catalyst-Plugin-Authentication-Store-DBIC-0.09/lib/Catalyst/Plugin/Authentication/Store/DBIC/Backend.pm

Katalysator :: Plugin :: Authentication :: Winkel :: DBIC Tags


Katalysator :: Plugin :: Authentication :: Winkel :: DBIC Beschrijving

Katalysator :: Plugin :: Authenticatie :: Winkel: DBIC biedt authenticatie en autorisatie tegen een DBIX :: Klasse of Klasse :: DBI-model. Catalyst :: Plugin :: Authenticatie :: Winkel :: DBIC biedt authenticatie en autorisatie tegen een DBIX :: Klasse of klasse :: DBI Model.Synopsis Gebruik Catalyst QW / Authentication Authentication :: Winkel :: DBIC-authenticatie :: Referentie :: Wachtwoord Autorisatie :: Rollen # Als u rollen gebruikt /; # Authenticatie __package __-> configuratie -> {authentication} {dbic} = {user_class => 'db :: gebruiker', user_field => 'gebruikersnaam', wachtwoord_field => 'wachtwoord', wachtwoord_type => 'hashed', wachtwoord_hash_type => 'SHA-1',}; # Autorisatie met behulp van een veel-op-vele rolrelatie # Voor meer gedetailleerde instructies over het instellen van rollengerelateerde auth, zie het gedeelte hieronder met de titel L. __package __-> configuratie -> {Authorization} {dbic} = {rollene_class => 'DB :: Rol', Rolfield => 'rol', Rolder_rel => 'Map_User_Role', # DBIX :: Class Only User_Role_User_field => 'Gebruiker', User_Role_class => 'DB :: UserLol', # Class :: DBI ALLEEN User_Role_Role_field => 'rol', # Klasse :: DBI ALLEEN}; # Log een gebruiker in subloggen: Global {My ($ self, $ c) = @_; $ c-> login ($ c-> req-> param ("e-mail"), $ c-> req-> param ("wachtwoord"),); } # Een rol verifiëren als ($ c-> check_user_roles ('admin')) {$ model-> delete_everythingthing; } Vereisten: · Perl


Katalysator :: Plugin :: Authentication :: Winkel :: DBIC Gerelateerde software

Transactie :: eenvoudig

Transactie :: Simpel is een Ruby-bibliotheek die actief biedt ("Live", niet-backend) transactionele ondersteuning aan Marshal-bekwame objecten. ...

143

Downloaden