Add broken_dotnet_digest_without_query_string option
[catagits/Catalyst-Authentication-Credential-HTTP.git] / t / lib / AuthDigestDotnetTestApp / Controller / Root.pm
diff --git a/t/lib/AuthDigestDotnetTestApp/Controller/Root.pm b/t/lib/AuthDigestDotnetTestApp/Controller/Root.pm
new file mode 100644 (file)
index 0000000..d7c49e8
--- /dev/null
@@ -0,0 +1,17 @@
+package AuthDigestDotnetTestApp::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;
+