Prove detaching is caught, needs another test to throw a different exception and...
[catagits/Catalyst-Plugin-Authentication.git] / t / lib / Catalyst / Authentication / Credential / AlwaysDetach.pm
CommitLineData
75f03cff 1package Catalyst::Authentication::Credential::AlwaysDetach;
2use strict;
3use warnings;
4
5sub new {
6 bless {}, __PACKAGE__;
7}
8
9sub authenticate {
10 my ( $self, $c, $realm, $auth_info ) = @_;
11 $c->detach;
12}
13
14no Moose;
151;
16