Lots of doc for C::P::Authentication
[catagits/Catalyst-Plugin-Authentication.git] / lib / Catalyst / Plugin / Authentication / Store / Minimal / Backend.pm
index e8ae826..540b4d7 100644 (file)
@@ -36,8 +36,6 @@ sub get_user {
             return $user;
         }
         elsif ( ref $user eq "HASH" ) {
-                       $user->{store} = $self;
-                       $user->{id} = $id;
             return bless $user, "Catalyst::Plugin::Authentication::User::Hash";
         }
         else {
@@ -123,6 +121,10 @@ Keys the hash by $id and returns the value.
 If the return value is unblessed it will be blessed as
 L<Catalyst::Plugin::Authentication::User::Hash>.
 
+=item from_session $id
+
+Delegates to C<get_user>.
+
 =item user_supports
 
 Chooses a random user from the hash and delegates to it.