Skip Menu |

This queue is for tickets about the Catalyst-Authentication-Credential-HTTP CPAN distribution.

Report information
The Basics
Id: 75254
Status: rejected
Priority: 0/
Queue: Catalyst-Authentication-Credential-HTTP

People
Owner: Nobody in particular
Requestors: rt.cpan [...] sartak.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.014
Fixed in: (no value)



Subject: Broken synopsis
The synopsis uses: $c->authenticate({ realm => "example" }); but authenticate() does not look in that first arg for the realm, as far as I can tell. Its signature is ({userinfo}, realm). So what *actually* worked for me is: $c->authenticate({}, "example");
Am Do 23. Feb 2012, 16:51:26, SARTAK schrieb: Show quoted text
> The synopsis uses: > > $c->authenticate({ realm => "example" }); > > but authenticate() does not look in that first arg for the realm, as far > as I can tell. Its signature is ({userinfo}, realm). So what *actually* > worked for me is: > > $c->authenticate({}, "example");
That is the http basic auth realm, not the Catalyst auth realm.