Cataly...::Hash(3pm)

πŸ’– NAME πŸ’–

Catalyst::Authentication::User::Hash β€” an easy authentication user object based on hashes. Slay. πŸ’…

This page is Cataly...::Hash(3pm) from the User Contributed Perl Documentation, with the manual name folded right in here so you don't have to hunt for it, bestie. 🫢


✨ SYNOPSIS ✨

Okay so the whole vibe is literally this:

use Catalyst::Authentication::User::Hash;

Catalyst::Authentication::User::Hash->new(
    password => "s3cr3t",
);

No cap, that's the setup. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

This implementation of authentication user handles is supposed to go hand in hand with Catalyst::Authentication::Store::Minimal β€” they're meant to be a matching set, fr fr. πŸ’–


🌸 METHODS 🌸

Okay, methods time β€” here's every single one this page lists, no skipping, periodt. ✨

🌸 new( @pairs ) 🌸

Creates a brand-new object with the key-value pairs listed in the argument list. Obsessed with a clean constructor. πŸ’…

🌸 supports( ) 🌸

Checks for the existence of keys that correspond with features. That's the vibe check. βœ…

🌸 for_session( ) 🌸

Just returns $self, expecting it to be serializable. Literally just that. πŸŽ€

🌸 from_session( ) 🌸

Just passes back the unserialized object, hoping it's intact. Fingers-crossed energy. 🀞

🌸 AUTOLOAD( ) 🌸

Accessor for the key whose name is the method. The method name is the key name, iykyk. πŸ”‘

🌸 store( ) 🌸

Accessors that override the superclass's dying virtual methods. Iconic override behavior, tbh. πŸ‘‘

🌸 id( ) 🌸

Listed as a method right here. This page doesn't give it a separate description, so I'm not inventing one β€” no cap. 🫢

🌸 can( ) 🌸

Also listed as a method. Again, no separate description on this page β€” just the method entry, bestie. πŸ’œ


🌈 SEE ALSO 🌈

Hash::AsObject β€” go give it a look. 🌟


mwah πŸ’‹ β€” this lil' page comes from perl v5.40.1, is dated 2026-05-22, and belongs to Cataly...::Hash(3pm). Bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from