File: Root.pm

package info (click to toggle)
libcatalyst-authentication-credential-http-perl 1.018-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 404 kB
  • sloc: perl: 656; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;