Move actions out of test app
[catagits/Catalyst-Authentication-Credential-HTTP.git] / t / lib / AuthTestApp.pm
1 package AuthTestApp;
2 use Catalyst qw/
3     Authentication
4 /;
5 our %users;
6 __PACKAGE__->config(
7     'Plugin::Authentication' => {
8         default_realm => 'test',
9         test => {
10             store => {
11                 class => 'Minimal',
12                 users => \%users,
13             },
14             credential => {
15                 class => 'HTTP',
16                 type  => 'basic',
17                 password_type => 'clear',
18                 password_field => 'password'
19             },
20         },
21     },
22 );
23 %users = (
24     foo => { password         => "s3cr3t", },
25 );
26 __PACKAGE__->setup;
27
28 1;
29