Changeset 24221 for lang/perl/Moxy
- Timestamp:
- 11/19/08 11:55:30 (7 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Moxy/trunk/lib/Moxy/Session/State/BasicAuth.pm
r22986 r24221 1 1 package Moxy::Session::State::BasicAuth; 2 use Moose; 3 with 'HTTP::Session::Role::State'; 2 use HTTP::Session::State::Base; 4 3 5 has realm => ( 6 is => 'rw', 7 isa => 'Str', 8 default => 'Moxy needs basic auth.Only for identification.Password is dummy.', 9 ); 4 sub realm { 'Moxy needs basic auth.Only for identification.Password is dummy.' } 10 5 11 has '+permissive' => ( 'default' => 1 ); 6 sub new { 7 bless {permissive => 1}, shift; 8 } 12 9 13 10 sub get_session_id { … … 18 15 sub response_filter { } 19 16 20 no Moose;21 __PACKAGE__->meta->make_immutable;22 17 1; 23 18
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)