| 1 | package Catalyst::Authentication::Credential::NoPassword; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | has 'realm' => (is => 'ro', required => 1); | |||||||||
| 7 | |||||||||||
| 8 | 0 | ▶ | around BUILDARGS => sub { | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||
| 9 | 0 | my $orig = shift; | |||||||||
| 10 | 0 | my $class = shift; | |||||||||
| 11 | |||||||||||
| 12 | 0 | ▶ | if ( @_ == 3 ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 0 | my ($config, $app, $realm) = @_; | |||||||||
| 14 | 0 | return $class->$orig( realm => $realm ); | |||||||||
| 15 | } | ||||||||||
| 16 | else { | ||||||||||
| 17 | 0 | return $class->$orig(@_); | |||||||||
| 18 | } | ||||||||||
| 19 | 1 | }; | |||||||||
| 20 | |||||||||||
| 21 | 0 | ▶ | sub authenticate { | ||||||||
|
Subroutine
authenticate: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 22 | 0 | my ($self, $c, $realm, $authinfo) = @_; | |||||||||
| 23 | 0 | $self->realm->find_user($authinfo, $c); | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 1 | 1; | |||||||||
| 27 | |||||||||||
| 28 | __END__ | ||||||||||