logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Catalyst::Authentication::Store::Null - Null authentication store

Description

       The Null store is a transparent store where any supplied user data is accepted. This is mainly useful for
       remotely authenticating credentials (e.g. TypeKey, OpenID) which may not be tied to any local storage. It
       also helps facilitate integration with the Session plugin.

Methods

new()
       Creates a new instance of the store.

   for_session()
       Returns the user object passed to the method.

   from_session()
       Returns the user object passed to the method.

   find_user()
       Since this store isn't tied to any real set of users, this method just returns the user info bless as a
       Catalyst::Authentication::User::Hash object.

   user_supports()
       Delegates to Catalyst::Authentication::User::Hash.

perl v5.40.0                                       2024-10-28              Catalyst::Auth...on::Store::Null(3pm)

Name

       Catalyst::Authentication::Store::Null - Null authentication store

Synopsis

           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 Also