Move actions out of test app
[catagits/Catalyst-Authentication-Credential-HTTP.git] / t / lib / AuthDigestTestApp / Controller / Root.pm
CommitLineData
d9412896 1package AuthDigestTestApp::Controller::Root;
2use strict;
3use warnings;
4
5use base qw/ Catalyst::Controller /;
6
7__PACKAGE__->config(namespace => '');
8
9sub moose : Local {
10 my ( $self, $c ) = @_;
11 #$c->authenticate( { realm => 'testrealm@host.com' } );
12 $c->authenticate();
13 $c->res->body( $c->user->id );
14}
15
161;
17