⟦Graham Ollis⟧ > Authen-Simple-PlugAuth-0.01 > Authen::Simple::PlugAuth

Download:
Authen-Simple-PlugAuth-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Authen::Simple::PlugAuth - Simple PlugAuth authentication

VERSION ^

version 0.01

SYNOPSIS ^

 use Authen::Simple::PlugAuth;
 
 my $auth = Authen::Simple::PlugAuth->new(
   url => 'http://localhost:3000/',
 );
 
 if($auth->authenticate($username, $password)) {
   # successfull authentication
 }

DESCRIPTION ^

Authenticate against a PlugAuth server through the Authen::Simple framework.

ATTRIBUTES ^

url

The URL of the PlugAuth server to connect to.

METHODS ^

$auth->authenticate( $username, $password )

Returns true on success and false on failure.

SEE ALSO ^

Authen::Simple, PlugAuth, PlugAuth::Client.

AUTHOR ^

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: