Cataly...P::User(3pm)

πŸ“¦
version 1.05+20240702 Β· 5 versions
, in debian trixie, ubuntu resolute

πŸ¦‹ Catalyst::Authentication::Store::IMAP::User πŸ’–

okay bestie so this is Catalyst::Authentication::Store::IMAP::User, a 3pm manual page from the User Contributed Perl Documentation corner of the universe, and it is literally the whole personality of "an authentication user for IMAP". that's the NAME, that's the vibe ✨


🌸 SYNOPSIS 🌸

like, here's how you actually summon one:

use Catalyst::Authentication::Store::IMAP::User;

Catalyst::Authentication::Store::IMAP::User->new(
        id => "username",
);

iconic, right? 🫢


πŸ’… DESCRIPTION πŸ’…

so this implementation of authentication user handles? it's supposed to go hand in hand with Catalyst::Authentication::Store::IMAP. they're a duo. a package deal. main character energy, both of them πŸ’œ


✨ METHODS ✨

πŸŽ€ new( @pairs )

creates a brand new object using the key-value-pairs you listed in the arg list. give it pairs, get an object. that's the deal πŸ“

πŸŽ€ supported_features( )

checks for the existence of keys that correspond with features. yes queen, feature detection πŸ‘‘

πŸŽ€ for_session( )

just returns $self, expecting it to be serializable. that's it. that's the whole method. no cap 😭

πŸŽ€ from_session( )

just passes returns the unserialized object, hoping it's intact. fingers crossed fr fr πŸ™ˆ

πŸŽ€ store( )

accessors that override superclass's dying virtual methods. rip to the superclass's methods, they had a good run πŸ’€

πŸŽ€ id( )

(it's an accessor, bestie, it's in the list πŸŽ€)

πŸŽ€ check_password( $password )

establishes a connection to the IMAP server and checks the given user credentials. then it stores the Mail::IMAPClient object on the stash as imapclient for usage by other components. so like, it does the whole login thing and leaves the client there for everyone else to borrow. generous queen πŸ’–


🌈 SEE ALSO 🌈

  • Hash::AsObject

πŸ‘‘ AUTHOR πŸ‘‘

Stefan Seifert <nine@cpan.org> β€” thank you for your service πŸ«‘πŸ’œ


πŸ“œ LICENSE πŸ“œ

this library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. slay, legally speaking πŸ’…


perl v5.40.1 🌸 2025-03-02 β€” that's the version and the date this lil page was last vibing, mwah, bye bestie πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from