Authen-Simple-PlugAuth

Simple PlugAuth authentication


License
Artistic-1.0-Perl

Documentation

Authen::Simple::PlugAuth Build Status

Simple PlugAuth authentication

SYNOPSIS

use Authen::Simple::PlugAuth;

my $auth = Authen::Simple::PlugAuth->new(
  url => 'http://localhost:3000/',
);

if($auth->authenticate($username, $password)) {
  # successfull authentication
}

DESCRIPTION

NOTE: Development for this tool is winding down, and PlugAuth::Client::Tiny and modules that depend on are deprecated. Please contact me ASAP if you depend on this tool. This distribution may be removed from CPAN, but not before june 30, 2018.

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

ATTRIBUTES

url

my $url = $auth->url;

The URL of the PlugAuth server to connect to.

METHODS

authenticate

my $bool = $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.