1Catalyst::AuthenticatioUns:e:rStCoornet:r:iNbuultle(d3C)PaetrallyDsotc:u:mAeuntthaetnitoincation::Store::Null(3)
2
3
4
6 Catalyst::Authentication::Store::Null - Null authentication store
7
9 use Catalyst qw(
10 Authentication
11 );
12
13 __PACKAGE__->config( 'Plugin::Authentication' => {
14 default_realm => 'remote',
15 realms => {
16 remote => {
17 credential => {
18 class => 'TypeKey',
19 key_url => 'http://example.com/regkeys.txt',
20 },
21 store => {
22 class => 'Null',
23 }
24 }
25 }
26 });
27
29 The Null store is a transparent store where any supplied user data is
30 accepted. This is mainly useful for remotely authenticating credentials
31 (e.g. TypeKey, OpenID) which may not be tied to any local storage. It
32 also helps facilitate integration with the Session plugin.
33
35 new( )
36 Creates a new instance of the store.
37
38 for_session( )
39 Returns the user object passed to the method.
40
41 from_session( )
42 Returns the user object passed to the method.
43
44 find_user( )
45 Since this store isn't tied to any real set of users, this method just
46 returns the user info bless as a Catalyst::Authentication::User::Hash
47 object.
48
49 user_supports( )
50 Delegates to Catalyst::Authentication::User::Hash.
51
52
53
54perl v5.36.0 2023-C0a1t-a2l0yst::Authentication::Store::Null(3)