Query: mojolicious::plugin::readme
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
README(3pm) User Contributed Perl Documentation README(3pm)NAMEMojolicious::Plugin::BasicAuth - Basic HTTP Auth HelperDESCRIPTIONMojolicous::Plugin::BasicAuth is a helper for basic http authentication.USAGEuse Mojolicious::Lite; plugin 'basic_auth'; get '/' => sub { my $self = shift; return $self->render_text('ok') if $self->basic_auth( realm => sub { return 1 if "@_" eq 'username password' } ); }; app->start;METHODSMojolicious::Plugin::BasicAuth inherits all methods from Mojolicious::Plugin and implements the following new ones. "register" $plugin->register; Register condition in Mojolicious application.SEE ALSOMojoliciousDEVELOPMENThttp://github.com/tempire/mojolicious-plugin-basicauth <http://github.com/tempire/mojolicious-plugin-basicauth>VERSION0.06CREDITSKirill MiazineAUTHORGlen Hinkle <tempire@cpan.org> perl v5.14.2 2011-10-29 README(3pm)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
One instance of comparing grep and awk |
New UNIX and Linux History Sections |