This is 0.05.
[catagits/Catalyst-Authentication-Credential-OpenID.git] / t / TestApp / lib / TestApp.pm
CommitLineData
e5b6823d 1package TestApp;
2
3use strict;
4use warnings;
5
6use Catalyst::Runtime '5.70';
7
8use Catalyst qw(
9 -Debug
10 ConfigLoader
11 Authentication
12 Session
13 Session::Store::FastMmap
14 Session::State::Cookie
15 );
16
17our $VERSION = '0.01';
18
19__PACKAGE__->config
20 ( name => "TestApp",
21 startup_time => time(),
22 "Plugin::Authentication" => {
23 default_realm => "members",
24 realms => {
25 members => {
26 credential => {
27 class => "Password",
28 password_field => "password",
29 password_type => "clear"
30 },
31 store => {
32 class => "Minimal",
33 users => {
34 paco => {
35 password => "l4s4v3n7ur45",
36 },
37 }
38 }
39 },
40 openid => {
ab944aad 41# ua_class => "LWPx::ParanoidAgent",
42 ua_class => "LWP::UserAgent",
e5b6823d 43 ua_args => {
44 whitelisted_hosts => [qw/ 127.0.0.1 localhost /],
45 },
46 debug => 1,
47 credential => {
48 class => "OpenID",
49#DOES NOTHING use_session => 1
50 store => {
51 class => "OpenID",
52 },
53 },
54 },
55 },
56 },
57 );
58
59# Start the application
60__PACKAGE__->setup;
61
621;
63
64__END__