Cataly...e::Null(3pm)
π Catalyst::Authentication::Store::Null
okay bestie, so this is the manual page for Catalyst::Authentication::Store::Null β the Null authentication store from the Catalyst::Authentication::Store family. it lives in the User Contributed Perl Documentation, and it's genuinely one of the most chill little modules you'll ever meet π«Ά
β¨ SYNOPSIS β¨
like, here's the whole vibe in code form:
use Catalyst qw(
Authentication
);
__PACKAGE__->config( 'Plugin::Authentication' => {
default_realm => 'remote',
realms => {
remote => {
credential => {
class => 'TypeKey',
key_url => 'http://example.com/regkeys.txt',
},
store => {
class => 'Null',
}
}
}
});
see how the store block is just class => 'Null'? that's it. that's the whole assignment. no cap π₯
πΈ DESCRIPTION πΈ
so the Null store is a transparent store β meaning any user data you hand it, it just... accepts. yes queen, no questions asked π
this is mainly useful for remotely authenticating credentials (think TypeKey, OpenID β the icons β¨) which may not be tied to any local storage at all. like, the user exists in the aether, not in your database, and that's fine.
it also helps facilitate integration with the Session plugin, so your sessions can do their little thing without the store throwing a tantrum. we love a supportive store π
π¦ METHODS π¦
π new( )
Creates a new instance of the store. fresh start, main character energy, love that for us β¨
π for_session( )
Returns the user object passed to the method. literally just hands it right back. generous icon π«Ά
π from_session( )
Returns the user object passed to the method. same deal, different direction. it's giving "no thoughts, head empty, just vibes" and honestly? iconic π
π find_user( )
so since this store isn't tied to any real set of users, this method just returns the user info blessed as a Catalyst::Authentication::User::Hash object. that's the whole move. no lookup, no drama π
π user_supports( )
Delegates to Catalyst::Authentication::User::Hash. it knows a guy, and that guy handles it π
π quick vibe check before you go: this store accepts any supplied user data. that's the whole point β it's for remote credentials with no local backing. don't point it at something that actually needs a real user database and then act surprised. iykyk π
and that's the page, bestie! π this beauty shipped with perl v5.40.1 and was last touched on 2026-05-22 β go forth and authenticate remotely, you absolute legend ππ
π¦ where this page comes from
- ubuntu stonking: libcatalyst-plugin-authentication-perl 0.10026-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms