return $user;
}
elsif ( ref $user eq "HASH" ) {
- $user->{store} = $self;
- $user->{id} = $id;
return bless $user, "Catalyst::Plugin::Authentication::User::Hash";
}
else {
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.