The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package AuthDigestTestApp::Controller::Root;
use strict;
use warnings;

use base qw/ Catalyst::Controller /;

__PACKAGE__->config(namespace => '');

sub moose : Local {
    my ( $self, $c ) = @_;
    #$c->authenticate( { realm => 'testrealm@host.com' } );
    $c->authenticate();
    $c->res->body( $c->user->id );
}

1;