Move actions out of test app
[catagits/Catalyst-Authentication-Credential-HTTP.git] / t / lib / AuthTestApp.pm
CommitLineData
861c2f44 1package AuthTestApp;
d9412896 2use Catalyst qw/
3 Authentication
4/;
5our %users;
6__PACKAGE__->config(
7 'Plugin::Authentication' => {
861c2f44 8 default_realm => 'test',
d9412896 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'
861c2f44 19 },
20 },
d9412896 21 },
22);
23%users = (
24 foo => { password => "s3cr3t", },
25);
26__PACKAGE__->setup;
27
281;
29